*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}


header{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

header{
    width: 100%;
    height: 100px;
    background-color: rgb(7, 100, 143);
    position: relative;
    z-index: 1000;
}

header{
    margin-top: 0 20px;
}

nav{
    display: flex;
    line-height: 100px; 
    float: right;
    margin-right: 60px;
}

.menu-fixed{
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    background-color: rgb(7, 100, 143);
    height: 80px;
    line-height: 80px;
}

.menu-fixed ul li a{
    list-style: none;
    line-height: 100%;
    font-size: 16px;
}

.menu-fixed ul li{
    list-style: none;
    line-height: 0px;
    font-size: 16px;
}

.menu-fixed .menu ul li .children{
    margin-top: -10px;
    width: 150%;
    margin: 0px -15px ;
    display: none;
    background:  rgba(7, 100, 143, 0.808);
    position: absolute;
    z-index: 1000; 
}

.content img{
    display: inline;
    width: 10%;
    margin: 0;
    margin-left: 50px;
}

.content{
    padding: 0px 60px;
}

#check{
    display: none;
}

.icon-th-list{
    display: none;
}

.menu ul li{
    position: relative;
    display: inline-block;
    line-height: 30px;  
}

.menu li{
    list-style: none;
    padding: 15px;
}

.menu li:hover{
    background: rgba(7, 128, 184, 0.3);
    cursor: pointer;
    transition: all 300ms;
}

.menu li a {
    letter-spacing: 5px;
    font-size: 16px;
}

.menu ul li:hover .children{
    display: block;
}
 
.menu ul li .children{
    margin-top: 50px;
    width: 150%;
    margin: 20px -15px ;
    display: none;
    background:  rgba(7, 100, 143, 0.808);
    position: absolute;
    z-index: 1000; 
}

.menu ul li .children li{

    display: block;
    border-bottom: 1px solid rgb(2, 2, 2);
}

.menu ul li .children li a{
    color: rgb(255, 255, 255);
    display: block;
    line-height: normal;
    font-size: 15px;
    letter-spacing: 2px;
}



.menu a{
    color: rgb(255, 246, 246);
    font-size: 18px;
}


.icon-home, .icon-users, .icon-signal, .icon-phone-squared{
    color: rgb(255, 255, 255);
    cursor: pointer;
    margin: auto;
    margin-right: 10px;
}

#check:checked ~ .menu{
    transform: translateX(0);
}


@media screen and (max-width:1210px){

    .content{
        padding: 10px 0px;
    }

    .menu{
        margin-top: 50px;
        width: 100%;
        background: rgba(128, 128, 128, 0.521);
        position: absolute;
        top: 50px;
        transform: translateX(-100%);
        transition: all 300ms;
    }
    .menu ul li{
        display: block;
    }

    .content .animate__animated {
        display: inline-flex;
        float: left;
        margin: 0;
        width: 30%;
    }
    .menu a {
        color: rgb(255, 255, 255);
    }
    .menu ul{
        display: flex;
        flex-direction: column;
        position: relative;
        width: 70%;
        background:rgba(5, 52, 105, 0.849); 
        
    }

    .icon-th-list{
        color: whitesmoke;
        height: 80px;
        display: block;
        float: right;
        padding: 20px;
        font-size: 25px;
        line-height: 60px;
    }

    .icon-th-list:hover{
        background: rgba(0, 0, 0, 0.3);
        cursor: pointer;
        transition: all 300ms;
        color: white;
      
    }

    .menu ul li .children{
        width: 100%;
        position: relative;
    }

    .menu ul li:hover .children{
        display: none;
    }

    .containerslider{
        display: flex;
        position: relative;
        width: 100%;
        border-radius: 6px;
        overflow: hidden;
    }

    .containerslider img{
        width: 100%;
        height: 90%;
        align-items: center;
        justify-content: center;
        padding: 10px;
        display: flex;   
    }
    
    .slider{
        display: flex;
        transform: translate3d(0, 0, 0);
        transition: all 600ms;
        animation-name: autoplay;
        animation-duration: 10s;
        animation-direction: alternate;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }
    .item-slide{
        position: relative;
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        flex-grow: 0;
        max-width: 100%;
    }

    .pagination-item{
        display: none;
    }

    .octelco{
        font-size: 16px;
        color: white;
        width: 90%;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 10px;
        display: flex;
        line-height: 20px;
    } 

}

