body
{
  margin: 0px;
}

.header {
  display: flex;
  align-items: center; /* Vertically centers items */
  justify-content: space-between; /* Optional: adds space between logo and nav */
  padding: 20px 40px;
  background-color: white;
}

.nav-list {
  display: flex;
   gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}

.nav-list li {
  padding: 10px 0 10px 20px;
  font-weight: 400;
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
}

.nav-list a {
  color: black;
  text-decoration: none;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagen-header1
{
    height: 410px;
    width: 400px;
}

.imagen-header
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-2
{
    display: flex;
    flex-direction: row;
    padding: 10px;
    margin: 0px;
}

.primer-texto
{
    background: linear-gradient(to bottom, #58a9f4, #ffffff);
    padding: 10px;
    width: 71%;
    height: auto;

}

.titulo-header2
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 25px;
    padding-top: 15px;
}

.imagen-header2
{
    height: 1000px;
    width: 100%;
}

.img2
{
  width: 100%;
  height: auto;
}

.texto-explicacion
{
    font-weight: 300;
    margin: 10px;
}

main
{
  background-color: whitesmoke;
  margin: 10px;
}

footer
{
  background-color: white;
}

.imagen_footer
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.imagen-footer
{
    height: 200px;
    width: 350px;
    padding: 15px;   
}

.imagen-footer2
{
  height: 60px;
  width: 60px;
}

.informacion
{
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-visitanos
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.informacion-grande
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.info
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 100px;
}


.imagen-footer2
{
  height: 60px;
  width: 80px;
}

.titulo-main
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.h1Main
{
    font-weight: 501;
    padding: 50px;

}

.recomendaciones
{
    display: flex;
    flex-direction: column;
    align-items:center ;
    justify-content: center;
    margin: 100px;
    padding-bottom: 100px;
    margin-top: 0px;
    padding-top: 0px;
}

.recomendaciones>h2
{
    font-size:xx-large ;
}

.recomendaciones>h3
{
    font-size: x-large;
}


.h1Main2
{
  font-weight: 501;
  padding: 50px;
  font-size: xxx-large;
  padding-top: 30px;
}

.texto-explicacion2
{

  font-weight: 300;
}

.boton-saber-mas
{
  color: lightskyblue;
  cursor: pointer;
  border-color:lightskyblue;
  width: 150px;
  height: 50px;
  background-color: whitesmoke;
  border-width: 2px;
}

.recomendaciones-imagenes
{
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: center;
}

.recomendaciones-imagen
{
    padding-top: 100px;
    padding-bottom: 0px;
    margin-bottom: 0px;
    height: auto;
    width: 1000px;
}


@media (max-width: 1500px)
{
  .header-2
  {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    width: 100%;
  }

  .perfil-doctores
  {
    width: 100%;
  }

  .informacion-grande
  {
    width: 100%;
  }

  .primer-texto
  {
    width: 100%;
    padding: 0px;

  }

  .recomendaciones
  {
    width: auto;
  }
}


@media (max-width: 1250px)
{
  .nav-list
  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 1120px)
{
  .informacion-grande2
  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  

  .img2
  {
    width: 100%;
  }

  .recomendaciones-imagen
  {
    width: 900px;
    height: auto;
  }

  .informacion-grande
  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}


@media(max-width: 900px)
{
  .header-1
  {
    width: 100%;
  }

  .header-2
  {
    width: 100%;
    justify-content: center;
    padding: 0px;
  }


  .perfil-doctores
  {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  main
  {
    width: 100% !important;
  }

  .intro-tipo-doctor
  {
    width: 100%;
  }

  .recomendaciones-imagen
  {
    width: 600px;
  }
}

@media(max-width: 600px)
{
  .recomendaciones-imagen
  {
    width: 380px;
  }
}

@media(max-width: 400px)
{
  .recomendaciones-imagen
  {
    width: 280px;
  }
}