* {
  box-sizing: border-box;
}
body {
  font-family: "Avenir";
  font-weight: 600;
  background-color: #000000;
  background-image: url(../img/bg-main.webp);
  background-size: cover;
  background-position: center;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  overflow: hidden;
}
h1 {
  color: #00ff95;

  text-shadow: 0px 0px 16.085px rgba(255, 255, 255, 0.3);
  -webkit-text-stroke-width: 3.14px;
  -webkit-text-stroke-color: #00ff95;
  font-family: "Avenir";
  font-size: 122px;
  font-style: italic;
  font-weight: 600;
  line-height: 73.836px;
  letter-spacing: -7.32px;
  padding-left: 76px;
  margin: 14px 0;
  margin-top: 30px;
}
h2 {
  color: #ffffff;

  font-family: "Avenir";
  font-size: 44px;
  font-style: italic;
  font-weight: 600;
  line-height: 59.42px;
  margin: 0;
  padding-left: 76px;
}
.sub-title {
  color: #3a225f;
  line-height: 33.259px;
  margin-bottom: 14px;
  background-color: #1ee9f4;
  padding: 14px 76px 11px 76px;
  clip-path: polygon(0 0, 100% 0, 97% 100%, 100% 100%, 0 100%);
}

header {
  padding: 71px 77px;
  padding-bottom: 125px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-bar__logo {
  max-width: 240px;
}
.main-button button {
  color: #3a225f;
  margin-top: 30px;
  margin-left: 76px;
  text-align: center;
  padding: 26px 32px;
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  line-height: 36.558px;
  text-transform: uppercase;
  background-color: #00ff95;
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
  border: none;
  cursor: pointer;
}
.main-button:hover button {
  background-color: #1ee9f4;
  transition: 0.9s;
}
h2 strong {
  color: #0afe87;

  font-size: 68px;
  font-style: italic;
  font-weight: 600;
  line-height: 59.42px;
}

@media screen and (max-width: 735px) {
  body {
    background-image: url(../img/bg-main-mob.webp);
    height: 100vh;
    overflow: scroll;
    overflow-x: hidden;
  }
  header {
    padding: 32px 26px 40px 26px;
  }
  .nav-bar__logo {
    max-width: 124px;
  }
  h2 {
    font-size: 20px;
    padding-left: 25px;
    line-height: 23.557px;
  }
  .sub-title {
    padding: 5px 25px;
    max-width: 250px;
    margin-bottom: 7px;
  }
  h1 {
    font-size: 55px;
    font-weight: 600;
    line-height: 33.326px;
    letter-spacing: -3.3px;
    padding-left: 26px;
  }
  h2 strong {
    font-size: 30.692px;

    line-height: 26.819px;
  }
  .main-button button {
    margin: 0;
    padding: 25px 31px;
    font-size: 24px;
    line-height: 31.907px;
  }
  .main-button {
    margin: 0 auto;
    width: 296px;
  }
  main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding-bottom: 32px;
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader img {
  width: 120px;
  height: auto;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}