/*slider*/

.containerslider{
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin: auto;

}


.containerslider img{
    width: 80%;
    height: 90%;
    align-items: center;
    justify-content: center;
    display: flex;   
    margin: auto;
    margin-top: 0px;
}

.slider{
    margin: auto;
    margin-top: -10px;
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: all 600ms;
    animation-name: autoplay;
    animation-duration: 20s;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
}

.item-slide{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: 100%;
}

.pagination{
    position: absolute;
    bottom: 100px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pagination-item{
    display: fixed;
    flex-direction: column;
    align-items: center;
    border: 2px  white solid;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255,255, 0.5);
    margin: 0 10px;
    text-align: center;
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
}

.pagination-item:hover{
    transform: scale(2);
}

.pagination .pagination-item img{
    display: inline-block;
    width: 100%;
    transform: scale(1);
    opacity: 0;
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -o-transition: all 300ms;
}

.pagination-item:hover img{
    opacity: 1;
    transform: scale(1);
}

input[id="1"]:checked ~ .slider{
    animation: none;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
}

input[id="1"]:checked ~ .pagination .pagination-item[for="1"]{
    background: white;    
}

input[id="2"]:checked ~ .slider{
    animation: none;
    transform: translate3d(calc(-100% * 1 ), 0, 0);
    -webkit-transform: translate3d(calc(-100% * 1 ), 0, 0);
    -moz-transform: translate3d(calc(-100% * 1 ), 0, 0);
    -ms-transform: translate3d(calc(-100% * 1 ), 0, 0);
    -o-transform: translate3d(calc(-100% * 1 ), 0, 0);
}

input[id="2"]:checked ~ .pagination .pagination-item[for="2"]{
    background: white;    
}

input[id="3"]:checked ~ .slider{
    animation: none;
    transform: translate3d(calc(-100% * 2), 0, 0);
    -webkit-transform: translate3d(calc(-100% * 2), 0, 0);
    -moz-transform: translate3d(calc(-100% * 2), 0, 0);
    -ms-transform: translate3d(calc(-100% * 2), 0, 0);
    -o-transform: translate3d(calc(-100% * 2), 0, 0);
}

input[id="3"]:checked ~ .pagination .pagination-item[for="3"]{
    background: white;    
}

input[id="4"]:checked ~ .slider{
    animation: none;
    transform: translate3d(calc(-100% * 3), 0, 0);
    -webkit-transform: translate3d(calc(-100% * 2), 0, 0);
    -moz-transform: translate3d(calc(-100% * 3), 0, 0);
    -ms-transform: translate3d(calc(-100% * 3), 0, 0);
    -o-transform: translate3d(calc(-100% * 3), 0, 0);
}

input[id="4"]:checked ~ .pagination .pagination-item[for="4"]{
    background: white;    
}

@keyframes autoplay{
    25%{
        transform: translate3d(calc(-100% * 0), 0, 0);
    }

    50%{
        transform: translate3d(calc(-100% * 1), 0, 0);
    }
    
    75%{
        transform: translate3d(calc(-100% * 2), 0, 0);
    }

    100%{
        transform: translate3d(calc(-100% * 3), 0, 0);
    }   

}
/*slide*/

/* elige tu agencia*/

.elige{
    display: block;
    text-align: center;
    justify-content: center;
}

.elige h1{
    padding: 0px 0px;
    font-size: 62px;
    line-height: 40px;
    color: rgb(255, 255, 255);
}

