@import url('https://fonts.googleapis.com/css2?family=Jolly+Lodger&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: "mont";
    src: url('/public/font/Mont-HeavyDEMO_1.woff');
}

* {
    font-family: "mont";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.icon {
    display: inline-block;
    transition: transform 0.5s;
}

.icon-container:hover .icon {
    transform: rotate(360deg);
}


#language-switcher a {
    margin-right: 6px; 
}

#language-switcher a:last-child {
    margin-right: 0; 
}


#navbar {
    display: flex;
    background-color: rgb(18, 15, 20);
    width: 100%;
    height: 60px;
    text-align: center;
    align-items: center;
    justify-content: center;
    position: relative;
}

#navid {
    margin-left: 30px;
    display: flex;
    color: white;
    gap: 45px;
    font-size: 12px;
    height: 25px;
}

#language-switcher {
    position: fixed;
    right: 15px;
    bottom: 30px;
    z-index: 1000;
    background-color: aliceblue;
    width: 90px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
}

#language-switcher img {
    height: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease; 
}

#language-switcher img.hidden {
    opacity: 0;
    height: 20px;
    pointer-events: none;
}


h3 {
    position: relative;
    color: white;
    cursor: pointer;
}

h3 a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

h3 a i {
    margin-right: 8px; 
    font-weight: 1000px;
}

h3::after {
    content: '';
    position: absolute;
    bottom: -9px; 
    left: 0;
    width: 0;
    height: 4px; 
    background-color: rgb(116, 41, 255);
    transition: width 0.5s ease;
}

h3:hover::after {
    width: 100%;
}

::-webkit-scrollbar {
    width: 12px; 
    background-color: black;
}

::-webkit-scrollbar-thumb {
    background-color: #4f12df; 
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #4f12df; 
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 28px; 
    color: white;
    font-weight: 1000;
}

.mobile-navbar {
    bottom: 0;
    width: 100%;
    z-index: 999;
    display: none;
    row-gap: .64rem;
    position: fixed;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.navbar-button {
    margin: 0;
    top: auto;
    border: none;
    outline: none;
    display: flex;
    width: 2.64rem;
    color: white;
    font-size: 24px;
    padding: .52rem;
    height: 2.64rem;
    align-items: center;
    border-radius: 100%;
    justify-content: center;
    background-color: rgba(116, 41, 255);
}

.navbar-button:hover {
    background-color: rgba(116, 41, 255, 0.8);
}

.mobile-content-navbar {
    width: 100%;
    height: 85px;
    display: flex;
    padding: 0 1rem;
    column-gap: 2rem;
    align-items: center;
    justify-content: space-around;
    background-color: rgb(18, 15, 20);
}

.mobile-navbar h3 a {
    display: flex;
    row-gap: .32rem;
    font-size: 14px;
    font-weight: 500;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-transform: capitalize;
    font-family: "Poppins", serif;
}

.mobile-navbar h3 a i {
    margin: 0;
    font-size: 16px;
}

.mobile-navbar-container {
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    z-index: 100;
    display: none;
    row-gap: 1rem;
    position: fixed;
    overflow: hidden;
    flex-direction: column;
    transform-origin: bottom;
    transition: all .5s ease-in-out;
    background-color: rgb(41, 12, 94);
}

.mobile-navbar-container.active {
    height: 100%;
    padding: 2rem 1rem;
}

.mobile-navbar-container h3 a {
    padding: 1rem;
}

.mobile-navbar h3::after {
    display: none;
}

.mobile-navbar-container h3::after {
    display: none;
}

.mobile-navbar-icon {
    display: none !important;
}

.mobile-navbar-icon.active {
    display: inline-block !important;
}

@media screen and (max-width: 1200px) {
    #navbar {
        display: none;
    }

    body {
        padding-bottom: 160px;
    }

    .mobile-navbar {
        display: flex;
    }

    .mobile-navbar-container {
        display: flex;
    }
    
}

@media screen and (max-width: 613px){

    .menu-icon {
        margin-right: 20px;
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .mobile-navbar {
        column-gap: 0;
    }
}