/********

NAVBAR Y HOMEPAGE

*******/


* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

html{
    scroll-behavior: smooth;
}

header {
    width: 98vw;
    height: 98vh;
}

/*

CARRUSEL

*/




/*

NAVBAR 

*/

header .container_navbar{
    width: 90%;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    position: absolute;
    z-index: 2;
    color: white;
    margin-left: 20px;
}


    

header .container_navbar > div > h2{
    margin-left: 20px;
    color: #fff;
    width: 30%;
    text-align:center;
}



header .container_navbar div > nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    float: right;
}

header .container_navbar div > nav > ul > li{
    display: inline;
}

header .container_navbar div > nav > ul > li > a{ 
    padding: 8px;
    text-decoration-line: none;
    color: #fff;
    font-size: 16px;
    scroll-behavior: smooth;
}

header > section {
    width: 100%;
    height: 100%;
}

header > section > div{
    width: 100%;
    height: 100%;
}

header > section > div .blur{
    background-color: #000;
    opacity: 0.50;
    width: 100%;
    height: 98%;
    position: absolute;
    top: 0;
    z-index: 1;
}

header > section > div .textBox{
    background-color: #FBBE0D;
    width: 90%;
    height: 125px;
    border-radius: 15px;
    position: absolute;
    top: 430px;
    left: 6%;
    z-index: 2;
    text-align: center;
    display: grid;
    justify-items: center;
    align-items: center;
    text-align: center;
}

header > section > div .textBox > p{
    padding: 40px;
    font-size: 35px;
    font-weight: bold;
    color: white;
}

header > section > div >  img{
    width: 100%;
    height: 98%;
    position: absolute;
    top: 0;
    z-index: 0;
}


/* 

VIDEO Y BOTONES DE PLAY VIDEO



header > section > video{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 0;
}



.playBtn{
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 50%;
    color: white;
    font-size: 64px;
    border-radius: 100%;
}


.stopBtn{
    position: absolute;
    z-index: 1;
     top: 50%;
    right: 50%;
    color: white;
    font-size: 64px;
    border-radius: 100%;
    visibility: hidden;
    opacity: 0.40;
}

.stopBtn:hover{
    opacity: 1;
}

*/

/********

SLIDER CAMPAÑAS

*******/
.container-campanas{
    width: 100%;
    min-height: 100%;
}

.container-campanas .texto-lema{
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 30px;
}

.container-campanas .swiper-container {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #FBBE0D;
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
    opacity: 0.86;
}

.container-campanas .swiper-slide {
    width: 300px;   
    height: 425px;
    box-shadow: 0px 6px 13px rgba(100,100,100,0.5);

}

.container-campanas .swiper-slide > div > img {
    border-radius: 10px;
    height: 400px;
    width: 300px;
    box-shadow: 0px 6px 13px rgba(100,100,100,0.5);
}

.bg-campa{
    position: relative;
    background-color: #efb203;
    width: 320px;
    height: 450px;
    border-radius: 13px;
}

.bg-campa > b{
    position: absolute;
    top: 70%;
    left: 35%;
    color: white;
}

.bg-campa > button{
    position: absolute;
    top: 77%;
    left: 28%;
    width: 150px;
    height: 30px;
    border-radius: 13px;
    background-color: #efb203;
    color: white;
    border: 1px solid #fff;
    
}


.bg-blackProduct{
    width: 100vw;
    height: 50vh;
    background-color: #007EFC;
    position: absolute;
    z-index: 2;
    top: 704px;
}

/********

WORKS

*******/

.container-work{
    width: 90%;
    margin:auto;
    padding-top: 16px;

}

.container-work > div{
    display: block;
    min-height: 300px;
    min-width: 300px;
    box-shadow: 0px 6px13px rgba(100,100,100,0.5);
}

.container-work > div > img{
    width: 100%;
    height: 100%;
    box-shadow: 0px 6px 13px rgba(100,100,100,0.5);
}

.container-work{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}

.container-work .big-image{
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
    box-shadow: 0px 6px 13px;
}

.container-work .big-image > div > img{
    width: 100%;
    height: 100%;
}


.container-work .large-image{
    grid-column-start: 4;
    grid-column-end: 5;
    grid-row-start: 4;
    grid-row-end: -1;
    max-height: 640px;
    box-shadow: 0px 6px 13px rgba(100,100,100,0.5);
    
}


.container-work2{
    width: 90%;
    margin:auto;
    margin-top: 16px;
    padding-bottom: 20px;
}

.container-work2 > div{
    display: block;
    height: 300px;
    width: 391px;
    box-shadow: 0px 6px 13px rgba(100,100,100,0.5);
}

.container-work2 > div >img{
    width: 100%;
    height: 100%;
    
}

.container-work2{
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    grid-template-rows: 1fr 1fr;
    grid-gap: 20px;
}

.container-work2 .avoid{
    display: none;
}

.container-work2 .avoid2{
    display: none;
}



/********

WORKS HOVER

*******/


