/* ":" Identifican a pseudoelemento o pseudoselector*/
:root{
    /*Paleta de colores*/
    --azuloscuro: #0e123a;
    --azulmarino: #19297a;
    --azulclaro: #2b49d8;
    --blanco: #ffffff;
    --grismedio: #cacaca;
    --grisclaro: #ededed;
    --negro: #000000;
    --plata: #c0c0c0;
}
/****** GLOBALES ******/
html{
    /*Hack para unidad de medida REM*/
    font-size: 62.5%;
    box-sizing: border-box;/*Hack para Box Mode, en todos los contenedores*/
}
/*A todos los elementos del HTML aplica el box-sizing: border-box*/
*, *:before, *:after{
    box-sizing: inherit;
}
body{
    background-image: linear-gradient(to top, var(--grisclaro) 0%, var(--blanco) 100%);
    font-family: "Roboto", sans-serif;
    font-size: 16px;/*Linea para medida REM, 1rem = 10px*/
}

/****** CODIGOS REUTILIZABLES ******/
.alto-100{
    height: 100%;
}
.ancho-50{
    width: 50%;
}
.ancho-100{
    width: 100%;
}
.alto-secc-default{
    height: 50rem;
}
.alto-secc-med{
    height: 80rem;
}
.bg-azulmarino{
    background-color: var(--azulmarino);
}
.bg-azuloscuro{
    background-color: var(--azuloscuro);
}
.bg-gris{
    background-color: var(--plata);
}
.borde-1{
    border: 2px solid red;
}
.color-bco{
    color: var(--blanco);
}
.color-azulmarino{
    background-color: var(--azulmarino);
}
.color-azuloscuro{
    background-color: var(--azuloscuro);
}
.flexgrow-1{
    flex-grow: 1;
}
.flex-padre{
    display: flex;
    width: 100%;
}
.lt-ch{
    font-size: 1rem;
}
.lt-med{
    font-size: 1.6rem;
}
.lt-gde{
    font-size: 2.6rem;
}
.mt-1{
    margin-top: 1rem;
}
.mt-2{
    margin-top: 2rem;
}
.mb-1{
    margin-bottom: 1rem;
}
.mb-2{
    margin-bottom: 2rem;
}
.mb-5{
    margin-bottom: 5rem;
}
.mx-1{
    margin: 0 1rem;
}
.mx-2{
    margin: 0 2rem;
}
.my-1{
    margin: 1rem 0;
}
.my-2{
    margin: 2rem 0;
}
.paddingxy-1{
    padding: 1rem;
}
.paddingxy-3{
    padding: 3rem;
}
.tx-centrado{
    text-align: center;
}
.vista-flex{
    display: flex;
}


