/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; 
          background-color: #E82D0C ;}

html {
    color: #f22b0c;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
img {
	width: 100%;
}
*/
.frontpage {
	display: grid;
	grid-template-columns: repeat(18, 1fr);
	grid-template-rows: repeat(7, 1fr);
	height: 100vh;
}


.frontpage-half {
	display: grid;
	grid-template-columns: repeat(18, 1fr);
	grid-template-rows: auto, auto, repeat(5, 1fr);
	padding-bottom: 50px;
	
}




a {
	text-decoration: none;
	color: #fff;
}

p {

}


/* ==========================================================================
	HOME PAGE 
	==========================================================================*/

.contact {
	grid-column: 18 / 19;
	grid-row: 1 / 2;
	width: 30px;
	margin-top: 40px;
}
.cv {
	grid-column: 18 / 19;
	grid-row: 1 / 2;
	width: 30px;
	margin-top: 80px;
}
.logo {
	grid-column: 4 / 6;
	grid-row: 1 / 8;
	width: 25vw;
	align-self: center;
}

.mailto {
	font-family: urw-din, sans-serif;
	font-weight: 400;
	font-size: .85em;
	letter-spacing: -.051em;
	color: #eee !important;
	font-kerning: normal;
	grid-column: 17 / 18;
	grid-row: 1 / 2;
	align-self: start;
	justify-self: end;
	padding-top: 42px;
	padding-right: 2px;
	z-index: 11;
	width: 60px;
}

.cvt {
	font-family: urw-din, sans-serif;
	font-weight: 400;
	font-size: .85em;
	letter-spacing: -.051em;
	color: #eee !important;
	font-kerning: normal;
	grid-column: 17 / 18;
	grid-row: 1 / 2;
	align-self: start;
	justify-self: end;
	padding-top: 92px;
	padding-right: 2px;
	z-index: 10;
	width: 60px;
}

.title {
	font-family: urw-din, sans-serif;
	font-weight: 250;
	font-size: 2em;
	letter-spacing: -.01em;
	color: #eee;
	grid-column: 3 / 17;
	grid-row: 1 / 8;
	align-self: center;
	justify-self: center;
	font-kerning: normal;
}

.work-intro {
	font-family: urw-din, sans-serif;
	font-weight: 250;
	font-size: 1.3em;
	letter-spacing: -.01em;
	color: #eee;
	grid-column: 3 / 12;
	grid-row: 1 / 8;
	align-self: center;
	justify-self: center;
	font-kerning: normal;
}


.end {
	font-family: urw-din, sans-serif;
	font-weight: 250;
	font-size: 1.3em;
	line-height: 1.75em;
	letter-spacing: -.01em;
	color: #eee;
	grid-column: 3 / 12;
	grid-row: 1 / 3;
	align-self: center;
	justify-self: center;
	font-kerning: normal;
}

.name {
	font-family: urw-din, sans-serif;
	font-weight: 250;
	font-size: 2em;
	letter-spacing: -.051em;
	color: #eee;
	grid-column: 3 / 18;
	grid-row: 1 / 2;
	align-self: center;
	font-kerning: normal;
}
.name-r {
	font-family: urw-din, sans-serif;
	font-weight: 250;
	font-size: 2em;
	letter-spacing: -.051em;
	color: #eee;
	grid-column: 10 / 19;
	grid-row: 1 / 8;
	align-self: center;
	justify-self: center;
	font-kerning: normal;
	text-align: center;
}

.name-l {
	font-family: urw-din, sans-serif;
	font-weight: 250;
	font-size: 2em;
	letter-spacing: -.051em;
	color: #eee;
	grid-column: 1 / 9;
	grid-row: 1 / 8;
	align-self: center;
	justify-self: center;
	font-kerning: normal;
	text-align: center;
}


.name-c {
	font-family: urw-din, sans-serif;
	font-weight: 250;
	font-size: 1.5em;
	letter-spacing: -.021em;
	color: #eee;
	grid-column: 1 / 19;
	grid-row: 1 / 2;
	align-self: center;
	justify-self: center;
	font-kerning: normal;
	text-transform: uppercase;
	padding: 1em 0 1em 0;
}


.name-r span {
	font-size: .5em;
	letter-spacing: 0;
	
	}

.scroll {
	font-family: urw-din, sans-serif;
	font-weight: 500;
	font-size: 1em;
	letter-spacing: .051em;
	color: rgba(240, 240, 240, .8);
	grid-column: 16 / 19;
	grid-row: 7 / 8;
	font-kerning: normal;
	justify-self: center;
	align-self: end;
	text-align: center;
	margin-bottom: 20px;
}

.name span {
	color: #1fa9be;
}

.desc {
	font-family: urw-din, sans-serif;
	font-weight: 500;
	font-size: 1.2em;
	letter-spacing: .051em;
	color: rgba(240, 240, 240, .8);
	grid-column: 4 / 16;
	grid-row: 1 / 2;
	font-kerning: normal;
	justify-self: center;
	align-self: end;
	text-align: center;
	padding: 1em 0 3em 0;

}
.descsub {
	font-family: urw-din, sans-serif;
	font-weight: 500;
	font-size: 1.2em;
	letter-spacing: .051em;
	color: rgba(240, 240, 240, .8);
	grid-column: 4 / 16;
	grid-row: 2 / 3;
	font-kerning: normal;
	justify-self: center;
	align-self: center;
	text-align: center;
	margin-top: 10px;
	padding: 1em 0 3em 0;
}
.soultrane {
	grid-column: 10 / 17;
	grid-row: 1 / 8;
	object-fit: cover;
	margin: 0;
  padding: 0;
  justify-self: center;
  align-self: center;
  height: 50vh;

}
.soultrane-l {
	grid-column: 3 / 10;
	grid-row: 1 / 8;
	object-fit: ccontain;
	margin: 0;
  padding: 0;
  justify-self: center;
  align-self: center;
  height: 50vh;
}

.soultrane-l1 {
	grid-column: 1 / 7;
	grid-row: 2 / 7;
	object-fit: cover;
	margin: 0;
  padding: 0;
  justify-self: end;
  align-self: center;

}

.soultrane-l2 {
	grid-column: 7 / 13;
	grid-row: 2 / 7;
	object-fit: cover;
	margin: 0;
  padding: 0;
  justify-self: center;
  align-self: center;

}
.soultrane-l3 {
	grid-column: 13 / 19;
	grid-row: 2 / 7;
	object-fit: cover;
	margin: 0;
  padding: 0;
  justify-self: start;
  align-self: center;

}

.soultrane-l4 {
	grid-column: 1 / 9;
	grid-row: 2 / 6;
	object-fit: cover;
	margin: 0;
  padding: 0;
  justify-self: end;
  align-self: center;
  height: 31.7vh;

}
.soultrane-l5 {
	grid-column: 11 / 19;
	grid-row: 2 / 6;
	object-fit: cover;
	margin: 0;
  padding: 0;
  justify-self: start;
  align-self: center;
height: 31.7vh;
}
.soultrane-l6 {
	grid-column: 1 / 19;
	grid-row: 7 / 8;
	margin: 0;
  padding: 0;
  justify-self: center;
  align-self: end;
  padding: 3em 0 3em 0;

}
.soultrane-c {
	grid-column: 4 / 16;
	grid-row: 3 / 8;
	margin: 0;
  padding: 0;
  justify-self: center;
  align-self: center;
  height: 75vh;
	-o-object-fit: contain;
	object-fit: contain;
	object-position: 50% 50%;
}
.soultrane-c85 {
	grid-column: 4 / 16;
	grid-row: 3 / 4;
	margin: 0;
  padding: 0;
  justify-self: center;
  align-self: center;
  height: 75vh;
	-o-object-fit: contain;
	object-fit: contain;
	object-position: 50% 50%;
}
.soultrane-d {
	grid-column: 4 / 16;
	grid-row: 1 / 8;
	object-fit: contain;
	margin: 0;
  padding: 0;
  justify-self: center;
  align-self: center;

}
.scaletest {
	object-fit: cover;
	width: 60vw;
	height: 88vh;
	-o-object-fit: contain;
	object-fit: contain;
	object-position: 50% 50%;
	justify-self: end;
	margin: 0 5vw 0 5vw;
}

.work-logo {
	grid-column: 13 / 16;
	grid-row: 1 / 8;
	width: 15vw;
	justify-self: center;
  align-self: center;
	
	
}

/*
.scaletest-r {
	width: 60vw;
	height: 80vh;
	-o-object-fit: contain;
	object-fit: contain;
	object-position: 50% 50%;
	justify-self: start;
}
*/


.fill {
	grid-column: 1 / 19;
	grid-row: 1 / 8;
	background-color: #E82D0C ;
}
.fillhalf {
	grid-column: 1 / 19;
	grid-row: 1 / 5;
	background-color: #E82D0C ;
}
.over-blue {
	grid-column: 1 / 19;
	grid-row: 6 / 11;
	background-color: #1fa9be;
	mix-blend-mode: multiply;
}


.soul {
	grid-column: 16 / 17;
	grid-row: 6 / 11;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: "termina", serif;
	font-weight: 500;
	font-size: 2vw;
	color: #f3e8e6;
	text-transform: uppercase;
	align-self: start;

}

.trane {
	grid-column: 16 / 17;
	grid-row: 1 / 6;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font-family: "termina", serif;
	font-weight: 500;
	font-size: 2vw;
	font-style: normal;
	color: #222;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.nav-home-work {
	grid-column: 16 / 18;
	grid-row: 9 / 10;
	font-family: "termina", serif;
	font-weight: 500;
	font-size: 1.33vw;
	font-style: normal;
	color: #f3e8e6;
	text-transform: uppercase;
	z-index: 5;
}

.nav-home-about {
	grid-column: 16 / 18;
	grid-row: 9 / 10;
	font-family: "termina", serif;
	font-weight: 500;
	font-size: 1.33vw;
	font-style: normal;
	color: #f3e8e6;
	text-transform: uppercase;
	align-self: end;
	z-index: 5;
}
@media screen and (min-width:320px) and (max-width:479px){
	.name {
		padding-top: 25px;
	}
	.soultrane {
		height: 45vh;
	}
	.frontpage {
		height: 90vh;
	}
	.soul {
		grid-column: 15 / 16;
		font-size: 5vw;
	}
	.trane {
		grid-column: 15 / 16;
		font-size: 5vw;
	}
	.nav-home-work {
		grid-column: 15 / 16;
		font-size: 3.5vw;
	}
	.nav-home-about {
		grid-column: 15 / 16;
		font-size: 3.5vw;
	}
}

/*
@media screen and (min-width:480px) and (max-width:768px){
	.soultrane {
		height: 49vh;
	}
	.frontpage {
		height: 98vh;
	}
	.over-blue {
		height: 49vh;
	}
	.soul {
		grid-column: 15 / 16;
		font-size: 2.5vw;
	}
	.trane {
		grid-column: 15 / 16;
		font-size: 2.5vw;
	}
	.nav-home-work {
		grid-row: 8 / 9;
		grid-column: 17 / 18;
		font-size: 2vw;
	}
	.nav-home-about {
		grid-column: 17 / 18;
		font-size: 2vw;
	}
}
*/
/*
@media screen and (min-width:769px) and (max-width:1024px){
	.soultrane {
		height: 46vh;
	}
	.frontpage {
		height: 92vh;
	}
	.over-blue {
		height: 46vh;
	}

}
*/



/* ==========================================================================
	WORK MAIN PAGE 
	==========================================================================*/
	
	
.work-main-layout {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	grid-template-rows: repeat(10, 1fr);
	background-color: #f3e8e6;
	height: 100vh;
	grid-auto-flow: dense;

	}
	
	
.t2 {
	grid-row: span 2;
}
.l2 {
	grid-column: span 2;
}
	
@media screen and (min-width:320px) and (max-width:479px) {
	.work-main-layout {
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(10, 19.9vh);
	grid-auto-flow: dense;

	}
}



.mast {
	font-family: "clarendon-urw-extra-wide", serif;
	font-weight: 800;
	font-size: 6vw;
	color: #222;
	grid-column: 4 / 6;
	grid-row: 2 / 3;
	justify-self: center;
	align-self: center;
	grid-row: span 1;
	grid-column: span 2;
	display: flex;
}

.mast span {
	color: #ED3123;
}

/* ==========================================================================
	SUB WORK PAGE 
	==========================================================================*/
.work-base-shell {
	display: grid;
	grid-template-columns:minmax(10vw, 20vw) 1fr;
	margin: 3vw;
}

.work-base-deets {
	display: flex;
	align-items: flex-start;

}
.work-base-deets:first-child {
	width: 100px;
	margin: 3vw auto;
	
}

.wbg-child {
	display: flex;
	flex-flow: column;
	}

.wbg-child img {
	order: -1;
}

.wbg-child p {
	font-family: "skolar-sans-latin", serif;
	font-weight: 300;
	font-size: .9em;
	color: #222;
	margin-top: 8px;
}

.wbg-child h2 {
	font-family: "termina", serif;
	font-weight: 300;
	font-size: 1.15em;
	color: #222;
	margin-bottom: 1px;
}


article {
	margin: 0;
}
.work-base-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
	grid-gap: 2vw;
	margin-top: 10vh;
}



