@font-face {
    font-family: "KG Second Chances Sketch";
    src: url("/fonts/kg_second_chances/KGSecondChancesSketch.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "KG Second Chances Solid";
    src: url("/fonts/kg_second_chances/KGSecondChancesSolid.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

body, html {
    overflow-x: hidden !important;
    margin: 0 !important;
    cursor: url("/media/cursor2x-72.png") 18 18, auto;
}

/* Navbar styles */
.navbar {
    background-color: transparent;
    color: #FBDE9C;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    padding: 8px 28px;
    margin: 8px 16px 0;
    width: calc(100% - 32px);
    box-sizing: border-box;
    border-radius: 14px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.logo a {
    text-decoration: none;
    font-family: "KG Second Chances Solid", Arial, sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #FBDE9C;
}

/* Navbar Links */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 60px;
    font-size: 36px;
    transition: all 0.3s ease; /* Smooth transition */
}

/* Links Styling */
.nav-links a {
    text-decoration: none;
    color: #FBDE9C;
    font-family: "KG Second Chances Sketch", Arial, sans-serif;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a.is-active,
.logo a.is-active {
    font-family: "KG Second Chances Solid", Arial, sans-serif;
}

.nav-links a:hover {
    color: #fff; /* Change link color on hover */
}

/* Burger Menu Button */
.burger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    color: #FBDE9C;
}

a,
button,
.burger {
    cursor: url("/media/cursor2x-72.png") 18 18, pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease; /* Smooth animation for lines */
}

/* Burger Animation */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0; /* Hide the middle line */
}

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

/* Responsive Navbar */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }

    .burger {
        display: flex; /* Show burger menu button on mobile */
        position: relative;
        z-index: 60;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        left: 0;
        width: min(70vw, 360px);
        height: 100vh;
        margin: 0;
        padding: 88px 22px 24px;
        box-sizing: border-box;
        gap: 16px;
        background-color: #080a18;
        border-right: 1px solid rgba(251, 222, 156, 0.35);
        transform: translateX(-104%);
        transition: transform 0.28s ease;
        z-index: 50;
    }

    .nav-links.mobile {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 24px;
        text-align: left;
    }

    .navbar {
        margin: 6px 10px 0;
        width: calc(100% - 20px);
        padding: 8px 14px;
        top: 0;
    }
}

