  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');
body{font-family: 'Roboto', sans-serif;}

header{ display: grid;
grid-template-columns: 90% 10%; padding: 1rem;}
header nav ul li {display: inline-block;}
header nav ul li a{color: black;text-decoration: none;}

section{display: grid; grid-template-columns: 20% 60% 20%;}
section figure img{width: 100%;}
section figure{ display: grid;}
section figure figcaption {
                           color: white;
                           background-color: rgb(6, 56, 6);
                           padding: 2rem;
                           text-align: center;
                           font-size:  16px;
                           display: flex; inline-size: auto;
                           }
                          

h1{color: rgb(6, 56, 6);font-size: 2rem;font-family: 'Roboto', sans-serif;}
h2{color: rgb(6, 56, 6);font-size: 1.5rem;font-family: 'Roboto', sans-serif;}

footer{ background: url(img/fresas.webp);
  text-align: center;
  padding: 3rem;
  color: white;
  font-weight:bold; 
background-size: cover;}



@media(max-width:40rem) {
 section{display: grid; grid-template-columns: 100%}
}