@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root{
    --blue: #2471A3;
    --black:#192a56;
    --black2: #272D3B;
    --red: #ED176F;
    --red2: #ff0157;
    --red3: #ff0000af;
    --crismarsRed: #DB3337;
    --coral: #F7817F;
    --gradient: linear-gradient(90deg, var(--red), var(--blue));
    --orange:#ff7800;
    --black3:#130f40;
    --light-color:#666;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
    --border:.2rem solid rgba(0,0,0,.1);
    --outline:.1rem solid rgba(0,0,0,.1);
    --outline-hover:.2rem solid var(--black);
}

*{
    font-family: 'Nunito', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none; /*border:none;*/
    /*text-transform: capitalize;*/
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5.5rem;
    scroll-behavior: smooth;
}

/************************** Header *********************************/
header{
    position: fixed;
    top:0; left: 0; right:0;
    background: #fff;
    padding:1rem 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: var(--box-shadow);
}

header .logo{
    color:var(--black);
    font-size: 2.5rem;
    font-weight: bolder;
}

header .crismars_logo{
    width: 136px;
}

.crismars_logo2{
    width: 136px;
}

header .logo span{
    color: var(--red3);
}

header .logo i{
    color:var(--blue);
}

header .navbar a{
    font-size: 1.7rem;
    border-radius: .5rem;
    padding:.5rem 1.5rem;
    color:var(--light-color);
}

header .navbar a.active,
header .navbar a:hover{
    color:#fff;
    background: var(--blue);
}

header .icons i,
header .icons a{
    cursor: pointer;
    margin-left: .5rem;
    height:4.5rem;
    line-height: 4.5rem;
    width:4.5rem;
    text-align: center;
    font-size: 1.7rem;
    color:var(--black);
    border-radius: 50%;
    background: #eee;
}

header .icons i:hover,
header .icons a:hover{
    color:#fff;
    background: var(--blue);
    transform: rotate(360deg);
}

header .icons #menu-bars{
    display: none;
}

/************************** Buscador *********************************/
#search-form{
    position: fixed;
    top:-110%; left:0; 
    height:100%; width:100%;
    z-index: 1004;
    background:rgba(0,0,0,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 1rem;
}

#search-form.active{
    top:0;
}

#search-form #search-box{
    width:50rem;
    border: none;
    border-bottom: .1rem solid #fff;
    padding:1rem 0;
    color:#fff;
    font-size: 3rem;
    text-transform: none;
    background:none;
}

#search-form #search-box::placeholder{
    color:#eee;
}

#search-form #search-box::-webkit-search-cancel-button{
    -webkit-appearance: none;
}

#search-form label{
    color:#fff;
    cursor:pointer;
    font-size: 3rem;
}

#search-form label:hover{
    color:var(--blue);
}

#search-form #close{
    position: absolute;
    color:#fff;
    cursor: pointer;
    top: 2rem; right:3rem;
    font-size: 5rem;
}

/************************** Section *********************************/
section{
    padding:3rem 9%;
}

section:nth-child(even){
    background:#eee;
}

.sub-heading{
    text-align: center;
    color:var(--crismarsRed);
    font-size: 2rem;
    padding-top: 3rem;
    text-transform: capitalize;
}

.heading{
    text-align: center;
    color:var(--black);
    font-size: 3rem;
    padding-bottom: 2rem;
    text-transform: uppercase;
}

/************************** Inicio *********************************/
.banner
{
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #111;
    background-size: cover;
}
.banner img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;/*.4*/
}
.banner .content
{
    position: relative;
    max-width: 900px;
    text-align: center;
}
.banner .content img{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    height: 320px;
    padding: 25px 0;
    margin-top: 40px;
    margin-bottom: 50px;
    opacity: .9;/*.9*/
}
.banner .content h2
{
    font-size: 8em;
    color: #fff;
}
.banner .content p
{
    font-size: 2em;
    color: #fff;
    margin-top: 30px;
}
.banner .btn
{
    font-size: 17px;
    color: #fff;
    background:var(--blue);
    display: inline-block;
    border-radius: 4px;
    padding: 10px 30px;
    margin-top: 30px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.5s;
}
.banner .btn:hover
{
    background: #1F618D;
}
.btn
{
    font-size: 12px;
    color: #fff;
    background:var(--blue);
    display: inline-block;
    border-radius: 2px;
    padding: 10px 30px;
    margin-top: 20px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.5s;
    border-radius: 3px;
}
.btn:hover
{
    letter-spacing: 4px;
    background: #1F618D;
}

