/*-----------------------------------*/
/*///           GENERAL           ///*/
/*-----------------------------------*/

    *,
    *:before,
    *:after {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        
    }

    html {
        scroll-behavior: smooth;
		background-color: var(--stone);
    }

    :focus {
        outline: 0;
    }

    :root {
        --bone: #fff9e6;
		--stone: #f7edd5;
        --ink: #202829; 
        --acid: #e8ff69;
        --ivy: #5c7763;
		--glass: #CCD0BD;
		--gap: clamp(.5vh, 1vh, 1.5vh);
        --menuMax: 20vw;
    }

    body.wait-preloader {
        overflow: hidden;
    }

    body {
        font-family: 'MDIO', monospace;
        font-weight: normal !important;
        font-size: clamp(14px, 20px, 25px);
        font-weight: 400;
        color: var(--ink);
		padding:0px;
		margin: 0px;
		min-height: 100vh;
		background: url('misc/stonework.svg');
		background-repeat: repeat;
		background-size: 250px;
		
        overflow: hidden !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        -webkit-text-size-adjust: 100%;
        z-index:-1;
    }

	header-component {
		padding: 0;
		margin: 0;
	}
	
	footer-component {
		padding: 0px;
		margin: 0px;
	}
	
    .content-wrapper {
		padding:0px;
		margin: 0px;
		height: 100vh;
		width:100vw;
        overflow: hidden;
    }
	
	footer {
	    background-color: transparent;
	    color: var(--ink);
		margin: 0px;
        padding: 0px;
		height: 100vh;
		width: 100vw;
		display: flex;
        top:0;
        justify-content: center;
		position: absolute;
        pointer-events: none;
	}

    footer div {
        bottom:0px;
        height:4vh;
        font-size: 2vh;
        text-align:center;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        display: flex;
        position: absolute;
        pointer-events: none;
    }


/*-----------------------------------*/
/*///         end GENERAL         ///*/
/*-----------------------------------*/


/*-----------------------------------*/
/*///            FONTS            ///*/
/*-----------------------------------*/

    @font-face {
        font-family: "MDIO";
        font-weight: normal;
        font-style: normal;
        src: url('fonts/MDIO/MDIO0.6-Regular.woff');
    }

    @font-face {
        font-family: "MDIO";
        font-weight: bold;
        font-style: normal;
        src: url('fonts/MDIO/MDIO0.6-Black.woff'); 
    }

    @font-face {
        font-family: "MDIO";
        font-weight:normal;
        font-style: italic;
        src: url('fonts/MDIO/MDIO0.6-Italic.woff'); 
    }

    @font-face {
        font-family: "Obviously-Wide";
        font-weight: bold;
        font-style: normal;
        src: url('fonts/Obviously/Obviously-Wide_Bold.woff'); 
    }

/*-----------------------------------*/
/*///         end FONTS           ///*/
/*-----------------------------------*/


