/* ********** Custom Properties ********** */
:root {
    --first-color: #EB5020;
    --first-alpha-color: rgba(217, 0, 98, 0.75);
    --second-color: #14192d;
    --second-alpha-color: rgba(20, 25, 45, 0.75);
    --third-color: #501464;
    --third-alpha-color: rgba(80, 20, 100, 0.75);
    --white-color: #fff;
    --gray-light-color: #f3f3f3;
    --gray-color: #3E3E3E;
    --gray-dark-color: #666;
    --black-color: #000;
    --link-color: #509ee3;
    --title-color: #333;
    --text-color: #222;
    --white-alpha-color: rgba(255, 255, 255, 0.5);
    --black-alpha-color: rgba(0, 0, 0, 0.743);
    --font: "Grechen Fuemen", serif;
    --max-width: 1200px;
    --header-height: 4rem;
  }
  
  /* ********** Reset ********** */
  html {
    box-sizing: border-box;
    font-family: var(--font);
    font-size: calc(12px + (20 - 15) * ((100vw - 300px) / (1400 - 300))); 
    scroll-behavior: smooth;
  }
  
  *,
  *::after,
  *::before {
    box-sizing: inherit;
  }
  
  body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text-color);
  }
  
  a {
    cursor: pointer;
    transition: all 0.5s ease-out;
    text-decoration: none;
    font-family: "Open Sans", serif;
  }
  
  a:hover {
    opacity: 0.75;
  }
  
  h1 {
    margin: 0;
    letter-spacing: 0.2rem;
    font-size: 3rem;
  }
  
  h2 {
    margin: 0;
    letter-spacing: 0.2rem;
    font-size: 2.5rem;
  }
  
  h3 {
    margin: 0;
    letter-spacing: 0.2rem;
    font-size: 2rem;
  }
  
  h4 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  h5 {
    margin: 0;
    font-size: 1rem;
  }
  
  h6 {
    margin: 0;
    font-size: .5rem;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  p {
    line-height: 1.6;
    margin: 0;
    font-family: "Open Sans", serif;
  }

  .btn-wa{    
    color: var(--white-color);
    border: 3px solid #25D366;
    background-color: #25D366;
    border-radius: 3rem;
    padding: 1rem;
    display: flex;
    gap: .5rem;
  }

  .btn{
    font-family: "Open Sans", serif;
    color: var(--white-color);
    border: 3px solid var(--first-color);
    border-radius: 0.8rem;
    padding: 1rem;
    text-align: center;
  }

  .btn:hover{
    background-color: var(--first-color);
  }

  /* Para los contenedores generales */
.container{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.div-container{
    width: 80%;
    height: 80%;
}





/* Cabecera */
.container-hero{
  position: relative;
  height: 100vh;
  background-image: linear-gradient(var(--black-alpha-color),var(--black-alpha-color)),url("https://content.app-sources.com/s/930653804424887621/uploads/barber_life/hero-9653112.webp?format=webp");
  background-position: center top;
  background-size: cover;
}





.div-container-hero{
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
}

.div-container-hero img{ 
  border-radius: 50%;
  max-width: 200px;
}

.titel p{
    font-family: "Open Sans", serif;
}

.container-hero .link{
    height: 50%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}


/* Fin cabecera */

/* Servicio */
.container-service{
  padding: 6rem 0;
  background-color: black;
  color: var(--white-color);
}



.div-container-service{
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 5rem;
}


.cards-service{    
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 2rem;

}

.card-service{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
}



.card-service img{
    width: 100%;
    height: 70px;
    object-fit: contain;
}

@media (min-width: 735px) {
  .card-service p{
    height: 240px;
  }
}
/* Fin servicio */
/* lo que hacemos */
.div-container-do{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 2rem;
}

.img-do{
    width: 100%;
    height: 50vh;
    background-image: url("https://content.app-sources.com/s/930653804424887621/uploads/barber_life/hacemos-9653113.webp?format=webp");
    background-size: cover;
    background-position: center;
}

.to-do{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 735px) {
  .img-do{
    height: 100%;
  }
}

/* Fin lo que hacemos */


/* Nuestro Equipo */

.container-team{
    flex-direction: column;
    gap: 4rem;
    background-color: var(--black-color);
    padding: 6rem 0;
    color: var(--white-color);
}

.div-container-team{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
}

.img-team-1{
  width: 100%;
  height: 60vh;
  background-image: url("https://content.app-sources.com/s/930653804424887621/uploads/barber_life/hacemos_-_copia-9791144.jpg?format=webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.img-team-2{
  width: 100%;
  height: 60vh;
  background-image: url("https://content.app-sources.com/s/930653804424887621/uploads/barber_life/team-9791594.jpg?format=webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}



.img-team-3{
  width: 100%;
  height: 60vh;
  background-image: url("https://content.app-sources.com/s/930653804424887621/uploads/Entre_Tablas/equipo-9596789.webp?format=webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.name{
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

@media (min-width: 735px) {
  .img-team{
    height: 100%;
  }

  .div-container-team:nth-child(even) .img-team{
    order: 1;
  }
}

/* Fin Nuestro Equipo */

/* Testimonios */

.container-testimony{
    gap: 6rem;
    background-image: url(fondoladri.webp);
    background-color: var(--black-color);
    background-position: center;
    background-size: cover;
    padding: 6rem 0;
    color: var(--white-color);
}

.div-container-testimony{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;

}

.cards-testimony{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 1rem;
}

.card-testimony img{
  width: 100%;
  object-fit: contain;
}


/* Fin Testimonios */

/* Footer */
footer h3 {
  letter-spacing: 0;
  font-size: 1.3rem;
}

.container-footer{
  padding: 6rem 0;
}

.div-container-footer{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
}

.info{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 3rem;
}

.div-container-footer .info div{
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;  
  gap: 1rem;
  position: relative;
}

.div-container-footer article div::after{
  content: "";
  background-color:var(--gray-color);
  position: absolute;
  left: 0;
  top: calc(100% + 1.5rem);
  width: 100%;
  height: 3px;
}

.div-container-footer article div img{
  border-radius: 50%;
  width: 8rem;
}


@media (min-width: 735px) {
  .div-container-footer article{
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
  }

  .info div{
    width: 40%;
  }

  .div-container-footer article iframe{
    height: 100%;
  }

  .div-container-footer article div:nth-child(3):after,.div-container-footer article div:nth-child(4):after{
    content: none;  }
}
/* Fin Footer */



/* Animaciones */
/* Scroll */
@keyframes shows {
	from {
		opacity: 0;
		scale: 25%;
	}
  
	to {
		opacity: 1;
		scale: 100%;
	}
}

/* Controla la vista en scroll */
img,svg {
  view-timeline-name: --div-container;
	view-timeline-axis: block;
  
	animation-timeline: --div-container;
	animation-name: shows;
  
	animation-range: entry 25% cover 45%;
	animation-fill-mode: both;
}

/* Fin Scroll */



.blur-in{
  animation:blur-in 0.7s linear both
} 

@keyframes blur-in {
  0%{
    filter:blur(12px);
    opacity:0}

  100%{
      filter:blur(0);
      opacity:1
    }
}



