/* SOCIALS NAV BAR  */
.header{
    position: fixed;
    width: 100%;
    height: 120px;
    z-index: 10;
}

.socials-nav, .pages-nav{
    width: 100%;
    padding: 0 4rem;
    justify-content: space-between;
    align-items: center;
}

.socials-nav{
    font-size: 12px;
    font-weight: 400;
    height: 30px;
    background-color: #131313;
}
.pages-nav{
    color: rgb(240, 240, 240);
    height: 90px;
    background-color:transparent;
}
#number a:hover{
    color: #F0502B;
}

.socials-nav a, .pages-nav a{
    text-decoration: none;
}
.socials-nav li, .pages-nav li{
    list-style: none;
}
.emails a, .socials a{
    text-transform: uppercase;
    color: #FFF;
    transition: all .2s ease;
}
.emails a:hover, .socials a:hover{
    color: #F0502B;
}
.emails a svg{ 
    padding-top: .05rem; 
    padding-right: 0.7rem; 
}
.emails a{ 
    padding-right: 1.5rem; 
}
.socials a{ 
    padding-left: 1.5rem; 
}

/* PAGES NAV BAR */
.pages-nav .logo{
    width: 180px;
    height: auto;
}
.pages-nav .links li {
    position: relative;
    font-size: 14px;
    font-weight: 400;
    padding: .85rem 1.2rem;
    text-transform: uppercase;
}
@keyframes linksHoverAnimation{
    from {
        opacity: 0;
        bottom: -1.25rem;
    }
    to{
        opacity: 1;
        bottom: -3px;
    }
}
.pages-nav .links li:hover::after, .pages-nav .active-link::after{
    content: "";
    position: absolute;
    height: 2.3px;
    width: 100%;
    background-color: #F0502B;
    left:0;
    animation-name: linksHoverAnimation;
    animation-duration: .35s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}
.pages-nav .links a{ 
    color: #fff;
    letter-spacing: 1px;
    transition: all 0.25s ease;
}
.pages-nav .services:hover::after, .pages-nav .services li:hover::after{
    display: none; /* to disable links hover animations on services and the dropdown menu */
}
.pages-nav .services svg{
    font-size: 10px;
    padding-left: .5rem;
    padding-top: .25rem;
}

.pages-nav .services ul{
    position: absolute;
    display: none;
    flex-direction: column;
    min-width: 180px;
    align-items: left;
    background-color: #151515;
}
.pages-nav .services .main-menu{
    top: 2.75rem;
    left: 0;
}
.pages-nav .services .nested-menu-1, .pages-nav .services .nested-menu-2{
    top: 0;
    left: 100%;
}
.pages-nav .services:hover .main-menu, 
.pages-nav .services .body-shop:hover ul, 
.pages-nav .services .car-care:hover ul{
    display: flex;
}
.pages-nav .links .services, 
.pages-nav .links .services div,
.pages-nav .links .services li,
.pages-nav .links .services a{
    cursor: pointer;
}
.body-shop a, .car-care a{
    display: flex;
    justify-content: space-between;
}
.body-shop a svg, .car-care a svg{
    transform: rotate(-90deg);
    position: relative;
    top: .25rem;
}
.pages-nav .services ul li{
    font-size: 15px;
    width: 230px;
    font-weight: 300;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    text-transform: capitalize;
    border-bottom: 1px solid rgb(44, 44, 44);
}
.pages-nav .services ul li:nth-last-child(1){ border-bottom: 1px solid transparent; }
.pages-nav .services ul li a{
    padding: .65rem 1.5rem;
    color: rgb(228, 228, 228);
    transition: all 0.3s ease;
}
.pages-nav .services ul li a:hover{
	color: #F0502B;
}
.active-link a{
    position: relative;
    color: #F0502B !important;
}
.mobile-menu-button, .mobile-menu-footer{
    display: none;
}


                    /* TABLET DESIGN */

@media (max-width: 1200px) and (min-width: 768px) {
    /* SOCIALS NAV BAR  */
    .header{
        height: 120px;
    }

    .socials-nav, .pages-nav{
        padding: 0 1rem;
    }
    .socials-nav{
        font-size: 11px;
        font-weight: 300;
    }

    /* PAGES NAV BAR */
    .pages-nav .logo{
        width: 140px;
    }
    .pages-nav .links li {
        font-size: 10px;
        font-weight: 400;
        padding: .5rem .8rem;
    }
    .pages-nav .services svg{
        font-size: 8px;
        padding-top: .1rem;
    }

    .pages-nav .services ul{
        min-width: 150px;
    }
    .pages-nav .services .main-menu{
        top: 1.8rem;
        left: 0;
    }
    .pages-nav .services .nested-menu-1, .pages-nav .services .nested-menu-2{
        top: 0;
        left: 100%;
    }
    .pages-nav .services ul li{
        font-size: 10px;
        width: 150px;
    }
    .pages-nav .services ul li a{
        padding: .5rem .8rem;
    }
}


     /* MOBILE DESIGN */

