@font-face {
    font-family: 'replica';
    src: url('fonts/Replica-Mono.ttf');
}

@font-face {
    font-family: 'pressurabold';
    src: url('fonts/GT-Pressura-Pro-Mono-Trial-Bold.otf');
}

@font-face {
    font-family: 'pressurareg';
    src: url('fonts/GT-Pressura-Pro-Mono-Trial-Regular.otf');
}

@font-face {
    font-family: 'pressuraLight';
    src: url('fonts/gt-pressura-mono-light.ttf');
}

@font-face {
    font-family: 'pressuraLightItalic';
    src: url('fonts/gt-pressura-mono-light-italic.ttf');
}

@font-face {
    font-family: 'heldaneDisplayMedium';
    src: url('fonts/Heldane_Display_Medium.otf');
}

html, body{
	margin: 0;
	padding: 0;
	color: #333333;
	scroll-behavior: smooth;
}


#loadingWrapper{
    height: 100%;
    width: 100%;
    background-color: green;
    z-index: 999;
    display: block;
    
}

#content{
    background-color: #1a1a1a;
    width: 100%;
    height: 0px;
    top:0px;
    position: fixed;
    z-index: 10;
    overflow-y: scroll;
    overflow-x: hidden;
}

.blockText::selection, .selection::selection, .headline::selection, #centerTitle::selection, #projTitle::selection{
    color:#1a1a1a;
    background:#f2f2f2;
}

.iframeContain{
    overflow:hidden;  
    padding-top: 56.25%;
    position: relative;
}

.iframeContain iframe{
    border:0;
    position: absolute;
    height: 100%;
    left: 0;
    width: 100%;
    top: 0;
}

.phot{
    max-width: 100%;
    max-height: 60vh;
    display: block;
}

.longPhot{
    max-width: 100%;
    display: block;
}

.photDesc{
    font-family: 'pressuraLightItalic';
    font-size: .8em;
    line-height: 135%;
    width: auto;
    margin-left: 20px;
    margin-top: 3px;
}

.thirtySpacer{
    width: auto;
    display: block;
    height: 30px;
}

.tinySpacer{
    width: auto;
    display: block;
    height: 5px;
}

.headline{
    font-family: "heldaneDisplayMedium";
    color: #f2f2f2;
    font-size: 2.2em;
    text-align: left;
    width: 350px;
    margin-left: calc(100% - 350px);
    line-height: 125%;
}

.blockText{
    font-family: 'pressuraLight';
    text-align: left;
    width: 350px;
    margin-left: calc(100% - 350px);
    color: #cccccc;
    font-size: .9em;
    line-height: 150%;
}

.highlight{
    background-color: #cccccc;
    color: #1a1a1a;
}

#sidebar{
    height: 100%;
    background-color: #1a1a1a;
    border-right: 1px solid #8c8c8c;
    width: 220px;
    display: none;
    padding-left: 30px;
    padding-top: 30px;
    margin-top: 0;
    position: fixed;
    opacity: 0;
}

#exitButt{
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    background-image: url("icons/whiteExit.svg");
}

#exitButt:hover{
    cursor: pointer;
    background-image: url("icons/whiteExitHover.svg");
}

.selection{
    font-family: "pressuraLight";
    color: #cccccc;
    margin-bottom: 5px;
}

.selection:hover{
    background-color: #f2f2f2;
    color: #1a1a1a;
    cursor: pointer;
}

#sidebarScroll{
    margin-top: 50px;
    scrollbar-width: none;
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100% - 300px);
}

#sidebarScroll::-webkit-scrollbar { width: 0 !important }
#sidebarScroll  { overflow: -moz-scrollbars-none; }

#projTitle{
    font-family: "heldaneDisplayMedium";
    color: #f2f2f2;
    font-size: 4em;
    position: fixed;
    max-width: 400px;
    line-height: 90%;
    top: 15px;
    left: 280px;
    z-index: 5;
    opacity:0;
    text-align: left;
}

#centerTitle{
    font-family: "heldaneDisplayMedium";
    color: #f2f2f2;
    font-size: 2.2em;
    position: fixed;
    top: 0px;
    width: 100%;
    text-align: center;
    display: none;
    opacity: 0;
    z-index: 5;
    background-color: #1a1a1a;
    vertical-align: center;
    border-bottom: 1px solid #8c8c8c;
}

#phpGrab{
    height: auto;
    background-color: #1a1a1a;
    width: calc(100% - 350px);
    max-width: 800px;
    display: none;
    position: absolute;
    margin-top: 57px;
    font-family: "pressuraLight";
    color: #cccccc;
    opacity: 0;
}

#secretExit{
    width: 29px;
    height: 29px;
    background-image: url("icons/blackExit.svg");
    position: fixed;
    bottom: 3px;
    right: 3px;
    display: none;
    z-index: 21;
}

#secretExit:hover{
    cursor: pointer;
    background-image: url("icons/blackExitHover.svg");
}

header{
	width: 100%;
	height: 98px;
	position: fixed;
	background-color: white;
	opacity: .95;
	z-index: 20;
}

#mattTitle{
	height: 98px;
	width: 100%;
	margin-bottom: 1px;
	background-color: white;
	font-size: 2.5em;
	padding-left: 27px;
	padding-top: 25px;
	color: black;
	overflow: hidden;
	display: table-cell;
	white-space: nowrap;
	table-layout:fixed;
}

#titleBox{
	height: auto;
	width: 100%;
	border-bottom: 1px solid lightgrey;
	overflow: hidden;
}