/* ==========================================================================
	KEYSIGHT WORK PAGE 
	==========================================================================*/

.keys-grid-3 {
	display: grid;
	grid-template-columns: repeat(136, 1px);
	grid-template-rows: repeat(4, 150px);
	grid-column-gap: 18px;
	padding-left: 18px;
	width: 100vw;
	overflow-x: hidden;
}

.kintro {
	font-family: "skolar-sans-latin", serif;
	font-weight: 100;
	font-size: 1.7em;
	color: #222;
	grid-column: 36 / 60;
	grid-row: 3 / 4;
	align-self: end;
		
}

.kintro span {
	color: #FF0025;
}

.mb1 {
	grid-column: 11 / 12;
	grid-row: 2 / 3;
}

.mb2 {
	grid-column: 35 / 36;
	grid-row: 2 / 3;
}

.klogo {
	grid-column: 12 / 23;
	grid-row: 2 / 3;
	align-self: end;
}

.keys-grid-opening {
	display: grid;
	grid-template-columns: repeat(8, 19px) 1fr repeat(8, 19px);
	grid-template-rows: auto 1fr 1fr 1fr;
	grid-column-gap: 1px;
	grid-row-gap: 24px;
}

.keys-intro-para {
	grid-column: 9 / 10;
	grid-row: 1 / 2;
	font-family: "skolar-sans-latin", serif;
	font-weight: 100;
	font-size: 1.5em;
	color: #222;
	max-width: 1280px;
	justify-self: center;
}

.keys-img-1 {
	grid-column: 9 / 10;
	grid-row: 2 / 3;
	max-width: 1280px;
	justify-self: center;
}
.keys-img-2 {
	grid-column: 9 / 10;
	grid-row: 3 / 4;
	max-width: 1280px;
	justify-self: center;
}
.keys-img-3 {
	grid-column: 9 / 10;
	grid-row: 4 / 5;
	max-width: 1280px;
	justify-self: center;
}


 @media (max-width: 768px) {
	 .mb1 {
		 display: 
	grid-column: 7 / 8;
}

.klogo {
	grid-column: 8 / 20;
}

.mb2 {
	grid-column: 27 / 28;
	grid-row: 2 / 3;
}

.kintro {
	grid-column: 28 / 60;
}

.keys-intro-para {
	grid-column: 4 / 15;
	font-size: 1.25em;
}

.keys-img-1, .keys-img-2, .keys-img-3 {
	grid-column: 4 / 15;

}
 }



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional https request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * https://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
