body {
  padding-top: 90px;
  font-family: "Arial", sans-serif;
  background-color: #f1e6f1; /* Light neutral background */
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

/* Navbar */
.navbar {
  background-color: #f5d7f5;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem; /* Reduce la altura del navbar */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navbar links */
.navbar-brand {
  font-family: Arial, sans-serif;
  font-size: 24px; /* Tamaño de fuente ajustado para destacar la marca */
  font-weight: bold;
  color: #333 !important;
}

.nav-link {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #333 !important;
  position: relative;
  margin: 0 1rem; /* Espaciado entre los enlaces */
  padding-bottom: 8px; /* Espacio adicional debajo para el subrayado */
  text-transform: uppercase; /* Poner en mayúsculas para un estilo similar */
}

/* Subrayado de enlace activo */
.nav-link.active {
  color: #333 !important;
}

.nav-link.active::after,
.nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: blueviolet; /* Color de subrayado en hover y activo */
  opacity: 1;
  transition: all 0.2s;
}


/* Contenedor principal */
.main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 30px;
  margin-top: 40px;
}

/* Contenedor de registro */
.register-container {
  max-width: 600px;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.register-container h2 {
  color: #7b2b8b;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Estilo de formulario de dos columnas */
form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.form-control {
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.9rem;
}

/* Botón de registro en una sola columna */
.btn {
  grid-column: span 2; /* Ocupa ambas columnas */
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: bold;
  background-color: #6c107c;
  color: white;
  border-radius: 8px;
  border: none;
  margin-top: 1rem;
  font-size: 18px;
  width: 170px;
}

.btn:hover {
  background-color: #9b5aa7;
  color: white;
}

/* Contenedor de la imagen */
.img-container {
  max-width: 300px;
}

.img-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* Diseño responsivo */
@media (max-width: 768px) {
  .main-container {
    flex-direction: column; /* Coloca los elementos en una sola columna */
  }
}



/* Footer */
.footer {
  background-color: #af8fb5;
  color: #4d0d47;
  padding: 20px 0;
  text-align: center;
  bottom: 0;
  left: 0;
  width: 100%;
  position: relative; /* Evita que se superponga con el contenido */
  margin-top: auto; /* Empuja el footer al final de la página */
}

.footer-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  text-align: center;
  color: #2a1325;
}

.footer-section a img {
  width: 30px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-section a img:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

.footer-section h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  position: relative;
  color: #231f20;
}

.footer-section h3::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background-color: #a56cae;
  margin: 5px auto;
}

.footer-section p {
  font-size: 0.95em;
  line-height: 1.5;
}

.icon {
  width: 26px;
  vertical-align: middle;
  margin-right: 8px;
}

.social-icons img {
  width: 26px;
  margin: 0 5px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