/*-----------------------------------*/
/*///           TYPEDEF           ///*/
/*-----------------------------------*/
   
    a {
        color: var(--ivy);
        z-index:100;
    }
	
    h1 {
        font-family: 'MDIO', monospace;
        font-weight: normal !important;
        font-style: italic;
        color:var(--ink);
        font-size:18px !important;
    }

    h2 {
        /*
        font-family: "obviously-variable", sans-serif;
        font-variation-settings: "wght" 700, "wdth" 150, "ital" 0; */
        font-family: 'Obviously-Wide', sans-serif;
        font-weight: bold;
        font-style: normal;
        margin: 0px;
        color: var(--ivy);
        font-size: clamp(1.5vh, 2vw, 3vh);
        line-height: 4vh;
    }

    h3 {
        font-family: 'Obviously-Wide', monospace;
        font-weight: bold;
        font-style: normal;
        color:var(--ivy);
        margin: 0px;

        font-size: 2vh;
        line-height: 2vh;
    }

    h4 {
        font-family: 'MDIO', monospace !important;
        font-weight: normal;
        color: var(--ink);
        font-style: italic;
        margin:0px;
        padding:10px;
        font-size: 1.5vh;
        line-height: 2vh;
    }

    h5 {
        font-family: 'MDIO', monospace;
        font-weight: bold;
        color: var(--ink);
        font-style: normal;
        margin:0px;
		text-transform: uppercase;

        font-size: 1vh;
        line-height: 1vh;
    }
	
	.highlight {
	    color: var(--ink);
	    background-color: var(--acid);
	}

    h6 {
		font-family: 'MDIO', monospace !important;
        margin:0px;
        font-weight:normal !important;
        font-style: normal !important;

        font-size: 1vh;
        line-height: 2vh;
    }

    .head {
        font-family: 'Obviously-Wide', sans-serif;
        font-weight: bold;
        font-style: normal;
        margin: 0px !important;
        color: var(--ink);
        font-size: clamp(2vh, 3vh, 3vw);
        line-height: clamp(2vh, 3vh, 3vw);
        text-align: center;
        width: 100%;
        padding: 0;
        align-items: center;
    }

    .subhead {
        font-family: 'MDIO', monospace;
        font-size: clamp(1.5vh, 2vh, 1.5vw);
        line-height: clamp(1.5vh, 2vh, 1.5vw);
        margin: 0px;
        padding:0px;
        font-weight: normal;
        font-style: normal;
        width: 100%;
        text-align: center;
    }

    .subhead::before {
        content: 'for ';
        font-style:italic;
    }

    up {text-transform: uppercase;}


    p {
        font-size: clamp(1.25vh, 1.8vmin, 1.8vmax);
        line-height: clamp(1.5vh, 2vmin, 2vmax);
    }
		
	p a::before {
        background: none repeat scroll 0 0 var(--acid);
        bottom: -10%;
        content: "";
        height: 120%;
        right: 0;
        position: absolute;
        transition: width .3s ease 0s, right .2s ease 0s;
        width: 0;
        z-index:-1;
    }

    p a:hover::before {
        width: 100%;
        right: 0;
    }

    hr {
        height: 0px;
        width: 100%;
        border: 0;
        border-top: 4px solid var(--glass);
        padding: 0;
    }

 
/*-----------------------------------*/
/*///        end TYPEDEF          ///*/
/*-----------------------------------*/


/*-----------------------------------*/
/*///            FORM             ///*/
/*-----------------------------------*/

	input, textarea {
		background-color: var(--bone) !important;
		border: 2px solid var(--ivy) !important;
		border-radius: .5em !important;
		color: var(--ink) !important;
		outline: none !important;
		box-shadow: none !important;
	}
	
	input::placeholder,
	textarea::placeholder {
		color: var(--ivy) !important;
	}
	
	input:focus,
	textarea:focus	{
		background-color: var(--ink) !important;
		border: 2px solid var(--ivy) !important;
		color: var(--acid) !important;
		outline: none !important;
	}
	
	button {
		background-color: var(--ink);
		color: var(--acid);
		border: 2px solid var(--ink);
		border-radius: .5em;
		font-family: 'Obviously-Wide', monospace;
        font-weight: bold;
        font-style: normal;
	}
	
	button:hover {
		background-color: var(--acid);
		color: var(--ink);
		border: 2px solid var(--ink);
		border-radius: .5em;
		font-family: 'Obviously-Wide', monospace;
        font-weight: bold;
        font-style: normal;
		transition: .3s;
	}

/*-----------------------------------*/
/*///        end FORM             ///*/
/*-----------------------------------*/


/*-----------------------------------*/
/*///            LOGO             ///*/
/*-----------------------------------*/

    .logoBox {
        display: flex;
        align-items:center;
        justify-content: center;
        align-content: center;
        padding:0px;
        margin: 0px;
        -webkit-user-select: none;
        user-select: none;
        pointer-events: none;
        height: 18vh;
        z-index: 100;
        top:1vh;
        position: relative;
		background-color: transparent;
    }

/*-----------------------------------*/
/*///          end LOGO           ///*/
/*-----------------------------------*/


