:root {
    --fuenteprincipal:'Inconsolata', monospace;;
    --blanco: #f1f1f1;
    --colorprincipal:  #C615C6;
    /* --colorsecundario: #673499; */
    --colorsecundario1: #DAF7A6;
    --oscuro: #212121;
    --colordeprueba: #57D9D5 ;
    --grisoscuro: #CFD0D9;
}
html {
    font-size: 62.5%;
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
  }
body {
    font-size: 16px;
    font-family: var(--fuenteprincipal);
    font-weight: normal;
    background-image: linear-gradient(to top, var(--grisclaro) , var(--blanco) 100% );
}
p {
    line-height: 2;
  }
a {
    text-decoration: none;
}
.titulo {
    text-align: center;
    font-size: 3.8rem;
    font-weight: 400px;
}
h1 {
    font-size: 5.8rem;
}
h2 {
    font-size: 2.8rem;
}
h3 {
    font-size: 1.8rem;
}
h1, h2, h3 {
    text-align: center;
}
.contenedor {
    width: min(90%, 120rem);
    margin: 0 auto;
}
img {
    max-width: 100%;
}
  /** Utilidades **/

  .no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    text-align: center;
}
/* Header */
.header {
    background-image: url(/Img/gogeta.jpg);
    height: 62rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center ;/** se usa doble center para
    que se centre horizontal y vertical **/
}
@media (min-width: 480px) {
      .header {
          height: 55rem;
      }
}
@media (min-width: 768pxpx) {
    .header {
        height: 45rem;
    }
}

.header__texto {
    text-align: center;
    color: var(--colorprincipal);
    margin-top: 5rem ;
    font-weight: 400;
    font-size: 3rem;
}
@media (min-width: 768px) {
      .header__texto {
          margin-top: 15rem;
      }
}
@media (min-width: 768px) {
      
}
.header__texto p {
    margin-top: 2rem;
    color: var(--blanco);
    font-size: 1.8rem;
}
@media (min-width: 768px) {
      .header__texto p {
          margin-top: 5rem;
      }
}
.header__texto h2{
    font-size: 4rem;
}
.header__texto--span {
    text-transform: uppercase;
    color:lemonchiffon;
    font-size: 2rem !important;
}
/* navegacion */
.barra {
    padding-top: 4rem;
}
@media (min-width: 768px) {
  .barra{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }/** se utiliza justify-content para centrar horizontalmente y alig items para hacerlos 
  verticalmente**/
}
.logo {
  color: var(--colorprincipal);
}
.logo__nombre {
  font-weight:900;
}
.logo__bold {
  font-weight: 700;
}
@media (min-width: 768px) {
  .navegacion {
      display: flex;
      gap: 2rem;
  }
}
.navegacion__enlace {
    display: block;
    text-align: center;
    font-size: 2rem;
    /* background-color: var(--colorsecundario1); */
    color: var(--blanco);
    margin-top: 0.5rem;
    padding: 1rem;
}
.navegacion__enlace:hover {
    background-color: var(--colorprincipal);
    color: var(--oscuro);
}

/* Servicio */
.servicos {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}  /** basicamente el servicios es el principal por eso aplicamos el grid ahí y en servicio aplicamos el text align porque ya es mas especifico**/

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

.servicio {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.8rem;
}


.iconos i {
    font-size: 2rem;
    color: var(--oscuro);
}

/* Footer  */
.footer {
    background-color: var(--colorprincipal);
    margin-top: 4rem;
    display: grid;
}
.footer .derechos {
    text-align: left;
    margin-left: 3rem;
    font-size: 1.8rem;
}
.ubicacion {
    margin-left: 3rem;
    margin-bottom: 0rem;
    margin-top: 0;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
   
}

.ubicacion p {
    color: var(--blanco);
    font-size: 1.5rem;
    margin: 0;
    text-align: left;
}

.semicont {
   display: flex;
   flex-direction: column;
   justify-content: space-around;
   padding: 0rem 3rem;
}

.semi {
    display: flex;
    align-items: center;
    justify-content: start;
}

@media (min-width: 768px) {
      .semicont {
          display: flex;
          flex-direction: row;
          justify-content: space-between;
      }
      .footer .derechos {
          text-align: start;
          margin-left: 4rem;
      }
      .ubicacion {
          display: flex;
          justify-content: space-evenly;
      }
}









/* Nosotros */
@media (min-width:768px) {
    .nosotros {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
        align-items: center;
    } 
    .nosotros__texto{
        font-size: 1.8rem;
    }
}
.nosotros {
    margin-top: 5rem;
}
.nosotros__texto {
    margin: 0 2rem;
    
}


/* Contacto */

.header__texto--span {
    font-size: 1.5rem;
}
@media (min-width: 768px) {
    .campos {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 6rem;
   height: 30rem;
    }
}
.campos {
   text-align: center;
}
.campo{
    box-shadow: 6px 9px 5px 0px rgba(199,190,190,0.75);
-webkit-box-shadow: 6px 9px 5px 0px rgba(199,190,190,0.75);
-moz-box-shadow: 6px 9px 5px 0px rgba(199,190,190,0.75);
}
@media (min-width: 768px) {
      .campo{
        box-shadow: none;
      }
}