@media (max-width: 767px) {
    /* HEADER */
    .header{
        max-height: 60px;
    }
    .pages-nav{
        height: 100%;
        padding: 0 .8rem;
        background-color: #131313;
    }
    .socials-nav{
        display: none;
    }
    .pages-nav .logo{
        max-width: 140px;
    }

    @keyframes openMenuAnimation{
        from{
            opacity: 0;
            left: -15rem;
        }
        to{
            opacity: 1;
            left: 0;
        }
    }
    @keyframes closeMenuAnimation{
        from{
            opacity: 1;
            left: 0;
        }
        to{
            opacity: 0;
            left: -15rem;
        }
    }
    .pages-nav .links{
        display: none; 
        flex-direction: column;
        justify-content: flex-start;
        position: absolute;
        top: 60px;
        left: 0;
        width: 275px;
        min-height: 92.5vh;
        height: 100%;
        padding-top: 2rem;
        background-color: #131313;
        animation-name: openMenuAnimation;
        animation-duration: .5s;
        animation-fill-mode: forwards;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .pages-nav .links::-webkit-scrollbar {
        display: none; 
    }
    .pages-nav .links li {
        padding: .7rem 1.2rem .7rem 2rem;
        font-weight: 300;
    }
    .pages-nav .links li:hover::after,.pages-nav .active-link::after{
        height: 25px;
        width: 2px;
        top: 7.5px;
    }
    .pages-nav .services-button{
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .pages-nav .services svg{
        color: #F0502B;
        padding: 0;
        transform: rotateZ(90deg);
    }
    .pages-nav .services ul{
        width: 100px;
        min-width: 150px;
        background-color: transparent;
    }
    .pages-nav .services .main-menu, 
    .pages-nav .services .nested-menu-1, 
    .pages-nav .services .nested-menu-2{
        top: 2.3rem;
        left: 2rem;
    }
    .pages-nav .services:hover .main-menu, 
    .pages-nav .services .body-shop:hover ul, 
    .pages-nav .services .car-care:hover ul{
        display: none;
    }
    .pages-nav .services ul li{
        font-size: 14px;
        font-weight: 300;
        width: 240px;
        border-bottom: none;
    }
    .pages-nav .services ul li a{
        padding: .7rem 1rem;
    }
    .below-services{
        margin-top: 0;
    }
    .active-link a{
        color: #F0502B;
    }
    .mobile-menu-footer{
        width: 100%;
        display: flex;
        font-size: 10px;
        font-weight: 300;
        margin: 2.5rem 0 2rem;
        align-items: center;
        justify-content: center;
    }
    .mobile-menu-footer .socials a{
        color: #F0502B;
        padding: .5rem;
    }

    @keyframes mobileMenuButtonLoadAnimation{
        from{
            right: -10rem;
        }
        to{
            right: 0;
        }
    }
    .mobile-menu-button{
        position: relative;
        top: -1px;
        width: 30px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin-right: .5rem;
        animation-name: mobileMenuButtonLoadAnimation;
        animation-duration: 1.1s;
        animation-fill-mode: forwards;
        animation-timing-function: ease-in-out;
    }
    @keyframes dashOneOpenAnimation{
        from{
            top: 0;
            transform: rotateZ(0);
        }
        to{
            top: 9px;
            transform: rotateZ(45deg);
        }
    }
    @keyframes dashOneCloseAnimation{
        from{
            top: 9px;
            transform: rotateZ(45deg);
        }
        to{
            top: 0;
            transform: rotateZ(0);
        }
    }
    @keyframes dashTwoOpenAnimation{
        from{
            opacity: 1;
        }
        to{
            opacity: 0;
        }
    }
    @keyframes dashTwoCloseAnimation{
        from{
            opacity: 0;
        }
        to{
            opacity: 1;
        }
    }
    @keyframes dashThreeOpenAnimation{
        from{
            top: 18px;
            transform: rotateZ(0);
        }
        to{
            top: 9px;
            transform: rotateZ(-45deg);
        }
    }
    @keyframes dashThreeCloseAnimation{
        from{
            top: 9px;
            transform: rotateZ(-45deg);
        }
        to{
            top: 18px;
            transform: rotateZ(0);
        }
    }
    .dash{
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: #f5f5f5;
        animation-duration: .5s;
        animation-fill-mode: forwards;
        animation-timing-function: ease-in-out;
    }
    .dash1{
        top: 0;
    }
    .dash2{
        top: 9px;
    }
    .dash3{
        top: 18px;
    }
}