body::after {
    content: '';
    position: absolute;
    z-index: 99;
    background-color: rgb(8 90 165 / 80%);
    height: 100vh;
    width: 100vw;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    opacity: 0;
    visibility: hidden;
}

.nav-top.prelogin {
    display:none;
}

a {
    text-decoration: none;  
}

.nav-top {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    position: fixed;
    z-index: 101;
    padding: 5px 20px;
    width: calc(100% - 20px);
    height: 25px;
    background-color: var(--principal);
    color: var(--principal_);
    height: 45px;
}
.nav-top .hamburger {
    margin-left: auto;
    color: #fff;
    cursor: pointer;
}

.nav-drill {margin-top: 45px;-webkit-transform: translateX(100%);transform: translateX(100%);}

.nav-is-toggled .nav-drill {
-webkit-transform: translateX(0);
        transform: translateX(0);
}
.nav-is-toggled::after {
opacity: 1;
visibility: visible;
}

/* .nav-drill {display: -webkit-box;display: flex;position: fixed;z-index: 100;top: 0;right: 0;width: 250px;height: 100vh;background-color: #ebf6ff;overflow-y: auto;overflow-x: hidden;-webkit-overflow-scrolling: touch;-webkit-transition: 0.45s;transition: 0.45s;} */
.nav-drill {display: -webkit-box;display: flex;position: fixed;z-index: 100;top: 0;width: 250px;height: 100vh;background-color: #ebf6ff;overflow-y: auto;overflow-x: hidden;-webkit-overflow-scrolling: touch;-webkit-transition: 0.45s;transition: 0.45s; -webkit-transform: translateX(-250px); transform: translateX(-250px);}
.nav-items {-webkit-box-flex: 0;flex: 0 0 100%;}
.nav-item:not(:last-child) {border-bottom: solid 1px var(--principal);}
.nav-link {display: block;padding: 0.875em 1em;background-color: #ebf6ff;color: var(--principal_);font-size: 1rem;line-height: 1.5em;font-weight: 300;}
.nav-expand-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-webkit-transform: translateX(100%);
        transform: translateX(100%);
background-color: #daf9f4;
-webkit-transition: 0.3s;
transition: 0.3s;
visibility: hidden;
}
.nav-expand-content .nav-item:not(:last-child) {border-bottom: solid 1px var(--principal);}
.nav-expand-content .nav-link {background-color: #ebf6ff;}
.nav-expand-content .nav-back-link {display: -webkit-box;display: flex;-webkit-box-align: center;align-items: center;background-color: #1174ce;color: #fff;}
.nav-expand-content .nav-back-link::before {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f054";
    margin-right: 0.5em;
}
.nav-expand-link {
display: -webkit-box;
display: flex;
-webkit-box-pack: justify;
        justify-content: space-between;
}
.nav-expand-link::after {
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f054";
    -webkit-box-flex: 0;
        flex: 0 1 auto;
}
.nav-expand.active > .nav-expand-content {
-webkit-transform: translateX(0);
        transform: translateX(0);
visibility: visible;
}
.nav-expand .nav-expand-content {background-color: #ebf6ff;}
.nav-expand .nav-expand-content .nav-link {background-color: #ebf6ff;}
.nav-expand .nav-expand-content .nav-expand-content {background-color: #ebf6ff;}
.nav-expand .nav-expand-content .nav-expand-content .nav-link {background-color: #ebf6ff;}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content {background-color: #ebf6ff;}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-link {background-color: #ebf6ff;}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-expand-content {background-color: #ebf6ff;}
.nav-expand .nav-expand-content .nav-expand-content .nav-expand-content .nav-expand-content .nav-link {background-color: #ebf6ff;}


.nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 55px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    background: var(--principal);
    display: flex;
    overflow-x: auto;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 50px;
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    color: #a8a8a8;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.1s ease-in-out;
}

.nav__link:hover {
    background-color: #ffffff;
    color: var(--principal);
}

.nav__link--active {
    color: #ffffff;
}