@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root{
  --primary-color: #dc775e;
  --primary-color-dark: #bb654f;
  --text-dark: #171717;
  --text-light: #525252;
  --extra-light: #f5f5f5;
  --white: #ffffff;
  --max-width: 1200px;
}

body{
  background-color: var(--white);
}
.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
  }
  
  .section__header {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
  }
  
  .section__description {
    margin-bottom: 2rem;
    color: var(--text-light);
  }

  .section__description a{
    margin-bottom: 2rem;
    color: black;
    font-weight: 700;
  }

  .section__description a:hover{
    margin-bottom: 2rem;
    color: #426464;
    font-weight: 700;
  }
  
  .btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    color: var(--white);
    white-space: nowrap;
    background: var(--primary-color);
    outline: none;
    border: none;
    cursor: pointer;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
  }
  
  .btn:hover {
    background: var(--primary-color-dark);
    box-shadow: 5px 5xp 20px rgba(0, 0, 0, 0.2);
  }
  
  img {
    width: 100%;
    display: flex;
  }
  
  a {
    text-decoration: none;
  }
  
  html,
  body {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Montserrat", sans-serif;
  }

  /* Header */

  .header__container {
    padding-top: 8rem;
    display: grid;
    gap: 2rem;
    text-align: center;
  }
  
  .header__content h1 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 2.5rem;
  }
  
  .header__content h1 span {
    font-size: 6rem;
    line-height: 6rem;
  }
  
  .header__image img {
    /* filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.2)); */
    /* -webkit-filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.2)); */
    animation: header 5s infinite;
  }
  @keyframes header {
    0%,
    100% {
      transform: translateY(0);
    }
    25% {
      transform: translateY(-20px);
    }
    75% {
      transform: translateY(20px);
    }
  }

    /* Seccion del texto principal */

  .section__header {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
    font-family: var(--header-font);
    color: var(--text-dark);
    text-align: center;
  }

  .section__header2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--header-font);
    color: var(--text-dark);
    text-align: center;
  }
  
  .section__description {
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: center;
  }

  .about__container .section__description {
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  
  .about__container img {
    max-width: 340px;
    margin-inline: auto;
  }


  /* CONTADOR */

.contador {
  display: block;
  justify-content: center;
  align-items: center;
}


.headline {
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.contadorul {
  display: flex;
  justify-content: center;
}

.contadorul li {
  list-style-type: none;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
}

.contadorul li span {
  display: block;
  font-size: 5rem;
  color: #426464;
}

.contadorul li.separation {
  margin: 0 10px;
  font-size: 6rem;
  line-height: 1;
  color: #426464;
}

.contadorul li:first-of-type {
  margin-right: 2rem;
}

/* BANDERITAS */
.grid {
  display: grid;
  gap: 1.5rem;
}

.about__content {
  row-gap: 4rem;
}

.about__skills{
  display: flex;
  justify-content: center;
}

.about__skills-title {
  font-size: var(--h3-font-size);
  text-align: center;
  margin-bottom: 2rem;
}

.about__skills-img {
  width: 45px;
  /* tamaño de las banderitas */
  transition: transform .4s;
}

.about__skills-img:hover {
  transform: translateY(-0.5rem);
}

.about__skills-content {
  grid-template-columns: repeat(5, max-content);
  justify-content: center;
  align-items: center;
  gap: 2rem 1.5rem;
}

/* Pastores invitados */
/* 
.story__container {
  padding-bottom: 0;
  margin-bottom: 15rem;
  display: grid;
  gap: 8rem 2rem;
}

.story__card {
  position: relative;
  isolation: isolate;
}

.story__card img {
  border-radius: 5px;
}

.story__card__content {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(calc(-50% + 12rem));
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  background-color: var(--white);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.story__card__content .section__description {
  margin-bottom: 1rem;
}

.story__card__content .btn::after {
  content: none;
} */

.users {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: wrap;
  gap: 30px;
}

.user {
  position: relative;
  z-index: 1;
  width: 250px;
  /* height: 350px; */
  /* 350/250 = 1.4 */
  aspect-ratio: 1 / 1.4;
  padding: 1rem;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: 0 30px 30px 5px #d6d9e2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.user-img-wrap {
  position: relative;
  /* width: 117px; */
  aspect-ratio: 1;
  padding: 7px;
  border-radius: 100%;
}

.user-img-wrap::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 0;
  border-radius: 100%;

  background: linear-gradient(132deg, rgba(85,137,238,0.5802696078431373) 48%, rgba(29,49,108,0.6138830532212884) 66%);

  opacity: 0;
  transition: opacity 1s;

  animation: rotate 4s linear infinite;
  animation-play-state: paused;
  filter: saturate(2) blur(10px);
}

.user:hover .user-img-wrap::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes rotate {
  to {
    rotate: 360deg;
  }
}

.user-img {
  aspect-ratio: 1;
  border-radius: 100%;
  overflow: hidden;
}

.user-meta {
  text-align: center;
}

.user-name {
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: 500;
}

.user-location {
  font-size: 14px;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.user-profiles {
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}




@media (width > 480px) {
 
  .story__container {
    grid-template-columns: repeat(2, 1fr);
  }

}

  @media (width < 767px) {
    .header__content h1 span{
      font-size: 4rem;
    }

    .contador .container .section__header h2{
      font-size: 1rem;
    } 
  }

  @media (width < 650px) {
    .contadorul li span {
      font-size: 1.5rem;
    }
    
    .contadorul li.separation {
      font-size: 1rem;
    }

    .contadorul li {
      list-style-type: none;
      font-size: 0.5rem;
      text-transform: uppercase;
      text-align: center;
  }

  }


  @media (width < 950px) {
    .container {
      grid-template-columns: 3fr;
      align-items: center;
      padding: 2rem 0;
    }

    .contadorul li span {
      font-size: 2.8rem;
    }
    
    .contadorul li.separation {
      font-size: 3rem;
    }

    .contadorul li {
      list-style-type: none;
      font-size: 0.9rem;
      text-transform: uppercase;
      text-align: center;
  }

  }

  @media (width > 950px) {
    .container {
      grid-template-columns: 2fr 3fr;
      align-items: center;
      padding: 2rem 0;
    }

    .about__skills-title{
      text-align: initial;
    }
    
    .about__skills-content{
      grid-template-columns: repeat(11,max-content);
      justify-content: initial;
    }
    
    .about__skills-img{
      width: 40px;
    }
    .about__skills-img {
      width: 65px;
      /* tamaño de las banderitas */
    }
  }

  @media (width > 768px) {
  
    .header__container {
      padding-top: 5rem;
      align-items: center;
      grid-template-columns: 2fr 2fr;
      text-align: left;
    }
  
    .header__image {
      grid-area: 1/2/2/3;
    }

    .story__container {
      grid-template-columns: repeat(3, 1fr);
    }
  
    .story__card:last-child {
      display: none;
    }
  }

  @media (width > 1024px) {
    .story__container {
      grid-template-columns: repeat(4, 1fr);
    }
  
    .story__card:last-child {
      display: flex;
    }
  }
  
  .section__container.about__container{
    overflow: hidden;
  }