/****** TIPO GRAFIAS ******/
h1{
    font-size: 3.8rem;
    text-align: center;
}
h2{
    font-size: 2.8rem;
}
h3{
    font-size: 1.8rem;
}
h1,h2,h3{
    text-align: center;
}
header span{
    font-size: small;
}
/****** HERO (Sección de imagen) ******/
.boton{
    background-color: var(--azulclaro);
    border: none;
    border-radius: .5rem;
    color: var(--blanco);
    font-size: 2rem;
    font-weight: bold;
    padding: 1rem 3rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    /*width: 90%;*/
}
.contenedor{
    margin: auto;
    /*max-width: 120rem;*/
    max-width: 100%;
}
.contenido-hero{
    /*background-color: rgba(0, 0, 0, .3);*/
    /*background-color: rgb(0 0 0 / 50%);*//*Hace lo mismo que anterior, pero es moderna*/
    bottom: 0;
    position: absolute;/*Para ajuste de capa oscura, respectoal padre*/
    /*width: 100%;*/
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
}
.contenido-hero h2,
.contenido-hero p{
    color: var(--grisclaro);
}
.hero{
    background-color: #6DB3F2;
    background-color: #2b49d8;
    background-image: url(../img/construccion.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 800px;
    /*padding: 2rem;*/
    position: relative;/*Para cordenadas de hijo(.contenido-hero)*/
    
}
/****** NAVEGACION y LISTA CONTACTO ******/
.header_top{
    background-color: var(--negro);
    background-color: var(--blanco);
}
.header_top a{
    text-decoration: none;
}
.header_top .contact_nav{
    line-height: 4rem;
    text-align: center;
}
.header_top .contact_nav a{
    margin: 0 2rem;
    text-align: center;
} 
.header_top .contact-info{
    color: var(--negro);
    font-size: 2rem;
    /*font-weight: 700;*/
}
.header_bottom .navbar-logo{
    padding: 0;
}
.header_bottom .navbar-logo img{
    width: 6.5rem;
}
.nav-bg{
    background-color: var(--azuloscuro);
    /*background-color: var(--azulclaro);*/
    padding: 1.5rem;
}
.navegacion-principal{
    align-items: center;
    display: flex;
    flex-direction: column;
}

.navegacion-principal .enlace-nav:hover{
    background-color: var(--grisclaro);
    color: var(--azuloscuro);
}
.navegacion-principal .enlace-nav{
    border-radius: .5rem;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    padding: .5rem 1.5rem;
    text-decoration: none;
}
@media (min-width: 768px) {
    
    .navegacion-principal{
        flex-direction: row;
        justify-content: space-around;
    }
}

/****** SERVICIOS ******/
.servicio{
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 3rem;
}
.servicio h3{
    color: var(--azulclaro);
    font-weight: normal;
}
.servicio p{
    line-height: 2;
}
.servicio .iconos{
    align-items: center;/*Alineado vertical (Flex)*/
    background-color: var(--azulmarino);
    border-radius: 50%;/*Redondear fondo de icono*/
    display: flex;
    height: 15rem;
    justify-content: center;/*Alineado horizontal (Flex)*/
    width: 15rem;
}
.sombra{
    background-color: var(--blanco);
    -webkit-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.5);
    -moz-box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.5);
    box-shadow: 0px 5px 15px 0px rgba(112,112,112,0.5);
    border-radius: 1rem;
    padding: 1rem;
}
.titulo{
    /*font-family: Arial, Helvetica, sans-serif;*/
    font-family: "Roboto", sans-serif;
    font-weight: 200;
}
@media (min-width: 768px) {
    .servicios{
        column-gap: 1rem;/*Separacion entre columnas(grip)*/
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-columns: repeat(3, 1fr);
    }
}

/****** Seccion de información de venta principal ******/
.seccion-info{
  /*background-color: var(--azulclaro);*/
  /*height: 60rem;*/
  margin-bottom: 3rem;
}

.boton-primario{
  background-color: var(--azulmarino);
  border-radius: .5rem;
  color: var(--grisclaro);
  padding: .5rem 2rem;
}

.contenedor-info{
  display: flex;
  flex-direction: column;
  /*height: 60rem;
  max-height: 60rem;*/
}

.contenido-info-1{
  /*border: 2px solid red;*/
  font-size: 2rem;
  order: 1;
  padding: 2rem;
}

.contenido-info-1 .encabezado{
  font-size: 4rem;
  font-weight: bold;
  margin-top: 0rem;
}

.contenido-info-2{
  /*border: 2px solid red;*/
  padding: 2rem;
}

.contenido-info-1, .contenido-info-2{
  width: 100%;
}

.contenido-info-2 img{
  border-radius: 1rem;
  width: 100%;
}

.encabezado{
  color: var(--azulclaro);
  margin: 0rem;
}

/******* Media Querys *******/

@media (min-width: 768px){
  
  .boton-primario{
    background-color: var(--azulmarino);
    border-radius: .5rem;
    color: var(--grisclaro);
    padding: .5rem 2rem;
  }

  .contenedor-info{
    /*border: 1px solid red;*/
    display: flex;
    flex-direction: row;
    height: 60rem;
    margin: auto;
    max-height: 60rem;
    width: 85%;
  }

  .contenido-info-1{
    font-size: 2rem;
    order: 0;
    padding: 10rem 15rem;
  }

  .contenido-info-1 .encabezado{
    font-size: 4rem;
    font-weight: bold;
  }

  .contenido-info-1, .contenido-info-2{
    /*border: 2px solid red;*/
    color: var(--grisoscuro);
    width: 50%;
  }

  .contenido-info-2{
    padding: 2rem;
  }

  .contenido-info-2 img{
    /*background-color: rgba(255, 255, 255, 1.0);*/
    border-radius: 1rem;
    height: 100%;
    margin: 2rem;
    width: 90%;
  }

  .encabezado{
    color: var(--azulclaro);
  }

  .seccion-info{
    /*border: 1px solid black;*/
    margin-top: 1rem;
  }

}

