* {
    scroll-behavior: smooth;
}
.navbar {
    color: #fff;
    font-size: 18px;
    padding: 20px 0;
    position: fixed;
    top: 11px;
    left: 0;
    width: 100%;
    z-index: 9999;
    opacity: 0;
    animation: fade-in 2s ease-in forwards;
    transition: background-color 1s ease-in-out;
    -webkit-transition: background-color 1s ease-in-out;
}

.navbar-transparent {
    background-color: transparent;
}

.navbar-colored {
    background-color: #333;
}

.navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0 10px 0 0;
    float: right;
}

.navbar-item {
    display: inline-block;
    margin: 0;
    padding: 10px 10px;
}

.navbar-item img {
    width: 25px;
}

.navbar-link {
    color: #fff;
    font-family: "Forsythe-Normal", sans-serif;
    font-size: 2em;
    letter-spacing: 5px;
    scroll-behavior: smooth;
    text-decoration: none;
    transition: color 0.5s ease;
}

.navbar-link:hover {
    color: rgb(209, 12, 38);
}

.navbar {
    display: none;
}

.hamburger-btn {
    display: flex;
    width: 35px;
    height: 35px;
    position: fixed;
    top: 0.5em;
    right: 0.5em;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

span.bar {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 10px;
    background: -webkit-linear-gradient(#d89e03, #ffe08e);
}

span.bar:nth-child(1) {
    transform-origin: 0% 0%;
    transition: transform 0.5s ease-in-out;
}

span.bar:nth-child(2) {
    transform-origin: 0% 100%;
    transition: transform 0.5s ease-in-out;
}

span.bar:nth-child(3) {
    transform-origin: 0% 100%;
    transition: transform 0.5s ease-in-out;
}

.hamburger-btn.activated span.bar:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger-btn.activated span.bar:nth-child(2) {
    transform: scaleY(0);
}

.hamburger-btn.activated span.bar:nth-child(3) {
    transform: rotate(-45deg);
}

.navbar-mobile {
    position: fixed;
    display: flex;
    width: 100%;
    z-index: 99;
    top: 0;
    right: 0;
    margin-right: -100%;
    transition: margin-right 0.5s ease-in-out;
}

.navbar-mobile.clicked {
    margin-right: 0;
}

ul.navbar-menu-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
}
li.navbar-item-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
}

li.navbar-item-mobile a {
    font-size: 3em;
    font-weight: 600;
    color: #fff;
    padding: 1em;
    border-radius: 2em;
    transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

li.navbar-item-mobile a:hover {
    color: yellow;
    background-color: rgba(0, 0, 0, 0.7);
}

.blurred {
    filter: blur(10px);
    transition: filter 0.5s ease;
}

@media (max-width: 1000px) {
    .navbar {
        display: none !important;
    }

    .hamburger-btn {
        display: flex !important;
        width: 35px;
        height: 35px;
        position: fixed;
        top: 0.5em;
        right: 0.5em;
        z-index: 100;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
    }

    span.bar {
        display: block;
        height: 3px;
        width: 100%;
        border-radius: 10px;
        background: -webkit-linear-gradient(#d89e03, #ffe08e);
    }

    span.bar:nth-child(1) {
        transform-origin: 0% 0%;
        transition: transform 0.5s ease-in-out;
    }

    span.bar:nth-child(2) {
        transform-origin: 0% 100%;
        transition: transform 0.5s ease-in-out;
    }

    span.bar:nth-child(3) {
        transform-origin: 0% 100%;
        transition: transform 0.5s ease-in-out;
    }

    .hamburger-btn.activated span.bar:nth-child(1) {
        transform: rotate(45deg);
    }

    .hamburger-btn.activated span.bar:nth-child(2) {
        transform: scaleY(0);
    }

    .hamburger-btn.activated span.bar:nth-child(3) {
        transform: rotate(-45deg);
    }

    .navbar-mobile {
        position: fixed;
        display: flex;
        width: 100%;
        z-index: 99;
        top: 0;
        right: 0;
        margin-right: -50em;
        transition: margin-right 0.5s ease-in-out;
    }

    .navbar-mobile.clicked {
        margin-right: 0;
    }

    ul.navbar-menu-mobile {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100vh;
        background-color: transparent;
        justify-content: space-evenly;
        align-items: center;
        list-style: none;
    }
    li.navbar-item-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    li.navbar-item-mobile a {
        font-size: 3em;
        font-weight: 600;
        color: #fff;
        padding: 1em;
        border-radius: 2em;
        transition: color 0.4s ease-in-out, background-color 0.4s ease-in-out;
    }

    li.navbar-item-mobile a:hover {
        color: yellow;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .blurred {
        filter: blur(10px);
        transition: filter 0.5s ease;
    }
}
