@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: Roboto Condensed;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

/* Header */
header {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 200px;
    transition: .5s ease;
}

header .brand {
    height: 100%;
}

header .brand img {
    height: 75px;
}

header .nav {
    position: relative;
}


header .nav .nav-items a {
    position: relative;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    margin-left: 30px;
    transition: .3s ease;
}

header .nav .nav-items a:before {
    content: '';
    position: absolute;
    background-color: #fff;
    width: 0%;
    height: 3px;
    bottom: 0;
    left: 0;
    transition: .3s ease;
}

header .nav .nav-items a:hover:before {
    width: 100%;

}

header .imagenBandera img {
    height: 35px;
    padding-left: 3px;
}

/* Banner */

section {
    padding: 100px 200px;
}


.home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #38419D;

}

.home::before {
    z-index: 777;
    content: '';
    position: absolute;
    background-color: rgba(3, 96, 241, .4);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.home .content {
    z-index: 888;
    color: #fff;
    width: 70%;
    margin-top: 50px;
    display: none;
}

.home .content.active {
    display: block;
}

.home .content h1 {
    font-size: 4em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 40px;
}

.home .content h1 span {
    font-size: 1.2em;
    font-weight: 100;
}

.home .content p {
    margin-bottom: 65px;
}

.home .content a {
    background-color: #fff;
    padding: 15px 35px;
    color: #1680AC;
    font-size: 1.1em;
    font-weight: 500;
    text-decoration: none;
    border-radius: 2px;
}

.home .icons {
    z-index: 888;
    position: absolute;
    right: 30px;
    display: flex;
    flex-direction: column;
    transition: .5s ease;

}

.home .icons a {
    color: #fff;
    font-size: 1.6em;
    transition: .3s ease;
}

.home .icons a:not(:last-child) {
    margin-bottom: 20px;
}

.home .icons a:hover {
    transform: scale(1.2);
}

.home .icons img {
    height: 35px;
}

.home video {
    z-index: 0000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    z-index: 888;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(80px);
}

.slider-nav .nav-btn {
    width: 12px;
    height: 12px;
    background-color: #ffffff00;
    border-radius: 50%;
    cursor: pointer;
    /* box-shadow: 0 0 2px rgba(255, 255, 255, 0.37); */
    transition: .3s ease;

}

.slider-nav .nav-btn img {
    height: 50px;
}

.slider-nav .nav-btn.active {
    background: #14739c00;
}

.slider-nav .nav-btn:not(:last-child) {
    margin-right: 55px;
}

.slider-nav .nav-btn:hover {
    transform: scale(1.2);
}

.video-slider {
    position: absolute;
    width: 100%;
    clip-path: circle(0% at 0 50%);
}

.video-slider.active {
    clip-path: circle(150% at 0 50%);
    transition: 2s ease;
    transition-property: clip-path;
}

.videoBack {
    position: absolute;
    width: 100%;
    clip-path: circle(0% at 0 50%);
}



/* Servicio */

.tituloServicio {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: #14739c;
}

.tituloServicio h1 {
    font-size: 4em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 40px;
}

.tituloServicio h1 span {
    font-size: 1.2em;
    font-weight: 100;
}

.containerServicio {
    position: relative;
    /* width: 1000px; */
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    margin: 20px;
}

.containerServicio .card {
    position: relative;
    height: 250px;
    background: #fff;
    display: flex;
    width: 35%;
    margin: 30px 0;
    box-shadow: 0 0 2px rgba(26, 22, 22, 0.7)
}

.containerServicio .card .imgBx {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: .5s ease-in-out;
}

.containerServicio .card:hover .imgBx {
    width: 150px;
    height: 150px;
    left: -75px;
    top: calc(50% - 75px);
    transition: .5s ease-in-out;
    /*  background: #fff; */
    background: #14739c;
}

.containerServicio .card .imgBx:before {
    content: attr(data-text);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 2.5em;
    /* color: rgba(255, 255, 255, 1); */
    color: #14739c;
    font-weight: 700;
}

.containerServicio .card .imgBx img {
    max-width: 100px;
    transition: .5s ease-in-out;

}

.containerServicio .card:hover .imgBx img {
    max-width: 75px;
}

.containerServicio .card .contentServicio {
    position: absolute;
    right: 0;
    width: calc(100% - 75px);
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.containerServicio .card .contentServicio h3 {
    margin-bottom: 5px;
    font-size: 24px;
}

.containerServicio .card .contentServicio a {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #14739c;
    text-decoration: none;
    color: #fff;
}


/* Fin Servicio */
/* Caracteristicas*/
.caracteristicas {
    position: relative;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #14739c24;

}

.contentCaracteristicas {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    top: -45px;


}

.contentCaracteristicas .containerCaracteristicas {

    position: relative;
    max-width: 300px;
    height: 180px;
    margin: 10px;
    border-radius: 50%;
    flex: 1;

    transition: .5s ease-in-out;



}

.contentCaracteristicas .containerCaracteristicas:hover {
    transform: scale(1.2);
}


.containerCaracteristicas span {
    display: flex;
    justify-content: center;
    height: 55%;
    align-items: flex-end;
    font-size: large;
    font-weight: 300;
    color: #14739c;

}

.contentCaracteristicas .containerCaracteristicas img {
    position: relative;

    height: 65px;

    left: 35%;
    top: 15%;
}

/* Fin Caracteristicas*/
/* About us */
.about .containerAbout img {
    height: 100px;
}

.about {
    background: url(media/CCTV.jpg) no-repeat left;
    background-size: 55%;
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    /*    top: 60px; */


}

.about .containerAbout {
    width: 55%;
    float: right;
    background-color: #fff;
    padding: 20px;
}

.containerAbout h1 {
    font-size: 2em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 40px;
    color: #14739c;
}

.containerAbout h1 span {
    font-size: 1.2em;
    font-weight: 100;
}

.containerAbout .textAbout {
    font-size: medium;
    line-height: 30px;
    margin-bottom: 12px;
    text-align: justify;
}

/* Fin About us */

/* Contact Us */
.contact {

    display: flex;

    width: 100%;
    background-color: #14739c24;

}

.contact form {
    background-color: white;
    width: 600px;
    margin: 50px auto;
    height: 300px;
    display: flex;
    max-width: 70%;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: 0 0 2px rgba(26, 22, 22, 0.7)
}

input {
    width: 370px;
    height: 35px;
    font-size: medium;
    padding: 5px;
    letter-spacing: 2px;
}

input:last-child {
    background-color: #14739c;
    border: none;
    color: #fff;
}

.contact form h1 {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #14739c;


}

.contact form h1 span {
    font-size: 1.2em;
    font-weight: 100;
}



/* Fin Contact Us */



/* Footer */
footer {
    position: absolute;
    background-color: #14739c;
    width: 100%;
}


.copyright {
    color: #fff;
    text-align: center;
}

/* Fin Footer */
/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #111111bd;
    z-index: 99999999;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.modalRedes {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #111111bd;
    z-index: 99999999;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.modalRedes--show {
    opacity: 1;
    pointer-events: unset;

}

.modalAutomatizacion {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #111111bd;
    z-index: 99999999;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.modalAutomatizacion--show {
    opacity: 1;
    pointer-events: unset;

}

.modalCitofonia {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #111111bd;
    z-index: 99999999;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.modalCitofonia--show {
    opacity: 1;
    pointer-events: unset;

}

.modalFibra {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: #111111bd;
    z-index: 99999999;
    width: 100%;
    opacity: 0;
    pointer-events: none;
}

.modalFibra--show {
    opacity: 1;
    pointer-events: unset;

}

.modal--show {
    opacity: 1;
    pointer-events: unset;

}

.modalContainer {
    margin: auto;
    /*   width: 90%;
    max-width: 700px; */
    /*  max-height: 90%; */
    background-color: #ffffff00;
    border-radius: 6px;
    z-index: 99999999;
    padding: 1em 2.5em;
    display: grid;
    gap: 1em;
    align-items: center;
    grid-auto-columns: 100%;
    top: -75px;
    position: relative;
}

.modalContainer p {
    margin-bottom: 10px;
    color: #fff;

}

.modalContainer h3 {
    margin-bottom: 10px;
    color: #fff;

}

.modalContainer img {
    width: 100%;
}

.modalClose {
    text-decoration: none;
    color: #FFF;
    background-color: #14739c;
    padding: 1em 2em;
    border: 1px solid;
    display: inline-block;
    font-weight: 300;
    transition: .3s;
}

.modalClose:hover {
    color: #14739c;
    background-color: #FFF;
}

.modalRedes .modalContainer .imgBx {
    overflow: hidden;
    /*   width: 1280px; */


}

.modalContainer .imgBx {
    overflow: hidden;
    width: 1280px;


}

.modalContainer .imgBx ul {
    display: flex;
    padding: 0;
    width: 400%;
    animation: slideCCTV 10s infinite alternate ease-in-out;
}

.modalRedes .modalContainer .imgBx ul {
    display: flex;
    padding: 0;
    width: 400%;
    animation: slideRedes 10s infinite alternate ease-in-out;
}

.modalAutomatizacion .modalContainer .imgBx ul {
    display: flex;
    padding: 0;
    width: 400%;
    animation: slideAuto 10s infinite alternate ease-in-out;
}
.modalCitofonia .modalContainer .imgBx ul {
    display: flex;
    padding: 0;
    width: 400%;
    animation: slideAuto 10s infinite alternate ease-in-out;
}
.modalFibra .modalContainer .imgBx ul {
    display: flex;
    padding: 0;
    width: 400%;
    animation: slideAuto 10s infinite alternate ease-in-out;
}

.modalContainer .imgBx li {
    list-style: none;
    width: 100%;
    height: 300px;
}

.modalRedes .modalContainer .imgBx li {
    list-style: none;
    /* width: 100%; */
    height: 300px;
}

.modalContainer .imgBx img {
    width: 63%;
    height: 100%;
    object-fit: contain;
}

.modalRedes .modalContainer .imgBx img {
    left: 80px;
    width: 63%;
    height: 100%;
    object-fit: cover;
    position: relative;
}
@keyframes slideCCTV {
    0% {
        margin-left: 0%;
    }

    20% {
        margin-left: 0%;
    }

    25% {
        margin-left: -100%;
    }

    45% {
        margin-left: -100%;
    }

    50% {
        margin-left: -200%;
    }

    70% {
        margin-left: -200%;
    }

    75% {
        margin-left: -300%;
    }

    95% {
        margin-left: -300%;
    }



}

/*
 @keyframes slideCCTV {
          0%{margin-left: 0%;}
    20%{margin-left: 0%;}

    25%{margin-left: -100%;}
    45%{margin-left: -100%;}

    50%{margin-left: -200%;}
    70%{margin-left: -200%;}

    75%{margin-left: -300%;}
    95%{margin-left: -300%;}  

    0% {
        margin-left: 0%;
    }

    20% {
        margin-left: -55%;
    }

    25% {
        margin-left: -120%;
    }

    45% {
        margin-left: -190%;
    }

    50% {
        margin-left: -260%;
    }

    70% {
        margin-left: -320%;
    }

    75% {
        margin-left: -313%;
    }

    95% {
        margin-left: -300%;
    }

} */

@keyframes slideRedes {
    0% {
        margin-left: 0%;
    }

    20% {
        margin-left: 0%;
    }

    25% {
        margin-left: -100%;
    }

    45% {
        margin-left: -100%;
    }

    50% {
        margin-left: -200%;
    }

    70% {
        margin-left: -200%;
    }

    75% {
        margin-left: -300%;
    }

    95% {
        margin-left: -300%;
    }



}

@keyframes slideAuto {
    0% {
        margin-left: 0%;
    }

    20% {
        margin-left: 0%;
    }

    25% {
        margin-left: -100%;
    }

    45% {
        margin-left: -100%;
    }

    50% {
        margin-left: -200%;
    }

    70% {
        margin-left: -200%;
    }

    75% {
        margin-left: -300%;
    }

    95% {
        margin-left: -300%;
    }

}


/* Responive */
@media (max-width:1040px) {
    header {
        padding: 12px 20px;
    }

    section {
        padding: 100px 20px;
    }

    .home .icons {
        right: 15px;
        top: 100px;
    }

    header .nav {
        display: none;
    }

    header .nav.active {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(1, 1, 1, .4);
    }

    .menu-btn {
        background: url(media/menu.png) no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: .3s ease;
        position: fixed;
        left: 50%;
        display: none;
    }

    header .nav.nav.active .nav-items {
        background-color: #fff;
        width: 600px;
        max-width: 600px;
        margin: 20px;
        padding: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-radius: 5px;
        box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
    }

    header .nav .nav-items a {

        color: #222;
        font-size: 1.2em;
        margin: 20px;


    }

    header .nav .nav-items a::before {
        background-color: #222;
        height: 5px;
    }

    .menu-btn.active {
        z-index: 999;
        background: url(media/x.png);
        background-size: 45px;
        background-position: center;
        transition: .3s ease;
    }

}

@media (max-width:992px) {
    .containerServicio {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .containerServicio .card {
        width: 400px;
    }


}

@media (max-width:768px) {

    .containerServicio .card {
        max-width: 300px;
        flex-direction: column;
        height: auto;
    }

    .containerServicio .card .imgBx {
        position: relative;
    }

    .containerServicio .card .imgBx,
    .containerServicio .card:hover .imgBx {
        width: 100%;
        height: 200px;
        left: 0;
    }

    .containerServicio .card .imgBx img,
    .containerServicio .card:hover .imgBx img {
        max-width: 100px;
    }

    .containerServicio .card .imgBx .contentServicio h3 {
        color: rgba(255, 255, 255, 0.1);
    }

    .containerServicio .card .contentServicio {
        position: relative;
        width: 100%;
    }

    .contentAbout {

        display: flex;
        flex-direction: column;
    }

    .contentAbout .contentMision {
        width: 100%;
    }

    .contentAbout .contentMisionColor {
        width: 100%;
    }

    .contentAbout.vision {
        display: flex;
        flex-direction: column-reverse;
    }

    .contentAbout.vision .contentVision {
        width: 100%;
    }

    .contentAbout.vision .contentVisionColor {
        width: 100%;
    }

    .contentAbout img {
        height: 100px
    }





}

@media screen and (max-width:1200px) {
    .containerAbout {
        padding: 80px;
    }

    .tituloServicio {
        padding-left: 10px;
    }


}

@media (max-width:1000px) {
    .about {
        background-size: 100%;
        padding: 100px 40px;
    }

    /*  .containerAbout {
        width: 70%;
    } */

    .tituloServicio {
        padding-left: 10px;
    }

}

@media (max-width:600px) {
    .about {
        padding: 0;
    }

    .containerAbout {
        padding: 30px;
    }

    .containerAbout h1 {
        font-size: 30px;
    }

    .containerAbout .textAbout {
        font-size: 15px;
    }

    .tituloServicio {
        padding-left: 0px;
    }

    /*  .imagenBandera {
        display: none;
    } */

    .menu-btn {
        left: 70%;
    }

    .contentCaracteristicas .containerCaracteristicas {
        border-color: rgba(255, 0, 0, 0);
    }

    .contentCaracteristicas .containerCaracteristicas img {
        left: 20%;
        bottom: -35%;
    }

    .contentCaracteristicas .containerCaracteristicas:last-child img {
        left: 40%;
    }

    /*    .contentCaracteristicas {
        
        left: -28px;
    } */

    .contact form {
        background-color: white;
        width: 600px;

    }

    input {
        width: 250px;

    }

    .modalContainer .imgBx img {
        /* width: 25%;
        height: 100%;
        object-fit: contain;*/
        left: 31px ;
        width: 17%;
        height: 106%;
        object-fit: contain;
        position: relative;
    }

    .modalRedes .modalContainer .imgBx img {
        /*    left: -431px    ; */
        width: 35%;
        height: 93%;
        object-fit: cover;
        position: relative;
    }

    .modalRedes .modalContainer .imgBx img {
        left: 31px ;
        width: 17%;
        height: 106%;
        object-fit: contain;
        position: relative;
    }
    .modal .modalContainer .imgBx img {
        left: 31px ;
        width: 20%;
        height: 106%;
        object-fit: contain;
        position: relative;
    }
    .modalCitofonia .modalContainer .imgBx img {
        left: 31px ;
        width: 17%;
        height: 106%;
        object-fit: contain;
        position: relative;
    }
    .modalFibra .modalContainer .imgBx img {
        left: 31px ;
        width: 17%;
        height: 106%;
        object-fit: contain;
        position: relative;
    }
    .modalAutomatizacion .modalContainer .imgBx img {
        left: 31px ;
        width: 17%;
        height: 106%;
        object-fit: contain;
        position: relative;
    }

    .home .content {
        z-index: 888;
        color: #fff;
        /* width: 70%; */
        /* margin-top: 50px; */
        display: none;
    }

    .home .content h1 span {
        font-size: smaller;
        font-weight: 100;
    }

    .home .content h1 {
        font-size: 2.6em;

    }

    .slider-nav .nav-btn img {
        height: 40px;
    }

    /* .slider-nav .nav-btn:not(:last-child) {
            margin-right: 40px;
        } */
    .slider-nav {

        left: -20px;
    }

    .containerServicio .card .imgBx:before {

        font-size: 2em;

    }


}

@media (max-width:400px) {

    .tituloServicio h1 {
        font-size: 2em;
    }

    .slider-nav {
        left: -20px;
        bottom: 30px;
    }

    .containerServicio .card {
        max-width: 270px;
        flex-direction: column;
        height: auto;
    }

    .containerAbout h1 {
        font-size: 24px;
    }

    .home .content h1 {
        font-size: 2em;

    }
}