/* FONTS */
@import url(../css/clash-display.css);

/* VARIABLES */
:root {

    --primary-color: #860105;
    --secondary-color: #2F2D2E;
    --third-color: #00bdba;

    --primary-color-light: #9f2125;

    --primary-color-rgb: 134, 1, 5;

    --bg-gray: #F9F9F9;

    --font-base: "ClashDisplay", sans-serif;
    --box-shadow: 0px 15px 25px rgba(0,0,0,0.08);
    --transition: all 0.5s ease;
}

/* RESET & HELPERS */
body {
    font-family: var(--font-base);
    line-height: 1.7;
    color: var(--secondary-color);
    overflow-x: hidden;
}

h1, h2, h3,h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 600;
    color: var(--secondary-color);
}

h1, .h1 {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color-light);
}

img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
}

.color {
    color: var(--primary-color-light);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-gray {
    background-color: var(--bg-gray) !important;
}

.obj-contain {
    object-fit: contain;
}

.obj-top {
    object-position: top;
}

.section-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.theme-shadow {
    box-shadow: var(--box-shadow);
}

.logo {
    width: 35px;
    height: 50px;
}

.logo_home {
    width: 350px;
    height: 350px;
}

.logo_contact {
    width: 400px;
    height: 400px;
}

/* PRELOADER */
#loading {
    background-color: var(--primary-color);
    height: 100vh;
    width: 100%;
    position: absolute;
    margin-top: 0px;
    top: 0px;
    left:0;
    z-index: 9999;
}

#loading-center {
    width: 100%;
    height: 100%;
    position: relative;
}

#loading-center-absolute {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 50px;
    width: 50px;
    margin-top: -25px;
    margin-left: -25px;
    -ms-transform: rotate(45deg); 
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg); 
    -webkit-animation: loading-center-absolute 1.5s infinite;
    animation: loading-center-absolute 1.5s infinite;
}

.object{
    width: 25px;
    height: 25px;
    background-color: #FFF;
    float: left;

}

#object_one {
    -webkit-animation: object_one 1.5s infinite;
    animation: object_one 1.5s infinite;
}
#object_two {
    -webkit-animation: object_two 1.5s infinite;
    animation: object_two 1.5s infinite;
}
#object_three {
    -webkit-animation: object_three 1.5s infinite;
    animation: object_three 1.5s infinite;
}
#object_four {
    -webkit-animation: object_four 1.5s infinite;
    animation: object_four 1.5s infinite;
}

@-webkit-keyframes loading-center-absolute {
    100% { -webkit-transform: rotate(-45deg); }

}

@keyframes loading-center-absolute {
    100% { 
        transform:  rotate(-45deg);
        -webkit-transform:  rotate(-45deg);
    }
}

@-webkit-keyframes object_one {
    25% { -webkit-transform: translate(0,-50px) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }

}

@keyframes object_one {
    25% { 
        transform: translate(0,-50px) rotate(-180deg);
        -webkit-transform: translate(0,-50px) rotate(-180deg);
    } 
    100% { 
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: translate(0,0) rotate(-180deg);
    }
}

@-webkit-keyframes object_two {
    25% { -webkit-transform: translate(50px,0) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }
}

@keyframes object_two {
    25% { 
        transform: translate(50px,0) rotate(-180deg);
        -webkit-transform: translate(50px,0) rotate(-180deg);
    } 
    100% { 
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: translate(0,0) rotate(-180deg);
    }
}

@-webkit-keyframes object_three {
    25% { -webkit-transform: translate(-50px,0) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }
}

@keyframes object_three {
    25% { 
        transform:  translate(-50px,0) rotate(-180deg);
        -webkit-transform:  translate(-50px,0) rotate(-180deg);
    } 
    100% { 
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: rtranslate(0,0) rotate(-180deg);
    }
}

@-webkit-keyframes object_four {
    25% { -webkit-transform: translate(0,50px) rotate(-180deg); }
    100% { -webkit-transform: translate(0,0) rotate(-180deg); }
}

@keyframes object_four {
    25% { 
        transform: translate(0,50px) rotate(-180deg); 
        -webkit-transform: translate(0,50px) rotate(-180deg);  
    } 
    100% { 
        transform: translate(0,0) rotate(-180deg);
        -webkit-transform: translate(0,0) rotate(-180deg);
    }
}

/* SLIDER CHECK */
.slider::before {
    content: '';
    position: absolute;
    height: 12px;
    width: 12px;
    left: 5px;
    bottom: 4px;
    background-color: white;
    transition: .5s;
    -webkit-transition: .5s;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    background-color: white;
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider::before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 35px;
}

.slider.round:before {
    border-radius: 50%;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle input{
    opacity: 1;
    width: 0;
    height: 0;
    visibility: hidden;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    -webkit-transition: .1s;
    transition: .1s;
}

/* IMAGE ZOOM */
.image-zoom {
    position: relative;
    /* overflow: hidden; */
}

.image-zoom-wrapper {
    overflow: hidden;
    position: relative;
}

.image-zoom-wrapper img{
    transition: var(--transition);
}

.image-zoom:hover .image-zoom-wrapper img {
    transform: scale(1.1);
}


/* NAVBAR */
.navbar {
    box-shadow: var(--box-shadow);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--secondary-color);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color-light);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}


/* BTN */
.btn {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 24px;
}

.btn-red {
    background-color: var(--primary-color);
    border-color: white;
    color: white;
}

.btn-red:hover,
.btn-red:focus {
    background-color: var(--primary-color-light);
    border-color: white;
    color: white;
}

/* HOME */
#home {
    background: linear-gradient(rgba(var(--primary-color-rgb), 0.8), rgba(var(--primary-color-rgb), 0.8)), url(../images/portada.jpg);
    background-position: center;
    background-size: cover;
}

/* SECTION TITLE */
.section-title {
    margin-bottom: 60px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 16px auto 24px auto;
}

.section-title p {
    /* max-width: 500px; */
    margin-left: auto;
    margin-right: auto;
}


/* ICONBOX */
.iconbox {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    font-size: 34px;
    flex: none;
}

/* PARTNERS */

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logos img {
    width: 200px;
    height: 140px;
    margin: .5rem 1rem;
    filter: grayscale(100%);
}

/* CONTACT */
#contact {
    position: relative;
    z-index: 2;
}

#contact::after {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(var(--primary-color-rgb), 0.8), rgba(var(--primary-color-rgb), 0.8)), url(../images/counter.jpg);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#contact .form-control {
    border-radius: 0;
}

#contact .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.no-resize {
    resize: none;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    color: white;
    pointer-events: none;
    background-color: var(--primary-color-light);
    border-color: var(--primary-color-light);
}

/* FOOTER */
footer {
    padding-top: 120px;
}

.footer-top {
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
}


footer li,
footer p,
footer a {
    color: rgba(255,255,255,0.7);
}

footer ul {
    list-style: none;
    padding: 0;
}

footer .line {
    width: 40px;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 12px;
    margin-bottom: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.1);
    border-radius: 100px;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.m-w-700 {
    max-width: 700px;
}

.h-415px {
    height: 415px;
}

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

    .w-sm-92 {
        width: 92%;
    }

    footer {
        text-align: center;
    }

    .line {
        margin: 0 auto;
    }

    .fs-5 {
        font-size: 1rem !important;
    }    
}