@import url(animations.css);

@font-face {
  font-family: "Harris";
  src: url(captain-of-america.regular.ttf);
}

html {
  scroll-behavior: smooth;
}

* {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
}

img {
  display: block;
  width: 100%;
}

section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  height: 100svh;
}

.container {
  width: 100%;
  max-width: 1140px;
  position: relative;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wavy {
  --mask:
    radial-gradient(60.47px at 50% 82.5px, #000 99%, #0000 101%) calc(50% - 60px) 0/120px 51% repeat-x,
    radial-gradient(60.47px at 50% -52.5px, #0000 99%, #000 101%) 50% 30px/120px calc(51% - 30px) repeat-x,
    radial-gradient(60.47px at 50% calc(100% - 82.5px), #000 99%, #0000 101%) 50% 100%/120px 51% repeat-x,
    radial-gradient(60.47px at 50% calc(100% + 52.5px), #0000 99%, #000 101%) calc(50% - 60px) calc(100% - 30px)/120px calc(51% - 30px) repeat-x;
  -webkit-mask: var(--mask);
  mask: var(--mask);
}

.skewed {
  background: #000;
  z-index: 0;
  transform: skewY(2deg);
  transform-origin: top right;
}

.spikes {
  position: relative;
  background: #fff;
  height: 50vh;
}

.spikes::after {
  content: '';
  position: absolute;
  right: 0;
  left: -0%;
  top: 100%;
  z-index: 10;
  display: block;
  height: 50px;
  background-size: 50px 100%;
  background-image: linear-gradient(135deg, #fff 25%, transparent 25%), linear-gradient(225deg, #fff 25%, transparent 25%);
  background-position: 0 0;
}

footer {
  background-color: #000;
  color: #FFF;
}

.section1 {
  overflow: hidden;
  z-index: 5;

  .content {
    padding-bottom: 48px;
    width: 100%;
    justify-content: flex-end;
  }

  #bg {
    background-image: url(img/img01.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-animation: kenburns-top 3s ease-out both;
    animation: kenburns-top 2s ease-out both;
    /* border-image: linear-gradient(hsla(263, 100%, 65%, 0.2), hsla(27, 100%, 69%, 0.2), hsla(308, 100%, 66%, 0.2)) fill 1; */

  }

  .bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .filter {
    position: absolute;
    background-color: #ffffff;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    filter: blur(10px);
    animation: opacity 1s linear forwards;
  }

  .logo {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;

    .logo-img {
      padding-top: 32px;
      display: flex;
      width: 50%;
      max-width: 500px;
      /* max-width: 500px; */
      order: 2;

      img {
        filter: drop-shadow(6px 6px 6px #000);
        animation: slide-in-elliptic-bottom-fwd 0.6s 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
      }
    }

    .logo-text {

      text-align: center;
      /* margin: 0 auto; */
      width: 50%;
      max-width: 500px;
      display: flex;
      justify-content: center;
      order: 1;

      & span:first-child {
        animation: slide-in-blurred-right 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000)
      }

      & span:last-child {
        animation: slide-in-blurred-right 0.6s 0.3s cubic-bezier(0.230, 1.000, 0.320, 1.000) both
      }

      span {
        color: #FFF;
        font-size: clamp(2rem, 5vw + 3rem, 10rem);
        font-family: 'Harris', sans-serif;
        line-height: 1;
        letter-spacing: -4px;
        /* background: -webkit-linear-gradient(#7057ff 10%, #ff735a 65%, #ffc37e 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent; */
        filter: drop-shadow(6px 6px 4px #000) !important;
      }
    }
  }
}

#S {
  animation: bounce-in-top 2s both;
}

.section2 {
  background-image: url(img/bg-4.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  height: auto;
  padding: 64px 0 124px 0;
  border-image: linear-gradient(hsl(240 100% 20% / 0.6), hsl(0 100% 20% / 0.6)) fill 1;

  p {
    font-family: 'Lexend', sans-serif;
    color: #fff;

    &:not(:last-child) {
      margin-bottom: 30px;
    }
  }
}

.section3,
.section4 {
  max-height: 48vh;
}

.section3 {
  max-height: 40vh;
  overflow: hidden;
  background-color: #fff;
  /* background-image: url(img/bg-02.jpg); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 6;
  padding: 24px 0;
  box-shadow: inset 0px 12px 0px #000, inset 0px -12px 0px #000;

  &>img {
    position: absolute;
    width: 20%;
    margin: auto -4% auto 0;
    top: 0;
    bottom: 0;
    right: 0;
    max-width: 300px;
  }
}

.section4 {
  position: relative;
  padding: 2px 0;
  background-color: #FFF;
  background-image: url(img/bg-02.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* max-height: 60vh; */
  border-image: linear-gradient(hsl(240 100% 20% / 0.6), hsla(249, 100%, 20%, 0.6)) fill 1;


  .bg4 {
    background-image: url(img/img08.png), url(img/img09.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left 50%, right 50%;
    position: absolute;
    width: 100%;
    height: 100%;
  }

  &>img {
    width: 20%;
    position: absolute;
    margin: auto 0 auto 10%;
    top: 0;
    bottom: 0;
    left: 0;
    max-width: 300px;
    filter: drop-shadow(6px 6px 6px #000);

  }
}


.ca {
  color: #000;
  place-items: center;
}

#ca {
  font-family: 'Onest', sans-serif;
  font-size: clamp(0.675rem, 3vw, 2rem);
  text-align: center;
  text-wrap: nowrap;
  margin-bottom: 32px;
}

.buttons-container {
  height: 100%;
  display: flex;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

a {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 4.8rem;
  height: 4.8rem;
  text-decoration: none;
  transition: all 1s;

  &:hover img {
    width: 5.8rem;
  }

  &:hover .icon {
    font-size: 2.8rem;
  }

  &:hover #buy-btn {
    font-size: 2.8rem;
  }
}

.kick {
  animation: slide-in-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.btn {
  width: 4em;
  height: 4em;
  margin: 0.5em;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  outline: none;
  border: none;
  border-radius: 9999px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

button.reverse {
  color: black;
}

button.reverse:hover {
  color: white;
}

.ball {
  -webkit-transition: all 0.1s ease-in-out;
  position: absolute;
  filter: drop-shadow(0 6px 2px #000000c2);

}

.icon {
  -webkit-transition: all 0.3s ease-in-out;
  position: relative;
  font-size: 1.6rem;
  color: #fff;
  pointer-events: none;
  text-shadow: 3px 3px 2px #000, 0px 0px 1px #000;
  padding-bottom: 40px;

}

h2 {
  color: #000;
  text-wrap: nowrap;
  text-align: center;
  margin: 48px 0;
  font-family: 'DANSON', sans-serif;
  font-size: clamp(2rem, 4vw + 1rem, 4rem);

  &#follow {
    color: #fff;
    text-shadow: 3px 3px 0px #000;

  }
}

p {
  font-family: 'Onest', sans-serif;
  font-size: clamp(0.875rem, 1vw + 1rem, 2rem);
  text-align: center;
  text-wrap: pretty;
}

#buy-btn {
  position: relative;
  color: #fff;
  font-size: 2rem;
  font-family: 'DANSON', sans-serif;
  text-shadow: 2px 2px 1px #000;
  -webkit-transition: all 0.3s ease-in-out;
  padding-bottom: 32px;
}


.add-scrolling {
  overflow: initial;
}

@media (max-width: 768px) {

  .section1 {

    .logo {
      flex-direction: column;

      .logo-img {
        order: 2;
        justify-content: center;
        width: 90%;

        img {
          max-width: 300px;
        }
      }

      .logo-text {
        order: 1;
        padding-top: 0;
        margin-bottom: 18px;
        width: 100%;

        span {
          font-size: clamp(2rem, 5vw + 2rem, 10rem);
        }
      }
    }
  }

  .section3,
  .section4 {
    height: 40vh;

    &>img {
      display: none;

    }
  }

  .section3 {
    h2 {
      margin: 32px 0;
    }
  }

  .section4 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-height: 40vh;

    .bg4 {
      background-image: none;
    }



    h2 {
      margin-bottom: 16px;
    }
  }

  div.buttons-container {
    justify-content: flex-start;
    height: 100%;
    display: flex;
    text-align: center;
    gap: 16px;


  }

  a {
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 3.8rem;
    height: 3.8rem;
    text-decoration: none;
    transition: all 1s;

    &:hover img {
      width: 4.8rem;
    }

    &:hover .icon {
      font-size: 2.4rem;
    }

    &:hover #buy-btn {
      font-size: 2.4rem;
    }
  }

  .icon {
    -webkit-transition: all 0.3s ease-in-out;
    position: relative;
    font-size: 1.4rem;
    color: #fff;
    pointer-events: none;
    text-shadow: 3px 3px 4px #000;
    padding-bottom: 30px;
  }

  footer {
    height: 3svh;
    display: flex;
    justify-content: center;
    align-items: center;

    #footer-p {
      font-size: 12px !important;
    }
  }

  #buy-btn {
    padding-bottom: 24px;
  }
}