* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Super Sedan';
  src: url('./fonts/Super Sedan.ttf');
}

@font-face {
  font-family: 'Riffic';
  src: url('./fonts/RifficFree-Bold.ttf');
}

html {
  background: radial-gradient(50% 50% at 50% 50%, #4111a8 0%, #1c0749 100%);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-image: url('./icons/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  justify-content: center;
  min-height: 100vh;
  position: relative;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior: none;
  padding-bottom: 40px;
}

body::-webkit-scrollbar {
  display: none;
}

.main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  flex-grow: 1;
  max-width: 2000px;
  padding: 30px 15px 0;
  color: #ffffff;
  font-family: 'Montserrat', 'Helvetica';
}

.section {
  display: flex;
  width: 100%;
  align-items: center;
  flex-direction: column;
  padding: 15px;
}

.logo,
.logoMain {
  height: 80px;
  max-width: 350px;
  margin-bottom: 40px;
}

.logoMain {
  display: none;
  margin-bottom: 0;
}

.title {
  font-family: 'Super Sedan';
  font-size: 70px;
  color: #ffc42e;
  text-align: center;
}

.description {
  font-weight: 400;
  font-size: 18px;
  line-height: 20px;
  margin: 10px;
  font-family: 'Montserrat';

  width: 100%;
  max-width: 550px;
  text-align: center;
}

.timer {
  display: flex;
  align-items: center;
  border-radius: 16px;
  padding: 14px 16px;
  background: #ffffff1a;
  margin: 30px 0;
}

.timerItem {
  width: 85px;
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  border-right: 1px solid #838791;
}

.days,
.hours,
.minutes,
.seconds {
  font-weight: 700;
  font-size: 48px;
  margin: 0;
  font-family: 'Riffic';
}

.timerPoint {
  font-weight: 400;
  font-size: 13px;
  color: #838791;
  margin: 0;
  text-transform: uppercase;
}
.timerItem:nth-last-of-type(1) {
  border-right: none;
}

.warning {
  font-size: 16px;
  font-weight: 400;
  margin: 10px 0 0;
  text-align: center;
  font-family: 'Super Sedan';
}

.copyright {
  font-weight: 400;
  font-size: 13px;
  text-align: center;
  font-family: 'Montserrat';
  width: 100%;
  color: #ffffff;
}

.message {
  height: 20px;
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
}

.message.error {
  color: red;
}
.message.success {
  color: green;
}

.videoWrap {
  display: flex;
  width: 90%;
  height: 450px;
  position: relative;
  flex-direction: column;
}
.hideVideo {
  position: absolute;
  top: 0;
  left: 0;
  background: url('./icons/screen-bg.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
}
.hideVideo.hidden {
  display: none;
}

#playButton {
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
}
#playButton img {
  display: inline-block;
  width: 120px;
}

.watch {
  position: absolute;
  top: -8%;
  right: -8%;
  width: 20%;
}
.watch.hidden {
  display: none;
}

.creatures {
  display: inline-block;
  width: 80%;
  margin-top: -90px;
  z-index: 2;
}

@media (max-width: 1600px) {
  .videoWrap {
    width: 80%;
    height: 360px;
  }
  .creatures {
    width: 70%;
  }
  .logo,
  .logoMain {
    height: 60px;
    max-width: 350px;
  }
  .title {
    font-size: 64px;
  }

  .description {
    font-size: 14px;

    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 1024px) {
  .main {
    flex-direction: column;
  }
  .section {
    padding: 0;
  }
  .videoWrap {
    margin-top: 20px;
    width: 90%;
  }
  .creatures {
    width: 90%;
  }
  .logo {
    display: none;
  }
  .logoMain {
    display: block;
    margin: 0 auto;
    height: 35px;
  }
  .title {
    margin: 30px 15px;
  }
  .message {
    margin-top: 15px;
  }
  .warning {
    margin-bottom: 15px;
  }
}

@media (max-width: 640px) {
  .main {
    padding: 15px;
  }
  .timerItem {
    width: 65px;
    height: 55px;
    display: flex;
    border-right: 1px solid #838791;
  }

  .days,
  .hours,
  .minutes,
  .seconds {
    font-size: 32px;
  }
  .timerPoint {
    font-size: 11px;
  }
}
