@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');
@import url('https://fonts.googleapis.com/css2? family= Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700 & display=swap' );

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


    /*encabezado*/ 

header{
    display: grid;
    grid-template-columns: 65% 35%;
    padding: 1.2rem 1rem 1rem 1rem;
}

header nav{
    align-self:self-end;
    font-weight: 300;
}

header nav ul{
    text-align: right;
}

header nav ul li{
    display: inline-block;
}

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

/*imagen*/

figure{
    display: grid;
    grid-template-columns: 50% 50%;
    background: rgb(9, 99, 9);
    align-content: center;
    justify-content: center;

    margin: 3rem;
}

figure img{
    width: 65%;
}

figure figcaption{
    
    width: 50%;

    color:white;
    text-align: center;
    align-self: center;

}

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

.receta{
    padding-bottom: 3rem;
}

aside{
    padding-right:10%;
}


footer{
    background-image: url('../img/fresas.webp');

    margin: 0%;
    height: auto;

    color:white;
    text-align: center;
    padding: 3rem;
    background-size: cover;
}

footer a{
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 1em;

    border-radius: 20px;
    border: 2px solid rgb(159, 121, 242);

    padding: 0.5rem;
    margin-top: 0.5rem;

    color: rgb(238, 144, 67);
}

/*textos titulares*/


h1{
    font-weight:900;
    padding-top: 3rem;
    margin-left: 1.5rem;

    color: rgb(9, 99, 9);
}

h2{
    color: rgb(9, 99, 9);
}




@media (max-width:720px) {
    
    body{
        background:rgb(255, 255, 255);
    }

    figure{
    padding:2rem;
    align-items:center;
    }

    section {grid-template-columns: 1fr;
    }
    
    .receta{padding:2rem;
    text-align:center; 
    }
}
