:root {
  --main-color--1: #fff;
  --first-step-value: -100vh;
  --second-step-value: -200vh;
  --third-step-value: -300vh;
}

/* @import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap"); */

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--main-color--1);
}

.video-background video {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -100;
}

.container {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow-y: hidden;
}

.main {
  display: flex;
  flex-direction: column;
  width: 60rem;
  transition: all 0.7s cubic-bezier(1, 0.01, 0.79, 0.99);
}

.step-1,
.step-2,
.step-3,
.step-4 {
  height: 100vh;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  /* background-color: rgba(255, 255, 255, 0.6); */
  background: rgba(89, 66, 219, 0.35);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(0.8rem);
  -webkit-backdrop-filter: blur(0.8rem);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.7s cubic-bezier(1, 0.01, 0.79, 0.99);
}

.step-2 {
  background: rgba(206, 30, 147, 0.35);
}

.step-3 {
  background: rgba(40, 186, 196, 0.35);
}

.step-4 {
  background: rgba(0, 0, 0, 0.35);
}

.step-1-active {
  transform: translateY(-100vh);
}

.step-2-active {
  transform: translateY(-200vh);
}

.step-3-active {
  transform: translateY(-300vh);
}

.header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-grow: 2;
  width: 40rem;
  /* margin-left: 630px; */
  padding-bottom: 10vh;
  flex-wrap: wrap;
}

.heading-top,
.heading-bottom {
  font-size: 12em;
  font-weight: 900;
  line-height: 1em;
  /* letter-spacing: 0.04em; */
  color: rgba(255, 255, 255, 0.8);
  /* text-shadow: 0px 0px 2px #cecece; */

  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.heading-top {
  margin-bottom: -5rem;
}

.flex-br {
  width: 100%;
  height: 0;
}

.main-content {
  width: 40rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 2rem;
}

.content-heading {
  font-size: 4.3rem;
  text-transform: uppercase;
  text-indent: -7rem;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.content-text {
  font-size: 2.4rem;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.btn {
  font-family: "Lato", sans-serif;
  width: 100%;
  color: #ffffff;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0);
  padding: 20px 20px 20px 20px;
  border: solid #ffffff 2px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  color: rgb(54, 54, 136);
  background: #fff;
  text-decoration: none;
}

.final {
  text-align: center !important;
}

.header-final {
  justify-content: center;
}

.heading-top-final {
  font-size: 8rem;
  transition: all 0.7s;
}

.content-heading-final,
.content-text-final {
  text-align: center;
}

.content-heading-final {
  font-size: 3rem;
  text-indent: 0;
}

.main-content-final {
  justify-content: space-around;
  transition: all 0.7s;
}

.users-number {
  text-decoration: underline;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
}

.custom-loader {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 8px solid #0000;
  border-right-color: #ffffff;
  position: relative;
  animation: s4 1s infinite linear;
}
.custom-loader:before,
.custom-loader:after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: inherit;
  animation: inherit;
  animation-duration: 2s;
}
.custom-loader:after {
  animation-duration: 4s;
}

@keyframes s4 {
  100% {
    transform: rotate(1turn);
  }
}

.hidden {
  display: none;
}

@media only screen and (max-width: 1000px) {
  .container {
    overflow-x: hidden;
    height: calc(var(--vh, 1vh) * 100);
  }
  .main {
    width: 100vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    flex-direction: row;
    align-items: flex-end;
  }

  .step-1,
  .step-2,
  .step-3,
  .step-4 {
    height: fit-content;
    min-width: 100vw;

    padding: 3rem 0;
    gap: 2rem;

    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-right: none;
  }

  .step-4-final {
    justify-content: flex-end;
  }

  .step-1-active {
    transform: translateX(-100vw);
  }

  .step-2-active {
    transform: translateX(-200vw);
  }

  .step-3-active {
    transform: translateX(-300vw);
  }

  .header {
    width: 90vw;
    padding-bottom: 0;
  }

  .heading-top,
  .heading-bottom {
    font-size: 4em;
    font-weight: 900;
    /* line-height: 1em; */
    /* letter-spacing: 0.04em; */
    color: rgba(255, 255, 255, 0.8);
    /* text-shadow: 0px 0px 2px #cecece; */
  }

  .heading-top {
    margin: 0;
  }

  .flex-br {
    display: none;
  }

  .main-content {
    width: 90vw;
  }

  .header-final,
  .main-content-final {
    flex-grow: unset;
  }

  .content-heading {
    font-size: 1.3rem;
    text-indent: 0;
  }

  .content-text {
    font-size: 1.6rem;
  }

  .users-number {
    padding: 0.6rem;
  }
}

@media only screen and (max-width: 1000px) and (max-height: 400px) and (orientation: landscape) {
  .step-1,
  .step-2,
  .step-3,
  .step-4 {
    height: 100vh;
  }
}
