html, body {
  overflow-x: hidden;
}

/* * {
  outline: 1px solid red;
} */

mechanical-ragger {
  hyphens: auto;

  hyphens: manual;
}

body {
  padding: 0px 40px 0px 40px;
  background: #0d0f13;
  font-family: 'Vandale Grotesk', sans-serif;
}

@font-face {
    font-family: 'Vandale Grotesk';
    src: url('../fonts/VandaleGrotesk.woff2') format('woff2'),
         url('../fonts/VandaleGrotesk.woff') format('woff'),
         url('../fonts/VandaleGrotesk.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

img {
  max-width: 100%;
}

.active {
  display: block;
} 

.hidden {
  display: none;
}

.landing-page {
  display: block;
}

.grid-container-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 100%;
  color: white;
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1rem;
  user-select: none;
  background: transparent;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

#downloadBtn {
  background: transparent;
  color: red;
  border: none;
  cursor: pointer;
  grid-column: 6 / 7; 
}
#grid-item-01 {
  background: transparent;
  color: white;
  border: none;
  grid-column: 1 / 2;
}
#grid-item-02 {
  background: transparent;
  color: white;
  border: none;
  grid-column: 2 / 3;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
}
#grid-item-03 {
  background: transparent;
  color: white;
  border: none;
  grid-column: 3 / 4; 
}
#grid-item-04 {
  background: transparent;
  color: white;
  border: none;
  grid-column: 4 / 5;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
}
#grid-item-05 {
  background: transparent;
  color: white;
  border: none;
  grid-column: 5 / 6;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
}

img {
  position: relative;
  z-index: 0;
}

.grid-img {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  z-index: 0;
}

#img-02 {
  width: 90%;
  grid-column: 3 / 4;
}
#img-03 {
  width: 80%;
  grid-column: 1 / 3;
}
#img-04 {
  width: 50%;
  grid-column: 3 / 6;
}
#img-05 {
  width: 50%;
  grid-column: 1 / 3;
}
#img-06 {
  width: 50%;
  grid-column: 3 / 6;
}
#img-07 {
  width: 50%;
  grid-column: 1 / 4;
}
#img-08 {
  width: 50%;
  grid-column: 2 / 4;
}
#img-09 {
  width: 50%;
  grid-column: 3 / 5;
}

.grid-container-specimen-01 {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-rows: 250px;
  gap: 0px;
  z-index: 0;
}

#s1 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: -30deg;
  user-select: none;
}
#s2 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 0deg;
  user-select: none;
}
#s3 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 30deg;
  user-select: none;
}
#s4 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 60deg;
  user-select: none;
}
#s5 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 60deg;
  user-select: none;
}
#s6 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 30deg;
  user-select: none;
}
#s7 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 0deg;
  user-select: none;
}
#s8 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: -30deg;
  user-select: none;
}
#s9 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: -30deg;
  user-select: none;
}
#s10 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 0deg;
  user-select: none;
}
#s11 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 30deg;
  user-select: none;
}
#s12 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 60deg;
  user-select: none;
}
#s13 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 60deg;
  user-select: none;
}
#s14 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 30deg;
  user-select: none;
}
#s15 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: 0deg;
  user-select: none;
}
#s16 {
  color: white;
  justify-items: center;
  align-items: center;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 2rem;
  rotate: -30deg;
  user-select: none;
}

#h1 {
  margin-top: 110px;
  margin-bottom: 60px;
  color: white;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 16rem;
  line-height: 16.5rem;
  user-select: none;
  z-index: 10;
}

#h2 {
  margin-top: 0px;
  margin-bottom: 80px;
  color: white;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 6rem;
  line-height: 7.5rem;
  user-select: none;
  z-index: 10;
}

.grid-text-01 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  --ragging-width: 3rem;
  gap: 100px;
  z-index: 10;
}

.grid-text-item {
  color: white;

  grid-column: 2 / 4;
  max-width: 60ch;

  font-size: 1.25rem;
  line-height: 1.6;

  text-align: left;
  hyphens: auto;

  rotate: -20deg;
}

.grid-text-item-02 {
  color: white;

  grid-column: 4 / 6;
  max-width: 60ch;

  font-size: 1.25rem;
  line-height: 1.6;

  text-align: left;
  hyphens: auto;

  rotate: -20deg;
}

.grid-container-specimen-02 {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-rows: 250px;
  gap: 0px;
}

.grid-item {
  justify-items: center;
  align-items: center;
  color: white;
  font-family: 'Vandale Grotesk', sans-serif;
  font-size: 8rem;
  user-select: none;
}

