* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", "Times New Roman", Times, serif, "Times New Roman",
        Times, serif, "Gill Sans", "Gill Sans MT";

}



#principal {
    display: grid;
    gap: 3px;
    grid-template-rows: repeat(8 1fr);
    width: 75%;
    margin: 7% 5% 5% 20%;
    box-sizing: border-box;


}

#principal div {

    box-sizing: border-box;

}

/*estructura*/
#contenedor {
    display: grid;
    -moz-column-gap: 5px;
    column-gap: 5px;
    grid-template-columns: 70% 25%;
}

/*servicios*/
#tituloservicios {
    background: rgba(22, 128, 199, 0.884);
    font-size: 160%;
    max-width: 1200px;
    border-bottom: solid #fff;
    text-align: center;
    margin-bottom: 2%;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.acordeon {
    padding-top: 6%;
    overflow: hidden;
    min-width: 200px;


}

.acordeon h3 {
    color: #fff;
    font-size: 130%;
    text-align: center;
    padding-bottom: 5%;


}

.acordeon input {
    display: none;
}

.acordeon__titulo {
    display: block;
    padding: 15px;
    background: rgba(10, 115, 177, 0.329);
    overflow: hidden;
    max-width: 1200px;
    color: #fff;
    font-size: 150%;
    cursor: pointer;
    border: 1px solid #fff;
    margin-top: 2%;
    border-radius: 12px;
    font-family: "Roboto", "Times New Roman", Times, serif, "Times New Roman", Times, serif, "Gill Sans", "Gill Sans MT";
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.acordeon__titulo:hover {
    background: rgba(20, 50, 220, 0.308);
}

.acordeon__contenido {
    height: 0;
    overflow: hidden;
    margin: 0;
    transition: all 0.2s;
    color: #fff;
    font-family: "Roboto", "Times New Roman", Times, serif, "Times New Roman",
        Times, serif, "Gill Sans", "Gill Sans MT";

}

.acordeon__contenido li {
    font-size: 120%;
    padding: 1% 2% 1% 1%;


}

.acordeon input:checked~.acordeon__contenido {
    height: auto;
    margin: 1% 1% 1% 1%;

}

.desplegado {
    width: 2.4%;
    transform: rotateX(180deg);
    margin-left: 1%;
    margin-right: 1%;
}

.acordeon input:checked~.acordeon__titulo img {
    transform: rotateX(0deg);

}




#propaganda {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 5px;
}



#propaganda img {
    max-width: 100%;
    border-radius: 4px;

}

#publicidad2 {
    margin: -80px 0% 0% 0%;
}

/*carrucel*/
.carrucel {
    margin: -180px 0% 7% 0%;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.slide {
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: all 200ms;
    -webkit-animation-name: autoplay;
    animation-name: autoplay;
    -webkit-animation-duration: 16.5s;
    animation-duration: 16.5s;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    /*para que la animacion comience por la primera imagen*/
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;

}

.item-slide {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: 100%;

}

.pagination {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pagination-item {
    display: flex;
    flex-direction: column;
    border: 1px solid white;
    width: 23px;
    height: 23px;
    border-radius: 6px;
    cursor: pointer;
    margin: 0 10px;
    transition: all 300ms;
    margin-top: -10%;


}

.pagination-item img {
    border-radius: 2px;
}

.pagination-item:hover {
    transform: scale(2);
}

.pagination-item:hover img {
    opacity: 1;
    transform: scale(1);


}

input[id="1"]:checked~.slide {
    -webkit-animation: none;
    animation: none;
    transform: translate3d(0, 0, 0);
}

input[id="1"] :checked~.pagination .pagination-item[for="1"] {
    background: #fff;

}

input[id="2"]:checked~.slide {
    -webkit-animation: none;
    animation: none;
    transform: translate3d(calc(-100% * 1), 0, 0);
}

input[id="2"] :checked~.pagination .pagination-item[for="2"] {
    background: #fff;

}

input[id="3"]:checked~.slide {
    -webkit-animation: none;
    animation: none;
    transform: translate3d(calc(-100% * 2), 0, 0);
}

input[id="3"] :checked~.pagination .pagination-item[for="3"] {
    background: #fff;

}

input[id="4"]:checked~.slide {
    -webkit-animation: none;
    animation: none;
    transform: translate3d(calc(-100% * 3), 0, 0);
}

input[id="4"] :checked~.pagination .pagination-item[for="4"] {
    background: #fff;

}

input[id="5"]:checked~.slide {
    -webkit-animation: none;
    animation: none;
    transform: translate3d(calc(-100% * 4), 0, 0);
}

input[id="5"] :checked~.pagination .pagination-item[for="5"] {
    background: #fff;

}

input[id="6"]:checked~.slide {
    -webkit-animation: none;
    animation: none;
    transform: translate3d(calc(-100% * 5), 0, 0);
}

input[id="6"] :checked~.pagination .pagination-item[for="6"] {
    background: #fff;

}

@-webkit-keyframes autoplay {
    16% {
        transform: translate3d(calc(-100% * 0), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 1), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 2), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 3), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 4), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 5), 0, 0);
    }
}

