@import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&display=swap');

.mobile-navbar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    position: sticky;
    z-index: 9999999999999999999;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.2);
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: white;
    margin: 0;
    font-family: "Allerta Stencil", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    transition: margin 0.2s cubic-bezier(0.8, 0, 0.2, 1);
}

.mobile-navbar.scrolled {
    position: fixed;
    width: -webkit-fill-available;
    margin: 10px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 0px 4px 0px, rgba(0, 0, 0, 0.06) 0px 5px 20px 5px, rgba(0, 0, 0, 0.03) 0px 0px 0px 1px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: saturate(1.5) blur(12px);
}


.mobile-logo {
    padding: 9px 5px 6px 35px;
}

.mobile-logo-image {
    height: 25px;
}

.mobile-logo a {
    text-decoration: none;
    color: #333;
    font-size: 1em;
}

button.burger {
    position: absolute;
    left: 0;
    top: 0;
    border: 0;
    background: transparent;
    padding: 8px 15px;
    cursor: pointer;
    outline: none;
}

button.burger span {
    display: block;
    width: 4px;
    height: 4px;
    background: #fff;
    margin: 3px 0;
    border-radius: 4px;
    transition: all .4s ease-in-out;
}

button.burger:focus span:first-child {
    transform-origin: 2px 9px;
    transform: rotate(-90deg);
}

button.burger:focus span:last-child {
    transform-origin: 2px -5px;
    transform: rotate(-90deg);
}

button.burger:focus+ul {
    max-height: 500px;
}

ul.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: all 0.6s ease-in-out;
}

ul.mobile-menu>li {
    display: block;
    padding: 10px 15px 12px;
    transition: all 0.2s ease;
}

ul.mobile-menu>li>a {
    display: block;
    text-decoration: none;
    color: white;
}

ul.mobile-menu>li>a:hover {
    text-decoration: none;
}

ul.mobile-menu>li:hover {
    /* background: linear-gradient(141deg, #48ded4 0%, #a026bf 51%, #e82c75 75%);*/
    background: rgba(255, 255, 255, 0.125);
    cursor: pointer;
}


@media screen and (min-width: 768px) {
    .mobile-navbar {
        display: none;
    }

}

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

}