#mattOnly{
	border-bottom: 2px solid black;
	font-family: "pressurabold", monospace;
		  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

#smallTitle{
	font-family: "pressurareg", monospace;
	text-decoration: none;
	overflow:hidden;
}

#smallTitle::selection{
	color: white;
	background: black;
}

#selection{
	height: 50px;
	font-family: replica;
	background-color: white;
	overflow-x: hidden;
	overflow-y: hidden;
	position: relative;
	white-space: nowrap;
}

#all{
	background-color: black;
	color: white;
}

#grid{
	padding-top: 101px;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-auto-rows: 14.2857vw;
	grid-gap: 3px;
	grid-auto-flow: dense;
	width: 100%;
	position: relative;
}

.Agrid-item{
}

.Bgrid-item{
	grid-row: span 2;
}

.Cgrid-item{
	grid-column: span 2;
}

.Dgrid-item{
	grid-column: span 2;
	grid-row: span 2;
}

.grid-item{
	display: none;
	float: left;
	background-color: white;
	background-position: center;
	position: relative;
	height: 100%;
	border-radius: 2px;
	background-size: cover;
	opacity: 0.1;
}

a{
    color: #cccccc;
	text-decoration: underline;
}

span::selection{
	color: white;
	background: black;
}

.grid-item:hover{
	cursor: pointer;
}

.tabHolder{
	position: absolute;
	height: 8px;
	bottom: 0;
	right: 0;
	display: inline-block;
	z-index: 11;
	border-radius: 2px;
}


.helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    width: 0;
}

#missionState{
	background-color: #ffcc00;
	width: 95%;
	height: 46%;
	font-family: pressuraReg;
	position: absolute;
	top: 2.5%;
	left: 2.5%;
	justify-content: center;
	align-items: center;
	display: flex;
	border-bottom: 5px solid #cca300;  
	border-top: 5px solid #ffdb4d;   
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#missionState:hover, #missionState:active{
	color: white;
	background-color: #ffe680;
	border-top: 5px solid #ffd11a;  
	border-bottom: 5px solid #fff0b3;   
}

#clickBait{
	background-color: #ff33cc;
	bottom: 2.5%;
	left: 2.5%;
	width: 95%;
	height: 46%;
	font-family: pressuraReg;
	position: absolute;
	justify-content: center;
	align-items: center;
	display: flex;	
	border-bottom: 5px solid #e600ac;  
	border-top: 5px solid #ff66d9;   
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#clickBait:hover, #clickBait:active{
	color: white;
	background-color: #ff80df;
	border-top: 5px solid #ff4dd2;  
	border-bottom: 5px solid #ffb3ec;   
}

#g24{
	border: solid 9px #333;
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}


@media only screen and (max-width: 1550px) {
	#grid{
		grid-template-columns: repeat(6, 1fr);
		grid-auto-rows: 16.666vw;
}

	#mattTitle{
		font-size: 2.1em;
		padding-top: 28px;
}
}
@media only screen and (max-width: 1250px) {
	#grid{
		padding-top: 79px;
		grid-template-columns: repeat(5, 1fr);
		grid-auto-rows: 20vw;
}

	header{
		height: 77px;
	}

	#mattTitle{
		font-size: 1.6em;
		height: 77px;
		line-height: 70px;
		padding-top: 0px;
}

	#all{margin-left: 0px;}
}
@media only screen and (max-width: 950px) {
	#grid{
	padding-top: 57px;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 25vw;
}

	header{
		height: 55px;
}

	#mattTitle{
		font-size: 1.15em;
		padding-left: 10px;
		height: 55px;
		line-height: 50px;
}
}


/*fold out to phone mode*/
@media only screen and (max-width: 700px) {
	#grid{
	padding-top: 37px;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 33.333vw;
	}

	header{
		height: 35px;
	}

	#mattTitle{
		height: 35px;
		line-height: 33px;
		font-size:.83em;
	}
}

@media only screen and (max-width: 500px) {
	#grid{
	padding-top: 45px;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 33.333vw;
	}

	header{
		height: 43px;}

	#mattTitle{
		height: 43px;
		line-height: 40px;
		overflow: visible;
		font-size: 0.9em;
		padding-top: 0;
	}
	
	#secretExit{
	    right: 5px;
	    bottom: 7px;
	}
	
	.headline{
        font-size: 2.2em;
        width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .blockText{
        width: 350px;
        font-size: .9em;
        margin-left: auto;
        margin-right: auto;
    }
    
    .thirtySpacer{
        height: 20px;
    }
}

@media only screen and (max-width: 420px) {
    .headline{
        font-size: 1.8em;
        width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .blockText{
        width: 300px;
        font-size: .75em;
        margin-left: auto;
        margin-right: auto;
    }
    
    .thirtySpacer{
        height: 15px;
    }
    
    .photDesc{
        font-family: 'pressuraLightItalic';
        font-size: .67em;
        line-height: 135%;
        width: auto;
        margin-left: 10px;
        margin-top: 3px;
    }
}

@media only screen and (max-width: 370px) {
    .headline{
        font-size: 1.6em;
        width: 230px;
        margin-left: auto;
        margin-right: auto;
    }

    .blockText{
        width: 230px;
        font-size: .75em;
        margin-left: auto;
        margin-right: auto;
    }
    
    .thirtySpacer{
        height: 15px;
    }
    
    .photDesc{
        font-family: 'pressuraLightItalic';
        font-size: .67em;
        line-height: 135%;
        width: auto;
        margin-left: 10px;
        margin-top: 3px;
    }
}

























