.mobilenav {
    display: none;
    transform: translate3d(0%, -100%, 0px);
    transition: transform .5s ease;
}

/* .navbar-brand {
    pointer-events: none !important;
}*/

@media(max-width:500px) {
    html {
        scroll-padding-top: 40px;
    }

    .mobilenav {
        display: flex;
        transform: translate3d(0, 0, 0);
    }
    
    .navbar-brand {
        padding-top: 0.2125rem;
    }

    .navbar-collapse {
        padding-top: 5px;
        box-sizing: border-box;
        width: 100%;
    }

    .navbar-nav {
        height: 350px;
        overflow: hidden;
        overflow-y: scroll;
    }
    
    .navbar-nav::-webkit-scrollbar {
        width: 4px;
        height: 3px;
        border: none;
    }

    .navbar-nav::-webkit-scrollbar-thumb {
        background: #cf0d0d;
        border-radius: 16px;
        box-shadow: inset -2px -5px 2px #ee4d4d, inset -2px -2px 2px #e0aaaa;
    }

    .navbar-nav .nav-item {
        padding: 0px 5px;
        border-top: 1px solid #dadada;
    }
    
    .navbar-light .navbar-nav .nav-link {
        color: rgb(0 0 0 / 70%);
        line-height: 22px;
    }

    .navbar-light .navbar-nav .active>.nav-link,
    .navbar-light .navbar-nav .nav-link.active,
    .navbar-light .navbar-nav .nav-link.show,
    .navbar-light .navbar-nav .show>.nav-link {
        color: #c91818;
    }

    .navbar-light .navbar-nav .nav-link.disabled {
        color: rgba(255, 255, 255, .5);
    }

    .navbar-nav .nav-item input[type="checkbox"],
    .navbar-nav .nav-item label {
        display: none;
    }

    .navbar-light.bg-dark {
        background-color: #ffffff !important;
        padding: 0rem 10px;
    }

    nav .language {
        float: left;
        position: absolute;
        top: 14px;
        left: 110px;
        display: inline-flex;
        /* background: rgb(24 25 26 / 97%); */
        padding: 0px 0px;
        border-radius: 30px;
        /* border: 1px solid rgba(255,255,255,.1); */
    }

    nav .language a {
        padding: 6px;
        background: rgb(17 70 233 / 0%);
        border-radius: 4px;
        color: white;
        width: 32px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        align-content: center;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
    }

    nav .language a:not(:last-child) {
        margin-right: 7px;
    }

    nav .language a.active {
        color: rgb(249 115 36);
        border: 1px solid rgba(255, 255, 255, .1);
        /* background: rgb(24 25 26 / 97%); */
    }

    nav a.nav-whatsapp {
        float: left;
        position: absolute;
        top: 9px;
        right: 56px;
        text-decoration: none;
    }

    nav a.nav-whatsapp {
        width: 32px;
        height: 32px;
        display: flex;
        justify-content: center;
        align-content: center;
        align-items: center;
        border-radius: 5px;
        background: rgb(37, 211, 102);
        background: -moz-linear-gradient(45deg, rgba(37, 211, 102, 1) 0%, rgba(89, 207, 99, 1) 100%);
        background: -webkit-linear-gradient(45deg, rgba(37, 211, 102, 1) 0%, rgba(89, 207, 99, 1) 100%);
        background: linear-gradient(45deg, rgba(37, 211, 102, 1) 0%, rgba(89, 207, 99, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#25d366", endColorstr="#59cf63", GradientType=1);
    }

    nav a.nav-whatsapp i {
        display: flex;
        font-size: 20px;
        line-height: 30px;
        color: white;
    }

    .navbar-toggler {
        padding: 0.25rem 0.3rem;
        box-shadow: none;
        transition: unset;
        margin-top: 2px;
        transform: scale(0.8);
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }

    navbar-collapse {
        padding-top: 10px;
    }
}