:root {
    --fuentePricipal: 'Staatliches', cursive;
    --primario: #9c27b0;
    --promarioOscuro: #89119d;
    --secundario: #ffce00;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    /** 1rem = 10px **/
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.contenedor {
    display: flex;
    justify-content: center;
}

img {
    max-width: 100%;
}


/* encabezado */

.logo {
    max-width: 400px;
    margin: 2rem 1rem 1rem 3rem;
}

.barra {
    width: 100%;
    /* background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%); */
    /* background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%); */
    /* background-color: rgba(0, 0, 0, 0.5); */
    background-image: linear-gradient(-190deg, #ffffff 20%, #282828 100%);
}

.barras {
    width: 6rem;
    padding: 0 3rem 0 0;
    margin-right: 3px;
}

.nav {
    display: none;
    justify-content: left;
    padding: 0 0 0 3rem;
}

.barra .nav a {
    font-family: 'm-bold';
    font-size: 1.3rem;
    text-decoration: none;
    color: #ffffff;
    padding: 0.8rem;
    /* text-transform: uppercase; */
}

@media (min-width: 768px) {
    .logo {
        max-width: 400px;
        margin: 2rem 1rem 1rem 10rem;
    }
    .nav {
        display: flex;
        justify-content: center;
    }
    .cerrar {
        display: none;
    }
    .barras {
        display: none;
    }
    .barra {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 1rem;
        align-items: center;
    }
    .barra .nav a {
        font-family: 'm-regular';
        font-size: 1.8rem;
        text-align: center;
        padding: 2rem;
        margin-right: 1rem;
        transition: color .5s ease;
    }
}

.barra .nav a:hover {
    color: #ffff00;
}


/* inicio */

.container {
    max-width: 1200px;
    padding: 3rem;
}

.banner {
    height: 50rem;
    background-image: url(../img/2017.jpg);
    background-position: center;
    background-size: auto;
    background-repeat: no-repeat;
    position: relative;
    /* display: flex;
    justify-content: center; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.banner:after {
    content: '';
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}

.texto-banner {
    position: absolute;
    z-index: 1;
    color: white;
    text-align: center;
}

.img-banner {
    display: none;
}

.p-1 {
    font-family: 'u-bold';
    font-size: 1.5rem;
}

.p-2 {
    font-family: 'u-bold';
    font-size: 3.5rem;
}

.p-3 {
    font-family: 'u-light';
    font-size: 2rem;
}

.bcontacto {
    background-color: #d94948;
    font-family: 'u-light';
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
    padding: 1.4rem 3rem;
    text-transform: uppercase;
    border-radius: 65px;
    border: none;
}

@media (min-width: 480px) {
    .p-1 {
        font-size: 2.5rem;
    }
    .p-2 {
        font-size: 4rem;
    }
}

@media (min-width: 768px) {
    .p-1 {
        font-size: 2rem;
    }
    .p-2 {
        font-size: 5.3rem;
    }
    .texto-banner {
        margin-left: 7.5rem;
        max-width: 600px;
        text-align: left;
    }
    .banner {
        justify-content: space-between;
        background-size: 100%;
    }
}

@media (min-width: 960px) {
    .img-banner {
        display: block;
        z-index: 1;
        grid-column: 2/ 3;
        text-align: right;
    }
    .img-banner img {
        margin-right: 2rem;
        margin-bottom: 0;
        max-height: 50rem;
    }
}


/* modulo servicios */

.titulo-servicios {
    text-align: center;
    font-family: 'm-bold';
    font-size: 2.5rem;
}

.bloque-servicios p {
    font-family: 'm-light';
    text-align: center;
    margin: 0 2rem;
    font-size: 1.8rem;
}

hr {
    border: none;
    height: 1px;
    width: 15rem;
    color: blue;
    background-color: blue;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.los-servicios p {
    text-align: justify;
    margin: 0 3rem;
}

@media (min-width: 768px) {
    .los-servicios {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 1rem;
    }
    .los-servicios p {
        margin: 0 6rem 0 6rem;
    }
}


/* bloque 2 */

.bloque-2 {
    background-color: rgb(11, 11, 11);
    padding-bottom: 3rem;
}

.bloque-2 h2 {
    text-align: center;
    font-family: 'm-bold';
    font-size: 2rem;
    color: #ffffff;
    margin-right: 1rem;
    margin-left: 1rem;
}

.bloque-2 p {
    font-family: 'm-light';
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
    margin-left: 1rem;
    margin-right: 2rem;
    font-size: 1.8rem;
    color: #ffffff;
    line-height: 2.5rem;
}

.bloque-2 .img {
    display: block;
    text-align: center;
}

.bloque-2 img {
    max-width: 54%;
}

.bloque-2 .icono {
    display: block;
    text-align: center;
}

.bloque-2 i {
    color: #ffff00;
    font-size: 3rem;
    margin-top: 2rem
}

@media (min-width: 768px) {
    .bloque-2 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-column-gap: 1rem;
    }
    .bloque-2 .img {
        grid-column: 2/ 3;
        grid-row: 1/ 3;
        align-content: center;
    }
    .bloque-2 img {
        margin-top: 20rem;
        max-width: 80%;
    }
    .bloque-2 p {
        margin-bottom: 0rem;
        margin-right: 2rem;
    }
    .bloque-2 h2 {
        margin-right: 2rem;
        margin-left: 2rem;
    }
}

@media (min-width: 960px) {
    .bloque-2 img {
        margin-top: 0;
        padding: 2rem;
        max-width: 100%;
    }
}


/* bloque 3 */

.bloque-3 {
    padding: 1rem;
}

.bloque-3 h2 {
    text-align: center;
    font-family: 'm-bold';
    font-size: 2rem;
    color: #000000;
    margin-right: 1rem;
}

.bloque-3 p {
    font-family: 'm-light';
    text-align: center;
    font-size: 1.5rem;
    color: #000000;
    line-height: 2.5rem;
}

@media (min-width: 768px) {
    .bloque-3 h2 {
        font-size: 2.5rem;
    }
    .bloque-3 p {
        font-size: 2rem;
        line-height: 3rem;
    }
}

.boton {
    text-align: center;
}

.footer {
    background-color: rgba(11, 11, 11);
    padding: 2rem;
}

h4 {
    text-align: center;
    color: #ffffff;
    font-family: 'm-bold';
    font-size: 1rem;
}

@media (min-width: 480px) {
    h4 {
        font-size: 1.3rem;
    }
}

@media (min-width: 768px) {
    h4 {
        font-size: 1.5rem;
    }
}


/* catalogo */

.catalogo {
    background-color: rgba(33, 33, 33);
    /* max-width: 1200px;
    width: 95%;
    margin: 0 auto; */
    padding: 1rem;
}

.catalogo h2 {
    font-family: 'm-bold';
    font-size: 2.5rem;
    color: #ffffff;
}

.catalogo p {
    font-family: 'm-light';
    font-size: 1.8rem;
    color: #ffffff;
    line-height: 2.8rem;
}

.demos h3 {
    font-family: 'm-bold';
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
}

.demos img:hover {
    transform: scale(1.2);
    transition: all .5s ease-in-out;
    cursor: pointer;
}

.principal {
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .principal {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 0.7rem;
    }
}

@media (min-width: 768px) {
    .principal {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-column-gap: 0.7rem;
    }
    .catalogo {
        padding: 2rem;
    }
}

@media (min-width: 1024px) {
    .principal {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-column-gap: 0.7rem;
    }
    .catalogo {
        padding: 3rem;
    }
}


/* contactenos */

.contactenos {
    background-color: rgba(33, 33, 33);
    padding: 1rem;
}

.contactenos h2 {
    font-family: 'm-bold';
    font-size: 2.5rem;
    color: #ffffff;
}

input,
textarea {
    font-family: 'm-light';
    font-size: 1.3rem;
    padding: 1rem;
    display: block;
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 2rem;
    margin-right: 1rem;
    border: none;
    border-radius: 1rem;
}

label {
    font-family: 'm-light';
    font-size: 1.3rem;
    color: #ffffff;
    line-height: 2rem;
}

.contactenos p {
    font-family: 'm-light';
    font-size: 1.5rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .contactenos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 5rem;
        padding: 1rem 7rem;
    }
    iframe {
        height: 220px;
    }
    .contactenos h2 {
        font-size: 3.5rem;
    }
    label {
        font-size: 1.5rem;
    }
    .contactenos p {
        font-size: 2rem;
    }
}

button {
    cursor: pointer;
}