html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1REM = 10px */
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    line-height: 2;
}

/* Globales */
h1, 
h2, 
h3 {
    font-family:Arial, Helvetica, sans-serif;
    margin: 0 0 5rem 0;
}
h1 {
    font-size: 5rem;
}
h2 {
    font-size: 4rem;
    font-family: Arial, Helvetica, sans-serif;
}
h3 {
    font-size: 3rem;
    font-family: Arial, Helvetica, sans-serif;
}
a {
    text-decoration: none;
    color: #000;
}
.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}
img {
    max-width: 100%;
    display: block;
}

.btn {
    background-color: #ffffff;
    display: block;
    color: #000000;
    text-transform: uppercase;
    font-weight: 600;
    padding: 1rem;
    transition: background-color .3s ease-out ;
    text-align: center;
    border: none;
}
.btn:hover {
    background-color: #a6a6a6;
    cursor: pointer;
}

/** Utilidades */
.text-center {
    text-align: center;
}

.max-width-30 {
    max-width: 30rem;
}

.conteTitulos {
    padding-left: 10px;
    background-color: #200237;
}

.textTitulos {
    color: #ffffff;
}

/** Header y Navegacion **/

.contenedorTitulo {
    background-color: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center; 
    
    
}

.contenedorImgTitulo {
    background-color: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
    
}


.contenedorImgTitulo img {

    width: 250px;
    height: 160px;
    
}

.imgLogo {
    padding-top: 15px;
    padding-left: 15px;
    padding-bottom: 15px;
}


.nombre-sitio {
    
    text-align: center;
}
.nombre-sitio span {
    color: #3f066a;
}
.contenedor-navegacion {
    border-top: .1rem solid #e1e1e1;
}
.nav-principal {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
}

