#hero{ 
    display: none;
}
/* UNIVERSAL */ 
body {
    margin: 0;
    font-size: 16px;
    font-family:sans-serif;
}

body.dark {
    background-color: #222222;
}

body.dark .logo:hover {
    filter: invert(79%) sepia(33%) saturate(6291%) hue-rotate(346deg) brightness(100%) contrast(103%);
}

.logo:hover {
    filter: invert(79%) sepia(33%) saturate(6291%) hue-rotate(346deg) brightness(100%) contrast(103%);
}

.dark-mode-button {
    display: flex;
    justify-content: center;
    align-content: center;
    border: none;
    background-color: transparent;
}

.track {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 40px;
    height: 20px;
    background-color: #ebebeb89;
    box-shadow: 1px 1px 3px #a9a9a987;
    border-radius: 20px;
    border: none;
}

.toggle {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff9617;
    border-radius: 50%;
    margin-left: -6px;
    box-shadow: 2px 2px 5px darkgray;
    border: none;
    transition: transform .21s ease-in;
}

.toggle-dark {
    transform: translateX(calc(100% + 3px));
    box-shadow: 2px 2px 5px black;
}

.track-dark {
    background-color: white;
    box-shadow: 3px 3px 5px black;
}

.track-light::after {
    content: "DARK";
    position: relative;
    top: 25px;
    margin-left: -2px;
}

.track-dark::after {
    content: "LIGHT";
    position: relative;
    color: white;
    top: 25px;
    margin-left: -2px;
}

.nav-li a{
    color: #393939;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}

.nav-li svg {
    height: 1.5em;
}

.nav-menu {
    list-style: none;
}

footer {
    background-color: #f4f4f4ad;
    width: 100%;
    position: absolute;
    bottom: 0;
    color:black;
}

footer a{
    text-decoration: none;
    color:black;
}

#footer-nav-heading, 
#footer-services-heading {
    font-weight: bold;
    display: flex;
    justify-content: start;
}

.footer-nav-list, 
.footer-services-list {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.footer-nav-item,
.footer-services-item {
    margin-bottom: 5px;
}

.footer-nav-item:hover,
.footer-services-item:hover {
    color: rgb(100, 100, 100);
}


.contact-wrapper {
    margin-top: 30px;
}

.contact-info {
    display: grid;
    grid-template-rows: auto;
    margin-bottom: 5px;
}
.contact-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
}

body.dark .nav-sidebar {
    background-color: #393939;
}

body.dark .nav-li:hover {
    background-color: #222222;
}

body.dark .nav-li a{
    color: #dddada;
}

body.dark .nav-li svg {
    filter: invert(92%) sepia(84%) saturate(18%) hue-rotate(277deg) brightness(112%) contrast(91%);
}

body.dark .logo {
    filter: invert(100%) sepia(1%) saturate(159%) hue-rotate(74deg) brightness(114%) contrast(92%);    
}

footer.dark {
    background-color: #2b2929;
    color: #dddada;
}

footer.dark a{
    color: #dddada;
}

footer.dark .footer-nav-item:hover, 
footer.dark .footer-services-item:hover{
    color:#afaeae;
}


/* MOBILE */
@media (max-width: 779px) {
    header {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 5px;
    }

    .logo {
        margin-top: 2em;
        height: 80px;
    }

    .hamburger-menu {
        border: none;
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        background-color: transparent;
        padding: 5px;
        margin: 10px;
    }

    .hamburger-box {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        width: 20px;
        height: 2px;
        background-color: darkgray;
        margin: 3px;
    }

    .hamburger-menu:hover {
        background-color: #cacaca99;
    }

    .hamburger-menu:hover .hamburger {
        background-color: black;
    }

    .nav-sidebar {
        position: absolute;
        top: 0;
        left:-100%;
        width: 60vw;
        height: 100vh;
        background-color: whitesmoke;
        transition: .3s ease-in-out; 
    }

    .nav-sidebar.active {
        position: absolute;
        top: 0;
        left: 0;
        width: 60vw;
        height: 100vh;
        background-color: whitesmoke;
        box-shadow:0 0 0 10000px rgba(0,0,0,.50);
        z-index: 2;
    }

    .sidebar .toggle{
        box-shadow: none;
    }

    .close-sidebar {
        translate: 61vw;
        font-size: 25px;
        background-color: whitesmoke;
        color: black;
        border-radius: 5px;
        position: absolute;
        top: 43px;
        border: none;
    }

    .close-sidebar:hover {
        background-color: rgb(45, 44, 44);
        color: whitesmoke;
        border-radius: 5px;
    }

    body.dark .close-sidebar:hover {
        background-color: #393939;
    }

    .nav-wrapper { 
        padding: 20px;
    }

    .nav-menu {
        list-style: none;
        font-size: 1em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: space-between;
        margin-left: -35px;
    }

    .nav-li {
        height: 3em;
        display: grid;
        grid-template-columns: 2.5em 1fr;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 10px;
        margin-left: -10px;
    }

    footer {
        display: flex;
        justify-content: center;
    }

    .nav-li:hover {
        background-color: #cacaca99;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .contact-group {
        display: flex;
        justify-content: center;
    }

    .footer-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    
    }

    .footer-nav,
    .footer-services {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #footer-nav-heading,
    #footer-services-heading {
        display: flex;
        justify-content: center;
    }

    .footer-nav-list,
    .footer-services-list {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }
    
    .contact-group,
    .footer-nav,
    .footer-services {
    width: 300px;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-nav,
    .footer-services {
        margin-top: 50px;

    }
}

@media (min-width: 780px) {
    
    body.dark .nav-sidebar {
        background-color: transparent;
    }

    .nav-li a:hover {
        color: #ff9617;
        text-underline-offset: 10px;
        text-decoration: underline 3px #ff9617; 

    }

    body.dark .nav-li a:hover {
        color: #ff9617
    }

    header { 
        display: grid;
        grid-template-columns: 110px 1fr 50px;
        align-items: center;
        padding: 20px;
        border-bottom: #a9a9a91e solid 1px;
        height: 95px;
    }

    .dark-mode-button {
        display: flex;
        justify-content: center;
        align-content: center;
        border: none;
        background-color: transparent;
        margin-left: 1em;
    }
    
    .hamburger-menu, .close-sidebar {
        display: none;
    }

    .nav-sidebar {
        display: flex;
        justify-content: end;
    }

    .nav-menu {
        display: flex;
        align-items: end;
    }

    .nav-li {
        margin-right: 30px;
    }

    .nav-li svg {
        display: none;
    }

    .logo {
        margin-top: .5em;
        height: 100px;
    }

    .nav-sidebar {
        display: flex;
    }

    #mobile-logo {
        display: none;
    }

    footer {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 250px;
    }
    
    .footer-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-content: space-between;
        width: 100%;
    
    }

    .contact-group{
        display:flex;
        align-items: start;
        flex-direction: column;
        justify-content: center;
        margin-left: 20px;
    }
}

 /* colors:  #0813e6(blue), #393939(dark gray) */