@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@700&family=Montserrat:wght@500;700&display=swap');

/*
font-family: 'Fraunces', serif;
font-family: 'Montserrat', sans-serif;
*/

:root {
    /* ### Primary */

    --Dark_cyan: hsl(158, 36%, 37%);
    --Dark_cyan_Dark: hsl(158, 36%, 17%);
    --Cream: hsl(30, 38%, 92%);

    /* ### Neutral */

    --Very_dark_blue: hsl(212, 21%, 14%);
    --Dark_grayish_blue: hsl(228, 12%, 48%);
    --White: hsl(0, 0%, 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    background-color: var(--Cream);
}
.container{
    background-color: var(--White);
    width: 345px;
    height: 610px;
    margin: 30px auto;
    border-radius: 10px;
    overflow: hidden;
}
#section1 .image{
    background-image: url("images/image-product-mobile.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 240px;
}
#section2{
    padding: 25px;
}
#section2 span{
    color: var(--Dark_grayish_blue);
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 5px;
}
#section2 h1{
    margin: 6px 0;
    color: var(--Very_dark_blue);
    font-family: 'Fraunces', serif;
    font-size: 30px;
}
#section2 p{
    color: var(--Dark_grayish_blue);
    line-height: 25px;
    font-weight: 500;
}
#section2 .precio-container{
    display: flex;
    margin: 30px 0 20px;
}
#section2 .precio-container .precio-actual{
    font-family: 'Fraunces', serif;
    font-size: 30px;
    color: var(--Dark_cyan);
}
#section2 .precio-container .precio-anterior{
    margin-left: 20px;
    font-size: 12px;
    text-decoration: line-through;
}
#section2 a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: var(--Dark_cyan);
    color: var(--White);
    width: 295px;
    height: 48px;
    border-radius: 10px;
    text-decoration: none;
}
#section2 a img{
    width: 14px;
    height: 14px;
}
#section2 a p{
    color: var(--White);
    font-weight: 700;
}
/*FOOTER --------------------------*/
.attribution {
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

/*VISTA DE ESCRITORIO*/
@media only screen and (min-width:695px){
    .container{
        width: 600px;
        height: 455px;
        display: flex;
        flex-direction: row;
    }
    #section1 .image{
        background-image: url("images/image-product-desktop.jpg");
        width: 300px;
        height: 100%;
    }
    #section2{
        width: 300px;
        padding: 35px 30px;
    }
    #section2 h1{
        margin: 15px 0;
        padding-right: 10px;
    }
    #section2 .precio-container{
        margin-bottom: 30px;
    }
    #section2 a{
        width: 235px;
    }
    #section2 a:hover{
        background-color: var(--Dark_cyan_Dark);
    }
}