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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background: #000;
}

canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: -10 !important;
    width: 100vw !important;
    height: 100vh !important;
}

 /* NAV */

 .kaneki {
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
}

nav {
  width: 100%;
  padding: 2em;
  display: flex;
  align-items: center; 
  z-index: 10 !important; 
  position: absolute;
  top: 0;
}

#navbar {
  display: flex;
  align-items: center;
}

a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  font-family: "Bebas Neue", sans-serif;
}

a:hover  {
color: pink !important;
}

i:hover {
color: pink !important;
}

nav > div {
  flex: 1;
  font-size: 1.5em;
}

.links {
  display: flex;
  justify-content: flex-end;
  align-items: center; /* Added to vertically center the nav links */
  gap: 5em;
}

  /* NAV */

.contact-container {
    width: 100%;
    min-height: 100vh; /* Changed from 100% to 100vh */
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    background: transparent; /* Changed from #000 to transparent */
    z-index: 1;
    position: relative;
}

.contactHeader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh; 
  overflow: hidden;
}

.contact-button {
    display: flex;
    text-align: center;
    font-size: 3em;
    margin-left: 2.5vw;
    margin-right: 2.5vw;
}

.button-container {
    display: flex;
    justify-content: center;
}

.contactPlaceholder {
    text-align: center;
    font-family: "Rubik Glitch", system-ui;
    font-size: 5em;
    color: #fff;
    line-height: 2.25;
}

.pre-loader {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  
  .loader {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .loader-content {
    width: 100% !important;
    min-height: 100vh;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: #000;
  }

  .loader-text {
    font-size: 5em;
  }

  .count {
    text-align: right;
    line-height: 1;
    padding: 0 1em;
    font-family: "Bebas Neue", sans-serif;
  }

  .copy {
    font-family: "Rubik Glitch", system-ui;
    font-size: 1.563em;
    text-transform: uppercase;
    line-height: 1;
  }

  .ml16 {
    overflow: hidden;
  }

  .ml16 .letter {
    display: inline-block;
    line-height: 1em;
    font-size: 2em;
  }

  .loader-bg {
    position: absolute;
    display: block;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: pink;
    z-index: -1;
  }

  /* MEDIA QUERIES */

  @media screen and (min-width: 901px) {

    .loader-2-mobile {
      display: none;
    }

  }

  @media screen and (max-width: 900px) {

    body {
      overflow: hidden;
    }

  .contactPlaceholder {
    text-align: center;
    font-family: "Rubik Glitch", system-ui;
    font-size: 3em;
    color: #fff;
    line-height: 2.25;
  }

    /* LOADER */

    .loader {
      z-index: 10;
    }

  .loader-content {
    width: 100% !important;
    min-height: 100vh;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: #000;
  }

  .loader-text {
    font-size: 5em;
  }

  .count {
    text-align: right;
    line-height: 1;
    padding: 0 1em;
    font-family: "Bebas Neue", sans-serif;
  }

  .copy {
    font-family: "Rubik Glitch", system-ui;
    font-size: 1em;
    text-transform: uppercase;
    line-height: 1;
  }

    /* LOADER END */

         /* MOBILE NAV */

      .logo {
        width: 1em;
        height: 1em;
        border-radius: 50%;
        position: absolute;
        left: 5%; 
        top: 40%;
      }

        .kaneki {
          width: 1.5em;
          height: 1.5em;
          border-radius: 50%;
        }
        
        nav {
          width: 100%;
          padding: 2em;
          display: flex;
          z-index: 10 !important; /* Changed from -2 to 10 */
          flex-direction: column; 
          align-items: flex-end; 
          right: 0; 
          top: 0; 
        }
        
        a {
          text-decoration: none;
          cursor: pointer;
        }
        
        a:hover {
          color: #000 !important;
        }
        
        i:hover {
          color: pink !important;
        }
        
        nav > div {
          font-size: 1.5em;
        }
        
        .links {
          display: flex;
          flex-direction: column;
          gap: 1em;
        }
    
        .primary-navigation {
          position: fixed;
          top: 0;
          right: 0;
          height: 100vh;
          width: 40%;
          background: pink;
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: flex-start;
          padding: min(3rem) 2rem;
          z-index: 8;
          transform: translateX(100%);
          transition: transform 350ms ease-out;
      }
    
      .primary-navigation[data-visible="true"] {
          transform: translateX(0%);
      }
    
      .primary-navigation a {
          color: #fff;
      }
    
      .menu-btn {
          position: absolute;
          right: 2%; 
          top: 2%;
          z-index: 9999;
          padding-right: 20px;
          display: flex;
          justify-content: center;
          align-items: center;
          width: 40px;
          height: 40px;
          cursor: pointer;
          transition: all .5s ease-in-out;
      }
    
      .menu-btn_burger {
          width: 25px;
          height: 3px;
          background:#fff;
          border-radius: 2.5px;
          transition: all .5s ease-in-out;
      }
    
      .menu-btn_burger::before,
      .menu-btn_burger::after {
          content: '';
          position: absolute;
          width: 25px;
          height: 3px;
          border-radius: 2.5px;
          transition: all .5s ease-in-out;
      }
    
      .menu-btn_burger::before {
          transform: translateY(-8px);
          background:#fff;
      }
    
      .menu-btn_burger::after {
          transform: translateY(8px);
          background:#fff;
      }

      .contact-button {
        display: flex;
        text-align: center;
        font-size: 2em;
        margin-left: 5vw;
        margin-right: 5vw;
    }
    
      /* ANIMATION */
      .menu-btn.open .menu-btn_burger {
          transform: translateX(-50px);
          background: transparent;
          box-shadow: none;
      }
    
      .menu-btn.open .menu-btn_burger::before {
          transform: rotate(45deg) translate(35px, -35px);
      }
    
      .menu-btn.open .menu-btn_burger::after {
          transform: rotate(-45deg) translate(35px, 35px);
      }
    
  }