/*-----------------------------------*/
/*///            MENU             ///*/
/*-----------------------------------*/

    #Glass {
        display: flex;
        flex-direction: row;
        text-align:center;
        align-items: center;
        justify-content: center;
        height: 8vh;
        max-height: var(--menuMax);
        width: 100%;
        z-index: 50;
        position: absolute;
        background-color: var(--glass);
        pointer-events: none;
	}

    .workPage:has(.slide:hover) #Glass {
        animation: lightning .3s linear 1;
    }

    .aboutPage:has(.leaf:hover) #Glass {
        animation: lightning .3s linear 1;
    }
    
	.contactPage:has(.leaf:hover) #Glass {
        animation: lightning .3s linear 1;
    }

    @keyframes lightning {
	    0%{ background-color: var(--acid);}
	    33%{ background-color: var(--glass);}
        66%{ background-color: var(--acid);}
	    100%{ background-color: var(--glass);}
	}
	
	.menuBar {
        display: flex;
        flex-direction: row;
        text-align:center;
        align-items: center;
        justify-content: center;
        height: 8vh;
        max-height: var(--menuMax);
        width: 100%;
        z-index: 52;
	}

    .workPage #Work,
    .aboutPage #About,
    .contactPage #Contact {
		fill: var(--acid);
    }

    .workPage #WorkG,
    .aboutPage #AboutG,
    .contactPage #ContactG {
		fill: var(--ivy);
    }

    .menuGlyph {
		fill: var(--ink);
        pointer-events: none;
	}

    #Glyphs {
        pointer-events: none;
    }

    .leaf {
		fill: var(--ivy);
        stroke: var(--ink);
		stroke-width:18px;
	}
	
	.leaf:hover, .leaf:active {
        fill: var(--acid);
	}
	
    .workPage:has(#Work:hover) #WorkG {
        fill: var(--ink);
    }

    .aboutPage:has(#About:hover) #AboutG {
        fill: var(--ink);
    }

    .contactPage:has(#Contact:hover) #ContactG {
        fill: var(--ink);
    }
	
	.coverTop {
		height:3vh;
		width:100%;
		position:absolute;
		z-index:51;
		margin-top:-3vh;
        background: linear-gradient(0deg,rgba(255, 249, 230, 1) 0%, rgba(255, 249, 230, 1) 50%, rgba(247, 237, 213, 1) 50%, rgba(247, 237, 213, 0) 100%);
        pointer-events: none;
	}
	
	.coverBottom {
		height:3vh;
		width:100%;
		position:absolute;
		z-index:51;
        background: linear-gradient(180deg,rgba(255, 249, 230, 1) 0%, rgba(255, 249, 230, 1) 50%, rgba(247, 237, 213, 1) 50%, rgba(247, 237, 213, 0) 100%);
        pointer-events: none;
    }
	
	.cutout {
		height:100%;
        max-height: var(--menuMax);
		display: flex;
		z-index:54;
		border:none;
        pointer-events: none;
	}
	
	#menu {
		height:8vh;
        max-height: var(--menuMax);
		background:none;
		position: absolute;
		z-index:55;
	}

	.menuEdge {
		background:var(--bone);
		width:100%;
		flex:1;
		height:100%;
        max-height: var(--menuMax);
		z-index:53;
		box-shadow: none;
        border: 2px solid var(--bone);
        outline: var(--bone) solid 2px;
        pointer-events: none;
	}
	
	.menuCenter {
		background: var(--bone);
		z-index:53;
		height:100%;
        max-height: var(--menuMax);
		width: 14vh;
        max-width: 50vw;
        border: 2px solid var(--bone);
        outline: var(--bone) solid 2px;
        pointer-events: none;
	}

    svg {
        shape-rendering: geometricPrecision !important;
    }
    
	
/*-----------------------------------*/
/*///          end MENU           ///*/
/*-----------------------------------*/


