@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;1,700&family=Roboto&display=swap');

body{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
a{
    text-decoration: none;
    color: black;
}
header{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
header nav ul{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

header nav ul li{
    display: inline-block;
    padding: 0.5rem;
}
article{
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: center;
}
article figure{
    display: grid;
    grid-template-columns: 25% 75%;
    width: 100%;
    justify-items: center;
    align-items: center;
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: darkgreen;
}
article figure img{
    width: 100%;
    height: 100%;
}
section{
    display: grid;
    grid-template-columns: 65% 35%;
}
figcaption{
    color: aliceblue;
}
h1{
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font-size: xx-large;
    margin: 0;
}
.titulares{
    color: darkgreen;
    font-family: 'Nunito', sans-serif;
    font-style: italic;
    font-weight: 700;
}
aside{
    padding-left: 5rem;
}
footer{
    height: 10rem;
    width: 100%;
    background-image: url(../img/fresas.webp);
    background-size: cover;
    text-align: center;
    align-self: center;
}
footer p{
    color: aliceblue;
    font-weight: 500;
    padding-top: 3rem;
}

@media (max-width:651px){
    article figure{    
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    justify-items: center;
    align-items: center;
    background-color: darkgreen;
}
section{
    display: flex;
    flex-direction: column;
}
aside{
    padding: 0;
}
}