.containerbig-overlay{
    position: relative;
    width: 100%;
}

.containerbig-overlay:hover .overlay{
    opacity: 1;
}


.containerbig-overlay .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #008CBA;
}

.containerbig-overlay .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 30%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }

  

.container-overlay{
    position: relative;
    width: 50%;
}

.container-overlay:hover .overlay{
    opacity: 1;
}


.container-overlay .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #008CBA;
}

.container-overlay .text {
    color: white;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }

  



/********

MARCAS

*******/

.container-company{
    width: 90%;
    margin:auto;
    margin-top: 16px;
}

.container-company > div{
    display: block;
    padding: 20px;
    text-align: center;
}

.container-company{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}



/********

CONTACTO

*******/


.container-contact{
    width: 90%;
    margin:auto;
    margin-top: 16px;
}

.container-contact > div{
    display: block;
    padding: 20px;
    
}

.container-contact{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.container-contact > div > h2{
    font-size: 42px;
    margin: 16px;
    margin-left: 0px;
}

.container-contact > div > p{
    font-size: 20px;
    margin: 16px;
    margin-left: 0px;
}

.container-contact > div > form > input{
    margin: 16px;

}

.container-contact > div > form > input:first-child{
    border-radius: 4px;
    width: 60%;
    height: 40px;
    text-align: center;
    border-radius: 13px;
}

.container-contact > div > form > input:last-child{
    border-radius: 20px;
    width: 25%;
    height: 40px;
    color: white;
    background-color: #007EFC;
    border: 1px solid #000;
}


/********

FOOTER

*******/

footer{
    background-color: #000;
    color: #fff;
}

.container-footer{
    width: 90%;
    margin:auto;
}

.container-footer > div{
    display: block;
    padding: 20px;
    
}

.container-footer{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

.container-footer > div > img{
    height: 150px;
    width: 60%
}


.bg-black{
    background-color: #000;
    color: #fff;
}

.bg-yellow{
    background-color: #FBBE0D;
    opacity: 0.86;
}

/* 

.container{
    width: 90%;
    margin:auto;
}

.container > div{
    display: block;
    padding: 20px;
}

.container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
}

*/

/********

ICONO

*******/

.icon{
    position: absolute;
    top: 0;
    left: 85%;
    font-size: 32px;
    margin-top: 10px;
    z-index: 3;
    display: none;
    color: white;
}






@media only screen and (max-width: 1320px) {
    .container-work2{
        grid-template-columns: 3fr 3fr;
        grid-template-rows: 2fr 2fr;
    }

    .container-work2 > div{
        display: block;
        height: 300px;
        width: 400px;
    }

    .container-work {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .container-work .large-image{
        grid-column-start: 3;
        grid-column-end: 4;
    }

    .container-work .large-image > div > img{
        width: 100%;
        height: 100%;
    }

    .container-work .show{
        display: none;
    }

    .container-work2 .avoid{
        display: block;
    }

    .container-campanas .swiper-container{
        background-color: #FBBE0D;
        opacity: 0.86;
        background-image: none;
    }

    .container-work2 .avoid2{
        display: none;
    }

    header > section > div .textBox{
        height: 150px;
    }


}

@media only screen and (max-width: 900px) {
    header .container_navbar{
        grid-template-columns: 1fr;
    }

    .icon{
        display: block;
    }

    header .container_navbar div > nav > ul {
        display: none;
    }

    header .container_navbar div {
        justify-items: center;
    }
    
    header .container_navbar.responsive div > nav > ul {
        display: block;
        text-align: center;
        background-color: #FBBE0D;
        color: white;
        border-radius: 13px;
        width: 90%;
        margin: 16px;
        margin-top: 8px;
    }

    header .container_navbar.responsive div > nav > ul > li{
        display: block;
        padding: 16px;
    }

    header > section > div .textBox{
        height: 190px;
        top: 412px;
    }


.container-work2 .avoid2{
    display: block;
}

.container-work .show2{
    display: none;
}

.container-work{
    display: none;
    background-color: #FBBE0D;
    opacity: 0.86;
}

.container-work2 {
    grid-template-columns: 1fr;
    justify-items: center;
    margin-top: 0px
}

}

@media only screen and (max-width: 600px){

    .container-contact{
        grid-template-columns: 1fr;
    }

    .container-footer{
        grid-template-columns: 1fr;
    }

    .container-company{
        grid-template-columns: 1fr;
    }

    header > section > div >  img{
        height: 70%;
    }

    header > section > div .blur{
        height: 70%;
    }

    header > section > div .textBox{
        top: 355px;
        height: 244px;
    }


}

@media only screen and (max-width: 500px){
    .container-work2 > div{
        width: 90%;
    }

    .container-contact > div > form > input:first-child{
        width: 90%;        
    }
    
    .container-contact > div > form > input:last-child{
        width: 90%;
    }

    .playBtn{
        right: 45%;
    }

    header > section > div .textBox > p{
        font-size: 30px;
    }

    .stopBtn{
        right: 45%;
    }
    
}