@import url('https://fonts.googleapis.com/css2?family=Fahkwang:wght@400;700&family=Italiana&family=Montserrat:wght@200&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


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

header{
    background-color: 
rgb(255, 255, 255);
    margin: 1rem 0 0 0;
}

header img{
    width: 12rem;
    align-items: baseline;
    margin-top: 20px;
}
nav {
    color: black;
    font-size: 1rem;
    background-color: rgb(255, 255, 255);
    margin: 0 0 4rem 0;
    text-align:end;
}
nav a{
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
}
section{
    display: grid;
    grid-template-columns: 15% 60% 20%;
    justify-content: space-evenly;
    margin-top: 2rem;
}

article{   
height: 17.5rem;
}
article img {
    width: 100%;

}

h1{
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: rgb(8, 51, 8);
    font-size: 2rem;
    margin: 1rem 0.25rem 1rem 0.1rem
}
h2{
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: rgb(8, 51, 8);
    font-size: 1.5rem;
    margin: 1rem 0.25rem 1rem 0.1rem
}
aside {
    position: relative;
    width: 100%;
    height: 10rem; 
    background: url(../img/fresas.webp)
    ;
    background-size: cover;  
    color: rgb(255, 255, 255);
    display: flex; 
    justify-content: center;
    align-items: center; 
    text-align: center;
    margin-top: 4rem;
}
aside p{
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    text-align: center;}

/*Class*/
/*centrado*/
.contenedor{
    max-width: 64rem;
    margin: 0 auto 0 auto;
}

.articulo-1{
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;
background-color: rgb(8, 51, 8);
width: 6rem;
color: aliceblue;
font-size: 1rem;
text-align:center;
}
.articulo-1 p {
    margin: 8rem 0.30rem 3rem 0.30rem
}
.articulo-2 ul {
    font-family: "Roboto", sans-serif;
font-weight: 300;
font-style: normal;
font-size: 1rem ;
text-align: left;
margin: 1.5rem 0.2rem 0 3rem;
}
.articulo-2 ul li{
    list-style:decimal;
}
.articulo-3{
    font-family: "Roboto", sans-serif;
font-weight: 300;
font-style: normal;
font-size: 1rem ;
text-align: left;
}
.articulo-3 ul{
    margin-left: 2rem;
    margin-top: 2.5rem;
}


@media screen and (max-width: 500px) {
    body {
        background-color: red;
        section{grid-template-columns: 1fr;}
        figure{ grid-template-columns: 1fr;}
    }
}