.hero {
    background-image: url(../img/portada1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    height: 55rem;
}

@media screen and (max-width:800px){

    .nav-principal {
        padding: 2rem 0;
        display: flex;
        justify-content: space-evenly;
    }

}

/** Categorias **/



.categorias {
    padding-top: 5rem;
}
.categoria a {
    text-align: center;
    display: block;
    padding: 2rem;
    font-size: 2rem;
}
.categoria a:hover {
    background-color: #000000;
    color: #ffffff;
    border-bottom-right-radius: 1rem;
}
.listado-categorias {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.listado-categorias1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}


@media screen and (max-width:800px){

    .listado-categorias {
        display: inline;
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }

    .listado-categorias1 {
        display: inline;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

}


/** Bloque Nosotros */

.sobre-nosotros {
    background-image: linear-gradient( to right, transparent 50%, #002fff 50%, #200237 100% ), url(../img/portadaAcercaDe1.jpg);
    background-position: left center ;    
    padding: 10rem 10rem;
    background-repeat: no-repeat;
    background-size: 100%, 120rem;
}
.sobre-nosotros-grid {
    display: flex;
    justify-content: flex-end;
}
.texto-nosotros {
    text-align: justify;
    flex-basis: 50%;
    padding-left: 10rem;
    color: #FFF;
}

@media screen and (max-width:800px){

    .sobre-nosotros {
        background-image: linear-gradient( to right, transparent 50%, #002fff 50%, #200237 100% ), url(../img/portadaAcercaDe1.jpg);
        background-position: center;    
        padding: 4rem 4rem;
        background-repeat: no-repeat;
        background-size: 100%, 140rem;
    }

    .sobre-nosotros-grid {
        display: inline-block;
        justify-content: flex-end;
    }

}

/** Listado de Productos **/
.contenido-principal {
    padding-top: 5rem;
}
.listado-productos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}
.producto:nth-child(1) {
    grid-column-start: 1;
    grid-column-end: 7;
    display: grid;
    grid-template-columns: 3fr 1fr;
}
.producto:nth-child(1) img {
    height: 43rem;
    width: 100%;
    object-fit: cover;
}
.producto:nth-child(2) {
    grid-column-start: 1;
    grid-column-end: 4;
}
.producto:nth-child(2) img,
.producto:nth-child(3) img {
    height: 30rem;
    width: 100%;
    object-fit: cover;
}
.producto:nth-child(3) {
    grid-column-start: 4;
    grid-column-end: 7;
}
.producto:nth-child(4) {
    grid-column-start: 1;
    grid-column-end: 3;
}
.producto:nth-child(5) {
    grid-column-start: 3;
    grid-column-end: 5;
}
.producto:nth-child(6) {
    grid-column-start: 5;
    grid-column-end: 7;
}
.producto {
    background-color: #ffffff;
}

.texto-producto {
    text-align: center;
    color: #000000;
    padding: 2rem;
}
.texto-producto h3 {
    margin: 0;
}
.texto-producto p {
    margin: 0 0 .5rem 0;
}
.texto-producto .precio {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
}

@media screen and (max-width:800px){

    .listado-productos {
        display: inline-block;
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }

    .producto:nth-child(1) {
        grid-column-start: 1;
        grid-column-end: 7;
        display: inline;
        grid-template-columns: 3fr 1fr;
    }

}

/** Footer **/
.site-footer {
    border-top: 1px solid #e1e1e1;
    margin-top: 5rem;
    padding-top: 5rem;
}
.site-footer h3 {
    margin-bottom: .5rem;
}
.grid-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-menu a {
    display: block;
}

.copyright {
    margin-top: 5rem;
    text-align: center;
}

@media screen and (max-width:800px){

    .site-footer {
        text-align: center;
        border-top: 1px solid #e1e1e1;
        margin-top: 5rem;
        padding-top: 5rem;
    }

    .grid-footer {
        display: inline;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

}

/** Nosotros **/
.contenido-nosotros {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-columns: repeat(auto-fit, minmax( 25rem, 1fr ) );
    column-gap: 4rem;
}
.informacion-nosotros {
    text-align: justify;
    flex-direction: column;
    justify-content: center;
}

/** Blog */
.contenedor-blog {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: 4rem;
}
.entrada {
    border-bottom: 2px solid #e1e1e1;
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}
.entrada:last-of-type {
    border: none;
}
.entrada-meta {
    display: flex;
    justify-content: space-between;
}
.entrada-meta p {
    font-weight: bold;
}
.entrada-meta span {
    color: #037bc0;
}
.contenido-entrada-blog {
    width: 60rem;
    margin: 0 auto;
}

.entrada-blog p {
    text-align: justify;
}

@media screen and (max-width:800px){

    .contenedor-blog {
        display: inline;
        grid-template-columns: 2fr 1fr;
        column-gap: 4rem;
    }

    .entrada {
        border-bottom: 2px solid #e1e1e1;
        padding-bottom: 4rem;
        margin-bottom: 2rem;
    }

    .entrada-meta p {
        font-weight: bold;
        margin: 0 10px 10px 10px;
    }

    .entrada-blog p {
        text-align: justify;
        margin: 0 10px 10px 10px;
    }

}

/* Formulario */

.formulario {
    max-width: 60rem;
    margin: 0 auto;
}

.formulario fieldset {
   border: 1px solid black;
   margin-bottom: 2rem;
}
.formulario legend {
    background-color: #200237;
    width: 100%;
    text-align: center;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 900;
    padding: 1rem;
    margin-bottom: 4rem;

}

.campo {
    display: flex;
    margin-bottom: 2rem;
}
.campo label {
    flex-basis: 10rem;
} 
.campo input:not([type="radio"]),
.campo textarea,
.campo select  {
    flex: 1;
    border: 1px solid #e1e1e1;
    padding: 1rem;
}


.cards{
    display: flex;
    justify-content: space-evenly;
}


.cards .card{
    background: #ffffff;
    display: flex;
    width: 46%;
    height: 250px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    box-shadow: 0 0 6px 0 rgba(0,0,0, 0.6);

}


.cards .card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #fff;
    border-radius: 50%;
    display: block;

}


.cards  .card > .contenido-texto-card{
    width: 60%;
    color: #000000;
}


.cards .card > .contenido-texto-card p{
    font-weight: 300;
    padding-top: 5px;

}

@media screen and (max-width:800px){

   

    .cards{
        display: inline;
        justify-content: space-evenly;
        
       
        
    }

    .cards .card{
        background: #ffffff;
        display: flex;
        width: 80%;
        height: 250px;
        align-items: center;
        justify-content: space-evenly;
        border-radius: 5px;
        box-shadow: 0 0 6px 0 rgba(0,0,0, 0.6);
        padding-left: 20px;
        margin-left: 50px;
    
    }

    .cards .card img{
        width: 60px;
        height: 60px;
        object-fit: cover;
        border: 3px solid #fff;
        border-radius: 50%;
        display: block;
    
    }

    .cards  .card > .contenido-texto-card{
        width: 100%;
        color: #000000;
    }

    .cards .card > .contenido-texto-card p{
        font-weight: 100;
        padding-top: 1px;
        text-align: center;
    
    }

    

   

}