.swiper-pagination-bullet-active{
    background:var(--blue);
}

/************************** Nosotros *********************************/
.about .row{
    display: flex;
    flex-wrap: wrap;
    gap:3rem;
    align-items: center;
}

.about .row .image{
    flex:1 1 45rem;
}

.about .row .image img{ 
    width: 100%;
    border-radius: 20px;
    background: #fff;
    padding: 30px;
}

.about .row .content{
    flex:1 1 45rem;
}

.about .row .content h3{
    color:var(--black);
    font-size: 4rem;
    padding:.5rem 0;
}

.about .row .content h3 span{
    color:var(--red2);
    font-size: 4rem;
    padding:.5rem 0;
}

.about .row .content p{
    color:var(--light-color);
    font-size: 1.5rem;
    padding:.5rem 0;
    line-height: 2;
}

.about .row .content .icons-container{
    display: flex;
    gap:1rem;
    flex-wrap: wrap;
    padding:1rem 0;
    margin-top: .5rem;
}

.about .row .content .icons-container .icons{
    background:#eee;
    border-radius: .5rem;
    border:.1rem solid rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap:1rem;
    flex:1 1 17rem;
    padding:1.5rem 1rem;
}

.about .row .content .icons-container .icons i{
    font-size: 2.5rem;
    color:var(--green);
}

.about .row .content .icons-container .icons span{
    font-size: 1.5rem;
    color:var(--black);
}

/************************** Servicios *********************************/
.gallery .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
}
.gallery .box{
    overflow: hidden;
    /*box-shadow: 0 1rem 2rem rgba(0,0,0,.1);
    border: 1rem solid #fff;
    border-radius: .5rem;*/
    /*flex: 1 1 30rem;*/
    /*height: 30rem;
    margin-left: 10px;
    margin-right: 10px;
    width: 400px;
    position: relative;*/
    border-radius: 20px;
    cursor: pointer;
}
.gallery .box img{
    height: 100%;
    width: 100%;
}
.gallery .box .content{
    position: absolute;
    top: -100%;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    background: rgba(0,0,0,.7);
    padding: 2rem;
    padding-top: 8rem;
    transition: .5s;
    justify-content: center;
    align-items: center;
}
.gallery .box:hover .content{
    top: 0;
}
.gallery .box .content h3{
    font-size: 2.5rem;
    color: #fff;
}
.gallery .box .content p{
    font-size: 1.5rem;
    color: #eee;
    padding: 2.5rem 0;
}

.btnG
{
    font-size: 12px;
    color: #fff;
    background: var(--blue);
    display: flex;
    border-radius: 2px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 150px;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.5s;
    border-radius: 3px;
    margin-top: 22px;
}
.btnG:hover
{
    letter-spacing: 4px;
    background: #1F618D;
}

.face{
    margin-top: 3rem;
}

