:root {
    --nav-bg-color: #f8f9fa;
    /* Off-white */
    --nav-text-color: #333;
    --nav-hover-color: #ffcc00;
    /* Highlight color */

    --font-header: "Playwrite GB S", cursive;



    --nav-hover-border-color: #ffa500;
    /* Border color on hover */
}

.bg-nav {
    /* background: #000; */
    position: sticky;
}

.navbar {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    background-color: var(--nav-bg-color);
    padding: 12px 24px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 75px;
    z-index: 1000000;
    transition: all 1s ease;
    background: rgba(255, 255, 255, 0.2);
    /* border-radius: 16px; */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);



    background-color: #0000;
    /* border-bottom: #25D366; */




}

.scrolling {
    border-radius: 0 0 40% 40%;
    /* border-radius: 0 0 50% 20%  ; */
    transition: all 1.5s ease-in-out;
    border-bottom: 6px solid rgba(255, 255, 255, 0.3);

}

.logo-box {
    text-align: center;
    /* Center align logo and description */
}



.logo img {
    max-width: 120px;
    /* display: none; */
}

.nav-links {
    position: absolute;
    left: 50%;
    height: 100%;
    width: 100%;
    transform: translate(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    list-style: none;
    /* padding: 0 90px 0 60px; */
}


.nav-links li {
    /* margin-left: 20px; */
    position: relative;
    height: 75%;

    /* border: 2px solid black; */
    transition: all 0.5s ease;
    /* border: 50px 0; */


    border-radius: 20% 35% 85% 55%;
    cursor: none;

}


.nav-links a {
    display: flex;
    text-decoration: none;
    color: var(--nav-text-color);
    color: #870b0b;
    color: orange;
    font-size: 1rem;
    height: 100%;
    font-family:"Bona Nova SC", serif;
    /* width: 8rem; */
    align-items: center;
    font-weight: 800;
    padding: 8px 12px;
    transition: color 0.3s ease;
    /* transition: all 1s ease; */
    position: relative;
    z-index: 1;
    cursor: none;
    text-transform: uppercase;
}


.nav-links li:hover {
    
    background: linear-gradient(90deg, #ffa500, #ffcc00);

    background: rgba(0, 0, 0, 0.63);
    background: #9b52fc;
    background: #FFA500;

    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.8px);
    -webkit-backdrop-filter: blur(12.8px);
    border-radius: 85% 55% 20% 35%;

    color: #ffffff;
}


.n-active {
    background: linear-gradient(90deg, #ffa500, #ffcc00);
    /* transform: translateY(-5px); */
    /* From https://css.glass */
    /* From https://css.glass */
    /* From https://css.glass */
    background: #9b52fc;

    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12.8px);
    -webkit-backdrop-filter: blur(12.8px);
    border-radius: 85% 55% 20% 35%;

    color: #fff;
}

.n-active a {
    color: #fff;
}

.nav-links li:hover a {
    color: #fff;
}


.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* border: 2px solid var(--nav-hover-border-color); */
    z-index: -1;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.nav-links a:hover::before {
    transform: scale(1);
}


.hamburger {
    display: none;
    flex-direction: column;
    cursor: none;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}

.phone-navbar {

    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: end;
    flex-direction: column;
    width: 50vw;
    /* From https://css.glass */
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    /* border: 1px solid rgba(255, 255, 255, 0.3); */
    z-index: 100000000000;
    transition: all 0.2s linear;
    /* opacity: 0; */
    transform: translateX(-100%);
    /* display: none; */

}

.phone-navbar ul {
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.phone-navbar .nav-links {
    position: absolute;
    left: 50%;
    /* From https://css.glass */

    /* From https://css.glass */
    /* border-radius:0 10px 20px 50px; */
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); */

    /* border-right: 1.5px solid rgba(255, 255, 255, 0.3); */
}

.phone-navbar i {
    height: 100%;
    width: 100%;
    color: white;
    /* position: absolute; */
    /* top: 5%; */
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* right: 5%; */
}

#cancelbtn {
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2rem;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;


}


@media(max-width:850px) and (min-width:481px){
    .logo{
        position: relative;

    }
    .nav-links{
        position: relative;
        gap: 20px;
    }
    .nav-links a{
        font-size: 0.8rem;

    }
}












/* Responsive design for mobile */
@media (max-width: 768px) {
    .navbar>.nav-links {
        position: absolute;
        right: 0;
        top: 60px;
        height: 100vh;
        width: 100%;
        background-color: var(--nav-bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: none;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: flex;
    }

    .navbar.active .nav-links {
        display: flex;
    }
}

@media(max-width:480px) {
    .navbar {
        height: 8vh;
    }
    .nav-links li{
        height: 5%;
    }
    .nav-links{
        gap: 0;
        justify-content: start;
        margin: 10px;
    }
}