/* Estilos generales (aplicados a todas las resoluciones) */
header {
  color: white;
  font-size: 2.8rem;
  background: white;
}

#navbar-container {
  background: rgb(70, 130, 241);
  height: 8vh;
}

.navbar-nav {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  width: 100%;
}

.header_divs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.div-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.div-img > img {
  width: 60%;
  height: auto; /* Cambiado a auto para mantener proporción */
}

.div-redes {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.footer_divs-container {
  display: flex;
  flex-direction: column;
  background: rgb(70, 130, 241);
  justify-content: center;
  align-items: center;
}

.footer_div-dir, .footer_div-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1vh;
  padding: 1vh;
  background: rgb(70, 130, 241);
  color: white;
  text-align: center;
}

.footer_div-contact a {
  color: rgb(105, 216, 250);
}

i {
  margin-right: 0.5rem;
}

/* Estilos para pantallas de escritorio estándar (1920x1080) */
@media screen and (min-width: 1280px) and (max-width: 1920px) {
  /* Puedes agregar estilos específicos si es necesario */
}

/* Estilos para pantallas de escritorio (1024x768) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  /* Ajustes para una resolución ligeramente menor */
  .div-img > img {
      width: 70%; /* Reducimos un poco el tamaño de la imagen */
  }
}

/* Estilos para tablets */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    
  .header_divs-container {
      flex-direction: column;
      align-items: center;
  }

  .div-img > img {
      width: 80%;
  }

  .div-redes {
      flex-direction: row;
      justify-content: center;
  }

  #navbar-container {
      height: auto;
  }

  .navbar-nav {
      flex-direction: column;
      align-items: center;
  }
}

/* Estilos para celulares */
@media screen and (min-width: 320px) and (max-width: 767px) {
  .header_divs-container {
    flex-direction: column;
    align-items: center;
  }
  
  .div-img > img {
      width: 90%;
  }

  .footer_div-dir, .footer_div-contact {
      padding: 2vh;
  }

  .navbar-nav {
      width: 100%;
  }

  .div-redes {
      flex-direction: row;
      justify-content: center;
      margin-top: 1vh;
  }
}
