/* Base Styles */
body {
  font-family: "Poppins", sans-serif;
  background-color: #202020;
  color: #ffffff;
  margin: 0;
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #2a2a2a;
}

.nav__logo img {
  max-width: 150px;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.link a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.link a:hover {
  color: #f1f954;
}

.link a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #f1f954;
  transition: width 0.3s ease;
}

.link a:hover::after {
  width: 100%;
}

/* BMI Calculator Section */
.bmi__calculator {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #2a2a2a;
  border-radius: 10px;
  text-align: center;
}

.bmi__calculator h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.bmi__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.bmi__form label {
  font-size: 1rem;
}

.bmi__form input {
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  background-color: #333333;
  color: #ffffff;
}

.bmi__form button {
  padding: 0.75rem;
  background-color: #f1f954;
  color: #202020;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bmi__form button:hover {
  background-color: #d7d147;
}

/* Result Section */
.result p {
  margin-top: 1rem;
  font-size: 1.2rem;
}

/* Footer */
.footer__content {
  text-align: center;
  padding: 2rem;
  background-color: #2a2a2a;
}

.social__links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social__links a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social__links a:hover {
  color: #f1f954;
  transform: scale(1.2);
}

footer {
  background-color: #202020;
  color: #ffffff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer__content {
  max-width: 1200px;
  margin: auto;
}

.social__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.social__links li {
  display: inline-block;
}

.social__links a {
  color: #ffffff;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social__links a:hover {
  color: #f1f954;
  transform: scale(1.2);
}