* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  background-image: url('99.jpg');
  background-size: cover;
  background-position: center;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  z-index: -1;
}

header {
  width: 100%;
  padding: 20px;
  background-color: #34495e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #ecf0f1;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 16px;
  background-color: #1abc9c;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #16a085;
}

.main-container {
  display: flex;
  justify-content: space-between;
  width: 80%;
  max-width: 1200px;
  margin: 40px auto;
  height: 80vh;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.form-container {
  width: 50%;
  max-width: 500px;
  margin-right: 20px;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  max-height: 90%;
}

h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.9);
}

button {
  width: 100%;
  padding: 12px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background-color: #2ecc71;
}

.result {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
}

.right-container {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.right-container h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
}

.right-container img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1000px) {
  .main-container {
    flex-direction: column;
  }

  .right-container {
    width: 100%;
    margin-top: 20px;
  }

  .form-container {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }

  h1 {
    font-size: 24px;
  }

  button {
    font-size: 16px;
  }

  input {
    padding: 8px;
  }

  .right-container h2 {
    font-size: 30px;
  }
}
