:root{
    --primario: #242525;
    --primarioOscuro: #757575;
    --secundario: #ffce00;
    --secundarioOscuro: rgb(233,287,2);
    --blanco: #fff;
    --bg: #eeeeee;
    --negro: #000;
    --gris: #292929;
    --gris-claro: #747474;
    --gris-oscuro: #181818;

    --fuentePrincipal: 'Ubuntu', sans-serif;


}
html {
    font-size: 62.5%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}


/** Globales **/

body {
    background-color:  var(--bg);
    font-size: 1.6rem;
    line-height: 1.8;
    font-family: var(--fuentePrincipal);
}

p {
    color: var(--negro);
    font-size: 1.8rem;
}

a {
    text-decoration: none;
}

img {
    width: 100%;
}

.contenedor{
    max-width: 120rem;
    margin: 0 auto;
}

h1,h2,h3{
    font-weight: bold;
    text-align: center;
    color: var(--primarioOscuro);

}

h1 {
    font-size: 3.8rem;
}
h2 {
    font-size: 3.4rem;
}
h3 {
    font-size: 3rem;
}
h4 {
    font-size: 2.6rem;
}

@media (max-width: 768px) {
    .grid{
        display: grid;
        grid-template-columns: repeat(1,1fr);
    }
}

/** Header **/



.header{
    background-position: center center;
    background-size: cover;
    padding: 1rem ;
    background-color: var(--primarioOscuro);
    margin-bottom: 2.3rem;
    box-shadow: 0px 3px 9px 2px rgba(130,130,130,0.45);
}

.contenido-header{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
}

@media (min-width: 768px) {
    .contenido-header {
        display: flex;
        justify-content: space-between;
        padding: 0 2rem;
    }
    .contenido-header p {
        font-size: 3.3rem;
    }
}

.logo{
    width: 7.8rem;
}

/** PRODUCTO **/

.card {
    margin: 1rem;
    padding: 1rem;
    background-color: var(--blanco);
    border-radius: .7rem;
}

.producto {
    margin-top: 1rem;
    line-height: 0;
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 3;
}
.producto__imagen {
    background-color: #d6d6d6;
    padding: .8rem;
    border-radius: .3rem;
    margin: 0 auto;
    width: 27rem;
    border-radius: .3rem;
}
.producto__nombre {
    font-size: 2.4rem;
    font-weight: bold;
}
.producto__detalle {
    color: var(--gris);
    padding: 0;
    font-size: 1.6rem;
}


.producto__precio {
    font-size: 4rem;
    color: var(--gris-oscuro);
    font-weight: bold;
    border-bottom: var(--gris-claro) 2px solid;
    padding-bottom: 1rem;
}

.producto__nombre_lista{
    margin-top: 4rem;
}

.producto,.nota{
    display: flex;
    justify-content: center;
}

.producto__nombre,
.producto__precio,
.producto__nombre_lista,
.nota__detalle{
    margin: 1rem 0;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 768px){
    .contenedor {
        margin: 0 auto;
    }
    .producto__informacion {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        column-gap: 2rem;
    }
    .producto__detalle {
        font-size: 1.9rem;
    }

    .producto__nombre {
        font-size: 4rem;
    }
    .producto__imagen {
        width: 35rem;
    }
}

@media (max-width: 768px) {
    .codigos {
        margin-top: 1.5rem;
    }
}

.codigos p{
    margin: 0;
    font-size: 1.2rem;
    color: var(--gris-claro);
}

/** TITULO **/

.titulo{
    text-align: center;
    color: var(--blanco);
    font-size: 1.9rem;
    line-height: 2.2rem;
    font-weight: 800;
}


@media (min-width: 768px){
    .titulo{
        font-size: 4rem;
    }
}

/** Footer **/

.footer{
    background-color: var(--gris);
    /*  poner footer abajo */
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
}

.footer__texto{
    text-align: center;
    font-size: 1.2rem;
    color: var(--blanco);

}

@media (min-width: 768px){
    .footer__texto{
        font-size: 2.2rem;
        padding: 1.7rem;
        margin: 0;
    }
    .footer {
        margin-top: 1.3rem;
    }
}

