:root {
    --blanco: #ffffff;
    --oscuro: #212121;
    --primario: #f0f33d;
    --secundario: #21295e;
    --gris: #aeaeae;
    --grisClaro: #DFE9F3;
  
}
/* GLOBALES */
html {
    font-size: 62.5%;
    box-sizing: border-box; /*Hack para box Model*/
    scroll-snap-type: y mandatory;
}

/*Scroll Snap*/
.navegacion-principal,
.portada,
.map,
.formulario{
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.navegacion-principal,
.contenido-servicios,
.servicio{
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.navegacion-principal,
.contenido-nosotros,
.nosotro{
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.navegacion-principal,
.contenido-blog,
.blo{
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.navegacion-principal,
.contenido-contactos,
.contacto{
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-size: 1.6rem; /*1.6rem =16px*/
    font-family: 'Krub', sans-serif;
    background: linear-gradient(to top,  #222858 83%, #ffffff 87%);
}
.contenedor {
    max-width: 120rem;
    margin: 0 auto; 

}
.boton{
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 3rem;
    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;
}

.sombra {
    
    -webkit-caja-sombra: -11px 5px 15px -12px rgba(118,120,118,0.58);
    -moz-box-shadow: -11px 5px 15px -12px rgba(118,120,118,0.58);
    b: -11px 5px 15px -12px rgba(118,120,118,0.58);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}

/* TIPOGRAFIA */
h1 {
    font-size: 3.8rem;
}
h1 span {
    font-size: 1.8rem;
}
h2 {
    font-size: 2.8rem;
    color: var(--blanco);
    margin: 17px auto;
}
p {
    line-height: 2;
    color: var(--gris);
}
h3 {
    color: var(--blanco);
    font-weight: 400;
    font-size: 1.8rem;
}
h1, h2, h3 {
    text-align: center;
}

/* TITULOS */
.titulo span{
    font-size: 2rem;
}

/*Utilidades*/
.w-sm-100{
    width: 100%;
}
@media (min-width: 768px){
    .w-sm-100{
        width: auto;
    }
}

.flex {
    display: flex;
}

.alinear-derecha{
    justify-content: flex-end;
}

/* NAVEGACION PRINCIPAL */
.nav-bg {
    background-color: var(--secundario);
}
.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: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 6px;
    padding: 1rem;
}
.navegacion-principal a:hover {
    background-color: var(--primario);
    color: var(--oscuro);
}

/* HERO-PORTADA */
.portada {
    background-image: url(../img/telsat.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px; /*45rem*/
    position: relative;
    margin-bottom: 2rem;
}
.contenido-portada {
    position: absolute;
    background-color: rgba(0,0,0, .7); /** Anterior **/
    background-color: rgb(0 0 0 0 /70%);
    width: 100%;
    height: 100%;

    /*alinear verticalmente*/
    display: flex;
    flex-direction: column;
   align-items: center;
   justify-content: center;

}
.contenido-portada  h2, 
.contenido-portada p {
    color: var(--blanco);
}
.contenido-portada .ubicacion {
    display: flex;
    align-items: flex-end;
}

.nosotros {
    background-image: url(../img/net.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
}
.contenido-nosotros {
    position: absolute;
    background-color: rgb(0 0 0 0 /56%);
    background-color: rgba(0, 0, 0, 0.56); /** Otra opción **/
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
   align-items: center;
   justify-content: center;
}
.contenido-nosotros h2, 
.contenido-nosotros p {
    color: var(--blanco);
}

.servicios {
    background-image: url(../img/fiber.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;

}
.contenido-servicios {
    position: absolute;
    background-color: rgb(0 0 0 0 /56%);
    background-color: rgba(0, 0, 0, 0.56); /** Otra opción **/
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
   justify-content: center;
}
.contenido-servicios h2, 
.contenido-servicios p {
    color: var(--blanco);
}
.blog{
    background-image: url(../img/redes.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
}
.contenido-blog {
    position: absolute;
    background-color: rgb(0 0 0 0 /56%);
    background-color: rgba(0, 0, 0, 0.56); /** Otra opción **/
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
   align-items: center;
   justify-content: center;
}
.contenido-blog h2, 
.contenido-blog p {
    color: var(--blanco);
}
.contactos{
    background-image: url(../img/teleco.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
}
.contenido-contactos {
    position: absolute;
    background-color: rgb(0 0 0 0 /56%);
    background-color: rgba(0, 0, 0, 0.56); /** Otra opción **/
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
   align-items: center;
   justify-content: center;
}
.contenido-contactos h2, 
.contenido-contactos p {
    color: var(--blanco);
}

/*Servicios*/

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

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    opacity: 0.75;
    background-image: linear-gradient(to top, rgba(23, 23, 31, 0.64), rgba(0, 0, 0, 0.815)), url(../img/service.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 420;
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;    
}
.servicio h3{
    color: var(--blanco);
    font-weight: normal;
}
.servicio p{
    line-height: 2;
    text-align: center;
}
.servicio .iconos{
    height: 15rem;
    width: 15rem;
    background-color: var(--primario);
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.nosotro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    opacity: 0.75;
    background-image: linear-gradient(to top, rgba(23, 23, 31, 0.64), rgba(0, 0, 0, 0.815)), url(../img/vsat.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 420;
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.nosotro h3{
    color: var(--blanco)
}
.nosotro p{
    line-height: 2;
    text-align: center;
}
.nosotro .iconos {
    height: 15rem;
    width: 15rem;
    background-color: var(--primario);
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.blo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    opacity: 0.75;
    background-image: linear-gradient(to top, rgba(23, 23, 31, 0.64), rgba(0, 0, 0, 0.815)), url(../img/networking.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 420;
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.blo h3{
    color: var(--blanco)
}
.blo p{
    line-height: 2;
    text-align: center;
}
.blo .iconos {
    height: 15rem;
    width: 15rem;
    background-color: var(--primario);
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    opacity: 0.75;
    background-image: linear-gradient(to top, rgba(23, 23, 31, 0.64), rgba(0, 0, 0, 0.815)), url(../img/contactenos.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 420;
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.contacto h3{
    color: var(--blanco)
}
.contacto p{
    line-height: 2;
    text-align: center;
}
.contacto .iconos {
    height: 15rem;
    width: 15rem;
    background-color: var(--primario);
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

@media (min-width:768px) {
.map{

    }
}

/*Contacto*/
.formulario {
    background-color: var(--oscuro);
    width: min (60rem, 100%);
    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: var(--blanco);
}
@media (min-width:768px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        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: var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}
.campo textarea {
    height: 20rem;
}
.input-text{
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}

/*Footer*/
.footer {
    background-color: rgba(139, 137, 137, 0.3);
    text-align: center;
    font-size: x-small;
    border-radius: .5rem;
}

/*Iconos*/
.iconos i {
    font-size: 2rem;
    color: var(--oscuro);
}
.iconos__logo{
    max-width: 8rem;
    max-height: 8rem;

    background-repeat: no-repeat;
    background-size: cover;

}

/** Header **/
.header {
    display: flex;
    justify-content: center;
}
.header__logo {
    display: flex;
    height: 5rem;
    margin: 1rem;
    /*margin: 3rem 0;*/
}
.header__nosotros {
    margin: 3rem 0;
}
.header__servicios {
    margin: 3rem 0;
}
.header__blog {
    margin: 3rem 0;
}






