@font-face {
  font-family: 'PPPangramSans';
  font-weight: 500;
  src: local(PP Pangram Sans), url('/PPPangramSans-CompactMedium.otf') format('opentype');
}

@font-face {
  font-family: 'PPPangramSans';
  font-weight: 600;
  src: url('/PPPangramSans-CompactSemibold.otf') format('opentype');
}

@font-face {
  font-family: 'PPPangramSans';
  font-weight: 800;
  src: url('/PPPangramSans-CompactExtrabold.otf') format('opentype');
}

:root {
  font-family: PPPangramSans, Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  color: #ffffff;
  background-color: #1B1C31;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: content-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  max-width: 870px;
  padding: 0 20px;
}

h1 {
  background: linear-gradient(179.49deg, #43FF91 1.69%, #43F4FF 99.57%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-style: normal;
  font-weight: 800;
  font-size: 48px;
  line-height: 48px;  

  letter-spacing: 0em;

  margin-top: 0px;
  margin-bottom: 16px;
}

h2 {
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 120%;
  /* or 43px */
  
  text-align: center;
}

@media (min-width: 640px) {
  h1 {
    font-size: 68px;
    line-height: 68px;  
  }
}

@media (min-width: 768px) {
  h2 {
    font-size: 64px;
  }
}

@media (min-width: 1024px) { 
  h1 {
    font-size: 100px;
    line-height: 100px;
  }

  h2 {
    font-size: 60px;
  }
}

.subtitle {
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 29px;
  letter-spacing: 0em;

  margin-bottom: 16px;
}

.description {
  font-weight: 500;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0em;

  color: #BDC7D9;
}

@media (min-width: 640px) {
  .description {
    font-size: 20px;
    line-height: 28px;
  }
}

.discord-icon {
  vertical-align: middle;
  margin-left: 12px;
}

.button {
  margin-top: 40px;

  padding: 12px 32px;
  color: #ffffff;
  background-color: #0057FF;

  border-radius: 20px;

  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

.button_mobile {
  display: flex;
  position: fixed;
  bottom: 32px;
  left: 20px;
  right: 20px;
}

.button_desktop {
  width: fit-content;
  display: none;
  margin-bottom: 24px;
}

@media (min-width: 640px) {
  .button_mobile {
    display: none;
  }

  .button_desktop {
    display: flex;
  }
}

/* countdown start */
.countdown-container {
  margin-bottom: 40px;
  display: flex;
  max-width: 100%;
  width: 100%;
  height: 94px;
  justify-content: space-between;
}

.countdown-container > *:not(:last-child) {
  margin-right: 4px;
}

.digit-block {
  flex-grow: 1;
  flex-basis: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  height: 94px;
  
  background: rgba(42, 43, 65, 0.8);
  border-radius: 18px;
}

.digit-number {
  font-style: normal;
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
}

.digit {
  background: linear-gradient(179.49deg, #43FF91 1.69%, #43F4FF 99.57%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  display: inline-block;
  width: 1ch;
}

.digit-unit {
  margin-top: 6px;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  color: #95A5C0;
}

@media (min-width: 640px) {
  .countdown-container {
    margin-bottom: 60px;
    height: 170px;
  }

  .countdown-container > *:not(:last-child) {
    margin-right: 8px;
  }

  .digit-block {
    height: 170px;
  }

  .digit-number {
    font-size: 80px;
  }

  .digit-unit {
    font-size: 20px;
    margin-top: 10px;
  }

}

@media (min-width: 1024px) {
  .countdown-container {
    margin-bottom: 80px;
  }

  .digit-block {
    height: 190px;
    height: 190px;
  }

  .digit-number {
    font-size: 100px;
  }

  .digit-unit {
    font-size: 20px;
  }
  
}

/* countdown end */