@import url('font.css');

* {
    font-family: CG, sans-serif;
}

.logo-top-left {
    position: fixed;
    top: 60px;
    left: 100px;
    z-index: 2050;

}

.header1 {
    position: sticky;
    z-index: 1500;
}

.logo-top-left img {
    max-width: 12vw;
    height: auto;
    width: 70%;
}

@media (max-width: 765px) {
    .logo-top-left {
        position: fixed;
        top: 25px;
        left: 20px;
    }

    .logo-top-left img {
        max-width: 120px;
    }
}

.mobile-drawer {
    display: none;
}

@media (max-width: 768px) {

    .hamburger {
        position: fixed;
        top: 45px;
        right: 22px;
        width: 36px;
        height: 22px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        z-index: 1002;
        transition: all 0.3s ease-in-out;
    }

    .hamburger span {
        height: 2px;
        background: rgb(255, 255, 255);
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }


    .mobile-drawer {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 180px;
        padding-left: 10px;
        transform: translateX(100%);
        transition: transform 0.4s ease-out;
        z-index: 1000;
    }

    .mobile-drawer.open {
        transform: translateX(0%);
    }

    .drawer-content {
        text-align: left;
        color: white;
        padding: 20px;
    }

    .drawer-nav a {
        display: block;
        font-size: 18px;
        color: white;
        text-decoration: none;
        margin: 15px 0;
        opacity: 0;
        transform: translateX(-30px);
        animation: slideWave 0.6s ease forwards;
    }

    .drawer-nav a:nth-child(1) {
        animation-delay: 0.3s;
    }

    .drawer-nav a:nth-child(2) {
        animation-delay: 0.4s;
    }

    .drawer-nav a:nth-child(3) {
        animation-delay: 0.5s;
    }

    .drawer-nav a:nth-child(4) {
        animation-delay: 0.6s;
    }

    .drawer-nav a:nth-child(5) {
        animation-delay: 0.7s;
    }

    .drawer-nav a:nth-child(6) {
        animation-delay: 0.8s;
    }

    .drawer-nav a:hover {
        text-decoration: underline;
    }

    @keyframes slideWave {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

}