@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');

body {background-color: rgb(254, 254, 254);
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    font-style: normal;}


/**HEADER**/
header {
    display: flex;
justify-content: space-between;
}

nav {
    justify-self: end;
    text-decoration: none;
    margin: 2.1rem;
}
nav a {color: black;
text-decoration: none;
font-size: 1rem;}

.logo{
    margin: 1.5rem;
}

/**SECTION**/

section {
display: grid;
grid-template-columns: 23% 77%;
}

/**INGREDIENTES**/

article {
    margin-left: 1.2rem;
    margin-top: 3rem;
}
h2 {
    color: #00450e;
}

/**RECETA**/

aside {
    margin: 3rem;
    }

h1{
    color: #00450e;
    font-size: 2rem;
}

figure { display: grid;
grid-template-columns: 50% 50%;
background-color: #00450e;

}

figcaption{ color: #fff; 
    text-align: center; 
    background-color: #00450e;
    align-self: center; 
width: 25rem;} 


figure img  {
    width: 25rem;

}

/*FOOTER**/
footer {
    width: 100%; 
    background:url(../img/fresas.webp);
    background-size: cover;
}
footer p{
    color: #ffffff; 
    font-size: 1rem; 
    text-align: center; 
    padding: 5rem;
}