@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Bai Jamjuree", sans-serif;
    color: #fefefe;
}

body{
    background: #111;
    background-image: url('/nnnoise.svg');
    background-repeat: repeat;
    background-size: auto auto;
}

header{
    width: 100%;
    height: 4rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    position: absolute;
    background: #000e;
    z-index: 10;
    top: 0;
    box-shadow: 0 2rem 3rem #000;
}

.logo img{
    filter: invert(1);
    height: 5rem;
}

.headerGap{
    width: 7.82rem;
}

.logo{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 3rem;
}

.nav{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    list-style-type: none;
}
.nav a{
    text-decoration: none;
    color: #fefefe;
    font-size: 1.25rem;
}

section{
    margin: 2rem auto 0;
    max-width: 800px;
}

footer{
    margin-bottom: 2rem;
}

h2{
    text-align: center;
}

.primary-btn{
    background: #E60000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: large;
    border-radius: 0.3rem;
    margin: 1rem auto;
    transition: 200ms;
    cursor: pointer;
}

.primary-btn:hover{
    color: #ddd;
    background: #f11b;
    box-shadow: 0 0 1rem #f22;
}

.socials img{
    height: 100%;
    flex: 1;
    border-radius: 0.2rem;
}
.socials a{
    height: 100%;
}
.socials a svg{
    fill: #fefefe !important;
    height: 100%;
    aspect-ratio: 1/1;
    width: auto;
}
.socials{
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    max-width: 300px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0a0a0ac4, #222323c4);
    padding: 0.5rem;
    border: 1px solid #d0d1d05b;
    margin: 1rem auto 3rem;
}

.listenon{
    margin: 2rem auto;
}


.first{
    margin-top: 9rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  width: fit-content;
  cursor: pointer;
  position: relative;
  z-index: 10;
  margin-right: 1rem;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: rgb(124, 8, 8);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

nav{
    width: 100%;
}

/* hamburger mobile */
@media (max-width: 768px) {
    .logo.nav-open{
        z-index: 20;
        position: fixed;
        filter: drop-shadow(0.1rem 0.1rem 1rem #111);
    }

    .hamburger{
    display: flex;
    padding: 1.4rem;
    }

    .mobile-logo{
    display: block;
    }

    .nav{
    display: flex;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    height: 100dvh;
    background: linear-gradient(135deg, #111, #333);
    transform: translateY(-100%);
    overflow: hidden;
    pointer-events: none;
    }

  

    nav.nav-open{
        height: 100dvh;
        position: fixed;
        top: 0;
    }

    nav.nav-open ul {
    visibility: visible;
    max-height: 100vh; 
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    justify-content: space-evenly;
    padding-top: 5rem;
    }

    .headerGap{
        display: none;
    }

    nav.nav-open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    }
    nav.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
    }
    nav.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    }
}
