@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;        
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto; 
  font-family: "Work Sans", sans-serif;
  background-color: #c7e4c6;
  color: #1d201b;
}


a {text-decoration: none; color: white;}
ul {list-style: none;}
img {max-width: 100%;}



/*-----------------------------NAVEGACION*/
#navegacion {
    display: flex;
    flex-direction: column;
    justify-content: space-around;    
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
    box-shadow: 0 4px 4px hsl(0 0% 0% / 25%);
    background-image: url(../imagenes/banner_mobile.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 10rem;
}
header nav ul {
    display:flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
header nav ul li {
    list-style: none;
    font-size: 1.2em;
}
header nav ul li a {
    color: white;
    text-decoration: none;
}
header nav ul li a:hover {
    color: #1f2d35;
}
header figure img {
    width: 7rem;
    background-color: white;
}
#logo {
    display: flex;
    padding: 0.5rem;
}

/*-----------------------------PRESENTACION*/
#foto_perfil {
  width:12rem;
  height:12rem;  
  margin-block: 2em;  
  border-radius: 100%;
  border: 0.4em;
  border-style: solid;
  border-color: white;
  box-shadow: 0 4px 4px hsl(0 0% 0% / 25%);
  aspect-ratio: 1;
}
#caja_foto_perfil {
  min-width: 12rem;
}
.redes {width: 3.2em;}
#logos_redes {
  display: flex;
  gap: 1em;
  justify-content: center;
}
#banner {width: 100%;
  height: 100%;
  object-fit: cover;
}
#presentacion {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 2.8rem;
  padding-block: 1rem;
}
#presentacion h1 {
  font-size: 2em;
  color:#2c5a3f;
  font-weight: 700;    
}
#presentacion h4 {
  color: #1c2e37;
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1em;
  margin-block-start: 0.5em;
}
#presentacion p {
  padding-block: 1.5em;
  font-size: 1.1em;
}

#presentacion a {
  color:#1c2e37;  
  font-weight: bold; 
  font-size: 1.2em;
  line-height: 1.8em;
}
#presentacion a:hover {
  color: #c9d69c;
}

/*-----------------------------MATERIAS*/
#materias {
  margin: 1rem;
  color: #1c2e37;  
  text-align: center;
  background-color: #d7f0dd;
  box-shadow: 0 4px 4px hsl(0 0% 0% / 25%);
}
#materias h2 {
  padding: 1em;
  font-size: 2.5em;
  color: #2c5a3f;
  text-align: center;
}
#materias h3 {
  background-color: #a5d1a5;
  padding: 1em;
  color: #1c2e37;  
  text-align: center;
}
#materias ul li {
  padding: 0.5em;
  text-align: center;
  list-style: none;
  padding: 0.7em;
}
#materias ul li h4 {
  padding: 0.5em;
  text-align: center;
  list-style: none;
  padding: 0.7em;
}

/*-----------------------------INTEGRANTES*/
#integrantes {
  margin: 1rem;
  padding: 1rem;
  color: #1c2e37;  
  text-align: center;
  background-color: #d7f0dd;
  box-shadow: 0 4px 4px hsl(0 0% 0% / 25%);
}
#integrantes h4 a {
  color: #1c2e37;
}
#integrantes a {
  color: #1c2e37;}


/*-----------------------------DATOS*/
#datos {
  margin: 1rem;
  padding: 1rem; 
  color: #1c2e37;  
  text-align: center;
  background-color: #d7f0dd;
  box-shadow: 0 4px 4px hsl(0 0% 0% / 25%);    
}
#datos article {
  line-height: 1.8em;   
}
#datos article li{
  list-style: none;
}

/*-----------------------------FOOTER*/
footer {
  background-color: #1c2e37;
  color: white;
  text-align: center;
  font-size: 0.9em;
  font-weight: 400;
  padding: 2.5rem;  
}

@media (min-width: 40em){
 /* #presentacion {
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 3rem;
  gap: 3em;
}
#logos_redes {
  justify-content: left;
}
#foto_perfil {
  width: 14rem;
  height: 14rem;}
#caja_foto_perfil {  
  min-width: 14rem;
}*/
}
@media (min-width: 62em) {
    #presentacion {
  text-align: left;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 3rem;
  gap: 3em;
}
#logos_redes {
  justify-content: left;
}
#foto_perfil {
  width: 14rem;
  height: 14rem;}
#caja_foto_perfil {  
  min-width: 14rem;
}
#navegacion {    
    flex-direction: row;
    justify-content: space-between;
    padding-inline: 3rem;
    height: auto;
    background-image: url(../imagenes/banner_desktop.jpg);}
header nav ul li a {
    color: #1f2d35;}
header nav ul li a:hover {color: white}
main {
  max-width:80%;
  margin-inline: auto;
}
}
@media (min-width: 90em) {
  #navegacion {
  padding-inline: 10rem;
   }
   .contenedora {
  max-width: 65rem;
  margin-inline: auto;
}
}