@import url('https://fonts.googleapis.com/css2?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');

* {
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2rem;

}

.nav_links {
    display: flex;
    flex-direction: row;
    list-style: none;
    width: 30%;
    justify-content: flex-end;
}

.nav_links>li>a {
    text-decoration: none;
    color: #1b1b1b;
    margin: 10px;
    font-weight: 300;
}

.main_content {
    display: grid;
    grid-template-columns: 20% 20% 60%;
    padding: 2rem 0rem;
}

figure {
    margin: 1rem 2rem;
}

figcaption{
    color: #ffffff;
    text-align: center;
    padding: 3%;
    background-color: #014701;

}
figure >img {
    width: 100%;
    display: block;
}

aside, article{
    margin: 1rem;
}

aside > h3{
    color: #014701;
    font-size: 1.5rem;
}

.list{
    padding: 1rem 2rem;
    font-weight: 300;
}

article > h1{
    color: #014701;
    font-size: 2rem;
}

ol{
    font-weight: 300;
    color: #1b1b1b;
}

footer{
    background: url(../img/fresas.webp);
    height: 50vh;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    text-align: center;
    width: 100%;
    justify-content: center;
    align-items: center;
}

footer > p {
    font-size: 20px;
    font-weight: 600;
}

@media (max-width:900px){
    
   .main_content{
    display: grid;
    grid-template-columns: 100%;
   }

}