:root{
    --blanco: #ffffff;
    --primario:#86C0D5;
    --secundario: #3D8AA7;
    --gris: #8c9594;
    --claro: #c9dcdc;
    --oscuro: rgb(63,63,63);

}
html{
   font-size: 62%; 
   box-sizing: border-box;
 
}
*, *:before, *:after {
    box-sizing: inherit;
  }
body{
    font-size: 16px;/*1 rem =10px*/
    font-family: 'Roboto', sans-serif;
}
.titulo {
    width: 35rem;
    margin: 1rem;
    
}
.logo{
    
    width: 35rem;
    margin-bottom: 1rem;
    }
.contenedor{
    max-width: 120rem;
    margin: 0 auto;
}
.bg-nav{
    background-color: var(--primario); 
}
.navegacion-principal{
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px){
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-between;
    }
}
.navegacion-principal a{
    padding: 1rem; 
    color: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    
}


.navegacion-principal a:hover{
    background-color: var(--secundario);
    color: #000000;
}

.section{
    background: url(../img/video.mp4);
    background-size:cover;
    height: 700px;
    position: relative;
}
@media (max-width: 768px){
    .section {
        background-size: cover;
        height: 400px;
    }}

.contenido-section{
    
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.section h3{
    text-align: center;
    font-size: 4rem;
    color: var(--claro);
    font-weight: bold;
    text-shadow: 0.1em 0.1em 0.2em black
}
@media (max-width: 768px) {
    .section h3 {
        font-size: 2rem;
    }
}
.section p{
    text-align: center;
    font-size: 2.5rem;
    color: var(--blanco);   
}
@media (max-width: 768px) {
    .section p{
        font-size: 20px;
    }
}
footer{
    background-color: var(--primario);
    font-size: 2rem;
 
    text-align: center;
    padding: 0.5rem;
}
footer p{
    color: var(--blanco);
}


.mision{
font-size: 2rem;
max-width: 70rem;
margin: 0 auto;
color: rgba(0, 0, 0, 1);
}
.mision img{
    width: 70%;
}


.info{
    flex-direction: row;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: bold;
    color: var(--secundario);
}
.info a{
    text-decoration: none;
   color: var(--secundario);
}
.info a:hover{
    color: var(--gris);
}
.formulario {
    background-color: var(--gris);
    padding: 2rem;
    border-radius: 10px;
    font-size: 2rem;
}
.formulario legend {
    text-align: center;
    font-size: 1.2rem;
    color: var(--oscuro);
    margin-bottom: 2rem;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}
@media (min-width:768px) {
    .formulario {
        max-width: 60%;
        margin: 0 auto;
    }
}
.contenedor-campos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.campo {
    margin-bottom: 1rem;
    width: 100%;
}
@media (min-width:480px) {
    .campo {
        display: flex;
        align-items: center;
    }
}
@media (min-width: 768px) {
    .campo{
        flex: 0 0 calc(50% - .5rem)
    }
}
.campo label {
    color: var(--blanco);
    font-weight: 700;
    margin-bottom: .5rem;
    display: block;
}
@media (min-width:480px) {
    .campo label {
        flex: 0 0 90px;
    }
}
.campo input[type="text"],
.campo input[type="tel"],
.campo input[type="mail"],
.campo textarea {
    width: 100%;
    padding: .5rem;
    border: none;
    border-radius: .5rem;
}
@media (min-width: 768px) {
    :is(.campo) :is( 
        input[type="text"], 
        input[type="text"],  
        input[type="tel"],  
        input[type="mail"] , 
        textarea ) {
        flex: 1;
    }
}

.w-100{
    flex: 0 0 100%;
}
.campo textarea {
    height: 4rem;
}

.enviar {
    display: flex;
    justify-content: flex-end;
}
.boton {
    background-color: var(--secundario);
    color: var(--blanco);
    margin-top: .5rem;
    padding: .5rem 3rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    border:none;
}
.boton:hover{
    cursor: pointer;
    background-color: var(--primario);
}
.contacto1{
    text-align: center;
    padding: 2rem;
    
}
.mapa{
   
    padding: 2rem;
}

.imagen-contacto{
width: 100%;
position: relative;
border-radius: 20px;
margin: 0 auto;

}
@media (min-width:768px) {
    .imagen-contacto{
       width: 70%;
    }
  }


.mapa-info{
    display: flex;
    flex-direction: column;
    align-items: center; 
}
@media (min-width:768px) {
    .mapa-info {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
  }
  @media (max-width:768px) {
    .mapa {
        width:350px;
        height:550px;
    }
  }



.mision,.vision{
    text-align: center;
    padding: 2rem;
    border: 3px solid var(--secundario);
    border-radius: 20px;
    margin-top: 2.5rem;  
    margin-bottom: 1rem;
    font-weight: bold;
}

.servicios{
   text-align: center;
   display: flex;
   flex-direction:row;
   
    justify-content: space-evenly;
    align-items: center;
    -webkit-box-shadow: 0px 2px 32px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 2px 32px -7px rgba(0,0,0,0.75);
    box-shadow: 0px 2px 32px -7px rgba(0,0,0,0.75);
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .servicios {
        display: block;
    }
}
h2{
    text-align: center;
    font-size: 4rem;
    color: var(--primario);
}

.servicios li{
    font-size: 2.5rem;
    color: var(--oscuro);
    list-style: none;
    font-weight: bold;
    margin-bottom: 30px;

}
.servicios img{
    height: 300px;
}
@media (max-width: 768px) {
    .servicios img{
        height: 200px;
    }
}
.cv{
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, #b6b7b7, #bbc0c0, #c0c9c9, #c4d3d3, #c9dcdc);
    margin-bottom: 20px;
    border-radius: 1rem;
    padding: 1rem;
}
.cv h3{
    font-size: 3rem;
    color: var(--blanco);
}
.cv p{
    text-align: center;
}
.carrusel{
    align-items: center;
  max-width: 90rem;
  
}

.draw {
overflow: hidden;
position: relative;
border-radius: 20px;
}
.draw::before, .draw::after {
content: '';
box-sizing: border-box;
position: absolute;
border: 6px solid transparent;
width: 0;
height: 0;
}
.draw::before {
top: 0;
left: 0;
border-top-color:#86C0D5;
border-right-color: #86C0D5;
animation: border 2s infinite;
}
.draw::after {
bottom: 0;
right: 0;
animation: border 2s 1s infinite, borderColor 2s 1s infinite;
}

@keyframes border {
0% {
width: 0;
height: 0;
}
25% {
width: 100%;
height: 0;
}
50% {
width: 100%;
height: 100%;
}
100% {
width: 100%;
height: 100%;
}
}
@keyframes borderColor {
0% {
border-bottom-color: #86C0D5;
border-left-color: #86C0D5;
}
50% {
border-bottom-color: #8c9594;
border-left-color: #8c9594;
}
51% {
border-bottom-color: transparent;
border-left-color: transparent;
}
100% {
border-bottom-color: transparent;
border-left-color: transparent;
}
}

.slider {
width: 100%;
margin: auto;
overflow: hidden;
}

.slider ul {
display: flex;
padding: 0;
width: 200%;

animation: cambio 15s infinite alternate linear;
}

.slider li {
width: 100%;
list-style: none;
}

.slider img {
width: 100%;
height: 100%;
}

@keyframes cambio {
0% {margin-left: 0;}
20% {margin-left: 0;}

25% {margin-left: -100%;}
45% {margin-left: -100%;}


}

.sombra{
-webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.75);
}

.servicio{
    font-size: 3rem;
    color: #000000;
}
.card-header{
    -webkit-box-shadow: inset 0px 0px 15px -4px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 15px -4px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 15px -4px rgba(0,0,0,0.75);-webkit-box-shadow: inset 0px 0px 15px -4px rgba(0,0,0,0.75);
-moz-box-shadow: inset 0px 0px 15px -4px rgba(0,0,0,0.75);
box-shadow: inset 0px 0px 15px -4px rgba(0,0,0,0.75);
    
}