@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');


header
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    top: 0;
    position: relative;  
    z-index: 999;
    /*box-shadow: 0 10 20 rgba(0, 0, 0, 0.1);*/
    
    backdrop-filter: blur(10px);
    font-family: 'Rubik', sans-serif;
}

.navbar
{
    background-color: white;
    display: flex;
    width: 100%;
    max-width: 1600px;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    /*border: 2px solid rgb(242, 142, 44);*/
    border: 2px solid transparent;
    box-shadow: 0 16px 70px -8px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 20px 20px;
}

.logo
{
    display: flex;
    color: rgb(49,42,69);
    font-size: 1.1rem;
    font-weight: 700px;
    text-decoration: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.logo img
{
    width: 70px;
    height: 70px;
}

.navbar_menu
{
    display: flex;
    text-align: center;
    gap: 1.5rem;
    list-style: none;
}

.navbar_menu li a
{
    font-size: 0.8rem;
    font-weight: 700px;
    color:rgb(49,42,69);
    text-decoration: none;
    padding: 3px 5px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.7s ease;
    white-space: nowrap;
}

.navbar_menu li a:hover
{
    color: #162532;
    background: rgba(242, 142, 44, 0.8);
    border: 2px solid white;
}

.navbar_menu.active
{
    display: flex;
}

.toggle
{
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.bar
{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: rgb(49,42,69);
    transition: all 0.3S ease-in-out;
}

@media screen and (max-width: 1020px)
{
    header
    {
        backdrop-filter: none;
    }

    .navbar_menu
    {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem !important;
        position: absolute;
        height: 100vh;
        width: 300px;
        top: 0;
        right: 0;
        padding: 5rem 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }


    .toggle
    {
        display: block;
        z-index: 999;
    }

    .toggle.active .bar:nth-child(2)
    {
        opacity: 0;
    }

    .toggle.active .bar:nth-child(1)
    {
        transform: translateY(8px) rotate(45deg);
    }

    .toggle.active .bar:nth-child(3)
    {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media screen and (max-width: 880px)
{
    .navbar
    {
        padding: 0 1rem;
    }

    .logo
    {
        font-size: 1.1rem;
    }

    .navbar_menu li a
    {
        font-size: 1.2rem;
        padding: 3px 15px;
    }
}

@media screen and (max-width: 500px)
{
    .logo
    {
        font-size: 0.8rem;
        font-weight: 600;
    }
}