@font-face {
  font-family: "Modern Goth";
  src:
    url("fonts/ModernGoth-Regular.woff2") format("woff2"),
    url("fonts/ModernGoth-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Modern Goth", sans-serif;
  scroll-behavior: smooth;
  background-color: #000;
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  cursor: pointer;
}

.hero {
  display: flex;
  align-items: start;
  justify-content: start;
  padding: 48px 22px 32px 22px;
  position: relative;
  overflow: hidden;
  height: calc(100svh - 60px);

  background: url("/assets/hero_mobile.webp") no-repeat center/cover;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: calc(100% - 96px);  
}

.hero__title {
  margin-top: 60px;
  font-size: 44px;
  line-height: 70px;
  overflow: hidden;
  height: 300px;
}

.hero__title span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: slideUp 0.75s forwards;
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero__description {
  font-family: ModernGothic, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  height: auto;

}

.hero__description span {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.hero__actions {
  display: flex;
  justify-content: space-between;

  margin-top: 60px;

}
.btn {
  opacity: 0;
  transform: translateY(-200px) rotate(-5deg);
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.5s ease;
  line-height: 180%;
  border-radius: 100px;
  max-height: 54px;
  padding: 12px 36px;
  transition: all 0.5s ease;

  gap: 18px;
  color: #fff;
  background-color: transparent;
}
.btn:hover,
.btn:focus {
  scale: 110%;
}

.btn--primary {
  border: 1.5px solid white;
}
.btn--scroll {
  text-transform: uppercase;
}
.btn.show {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.btn-content {
  opacity: 0; 
  white-space: nowrap;
  transform: translateX(-20px);
  display: inline-flex;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.btn.show .btn-content {
  opacity: 1;
  transform: translateX(0);
}

.btn-content:nth-child(1) {
  transition-delay: 0.2s;
}
.btn-content:nth-child(2) {
  transition-delay: 0.4s;
}

@media (min-width: 768px) {
  .hero {
    background: url("/assets/hero_tablet_small.webp") no-repeat center/cover;
    padding: 48px 36px;
  }
  .hero__title {
    font-size: 64px;
    line-height: 1.2;
    max-width: 625px;
  }
  .hero__description {
    font-size: 18px;
    max-width: 430px;
  }
}

@media (min-width: 1201px) {
  .hero {
    background: url("/assets/hero_laptop.webp") no-repeat center/cover;
  }
  .hero__title {
    font-size: 84px;
    line-height: 1.3;
    max-width: 800px;
  }
  .hero__description {
    font-size: 20px;
    max-width: 464px;
  }
}

@media (min-width: 1601px) {
  .hero {
    background: url("/assets/hero.webp") no-repeat center/cover;
    margin: 0 auto;
  }
  .hero__title {
    font-size: 100px;
    max-width: 900px;
  }
  .hero__description {
    font-size: 24px;
    max-width: 576px;
  }
}
.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  width: 120px;
  height: 120px;
  background-color: rgba(255, 255, 255, 0.2);

  border-radius: 50%;
  opacity: 0;
  transition: opacity 1s ease;
}

.shape1 {
  top: 10%;
  left: 15%;
}
.shape2 {
  top: 50%;
  left: 70%;
  width: 180px;
  height: 180px;
}
.shape3 {
  top: 75%;
  left: 30%;
  width: 100px;
  height: 100px;
}

.shape.show {
  opacity: 1;
}
