/* General Styles */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #74ebd5, #9face6);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Main Content Container */
.main-content {
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
  box-sizing: border-box;
}

/* BMI Container */
.bmi-container {
  background: #fff;
  border-radius: 20px;
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 600px;
  width: 90%;
  box-sizing: border-box;
  margin: 20px auto;
}

/* Title */
h1 {
  color: #4a4e69;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* Toggle Buttons */
.toggle {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* Input Group */
.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Button Styles */
button {
  background: #4a4e69;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

button:hover {
  background: #343a40;
}

/* Result Section */
.result {
  margin-top: 20px;
  font-size: 1.2rem;
}

.result p {
  margin: 5px 0;
}

/* Media Queries */
@media (max-width: 768px) {
  .bmi-container {
    padding: 20px 15px;
    width: 95%;
  }

  h1 {
    font-size: 1.6rem;
  }

  button {
    font-size: 1.1rem;
  }

  .result {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.4rem;
  }

  button {
    font-size: 1rem;
  }

  .result {
    font-size: 0.9rem;
  }
}
