:root {
    --blanco: #ffffff
    --oscuro: #212121
    --primario: #ffc107
}
html{
    font-size: 62.5%;
    box-sizing: border-box;
    
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    font-family: 'Gadugi-2', sans-serif;
    background-color: rgba(0, 33, 73);
}
  



.titulo {
    color: white;
    text-align: center;
  
}

.boton{
    background-color: rgb(16,48,131);
    color: white;
    padding: 1rem 3rem;
    margin-top: 1rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 90%;
    text-align: center;
    border: none;
}



@media (min-width: 768px) {
    .boton {
        width: auto;
    }
}

.boton:hover{
    cursor: pointer;
}
.navegacion-principal {
    display: flex;
    flex-direction: column;
    
       
}

@media (min-width: 768px) {
    .navegacion-principal{
        flex-direction: row;
        justify-content: space-between;
    }    
}



.navegacion-principal a {
    display: block;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 2rem;
    padding: 1rem;
    
}

.navegacion-principal a:hover {
    background-color: red;
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto 0 auto;
}

.nav-bg {
    background-color: rgba(14, 14, 85, 0.562);
}

@media (min-width: 480px) {
   .navegacion-principal{
       flex-direction: row ;
   }
   .fondo{
       height: 150px;
   }
}

.fondo{
    background-image: url(../img/portada005.png);
    background-repeat: no-repeat;
    background-size:contain;
    height: 450px;
    position: relative;
    margin-bottom: 3rem;
    background-position: center center;
}

.fondo-cover{
    position: absolute;
    background-position: rgba(0, 0, 0, 0.534);
    width: 80%;
    height: 80%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content:center;
}

.sombra{
    -webkit-box-shadow: 11px 17px 23px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 11px 17px 23px 0px rgba(0,0,0,0.75);
    box-shadow: 11px 17px 23px 0px rgba(0,0,0,0.75);
    background-color: rgba(16,48,131);
    padding: 2rem;
    border-radius: 1rem ;
}

/** Servicios **/
@media (min-width: 768px) {
    .servicios, .promocional, .testimoniales{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 5rem;
    }
}

.servicio, .promocionales{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio h3{
    color:rgba(245, 245, 248, 0.87);
    font-weight: bold;
    
}

.servicio p{
    line-height: 1.5;
    text-align: justify;
    color: white;
}

.servicio .iconos{
    height: 15rem;
    width: 15rem;
    background-color: rgba(0, 33, 73);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/** Contacto **/
.formulario{
    background-color: rgb(90, 121, 223);
    width: min(60rem, 100%); /**Utilizar el valor más pequeño**/
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
}

.formulario fieldset{
    border: none;
}

.formulario legend{
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: aliceblue
}

@media (min-width: 768px) {
    .contenedor-campos{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto 20rem;
        column-gap: 1rem;
    }
    .campo:nth-child(3), 
    .campo:nth-child(4) {
        grid-column: 1 / 3;
    }
}

.campo{
    margin-bottom: 1rem;
}

.campo label{
    color: aliceblue;
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.input-text{
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}

.campo textarea{
    height: 18rem;
}

h3{
    color: white;
}


.testimonial{
    background-color: rgb(16,31,120);
    font-size: 2.4rem;
    padding: 2rem;
    color: aliceblue;
    border-radius: 2rem;
    
}
blockquote{
    padding-left: 5rem;
    position: relative;
}

ul{
    color: white;
}

.tipos_imp{
    text-align: center;
}

*{box-sizing:border-box;}

		.container{
			width:70%;
			max-width:900px;
			padding:32px 64px;
			margin:auto;
		}

		.social{
			/*las imágenes usadas tienen width de 48px*/
			width:48px;
			position:fixed;
			top:50px;
			right:0;
		}

		/* Extra centrado vertical*/

		.social{
			/*border:1px solid #000;*/
			top:90%;
			height:205px;
			/*para poner height 192 deberíamos haber indicado en el reset de estilos font-size:0;*/
			margin-top:-100px;
		}

.pie{
    color: aliceblue;
    text-align: center;
}

a{
    color:#ccc;
  }
  .container{
    width:500px;
    min-height:315px;
    margin:0 auto;
    position:relative;
    padding-bottom:30px;
    overflow:hidden;
  }
  h1{
    text-align:center;
    text-shadow:0 1px rgb(19, 18, 18);
    color:#edf2f3;
  }
  h2{
    color: #edf2f3; 
    margin:15px 0 5px;
    text-shadow:0 1px rgba(255,255,255,0.5);
  }
  h6{
    color:#928566; 
    margin:0;
  }
  input[type="radio"] {
  position: absolute;
  width: 1px; /* Setting this to 0 make it invisible for VoiceOver */
  height: 1px; /* Setting this to 0 make it invisible for VoiceOver */
  padding: 0;
  margin: -1px;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  }
  label{
    display:block;
    width:25%;
    border: 4px solid white;
    position:absolute;
    bottom:3px;
    cursor: pointer;
    transition: border-color 0.3s linear;
  }
  
  label.second{
    left:40%;
  }
  label.third{
    left:68%;
  }
  
  blockquote{
    margin:0;
    padding:30px;
    width:500px;
    background-color: #DB532B;
    color:white;
    box-shadow: 0 5px 2px rgba(0,0,0,0.1);
    position:relative;
    transition: background-color 0.6s linear;
  }
  
  blockquote:after { 
    content: " "; 
    height: 0; 
    width: 0; 
    position: absolute; 
    top: 100%; 
    border: solid transparent; 
    border-top-color: #DA532B;
    border-left-color:#DA532B;
    border-width: 8px; 
    left: 10%; 
  } 
  #second:checked ~ .two blockquote {
    background-color:purple;
  }
  .two blockquote:after{
    border: solid transparent; 
    border-top-color: purple;
    border-left-color:purple;
    border-width: 8px;
  }
  #third:checked ~ .three blockquote{
    background-color:#54885F;
  }
  .three blockquote:after{
    border: solid transparent; 
    border-top-color: #54885F;
    border-left-color: #54885F;
    border-width: 8px;
  }
  .quotes{
    position:absolute;
    color:rgba(255,255,255,0.5);
    font-size:5em;
  }
  .leftq{
    top:-25px;
    left:5px;
  }
  .rightq{
    bottom:-10px;
    right:5px;
  }
  img{
    float:left;
    margin-right: 20px;
  }
  .slide{
    position:absolute;
    left:-100%;
    opacity:0;
    transition: all 0.6s ease-in;
  }
  
  #first:checked ~ label.first {
    border-width:4px;
    border-color:#DB532B;
  }
  #second:checked ~ label.second {
    border-width:4px; border-color:purple;
  }
  #third:checked ~ label.third {
    border:4px solid #54885F;
  }
  
  #first:checked ~ div.one {
    left:0;
    opacity:1;
  }
  #second:checked ~ div.two {
    left:0;
    opacity:1;
  }
  #third:checked ~ div.three {
    left:0;
    opacity:1;
  }