.footer {
  justify-items: center;
  align-items: center;
  color: white;
  font-family: sans-serif;
  font-size: 1rem;
  user-select: none;
  padding: 100px 0px 40px 0px;
}

#landing-page {
  padding: 30px;
}

@media screen and (max-width: 480px) {
  body {
    padding: 0px 15px 100px 15px;
  }

  .grid-container-nav {
    display: none;
  }

  #grid-item-01 {
    display: none;
  }

  #grid-item-02 {
    grid-column: 2 / 3;
    font-size: 1.2rem;
  }

  #grid-item-03 {
    display: none;
  }

  #grid-item-04 {
    display: none;
  }

  #grid-item-05 {
    display: none;
  }

  #downloadBtn {
    display: none;
  }

  .download-container {
    display: block;
    text-align: center;
    padding: 60px 0 40px 0;
  }

  #downloadBtnBottom {
    font-size: 1rem;
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    text-align: center;
    background: transparent;
    font-weight: bold;
    color: red;
    cursor: pointer;
  }

  #h1 {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 22vw;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
  }

  #h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    line-height: 2.8rem;
  }

  .grid-img {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  #img-02, #img-03, #img-04, #img-05, #img-06,
  #img-07, #img-08, #img-09 {
    width: 100%;
    grid-column: 1 / 2;
  }

  .grid-container-specimen-01 {
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
  }

  #s1, #s2, #s3, #s4, #s5, #s6, #s7, #s8,
  #s9, #s10, #s11, #s12, #s13, #s14, #s15, #s16 {
    font-size: 1.2rem;
  }

  .grid-text-01 {
    grid-template-columns: 1fr;
    gap: 30px;
    --ragging-width: 1.5rem;
  }

  .grid-text-item {
    grid-column: 1 / 2;
    max-width: 100%;
    rotate: 0deg;
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .grid-text-item-02 {
    grid-column: 1 / 2;
    max-width: 100%;
    rotate: 0deg;
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .grid-container-specimen-02 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-rows: 120px;
  }

  .grid-item {
    font-size: 4rem;
  }

  .footer {
    padding: 40px 0px 20px 0px;
    font-size: 0.85rem;
  }

  mechanical-ragger {
    --ragging-width: 1.5rem;
  }
}

@media screen and (max-width: 360px) {
  body {
    padding: 0px 10px 0px 10px;
  }

  .grid-container-nav {
    padding: 6px 10px;
  }

  #grid-item-01 {
    font-size: 0.75rem;
  }

  #grid-item-02 {
    font-size: 1rem;
  }

  #downloadBtn {
    font-size: 0.75rem;
    padding: 8px;
  }

  #h1 {
    margin-top: 20px;
    margin-bottom: 40px;
    font-size: 20vw;
    line-height: 1.1;
    word-break: keep-all;
    overflow-wrap: normal;
    white-space: normal;
  }

  #h2 {
    margin-bottom: 30px;
    font-size: 1.6rem;
    line-height: 2.1rem;
  }

  .grid-container-specimen-01 {
    grid-auto-rows: 100px;
  }

  #s1, #s2, #s3, #s4, #s5, #s6, #s7, #s8,
  #s9, #s10, #s11, #s12, #s13, #s14, #s15, #s16 {
    font-size: 1rem;
  }

  .grid-container-specimen-02 {
    grid-auto-rows: 100px;
  }

  .grid-item {
    font-size: 3rem;
  }

  .grid-text-item,
  .grid-text-item-02 {
    font-size: 1rem;
  }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
  #h1 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 4rem;
    line-height: 4.5rem;
  }

  #h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    line-height: 2.5rem;
  }

  .grid-container-specimen-01 {
    grid-auto-rows: 100px;
  }

  .grid-container-specimen-02 {
    grid-auto-rows: 100px;
  }
}

 /* touch */

@media (hover: none) and (pointer: coarse) {

  #downloadBtn {
    min-height: 44px;
    min-width: 44px;
  }

  .grid-container-nav button {
    min-height: 44px;
    min-width: 44px;
  }

  .grid-item {
    cursor: default;
  }
}

@supports (padding: max(0px)) {
  @media screen and (max-width: 768px) {
    body {
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }

    .grid-container-nav {
      left: max(8px, env(safe-area-inset-left));
      right: max(8px, env(safe-area-inset-right));
    }
  }

  @media screen and (max-width: 480px) {
    body {
      padding-left: max(15px, env(safe-area-inset-left));
      padding-right: max(15px, env(safe-area-inset-right));
    }

    .grid-container-nav {
      left: max(8px, env(safe-area-inset-left));
      right: max(8px, env(safe-area-inset-right));
    }
  }
}