:root {
    /*colores*/
    /*primarios*/
    --pale-blue: hsl(225, 100%, 94%);
    --bright-blue: hsl(245, 75%, 52%);
    --Very-pale-blue: hsl(225, 100%, 98%);

    /*neutros*/
    --desaturated-blue: hsl(224, 23%, 55%);
    --dark-blue: hsl(223, 47%, 23%);
    --only-white: #ffffff;

    /*fuente*/
    --red-hat-display: 'Red Hat Display', sans-serif;
}

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


html {
    font-family: var(--red-hat-display);
}

button {
    border: none;
    background: none;
    width: 100%;
    font-family: var(--red-hat-display);
    font-weight: 700;
    cursor: pointer;
    padding: 12px 24px;
    margin: 5px 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-image: url(./images/pattern-background-mobile.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--pale-blue);
}

.resumen-pedido {
    width: 375px;
    background-color: var(--only-white);
    border-radius: 20px;
}

.encabezado {
    background-image: url(./images/illustration-hero.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: 220px;
}

.cuerpo {
    padding: 15px 20px;
    text-align: center;
}

.info__titulo {
    font-weight: 900;
    color: var(--dark-blue);
    margin-top: 15px;
}

.info__parrafo {
    margin: 20px 0;
    color: var(--desaturated-blue);
    line-height: 1.6rem;
}

.info__sumario {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 80px;
    background-color: var(--Very-pale-blue);
    border-radius: 10px;
    margin: 20px 0;
}

.sumario__detalle {
    text-align: left;
}

.sumario__detalle h2 {
    color: var(--dark-blue);
    font-weight: 900;
    font-size: 1rem;
}

.sumario__detalle span {
    color: var(--desaturated-blue);
}

.sumario__change {
    color: var(--bright-blue);
    font-weight: 700;
}

.btn-pagar {
    background-color: var(--bright-blue);
    border-radius: 10px;
    color: var(--only-white);
    transition: all 250ms ease;
}

.btn-pagar:hover {
    transform: translate(-1px, -1px);
}

.btn-pagar:active {
    transform: translate( 1px, 1px);
}


.btn-cancelar {
    color: var(--desaturated-blue);
    font-weight: 800;
}

.btn-cancelar:hover {
    text-decoration: underline;
}

.shadow {
    box-shadow: 0px 16px 8px 2px rgba(0, 0, 0, 0.11);
    -webkit-box-shadow: 1px 16px 8px 2px rgba(0, 0, 0, 0.11);
}


/* footer */
.attribution {
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

@media only screen and (min-width: 1440px) {
    .container {
        background-image: url('./images/pattern-background-desktop.svg');
        background-position: top;
        background-size: contain;
    }

    .resumen-pedido {
        width: 400px;
        background-color: var(--only-white);
        border-radius: 20px;
    }
    
    .cuerpo {
        padding: 15px 30px;
        text-align: center;
    }

}