body {
    --primary-color: #f44336;
    --text-on-primary: white;
    --mdc-theme-primary: var(--primary-color);
    --mdc-theme-on-primary: var(--text-on-primary);
    --theme-text-color: rgba(255,255,255,0.7);
    --theme-text-header-color: white;
    --theme-background-color: #121212;
    --theme-card-color: #222222;
    --mdc-theme-text-primary-on-background: var(--theme-text-color);
    --morph-dropdown-background: var(--theme-card-color);
    background-color: var(--theme-background-color);
    color: var(--theme-text-color);
    font-size: 1rem;
    line-height: 1.7;
    font-family: 'Roboto Slab', serif;
    scrollbar-width: thin;
}

body.light {
    
    --theme-background-color: white;
    --theme-card-color: var(--theme-background-color);
    --theme-text-color: #606d6e;
    --theme-text-header-color: #454B4D;
}

body.noscroll {
    overflow: hidden;
}

a:link {
    color: var(--primary-color)
}
a:visited {
    color: var(--primary-color)
}

.footer-container a:link {
    color: #1F8CD6;
}


::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--theme-background-color);
    border-radius: 6px;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.invert {
    filter: invert();
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--theme-text-header-color);
    font-family: 'Poiret One', cursive;
}


pre {
    background-color: var(--theme-card-color);
    margin: 1rem 0;
    border-radius: 6px;
    padding: 16px;
    font-family: 'Roboto Mono', monospace;
}

body.light pre {
    background-color: var(--theme-background-color);
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

blockquote {
    border-left: 10px solid rgba(255,255,255,0.05);
    margin: 0;
    padding: 0 2rem;
}

body.light blockquote {
    border-left: 10px solid rgba(0,0,0,0.05);
}

code {
    font-family: 'Roboto Mono', monospace;
}

mark {
    border-radius: 2px;
    
}


mwc-button.navbar-button {
    --mdc-theme-primary: var(--mdc-theme-on-primary);
}

/* Center images using markdown*/
/*.center-row > * {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    position: relative;
}

.center-row > * > * {
    height:30vw; 
    width: auto;
}*/

footer {
    background-color: var(--theme-card-color);
}

.wrapper {
    margin: 0 10vw;
}

/** FOOTER */


.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}
.col-footer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.footer-img {
    width: 15vw;
    background-color: white;
    border-radius: 5px;
    min-width: 60px;
}
.footer-disclaimer {
    width: 30%; 
    padding: 20px; 
    flex-grow: 4;
}

.footer-social {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    font-size: 1.5rem;
}

@media only screen and (max-width: 600px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-disclaimer {
        width: 100%;
    }
    .footer-img {
        width: 40vw;
    }
}

/** Masthead **/ 

/*#open-nav {
    display: none;
    border-radius: 50%;
    text-align: center;

    vertical-align: middle;

}*/

#masthead.dim {
    transition: opacity 0.3s;
    opacity: 0;
}

#masthead {
    background-color: var(--primary-color);
    border-radius: 25px / 50%;
    width: fit-content;
    overflow: visible;
    padding: 7px 20px 7px 20px;
}

@media only screen and (max-width: 600px) {
    #masthead {
        display: none;
        /*padding: 7px 15px 7px 15px;
        border-radius: 0% 0% 0% 50%;
        position: fixed;
        right: 0px;
        top: 0px;*/
    }
    /*#masthead morph-dropdown {
        display: none;
    }*/
    /*#open-nav {
        display: block;
    }*/
    #website-info {
        padding-top: 5px;
    }
}


#website-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


#website-info  img {
    width: 10vw;
    max-width: 90px;
    min-width: 60px;
}

.title-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
header {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

/* Hero Styles */
.hero-blur {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -100;
    width: 100%;
}
.hero-blur img {
    width: 100%;
    filter: blur(10px) brightness(0.5);
    user-select: none;  
}


.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.hero > * {
    transform: translateY(-35px);
    z-index: -10;
    border-radius: 5px;
    border-color: white;
    border: 5px;
    border-style: solid;
}
.hero img {
    width: 95vw;
    max-width: 90vh;
    
    
}

@media only screen and (max-width: 600px) {
    .hero > * {
        transform: translateY(0px);
    }
}


/** screen rules **/

@media only screen and (max-width: 600px) {
    .hide-mobile {
        display: none;
    }
}


/** Fullscreen Nav **/

#fullscreen-nav {
    background-color: #121212cc;
    position: fixed;
    right: 0px;
    top: 0px;
    width: 0px;
    height: 0px;
    border-radius: 0% 0% 0% 50%;
    transition-property: opacity, all;
    transition-duration: 0.1s, 0.3s;
    transition-timing-function: ease-in-out;
    /*transition: all 0.3s ease-in-out;
    transition: opacity 0.3 ease-in-out 0.1;*/
    /*-webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);*/
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /*visibility: hidden;*/
    opacity: 0;
}

#fullscreen-nav.open {
    width: 100vw;
    height: 100vh;
    border-radius: 0%;
    /*visibility: visible;*/
    opacity: 1;
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    
}
#fullscreen-nav > * {
    display: none;
}
#fullscreen-nav.open > * {
    display: block;
}



#toggle-nav {
    text-align: center;
    vertical-align: middle;
    background-color: var(--primary-color);
    border-radius: 0% 0% 0% 50%;
    position: fixed;
    right: 0px;
    top: 0px;
    padding: 7px 16px 7px 16px;
    display: none;
    z-index: 100;
    width: 46px;
}
@media only screen and (max-width: 600px) {
    #toggle-nav {
        display: block;
    }
}

/** For use within page content */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    justify-items: center;
    align-items: center;
}

.split img {
    max-width: 100%;
}

@media only screen and (max-width: 1000px) {
    .split {
        grid-template-columns: 1fr;
    }
    
}