@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;700&display=swap');

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

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    padding: 0;
    margin: 0;
    transition: all 2s;
}

header {
    display: grid;
    grid-template-columns: auto auto;
    padding: 2rem;
}

header nav {
    justify-self: end;
    padding: 1rem;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-right: 0rem;
}

header nav ul li a {
    text-decoration: none;
    color: #000;
}

figure {
    display: grid;
    background: #00450e;
    grid-template-columns: 22rem 65rem;
    margin-bottom: 1rem;
    
    

}

figcaption {
    color: #fff;
    align-self: center;
    text-align: center;
     
}

figure img {
    width: 100%;
}

section {
    display: grid;
    grid-template-columns: 80% 20%;
    padding: 4rem;
}

aside {
    align-self: center; 
    padding: 5rem;
    
    
}

h1 {
    display: grid;
    
    
    color: #00450e;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

h2 {
    color: #00450e;
    font-size: 1.5rem;
    font-weight: 700;
    padding-top: 0.5rem;
}

footer {background-image: url(../img/fresas.webp);
    margin: 0%;
    height: auto;
    color: white;
    text-align: center;
    padding: 3rem;
    background-size: cover;}

footer p{color: #fff; font-size: 1rem; font-weight: 700; text-align: center; padding: 5rem;}





/*responsive*/
@media (max-width:40rem)
{
    body {background-color: #808080;}.logomobile {display: block; margin: auto} .logodesktop {display: none;}
.menu {display: none;}
h1{align-items: center; color: rgb(255, 255, 255);font-weight: 300; margin: 1rem;}
figure figcaption {display: none;}
figure img {border-radius: 10%; width: 80%; align-content: center;}
figure {background: none;}
section figure {width: 100%; align-content: center; display: flex; justify-content: center;padding:10%;}
section h1 {width: 100%; justify-content: center; margin: 20%;}
article {padding: 10%}
section aside {display: flex; flex-direction: column; width: 100%; padding:10%; font-size: small;}
footer p {color:#000000;}