* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
}

body,
html {
  font-size: 0.5208333333vw;
}

.main {
  width: 100vw;
  height: 100vh;
}

@media (max-width: 768px) {
  .main {
    height: 100svh;
  }
}

.wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

@media (max-width: 768px) {
  .wrapper {
    padding-bottom: 100px;
  }
}

.main__bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

@media (max-width: 768px) {
  .main__bg {
    display: none;
  }
}

.main__bg.mob {
  display: none;
}

@media (max-width: 768px) {
  .main__bg.mob {
    display: block;
  }
}

.main__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.main__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

@media (max-width: 768px) {
  .main__bg::after {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 33%,
      rgba(0, 0, 0, 0.9) 100%
    );
  }
}

.main-text__wrapper {
  color: #fff;
  text-align: center;
  font-style: normal;
  line-height: normal;
  width: 33.17vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 12rem;
}

@media (max-width: 768px) {
  .main-text__wrapper {
    width: 100vw;
    justify-content: flex-end;
    padding-left: 0;
  }
}

.title {
  font-family: Roboto;
  font-size: 9.6rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .title {
    font-size: 44px;
    margin-bottom: 10px;
  }
}

.text {
  font-family: Raleway;
  font-size: 3.2rem;
  font-weight: 300;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .text {
    font-size: 15px;
  }
}

.subtitle {
  color: #ffffff;
  /* background: linear-gradient(to right, #fff 0, white 20%, #a6a6a6 30%); */
  /* background: linear-gradient(120deg, transparent 0%, white 50%, transparent 100%); */
  background: linear-gradient(
    341deg,
    transparent -10%,
    white 20%,
    transparent 100%
  );
  background-position: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation-name: shine;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
  -webkit-text-size-adjust: none;
  font-weight: 300;
  font-size: 3.2rem;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .subtitle {
    font-size: 18px;
  }
}

@keyframes shine {
  0% {
    background-position: 0;
  }
  100% {
    background-position: 20.53rem;
  }
}

@media (max-width: 768px) {
  @keyframes shine {
    0% {
      background-position: 0;
    }
    100% {
      background-position: 115.48px;
    }
  }
}
