* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

body {
    background-color: rgb(15, 15, 15);
    padding: 0 8%;
    overscroll-behavior: none;
    overflow: hidden;
}

header a {
    text-decoration: none;
}
  
header {
    padding: 0 20px;
    background-color: #1d1f1d;
    margin-top: 20px;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

canvas {
    display: block;
    vertical-align: bottom;
}

nav {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    width: 200px;
    margin-top: 5px;
}

ul {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-left: auto;
}

ul a {
    color: white;
}
  
ul li {
    padding: 20px;
    margin-left: 10px;
}

ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    transition: width 0.3s;
}

ul li a:hover::after {
    width: 95%;
}

ul li a {
    color: #fff;
    text-decoration: none;
    position: relative;
}

.text-box {
    color: #fff;
    position: absolute;
    bottom: 10%;
}

.text-box p {
    font-size: 60px;
    font-weight: 600;
}

.text-box h1 {
    font-size: 200px;
    line-height: 160px;
    margin-left: -10px;
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    background: url(textsweep.png);
    -webkit-background-clip: text;
    background-position: 0 0; /* Start position */
    animation: backtext 10s linear infinite;
}

@keyframes backtext {
    0% {
        background-position: 0 0; /* Start position */
    }
    50% {
        background-position: 100% 0; /* End position */
    }
    100% {
        background-position: 0 0; /* Start position */
    }
}


.text-box h3 {
    font-size: 40px;
    font-weight: 500;
}

.text-box .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.text-box a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    margin-right: 20px;
    border: 2px solid #fff;
    transition: color 0.3s, background-color 0.3s;
}

.text-box a:hover {
    background-color: #fff; 
    color: #000; 
}

#hamburger-icon {
    margin: auto 0;
    display: none;
    cursor: pointer;
  }
  
  #hamburger-icon div {
    width: 35px;
    height: 4px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
  }

  .open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
  }
  
  .open .bar2 {
    opacity: 0;
  }
  
  .open .bar3 {
    -webkit-transform: rotate(45deg) transl ate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
  }

  .open .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    height: calc(100vh - 50px);
    width: 100%;
    background-color: #1d1f1d;
    border-bottom-left-radius: 10px; /* Adjust the radius as needed */
    border-bottom-right-radius: 10px;
    width: calc(100% - (2 * 8%));
    height: 300px;
    margin: 0 8%;
    z-index: 5;
  }

  .mobile-menu li {
    margin-top: 30px;
  }

/* Mobile */
@media only screen and (max-width: 1000px) {
    
    header nav{
        display: none;
    }

    nav ul {
        text-align: center; 
        padding-right: 0; 
    }

    nav ul li {
        display: block; 
        margin: 10px 0; 
    }

    .text-box {
        text-align: center; 
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .text-box p {
        font-size: 5vh;
        margin-bottom: -4vh;
        margin-left: 1.5vw;
    }

    .text-box h1 {
        font-size: 10vh;
        margin-left: 0.2vw;
    }

    .text-box h3 {
        font-size: 2.5vh;
        margin-top: -4vh;

    }

    .text-box .row {
        display: block;
        text-align: center; 
    }
    .text-box .row > * {
        margin: 0 auto; 
    }

    #hamburger-icon {
        display: block;
    }

    .logo {
        margin-left: -8px;
    }

    #myAudio {
        display: none;
    }

}