.elige p{
    font-size: 30px;
    color: rgb(255, 255, 255);
    margin-top: 10px;
    padding-bottom: 10px;
}

.elige li{
    width: max-content;
    margin: auto;
    list-style: none;
    font-size: 20px;
}

.elige li a{
    color: rgb(255, 255, 255);
    text-shadow:  -28px 8px 0px rgba(0,0,0,0.8), ;
}

.elige  li .children{
    display: none;
    position: relative;
    line-height: normal;
    width: 150px;
    margin: auto;
    padding: 0px 0px;
    list-style: none;
}

.elige  li .children a{
    padding: 0px 0px;
    color: rgb(230, 225, 225);
    
}

.elige li:hover{
    background-color: rgba(255, 255, 255, 0.075);
    cursor: pointer;
    transition: all 300ms;
}

.elige li .children a:hover{
    background-color: rgba(0, 0, 0, 0.329);
    cursor: pointer;
    transition: all 300ms;
}

/*test de velocidad*/

.sc-button{
    cursor: pointer;
}

.test-velocidad{
    border-bottom: rgb(255, 255, 255) 10px solid;
   background-color: rgba(255, 255, 255, 0.815);
   width: max-content;
   height: max-content;
   margin: auto;
   margin-top: 30px;
}

/* h1 de contacto envio de formulario*/

.envio-form{
    color: rgb(255, 255, 255);;
    font-size: 30px;
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 20px;
    font-family: cursive;

}
/*footer*/

.footer{
    width: 100%;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.footer-contenedor{
    width: 100%;
    background: rgb(18, 61, 97);
    color: white;
}

.footer-main{
    width: 98%;
    max-width: 1000px;
    margin: auto;
    padding: 50px 0;
    display: flex;
    flex-wrap: wrap;
}

.footer-main .footer-columna{
    width: calc(100% / 2);
    text-align: justify;
} 


.footer-main .footer-columna h3{
    font-size: 25px;
    color: white;
    margin-bottom: 10px;
}


.footer-main .footer-columna span p{
    display: inline-block;
    margin-top: 10px;
    margin-left: 5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.footer-copy-redes{
    width: 100%;
    background: rgb(18, 61, 97);
    border-top: 3px solid white;
}

.main-copy-redes{
    width: 98%;
    max-width: 1000px;
    padding: 15px 0;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    -ms-aling-items: center;
    align-items: center;
}

.main-copy-redes .footer-copy{
    width: 70%;
    color: white;
}

.main-copy-redes .footer-redes {
    width: 30%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
 
.main-copy-redes .footer-redes a{
    display: inline-block;
    text-decoration: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    text-align: center;
}

@media screen and (max-width: 750px){
    .footer-main .footer-columna{
    padding: 0 10px;
    }

    .footer-main .footer-columna h3 {
    font-size: 20px;
    }

    .footer-main .footer-columna p {
    font-size: 14px;
    }
}

@media screen and (max-width: 640px){

    .footer-main{
        padding: 10px 0;
    }

    .footer-main .footer-columna {
    width: 100%;
    text-align: center;
    margin: 10px 0;
    }

    .footer-main .footer-columna h3 {
    margin-bottom: 5px;
    }

    .footer-main .footer-columna span {
    display: block;
    }

    .main-copy-redes .footer-copy{
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .main-copy-redes .footer-redes {
        width: 80%;
        margin: auto;
    }

    .contenedor-footer .footer-copy{
        display: flex;
        width: 100;
        height: 50px;
        background: white;
    }

    .elige h1{
        margin: auto;
        width: 80%;
        font-size: 45px;
        line-height: 40px;
        color: rgb(255, 255, 255);
    }

    .elige p{margin: auto;
        width: 80%;
        font-size: 25px;
        line-height: 40px;
        color: rgb(255, 255, 255);
    }

}
