:root{
    --rojo-soft: hsl(7, 99%, 70%);
    --amarillo: hsl(51, 100%, 49%);
    --cyan-oscuro-saturado: hsl(167, 40%, 24%);
    --azul-oscuro: hsl(198, 62%, 26%);
    --cyan-oscuro-moderado: hsl(168, 34%, 41%);
    
    --azul-oscuro-desaturado: hsl(212, 27%, 19%);
    --azul-muy-oscuro-gris: hsl(213, 9%, 39%);
    --azul-oscuro-gris: hsl(232, 10%, 55%);
    --azul-gris: hsl(210, 4%, 67%);
    --blanco: hsl(0, 0%, 100%);

    --fontHeadings: "Fraunces", serif;;
    --fontBody: "Barlow", serif;;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 1.8rem;
    font-family: var(--fontBody);
}

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

/**Header**/

.header{
    position: relative;
    padding: 2rem 1rem;
    background-image: url(/images/mobile/image-header.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50rem;
}

@media (min-width: 768px) {
  .header{
    background-image: url(/images/desktop/image-header.jpg);
  }

  
}

.header__navegacion{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.creative{
  font-size: 4.5rem;
  text-align: center;
  line-height: 1.2;
  font-weight: bolder;
  font-family: var(--fontHeadings);
  color: var(--blanco);
  text-transform: uppercase;
  text-align: center;
  margin-top: 8rem;
}

.flecha{
  display: block;
  width: auto;
  margin: 0 auto;
  margin-top: 3rem;
}

.logo{
    width: 15rem;
}

.header__btn{
    display: none;
}

.nav__ul{
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav__ul li a{
    color: var(--blanco);
}

.nav__ul li a:hover{
  padding: 2rem 1rem;
  border-radius: 2rem;
  background-color: rgba(112, 209, 241, 0.997);
  text-transform: uppercase;
}

@media (max-width: 550px) {
  .header__btn{
    display: block;
    color: var(--blanco);
  }

  .navbar{
    margin-top: 5rem;
    width: 100%;
    display: none;
  }

  .navbar.activo{
    display: block;
  }

  .nav__ul{
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    background-color: var(--blanco);
    padding: 4rem;
  }

  .nav__ul li a{
    color: var(--azul-muy-oscuro-gris);
  }

  .nav__ul li a:hover{
    background-color: var(--amarillo);
    padding: 1.5rem 2.5rem;
    border-radius: 2.5rem;
    font-weight: bolder;
  }

  .navbar::before{
    background-color: transparent;
    width:  0px;
    height: 0px;
    content: '';
    border-left: 3rem solid transparent;
    border-bottom: 3rem solid var(--blanco);
    position: absolute;
    margin-top: -3rem;
    right: 1.9rem;
  }
}

/**Main**/
.card{
  position: relative;
}

.card-text{
  text-align: center;
  padding: 5rem 2rem;
}

@media (min-width: 800px) {
  .card-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  
}

.text-parrafo{
  max-width: 500px;
  margin: 0 auto;
}

.text-parrafo.font{
  max-width: 700px;
}

.card-text.font{
  position: absolute;
  bottom: 0;
}


.text-title{
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--azul-oscuro-desaturado);
  font-weight: bolder;
  font-family: var(--fontHeadings);
}

.text-link{
  display: inline-block;
  text-transform: uppercase;
  font-weight: bolder;
  margin-top: 2rem;
}

.text-link:hover{
 text-shadow: 0px 10px 15px var(--amarillo);
}
.text-link.rojo:hover{
  text-shadow: 0px 10px 15px var(--rojo-soft);
}
@media (min-width: 767px) {
  .card{
    display: flex;
  }

  .card img{
    flex: 0 0 50%;
  }
  .card-text{
    flex: 0 0 50%;
    order: -1;
  }

  .card-text.dos{
    order: 1;
  }
}

/**Testimonios**/
.testimonials{
  padding: 3rem 2rem;
  
}

.testimonial--profile{
  text-align: center;
  margin-bottom: 6rem;
}

.testimonial-title{
  color: var(--azul-gris);
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 5rem;
  text-align: center;
  text-transform: uppercase;
}

.profile-img{
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin: 2rem auto;
}

.profile-text{
  color: var(--azul-oscuro-desaturado);
  margin-bottom: 2rem
}

.profile-name{
  color: var(--azul-oscuro-desaturado);
  font-weight: bolder;
}

.profile-job{
  color: var(--azul-oscuro-gris);
}

@media (min-width: 767px) {
  .testimonial--container{
    display: flex;
    gap: 5rem;
  }
}

@media (min-width: 767px) {
  .cont-card{
    display: flex;
  }
}

/**Imagenes**/
.imagenes{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 767px) {
  .imagenes{
    grid-template-columns: repeat(4, 1fr);
  }
}


/**Footer**/
.footer{
  text-align: center;
  padding: 5rem 3rem;
  background-color: #95d4c6 ;
}

.logo--footer{
  font-size: 4rem;
  margin-bottom: 3rem;
  font-weight: bolder;
  color: var(--cyan-oscuro-moderado);
}

.nav-footer{
  color: var(--cyan-oscuro-moderado);
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 10rem;
}

.nav-footer .nav:hover{
  color: var(--blanco);
}

.social-foot{
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.social-foot a img{
  width: 4rem;
  height: 4rem;
}

.social-foot a img:hover{
  background-color: white;
  border-radius: .5rem;
}