.flex{
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.fb-post{
    display: flex;
    width: 100%;
    height: auto;
    position: relative;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-top: .5rem;
    justify-content: center;
    /*box-shadow: var(--box-shadow);
    border-radius: 20px;*/
}

.fb_iframe_widget {
    display: flex;
    position: relative;
}

.fb-xfbml-parse-ignore{
    box-shadow: var(--box-shadow);
    border-radius: 20px;
}

/************************** Productos *********************************/
.products .product-slider{
    padding:1rem;
}
.products .product-slider .mirage{
    display: flex;
    justify-content: center;
    align-items: center;
}

.products .product-slider .mirage img{
    width: 550px;
    height: 156px;
}

.products .product-slider .york{
    display: flex;
    justify-content: center;
    align-items: center;
}


.products .product-slider .york img {
    width: 430px;
    height: 70px;
    margin-top: 65px;
    margin-bottom: 48px;
}

.products .product-slider .hc{
    display: flex;
    justify-content: center;
    align-items: center;
}

.products .product-slider .hc img {
    width: 330px;
    height: 170px;
    margin-top: 55px;
    margin-bottom: 40px;
}

.products .product-slider .bohn{
    display: flex;
    justify-content: center;
    align-items: center;
}
.products .product-slider .bohn h1 {
    /*width: 380px;
    height: 80px;*/
    font-size: 8rem;
    color: #1987cc;
    margin-top: 40px;
    margin-bottom: 22px;
}
/*.products .miragetx{
    min-height: 140px;
}*/
.products .product-slider .bohn span {
    font-size: 2rem;
    margin-bottom: 26px;
    color: #1987cc;
}

.products .product-slider:first-child{
    margin-bottom: 2rem;
}

.products .product-slider .box{
    background: #fff;
    border-radius: .5rem;
    text-align: center;
    padding:3rem 2rem;
    outline-offset: -1rem;
    outline: var(--outline);
    box-shadow: var(--box-shadow);
    transition: .2s linear;
    cursor: pointer;
}

.products .product-slider .box:hover{
    outline-offset: 0rem;
    outline: var(--outline-hover);
}

.products .product-slider .box img{
    height:20rem;
}

.products .product-slider .box h3{
    font-size: 2.5rem;
    color:var(--black);
    margin-top: 10px;
}

.products .product-slider .box .price{
    font-size: 2rem;
    color:var(--light-color);
    padding:.5rem 0;
}

.products .product-slider .box .stars i{
    font-size: 1.7rem;
    color:var(--blue);
    padding:.5rem 0;
}

/************************** Testimonios *********************************/
.review .review-slider{
    padding:1rem;
}

.review .review-slider .box{
    background: #fff;
    border-radius: .5rem;
    text-align: center;
    padding:3rem 2rem;
    outline-offset: -1rem;
    outline: var(--outline);
    box-shadow: var(--box-shadow);
    transition: .2s linear;
    cursor: pointer;
}

.review .review-slider .box:hover{
    outline:var(--outline-hover);
    outline-offset: 0rem;
}

.review .review-slider .box img{
    height:10rem;
    width:10rem;
    /*border-radius: 50%;*/
}

.review .review-slider .box p{
    padding:1rem 0;
    line-height: 1.8;
    color:var(--light-color);
    font-size: 1.5rem;
}

.review .review-slider .box h3{
    padding-bottom: .5rem;
    color:var(--black);
    font-size: 2.2rem;
}

.review .review-slider .box .stars i{
    color:var(--blue);
    font-size: 1.7rem;
}

/************************** Contacto *********************************/
.contactUs{
    position: relative;
    width: 100%;
    padding: 40px 100px;
}
/*.contactUs .title{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}*/
.contactUs .form{
    grid-area: form;
}
.contactUs .info{
    grid-area: info;
}
.contactUs .map{
    grid-area: map;
}
.contactUs .contact{
    padding: 40px;
    padding-bottom: 0;
    background: #fff;
    box-shadow: 0 5px 35px rgba(0,0,0,0.15);
}
.contactUs .box{
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: 
    "form info"
    "form map";
    grid-gap: 20px;
    margin-top: 20px;
}
.contactUs .contact h3{
    color: var(--black);
    font-size: 3rem;
    margin-bottom: 10px;
}

/* form */

.contactUs .formBox{
    position: relative;
    width: 100%;
}
.contactUs .formBox .row50{
    display: flex;
    gap: 20px;
}
.contactUs .inputBox{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}
.contactUs .formBox .row100 .inputBox{
    width: 100%;
}
.contactUs .inputBox span{
    color: var(--blue);
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 5px;
}
.contactUs .inputBox input{
    padding: 10px;
    font-size: 14px;
    border: 1px solid #333;
}
.contactUs .inputBox textarea{
    padding: 10px;
    font-size: 14px;
    border: 1px solid #333;
    resize: none;
    min-height: 290px;
    margin-bottom: 10px;
}
.contactUs .inputBox input[type="submit"]{
    background: var(--blue);
    color: #fff;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.5s;
    border-radius: 3px;
    cursor: pointer;
    padding: 14px 15px;
}
.contactUs .inputBox input[type="submit"]:hover{
    background-color: #1F618D;
}
.contactUs .inputBox::placeholder{
    color: #999;
}

/* info */
.contactUs .info{
    background: #0e3959;
}
.contactUs .info h3{
    color: #fff;
}
.contactUs .info .infoBox div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.contactUs .info .infoBox div span{
    min-width: 40px;
    height: 40px;
    color: #fff;
    background: var(--red2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-radius: 50%;
    margin-right: 15px;
}
.contactUs .info .infoBox div p{
    color: #fff;
    font-size: 14px;
}
.contactUs .info .infoBox div a{
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}
.contactUs .sci{
    margin-top: 40px;
    display: flex;
    font-size: 18px;
}
.contactUs .sci li{
    list-style: none;
    margin-right: 15px;
}
.contactUs .sci li a{
    color: #fff;
    font-size: 2em;
    color: #ccc;
}
.contactUs .sci li a:hover{
    color: #fff;
    transition: all .0001s linear;
}
.contactUs .map{
    padding: 0;
}
.contactUs .map iframe{
    width: 100%;
    height: 100%;
}

.loader-container{
    position: fixed;
    top:0; left:0;
    height:100%; 
    width:100%;
    z-index: 10000;
    background:#fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
/* copyright */
.copyrightText
{
    padding: 16px 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}
.copyrightText p
{
    color: #333;
    font-size: 2rem;
}
.copyrightText a
{
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
    font-size: 2rem;
}
.copyrightText a span
{
    color: var(--red2);
    font-weight: 500;
    text-decoration: none;
    font-size: 2rem;
}

.loader-container img{
    width:35rem;
}

.loader-container.fade-out{
    top:-110%;
    opacity:0;
}

/********************************* RESPONSIVE Design 991 *********************************/

@media(max-width: 1300px){
    
}

@media(max-width: 1101px){
    html{
        font-size: 55%;
    }
    header{
        padding:1rem 2rem;
    }
    .banner .content img{
        height: 280px;
    }
    .gallery .box-container .box{
        height: 26rem;
        margin-left: 10px;
        margin-right: 10px;
        width: 300px;
    }
    .gallery .box-container .box .content{
        padding: 2rem;
        padding-top: 5rem;
    }
    .gallery .box-container .box .content h3{
        font-size: 2rem;
    }
    .gallery .box-container .box .content p{
        font-size: 1rem;
        padding: 2.5rem 0;
    }
    .contactUs{
        padding: 20px;
    }
    .contactUs .box {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "form"
            "info"
            "map";
        grid-gap: 20px;
        margin-top: 20px;
    }
    .contactUs .formBox .row50 {
        display: flex;
        gap: 0;
        flex-direction: column;
    }
    .contactUs .inputBox {
        width: 100%;
    }
    .contactUs .contact {
        padding: 30px;
    }
    .contactUs .map {
        padding: 0px;
        min-height: 300px;
    }
}
@media (max-width:966px){
    .products .product-slider .mirage img{
        width: 400px;
        height: 156px;
    }
    .products .product-slider .york img {
        width: 330px;
        height: 68px;
    }
    .products .product-slider .hc img {
        width: 260px;
        height: 149px;
        margin-top: 55px;
        margin-bottom: 35px;
    }
}
/*768*/
@media (max-width:896px){
    header .icons #menu-bars{
        display: inline-block;
    }

    header .navbar{
        position: absolute;
        top:100%; left:0; right:0;
        background:#fff;
        border-top: .1rem solid rgba(0,0,0,.2);
        border-bottom: .1rem solid rgba(0,0,0,.2);
        padding:1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    header .navbar a{
        display: block;
        padding:1.5rem;
        margin:1rem;
        font-size: 2rem;
        background:#eee;
    }

    #search-form #search-box{
        width:90%;
        margin:0 1rem;
    }
    .gallery .box .content{
        padding-top: 5rem;
    }
}
@media (max-width:790px){
    .banner .content img{
        height: 200px;
    }
    .flex{
        flex-wrap: wrap;
    }
    .fb-post,
    .fb_iframe_widget,
    .fb_iframe_widget_fluid{
        display: flex;
    }
}
@media (max-width:550px){

    html {
        font-size: 50%;
    }
    .banner .content img{
        height: 190px;
    }
}
@media (max-width:450px){
    .banner .content img{
        height: 160px;
    }
    .gallery .box-container .box{
        height: 26rem;
        margin-left: 10px;
        margin-right: 10px;
        width: 100%;
    }
    .products .product-slider .mirage img{
        width: 250px;
        height: 126px;
    }
    .products .product-slider .york img {
        width: 240px;
        height: 55px;
        margin-bottom: 38px;
    }
    .products .product-slider .hc img {
        width: 220px;
        height: 129px;
        margin-top: 55px;
        margin-bottom: 35px;
    }
}
@media (max-width: 380px){
    .contactUs{
        padding: 0;
    }
}
@media (max-width:325px){
    .banner .content img {
        height: 138px;
    }
    .contactUs .contact {
        padding: 5px;
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .gallery .box .content h3{
        font-size: 2rem;
    }
    .gallery .box .content p{
        font-size: 1rem;
    }
    .products .product-slider .mirage img{
        width: 190px;
        height: 106px;
    }
    .products .product-slider .york img {
        width: 180px;
        height: 50px;
        margin-bottom: 32px;
    }
    .products .product-slider .hc img {
        width: 200px;
        height: 116px;
        margin-top: 55px;
        margin-bottom: 35px;
    }
    .products .product-slider .bohn h1 {
        font-size: 7rem;
        margin-bottom: 10px;
    }
    .products .product-slider .box img {
        width: 100%;
    }
}
