:root {
    --main-bg-color: #F5F5F5;
    --light-gray-color: #888888;
    --primary-color: #8B0066;
}


html,
body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    background-color: #F5F5F5;
}

a {
    text-decoration: none;
    color: rgb(32, 39, 47);
}

.font-freestyle {
    font-family: 'freestyle script';
}

*,
.font-agency {
    font-family: 'agency fb';
}

p {
    margin: 0px;
}

nav {
    width: 100%;
}

.navbar {
    width: 100%;
    padding-left: 10%;
    padding-right: 10%;
    box-sizing: border-box;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

.navbar a {
    font-size: 1.8em;
    padding: 32px;
    text-transform: uppercase;
    line-height: 1em;
    color: var(--light-gray-color);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:focus {
    outline: none;
    text-decoration: underline;
}

.active {
    color: var(--primary-color) !important;
}

#nav-brand {
    line-height: .7em;
    font-size: 2.4em;
}

#nav-brand:hover {
    cursor: unset;
    color: var(--light-gray-color);
}

#nav-brand:focus {
    text-decoration: none;
}

.sub-nav {
    z-index: 1;
    width: 60%;
    margin: 0px auto;
    box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.2), 3px 5px 4px rgba(0, 0, 0, 0.19), inset 0px 5px 4px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 3px 3px;
}

.sub-nav a {
    font-size: 1.5em;
    padding: 16px;
}


.content {
    width: 40%;
    min-height: 70%;
    margin: 5% auto;
    z-index: 2;
}

/**
     Mobile Nav
**/

#mobileNav {
    z-index: 100;
    display: none;
}

.m-navbar {
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    position: fixed;
    top: 0px;
    height: 64px;
    z-index: 9999;
}

.m-navbar .nav-brand {
    margin: 0px;
    padding: 10px;
    box-sizing: border-box;
    font-family: 'freestyle script';
    font-size: 3em;
    color: var(--light-gray-color);
    display: block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    padding-bottom: 0px;
    padding-top: 7px;
    z-index: 9999;
}

#menu-expand {
    position: absolute;
    top: 8px;
    bottom: 8px;
    right: 16px;
    font-size: 3em;
    cursor: pointer;
    color: var(--light-gray-color);
}

.nav-bar-expand {
    width: 100%;
    background-color: white;
    box-shadow: -4px 4px 4px rgba(0, 0, 0, 0.2), 3px 5px 4px rgba(0, 0, 0, 0.19), inset 0px 5px 4px rgba(0, 0, 0, 0.2);
    position: static;
    top: 0px;
    z-index: 5;
    display: none;
}

.nav-bar-expand ul {
    margin: 0px;
    list-style: none;
    padding-top: 10px;
    padding-left: 0px;
    padding-bottom: 10px;
}

.nav-bar-expand li {
    display: block;
    text-align: center;
    font-size: 1.5em;
    padding: 8px;
    text-transform: uppercase;
}


.nav-bar-expand a {
    color: var(--light-gray-color);
}

.nav-bar-expand a :hover {
    color: var(--primary-color);
}

.nav-bar-expand hr {
    margin-left: 20%;
    margin-right: 20%;
    color: var(--light-gray-color);
    opacity: 20%;
}

/**
    Modal Stuff
**/

#modal-container-outer {
    z-index: 99999;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 128px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}

#modal-image {
    background-color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 90%;
    max-height: 90%;
    margin-left: 50% auto;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#modal-close-btn {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 3em;
    color: white;
}

#modal-close-btn:hover {
    color: red;
    cursor: pointer;
}

/**
    Contact Modal Stuff
**/
#contact-modal-container-outer {
    z-index: 99999;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    padding: 128px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
}

#contact-modal-content {
    background-color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 90%;
    max-height: 90%;
    margin-left: 50% auto;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 20%;
    min-height: 60%;
    padding: 16px;
}

#contact-modal-content-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

#contact-modal-content h1 {
    color: var(--primary-color);
    text-transform: uppercase;
    text-align: center;
    font-size: 3em;
    margin-top: 0px;
}

#contact-modal-content p {
    text-align: center;
    font-size: 2em;
}

#contact-modal-content a {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    display: block;
    margin: 32px 0px;
}

#contact-modal-close-btn {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 3em;
    color: white;
}

#contact-modal-close-btn:hover {
    color: red;
    cursor: pointer;
}


.footer {
    position: static;
    bottom: 0px;
    width: 100%;
    background-color: #fff;
}

.footer p {
    text-align: center;
    font-size: 1em;
    padding: 4px;
}

.footer a {
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .content {
        width: 80% !important;
        margin: 2% auto;
    }
}

@media (max-width: 1000px) {

    #modal-image {
        max-width: 80%;
        max-height: 80%;
    }

    #contact-modal-content {
        width: 80%;
        height: 70%;
    }
    
    #contact-modal-content-inner {

    }
    
    #contact-modal-content h1 {
        font-size: 2.5em;
    }
    
    #contact-modal-content p {
        font-style: 1.5em;
    }
    
    #contact-modal-content a {
        font-size: 2em;
    }

    #desktopNav {
        display: none;
        width: 90%;
        margin: 2% auto;
    }

    #mobileNav {
        display: initial;
    }

    .content {
        margin-top: 25% !important;
    }

}

@media (max-height: 600px) {
    #contact-modal-content h1 {
        font-size: 2.5em;
        margin-bottom: 8px;
    }
    
    #contact-modal-content p {
        font-style: 1.5em;
    }
    
    #contact-modal-content a {
        font-size: 2em;
        margin-top: 8px;
        margin-bottom: 8px;
    }
}