@keyframes autoplay {
    16% {
        transform: translate3d(calc(-100% * 0), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 1), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 2), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 3), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 4), 0, 0);
    }

    16% {
        transform: translate3d(calc(-100% * 5), 0, 0);
    }
}

.carrucel h2 {
    color: #fff;
    text-align: center;
    background-color: rgba(0, 68, 255, 0.185);
}

.carrucel h2 a {
    color: #fff;

}

.carrucel h2 a:hover {
    color: rgb(12, 24, 194);

}

/*formulariodecontacto*/
.container.contactenos {
    text-align: center;
    font-size: 130%;
    font-family: 'Helvetica', Arial, serif;
}

.container.contactenos h2 {
    margin-bottom: 25px;


}

.container.contactenos h5 {
    font-size: 100%;
}

#nombre {
    font-size: 100%;
    width: 80%;
    height: 35px;
    margin-bottom: 30px;
    border-radius: 4px;
    max-width: 550px;
    padding-left: 10px;
    font-family: 'Helvetica', Arial, serif;
}

#telefono {
    font-size: 100%;
    width: 80%;
    height: 35px;
    margin-bottom: 30px;
    border-radius: 4px;
    max-width: 550px;
    padding-left: 10px;
    font-family: 'Helvetica', Arial, serif;
}

#email {
    font-size: 100%;
    width: 80%;
    height: 35px;
    margin-bottom: 30px;
    border-radius: 4px;
    max-width: 550px;
    padding-left: 10px;
    font-family: 'Helvetica', Arial, serif;
}

#mensaje {
    font-size: 100%;
    width: 80%;
    height: 145px;
    margin-bottom: 30px;
    border-radius: 4px;
    max-width: 550px;
    padding-left: 10px;
    padding-top: 10px;
    font-family: 'Helvetica', Arial, serif;
}

#boton {
    background-color: rgb(34, 112, 202);
    width: 25%;
    max-width: 200px;
    border-radius: 4px;
    border-color: rgba(10, 10, 100, 0.521);
    font-size: 100%;
    cursor: pointer;
    color: #fff;
    height: 40px;
}

#boton:hover {
    background-color: rgba(8, 144, 185, 0.795);
    border-color: rgb(77, 118, 231);
}
.g-recaptcha {
    margin-bottom: 4vh;
    display: grid;
    justify-content: center !important;
}


/*tamaño tablet*/
@media screen and (min-width:800px) and (max-width:1350px) {

    #propaganda {
        display: none;
    }

    #principal {
        width: 100%;
        margin: 0;
    }

    #contenedor {
        display: grid;
        -moz-column-gap: 1px;
        column-gap: 1px;
        grid-template-columns: 95%;
        margin: 7% 5% 2% 5%;
        box-sizing: border-box;
    }
}

/*para tamaño telefono*/
@media screen and (max-width:800px) {
    #propaganda {
        display: none;
    }

    #principal {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    #contenedor {
        display: grid;
        -moz-column-gap: 1px;
        column-gap: 1px;
        grid-template-columns: 100%;
        margin: 7% 0% 2% 0%;
        box-sizing: border-box;
    }

    #principal {
        font-size: 70%;
    }

}