/****** FIN Seccion de informació de venta principal ******/

/****** Seccion de Slides ******/
.contenedor-slide{
  background-color: var(--azulmarino);
  padding: 1rem 0rem;
}

.fondo{
  /*background-color: greenyellow;*/
}

.photobanner {
  position: relative;
  height: 100px;
  display: flex;
  width: 100%;
}

.photobanner img {
  margin: 0px 25px;
  box-shadow: 2px 2px 8px #8a8a8a;
}

.photobanner {
  animation: bannermove 10s linear infinite alternate-reverse;/* Tiempo de transición */
}

.wrapper {
  width: 100%;
  overflow: hidden;
}

@keyframes bannermove {
  from {
    left: 0px;
  }
  to {
    left: -950px;/* Seccion que se oculta */
  }
}


/******* Media Querys *******/

@media (min-width: 768px){

  .photobanner {
    animation: bannermove 5s linear infinite alternate-reverse;/* Tiempo de transición */
  }

    @keyframes bannermove {
    from {
      left: 700px;
    }
    to {
      left: -50px;/* Seccion que se oculta */
    }
  }
}

/****** Fin Seccion de Slides ******/

/****** FORMULARIO DE CONTACTO ******/

.boton:hover{
    cursor: pointer;
}
.campo{
    margin-bottom: 1rem;
}
.campo label{
    display: block;
    font-weight: bold;
    margin-bottom: .5rem;
}
.campo textarea{
    height: 20rem;
}
.contenedor-campos{

}
/*.enviar .boton{
    width: 100%;
}*/
.formulario{
    background-color: #0e123a;
    border-radius: 1rem;
    color: var(--grisclaro);
    margin: 0 auto;
    padding: 2rem;
    width: min(60rem, 100%);/*Utiliza el valor mas pequeño, entre los 2 valores*/
}
.formulario fieldset{
    border: none;
}
.formulario legend{
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
}
.input-text{
    border: none;
    border-radius: .5rem;
    padding: 1.5rem;
    width: 100%;
}

/****** UTILIDADES ******/
.alinear-der{
    justify-content: flex-end;
}
.flex{
    display: flex;
}
.w-sm-100{
    width: 100%;
}
@media (min-width: 768px) {
    .w-sm-100{
        width: auto;
    }
}

/****** PIE DE PAGINA ******/

.contenedor-piepagina{
  background-color: var(--azuloscuro);
  /*height: 35rem;*/
  margin-top: 2rem;
}

.pie-derechos{
  /*border: 1px solid yellow;*/
  color: var(--grismedio);
  font-weight: 700;
  text-align: center;
}

.pie-informacion{
  /*border: 1px solid greenyellow;*/
  color: var(--blanco);
  margin: auto;
  width: 90%;
}

.pie-webpage{
  color: var(--azulclaro);
}

.sec-1, .sec-2, .sec-3, .sec-4{
  flex-grow: 1;
  padding: 0rem 3rem;
  /*text-align: center;*/
}

.sec-1 p:nth-child(1),.sec-2 p:nth-child(1),.sec-3 p:nth-child(1){
  font-size: 2rem;
  font-weight: bold;
}

/******* Media Querys *******/

@media (min-width: 768px){

  .contenedor-piepagina{
    background-color: var(--azuloscuro);
    height: 35rem;
  }

  .pie-derechos{
  /*border: 1px solid yellow;*/
    color: var(--grismedio);
    font-weight: 700;
    margin: auto;
    text-align: center;
    width: 90%;
  }

  .pie-informacion{
    color: var(--blanco);
    display: flex;
    flex-direction: row;
    height: 30rem;
    /*padding-top: 1rem;*/
    margin: auto;
    width: 80%;
  }
}

/****** FIN PIE DE PAGINA ******/


/*
    NOTAS:
    1.- Unidad de medida recomendada REM, unidad de me

*/