/*-----------------------------------*/
/*///           GALLERY           ///*/
/*-----------------------------------*/



	.gallery {
		padding:0px 0px 0px 0px;
		margin: 0px;
		width: 100vw;
		display: flex;
		flex-wrap: no wrap;
        text-align:center;
        align-items: center;
        vertical-align: middle;
		position:relative;
		z-index:0;
        height: auto;
	}
	
	.glider-contain {
		align-items: center;
		display: flex;
		z-index:0;
        height:70vh !important;
        vertical-align: middle;
	}

    .draggable, .glider-track {
        height: 100%;
    }
	
	.slide {
		display: flex;
		text-align:center;
        align-items: center;
		flex-flow: column;
        justify-content: center;
		background: transparent;
        margin: 3vh 2vw 0 2vw;
        gap: var(--gap);
        vertical-align: middle;
        height:100%;
	}

	.preview {
		aspect-ratio: 1 / 1;
        max-height:50vh;
		padding: 20px;
		margin: 0px 0vw 0px 0vw;
		display: flex;
        border: 2px solid var(--glass);
        transition: all .25s ease-in-out;
        cursor: pointer;
	}

    .shadow {
        content: ' ';
        z-index:240;
        display: flex;
        width:100%;
        height:100%;
        position: absolute;
        pointer-events: none;
        transition: all .3s;
    }

    .frame, .frameOff {
        position:relative;
    }

    .frame::after, .frameOff::after{
        content: ' ';
        z-index:250;
        display: flex;
        top: 0;
        left: 0;
        width:100%;
        height:100%;
        position: absolute;
        pointer-events: none;
    }

    .frame::after {
        background-image:url(misc/frameON.svg);
    }

    .frameOff::after {
        rotate: 90deg;
        background-image:url(misc/frameOFF.svg);
    }

    .slide:active 
    .frame {
        animation: shake .1s linear 1;
    }

    .slide:hover
    .preview {
        box-shadow: 0px 0px 20px var(--acid);
    }
	
    @keyframes shake {
	    0%{ transform: rotate(0deg);}
	    25%{ transform: rotate(-3deg);}
        75%{ transform: rotate(3deg);}
	    100%{ transform: rotate(0deg);}
	}
	
	.plaque {
        width: 100%;
        min-height: 8vh;
        align-items: center;
        align-content: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: clamp(.25vh, .5vw, 1vh);
        text-shadow: 0 0 1px var(--bone), 0 0 2px var(--bone), 0 0 3px var(--bone), 0 0 4px var(--bone), 0 0 5px var(--bone), 0 0 10px var(--bone), 0 0 15px var(--bone);
        transform: scale(.85);
        transition: all 0.3s ease-in-out;
        color: var(--ivy);
        cursor: pointer;
	}

    .slide:hover 
    .plaque {
        opacity: 1;
        transform: scale(.9);
    }
 
    .dust {
        pointer-events: none;
        cursor: none;
    }

    .dust .plaque {
        opacity: .6;
    }

    /*///       WORK POPUP       ///*/

    .modal {
        display: none;
        position: fixed;
        z-index: 250;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        align-content: center;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    .modal::before {
        /*background-image: radial-gradient(var(--ivy), var(--ink));*/
        background: var(--ink);
        content:' ';
        width: 100vw;
        height: 100vh;
        margin: 0;
        padding: 0;
        left:0;
        top: 0;
        opacity: .8;
    }

    /*
    .static {
        pointer-events: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
        top:0;
        left: 0;
        z-index:250;
        opacity: .1;
    } */

    .modal-content {
        background-color: var(--ink);
        position: absolute;
        z-index: 251;
        opacity: 1 !important;
        color: var(--ivy);
        padding: calc(var(--gap)*3);
        height: auto;
        max-height: 100vh;
        width: auto;
        max-width:100%;
        display: grid;
        align-content: center;
        justify-content: space-between;
        align-items: center;
        gap: calc(var(--gap)*1.5);
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        border-top: 4px solid var(--ivy);
        border-bottom: 4px solid var(--ivy);
    }

    #Showcase {
        display: none;
        overflow: hidden;
    }

    #Hero {
        align-content:center;
        display: flex;
        justify-content: center;
    }
/*
    #Hero img {
        object-fit: cover;
    }
*/
        .feature {
            aspect-ratio: 1 / 1;
            padding: 0px;
            margin: 0px;
            width: 100%;
        }


    .panel {
        display: flex;
        justify-content: space-between;
        flex: auto;
        flex-flow: row nowrap;
        height: 100%;
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    #Title {
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        display:flex;
        gap: calc(var(--gap)*2);
        max-width: 75vmin;
        max-height: 80vmin;
        padding: calc(var(--gap)*3);
        overflow: scroll;
    }

        #Title .head {
            color: var(--glass);
        }

    #Previews {
        padding:0;
        margin: 0;
        display: flex;
        aspect-ratio: 1/4;
        flex-flow: column nowrap;
        align-items: center;
        justify-content: center;
    }

        #Previews img {
            aspect-ratio: 1/1;
            max-width: 100%;
        }

    #Desc {
        width: 100%;
        margin:0;
    }

    #Project {
        width: 100%;
    }

    .showing {
        border: 2px solid var(--acid);
    }

    #Close {
        color: var(--acid);
        scale: .7;
        cursor: pointer;
    }

