/* Navigation start */
nav.main {
    display: grid;
    --nav-col: #CF291D;
}
nav.main ul#wide {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    list-style: none;
}
.list-item {
    padding: 10px 0px;
    margin-right: 50px;
}
.list-item:last-child {
    margin-right: 0px;
}
.list-item a {
    color: var(--nav-col);
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: GilroyMedium;
    font-weight: 600;
}
.list-item a:hover {
    color: var(--nav-col);
    transition: .3s;
}
/* Menu */
nav.main ul#mobList {
    display: flex;
    flex-flow: column nowrap;
    justify-items: flex-start;
    background-color: #fff;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 101;
    padding: 40px 0;
    transform: translateX(-101%);
}
nav.main #mobList > .list-item a {
    font-size: 14px;
    color: #001B5D;
    text-transform: capitalize;
}
#navBtn {
    display: none;
}
.show_list {
    animation: .5s pull ease-in-out forwards;
}
.hide_list {
    animation: .5s push ease-in-out forwards;
}


@keyframes pull {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}
@keyframes push {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
#bgOverlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.548);
    opacity: 0;
    z-index: -1;
}
/* Animations: Background Overlay */
.dark {
    animation: .4s dark_transition ease-in-out forwards;
}
.light {
    animation: .4s light_transition ease-in-out forwards;
    
}
@keyframes dark_transition {
    0% {
        opacity: 0;
        z-index: -1;
    }
    1% {
        z-index: 99;
    }
    100% {
        opacity: 1;
        z-index: 99;
    }
}
@keyframes light_transition {
    0% {
        opacity: 1;
        z-index: 99;
    } 
    99% {
        z-index: 99;
    }
    100% {
        opacity: 0;
        z-index: -1;
    }
}
.hide {
    opacity: 0;
}
.show {
    opacity: 1;
}
.rotate-left {
    transform: rotateZ(45deg);
    transition: .5s;
    position: absolute;
    top: 0px;
}
.rotate-right {
    transform: rotateZ(-45deg);
    transition: .5s;
    position: absolute;
    top: 0px;
}
.rotate-left-rev {
    transform-origin: center;
    animation: .5s ani-rev-left ease-in-out forwards;
}
.rotate-right-rev {
    transform-origin: center;
    animation: .5s ani-rev-right ease-in-out forwards;
}
@keyframes ani-rev-left {
    0% {
        transform: rotateZ(45deg);
    }
    100% {
        transform: rotateZ(0deg);
    }
}


@keyframes ani-rev-right {
    0% {
        transform: rotateZ(-45deg);
    }
    100% {
        transform: rotateZ(0deg);
    }
}
.show {
    opacity: 1;
}


@media screen and (max-width: 1560px) {

    .nav-inner {
        width: 75%;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .list-item a {
        font-size: 12px;
    }
}
@media screen and (max-width: 1280px) {
    nav.main ul#wide {
        display: none;
    }
    nav.main #mobList > .list-item {
        padding: 15px 50px;
    }
    #navBtn {
        display: grid;
        grid-template-rows: auto;
        grid-template-columns: 1fr;
        row-gap: 7px;
        cursor: pointer;
        width: 28px;
        position: relative;
        z-index: 102;
    }
    #navBtn span {
        width: 28px;
        height: 2px;
        background-color: #001B5D;
    }
}
@media screen and (max-width: 800px) {
    .nav-inner {
        width: 80%;
        padding: 15px 0;
    }
    nav.main #mobList > .list-item {
        padding: 15px 30px;
    }
    #mobList > .list-item a {
        font-size: 15px;
    }
}
@media screen and (max-width: 414px) {
    .nav-inner {
        width: 92%;
        padding: 10px 0;
    }
    .nav-outer .logo {       
        padding: 10px 0;
        width: 50px;
    }
    .nav-outer .logo a {
        font-size: 18px;
    }
    #mobList {
        width: 85%;
    }
}
.d-bg, .d-bg a, .w-bg, .w-bg a {
    transition: .4s;
}
.d-bg {
    color: #fff !important;
    background-color: transparent !important;
}
.d-bg a {
    color: #fff !important;
}
.w-bg {
    background-color: rgba(255, 255, 255, .8) !important;
}
.w-bg a {
    color: #000 !important;
}
/* NAVIGATION END */