@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Montserrat', sans-serif;
  font-size: 62.5%;
}

.hero {
  background: url(../assets/hero.png) no-repeat center center / cover;
  padding-top: 2rem;
  color: white;
  text-align: center;

  @media (width > 800px) {
    text-align: start;
  }

  h1 {
    font-weight: 400;
    font-size: 2.5rem;
    text-wrap: pretty;
  }

  .box {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    /* position: relative; */

    .box-1 {
      padding-bottom: 5rem;
    }
  }

  .people-box {
    align-self: stretch;
    position: relative;
    flex: 1;
  }

  .people {
    position: absolute;
    left: -5rem;
    bottom: 0;
    max-width: 100%;
  }
}

.timer {
  display: flex;
  gap: 1rem;
  margin: 5rem 0;
  justify-content: center;

  @media (width > 800px) {
    justify-content: start;
  }

  & > span {
    text-align: center;
    font-size: 5rem;
    font-weight: 700;
  }

  .word {
    display: block;
    font-size: 1.2rem;
  }
}

/* paraTi */
.paraTi {
  margin: 10rem 0;

  .title {
    color: #777777;
    text-align: center;
    text-transform: uppercase;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 5rem;

    span {
      position: relative;
      white-space: nowrap;
      color: #57c6c3;

      &::after {
        content: '';
        position: absolute;
        left: 0;
        top: 100%;

        display: inline-block;
        width: 100%;
        height: 1rem;
        background-image: url('../assets/line.svg');
        background-size: contain;
        background-repeat: no-repeat;
        /* height: 5rem; */
      }
    }
  }

  .conatiner-box {
    display: grid;
    gap: 3rem;
    max-width: 900px;
    margin-inline: auto;

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

    @media (width > 800px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .box {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;

    img {
      position: relative;
      z-index: 10;
      margin-bottom: -3rem;
    }

    .text {
      flex: 1;
      background-color: rgba(255, 216, 119, 0.15);
      font-size: 1.7rem;
      padding: 4rem 5rem;
      padding-top: 5rem;
      color: #aaaaaa;

      border-radius: 3rem;

      &.text--2 {
        background-color: rgba(87, 198, 194, 0.15);
      }

      &.text--3 {
        background-color: rgba(217, 242, 180, 0.15);
      }

      &.text--4 {
        background-color: rgba(188, 84, 9, 0.08);
      }

      &.text--5 {
        background-color: rgba(99, 38, 74, 0.08);
      }
    }
  }
}

.formacion {
  background: url(../assets/footer.png) no-repeat center center / cover;
  padding: 5rem 0;

  .title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    text-align: center;
    text-wrap: pretty;

    margin-bottom: 5rem;
  }

  .container-box {
    display: grid;
    max-width: 900px;
    margin-inline: auto;
    gap: 2rem;

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

    @media (width > 800px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

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

    border-radius: 2rem;

    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.25);
    color: white;

    padding: 3rem;
  }
}

.modal-registrar {
  background-color: #0e1d3f;
  color: white;
  padding: 2rem 2rem;
  margin: auto;
  border-radius: 3rem;

  &::backdrop {
    backdrop-filter: blur(1rem);
  }
}

.consigue-tu-cuerpo-ideal {
  display: none;
  position: fixed;
  z-index: 100;
  height: 100svh;
  width: 100%;
  backdrop-filter: blur(1rem);

  .aniversario-title {
    text-align: center;
    font-size: 4rem;
    text-wrap: pretty;

    span {
      display: block;
      font-weight: 400;
    }
  }

  div {
    background-color: #fff;
    color: #57c6c3;
    padding: 4rem 2rem;
    border-radius: 3rem;
    max-width: 50rem;
    margin: 5rem auto 0 auto;
  }
}

/* utilities */
.container {
  max-width: 1200px;
  padding-inline: 2rem;
  margin-inline: auto;
}

.font-bold {
  font-weight: 700;
}

.d-block-md {
  @media (width > 800px) {
    display: block;
  }
}

/* components */
.btn {
  text-transform: uppercase;
  display: inline-block;
  font-size: 2rem;
  padding: 0.8rem 3rem;
  font-weight: 900;
  background-color: white;
  color: #46bcb9;
  border: none;
  font-family: 'Montserrat', sans-serif;
  border-radius: 5rem;
  cursor: pointer;
}

.btn-primary {
  background-color: #46bcb9;
  color: #fff;
}

.tomaya-input {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
  background-color: rgba(98, 183, 198, 0.2);
  color: #5f5f5f;

  &::placeholder {
    color: #5f5f5f;
  }

  font-size: 1.5rem;
  padding: 1.5rem 3rem;
  border: none;
  border-radius: 5rem;
}

.modal-label {
  display: flex;
  gap: 1rem;
  justify-content: center;
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}