/*-----------------------------------*/
/*///         end GALLERY         ///*/
/*-----------------------------------*/



/*-----------------------------------*/
/*///             404             ///*/
/*-----------------------------------*/

    .error {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        overflow: hidden;
        height:70%;
        
    }

    .error .message {
        display: flex;
        align-content:center;
        align-items: center;
        text-align: center;
        flex-direction: column;
        position: absolute;
        top: 50%;
        filter: invert(1);
        mix-blend-mode: difference;
        z-index: 260;
        max-width: 100%;
    }

    .error h2{
        font-family: 'Obviously-Wide', sans-serif;
        font-weight: bold;
        font-style: normal;
        color: var(--ink);
        font-size: 120pt;
    }

    .error p {
        font-size: 10vh;
    }

    .error img {
        height:100%;
        min-width: 100%;
        position:relative;
        object-fit: cover;
        
    }

/*-----------------------------------*/
/*///         end 404             ///*/
/*-----------------------------------*/



/*-----------------------------------*/
/*///         HOUSE MARK          ///*/
/*-----------------------------------*/

    .house {
        margin:0;
        padding:0;
        height: auto;
        width: 1vw;
    }

    .house::after {
        content: url(misc/house.svg);
    }

    footer .house {
        width: .5vh;
        margin-top: -.25vh;
        margin-left: var(--gap);
    }

/*-----------------------------------*/
/*///       end HOUSE MARK        ///*/
/*-----------------------------------*/


/*-----------------------------------*/
/*///           ABOUT             ///*/
/*-----------------------------------*/

	#bigAbout {
		display: flex;
		flex-flow: row nowrap;
		line-height: 2vh;
		padding:0px 0px 0px 0px;
		margin: 0px;
        margin-top: 2vh;
		width: auto;
		height: 68vh;
		display: flex;
        text-align:center;
        align-items: top;
     	justify-content: flex-start;
		z-index:0;
        gap:2vh;
        position: relative;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
	}

        .image img:hover {
            filter: invert(100%);
        }

        .image img {
            height:100%;
        }



    #Resume {
        display: flex;
        flex-direction: column;
        padding: 40px;
        gap: 40px;
        justify-content: flex-start;
    }

    .sect {
        display: flex;
        flex-direction: column;
        text-align: left;
        gap: 30px;
    }

    .horizontal {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }

    .twofer {
        width: 100%;
    }
	
	.slot {
		display: flex;
		text-align:left;
        align-items: left;
		flex-flow: column;
		background: transparent;
		height: 100%;
        width: 40vmin;
        gap: var(--gap);
	}

    #Bio {
        padding: 40px;
        width:fit-content;
        display: flex;
    }

    .blahblahblah {
        
        width:50vw;
        max-width:100vmin;
		background: transparent;
        gap: var(--gap);
	}

    .blahblahblah p {
        text-align:left;
        font-size: clamp(10pt, 2vmin, 18pt);
        line-height: clamp(12pt, 2vmin, 20pt);
	}
	
	#Resume h1{
		padding:10px 0px 10px 0px;
        margin: 0;
        display:inline-flex;
	}
	#Resume h4{
		padding:0px;
	}
    #Resume h6 {
        margin-bottom:0px;
    }

	.role {
		display:inline-flex;
		flex-flow: column wrap;
		gap:5px;
		line-height: 0 !important;
        margin: 10px 0 10px 0;
	}

    .roleHead {
        display: inline-flex;
        flex-flow: row nowrap;
        gap: 15px;
    }

    .roleBlocks:nth-of-type(1){
        min-width: fit-content;
    }

    .roleBlocks{
        display: inline-flex;
        flex-flow: column;
    }

    .list {
		text-align: left;
        margin: 0 0 0 30px;
	}

/*-----------------------------------*/
/*///         end ABOUT           ///*/
/*-----------------------------------*/