:root {
    --black: #070707;
    --dark: #666666;
    --mid: #939393;
    --light: #EAEAEA;
    --white: #fdfdfd;
}


body {
    background-color: var(--white);
    padding: 1rem;
    color: var(--black);
    font: 16px 'Lato', sans-serif;
    word-wrap: break-word;
}

a {
    color: var(--mid);
    text-decoration: none;
}

a:hover {
    color: var(--light);
}


header {
    background-color: var(--white);
    width: 100%;
    height: 100px;
    border-bottom: 1px var(--light) solid;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: end;
    height: 100%;
    padding-bottom: 1rem;
}

/* SINGLE PAGE */
.page-wrap {
    padding: 4rem 15%;
    padding-bottom: 2rem;
}

.page-title {
    padding: 0;
    margin-bottom: 2rem;
    border-bottom: 1px var(--mid) solid;
    color: var(--dark);
}

.page-content {
    padding-bottom: 2rem;
}

/* FOOTER */
footer {
    background-color: var(--white);
    width: 100%;
    height: 100px;
    border-top: 1px var(--light) solid;
    padding-top: 2rem;
    padding-bottom: 7rem;
}

.about-wrap {
    padding: 1rem;
    padding-left: 15%;
}

.about-title {
    font-size: 16px;
    color: var(--dark);
}

.about-content {
    font-size: 12px;
    color: var(--mid);
}

.about-content a {
    color: var(--dark);
}

.about-content a:hover {
    color: var(--light);
}


/* HEADER LOGO */
.image-container {
    padding-left: 10%;
}

#header-logo {
    width: 200px;
}


/* NAVIGATION BAR */



/* Desktop s*/

@media (min-width: 993px) {
    .navbar {
        display: none;
    }

    
header .site-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header .site-nav li  {
    margin-right: 5px;
    padding-right: 20px;
    border-bottom: 1px rgba(253, 253, 253, 0) solid; 
}

header .site-nav li:hover  {
    border-bottom: 1px var(--mid) solid; 
}

header .site-nav li a {
    color: var(--dark) !important;
    font-size: 16px;
    text-decoration: none;
}

header .site-nav li a:hover {
    color: var(--mid);
}

header .site-nav li {
    position: relative;
}

header .site-nav li:first-child a {
    padding-left: 0;
}

header .site-nav li:last-child a {
    padding-right: 0;
}

header .site-nav li .sub-menu {
    display: none;
    position: absolute;
    background-color:rgba(253, 253, 253, 1);
    top: 100%;
    left: 0;
    width: 150px;
    margin: 0;
    padding: 0;
    list-style-type: none;
    box-shadow: 5px 5px 10px rgba(7, 7, 7, .1);
}

header .site-nav li .sub-menu li {
    float: none;
    border-bottom: 1px solid var(--light);
    padding: 0;
    margin: 0;
    position: relative;
}

header .site-nav li .sub-menu a {
    float: none;
    line-height: 21px;
    font-size: 13px;
    font-weight: normal;
    height: 100%;
    padding: 6px 10px;
    color: var(--mid);
    display: block;
    text-decoration: none;
}

header .site-nav li .sub-menu a:hover {
    background-color:  var(--light);
    color: var(--mid);
}

header .site-nav > .menu-item-has-children:hover > .sub-menu {
    display: block;
}

header .site-nav .menu-item-has-children .sub-menu > .menu-item-has-children:hover .sub-menu {
    display: block;
}

header .site-nav .sub-menu li .sub-menu {
    top: 0;
    left: -100%;
}
}

/* MOBILE */

@media (max-width: 992px) {

    /* HAMBURGER MENU */

    .page-wrap {
        padding: 1rem;
        padding-top: 7rem;
    }

    .navbar {
        display: flex;
        margin: 0 -1rem;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: var(--white);
        border-bottom: 1px solid var(--light);
        border-top: 1px solid var(--light);
    }

    .menu-site-navigation-container {

    }
    
    .site-nav {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
    }
    
    .site-nav li {
        position: relative;
        padding-bottom: 3px;
        padding-top: 3px;
    }
    
    .site-nav a {
        text-decoration: none;
        color: var(--dark) !important;
        font-size: 16px;
        transition: color 0.3s;
    }
    
    .site-nav a:hover {

    }
    
    /* Submenu Styling */
    .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--white);
        border-bottom: 1px solid var(--light);
        border-top: 1px solid var(--light);
        list-style: none;
        padding: 0;
        margin: 7px 0;
        border-radius: 4px;
    }

    .sub-menu.open {
        display: flex;
        position: relative;

    }
    
    .sub-menu li {
        width: 150px;
    }
    
    .sub-menu a {
        padding: 10px;
        display: block;
        color: var(--mid);
        font-size: 14px;
    }
    
    .sub-menu a:hover {

    }
    
    /* Hamburger Menu Button */
    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        border: none;
        background: none;
        margin-left: auto;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        background-color: var(--mid);
        transition: all 0.3s;
    }

    .site-nav {
        position: absolute;
        top: 60px;
        right: 0;
        flex-direction: column;
        width: 200px;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
    }

    .site-nav.open {
        height: auto;
        padding: 1rem;
        margin-top: -.55rem;
        border: 1px solid var(--light);
        background-color: var(--white);
        width: 55%;
    }

    .hamburger {
        display: flex;
    }

    .menu-item-has-children .sub-menu {
        position: static;
    }

    .menu-item-has-children .sub-menu.open {
        display: block;
        height: auto;
    }

  }