.logo {
    width: 40px;
    height: 40px;
}

#header {
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    width: 100%;
    height: 80px;
    background-color: transparent;
    box-sizing: border-box;
    transition: background-color 0.5s ease, transform 0.8s ease-out;
}

.navbar .btn_menu {
    display: none;
    position: absolute;
    top: 30px;
    right: 30px;
    width: 35px;
    height: 35px;
    box-sizing: border-box;
}

.menu li {
    margin: 0 30px;
    box-sizing: border-box;
}

.menu ol {
    display: flex;
}

.navbar a {
    color: white;
}

.hidden {
    transform: translateY(-100%);
    transition: transform 0.5s ease-out;
    background-color: #130f40;
}

@media screen and (max-width:850px) {
    .navbar .btn_menu {
        display: block;
    }

    .navbar a {
        color: black;
    }

    .menu {
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(255, 255, 255, 0.3);
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(20px);
        margin-left: -100%;
        transition: all 0.5s ease;
    }

    .mobile_menu {
        margin-left: 0px;
    }

    .menu ol {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu ol li {
        margin: 25px 0;
        font-size: 1.8em;
    }
}

.menu li {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.menu li:nth-child(1) {
    transition-delay: 1.0s;
    animation: fadeInUp 1.0s ease forwards;
}

.menu li:nth-child(2) {
    transition-delay: 1.25s;
    animation: fadeInUp 1.25s ease forwards;
}

.menu li:nth-child(3) {
    transition-delay: 1.5s;
    animation: fadeInUp 1.5s ease forwards;
}

.menu li:nth-child(4) {
    transition-delay: 1.75s;
    animation: fadeInUp 1.75s ease forwards;
}

.menu li:nth-child(5) {
    transition-delay: 2.0s;
    animation: fadeInUp 2.0s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}