@font-face {
	font-family: 'AvenirLight';
	src: url('../fonts/AvenirLTStd-Book.woff') format('woff');
}
@font-face {
	font-family: 'AvenirBold';
	src: url('../fonts/AvenirLTStd-Heavy.woff') format('woff');
}
@font-face {
	font-family: 'TypoGroteskBold';
	src: url('../fonts/typo_grotesk_bold_demo-webfont.woff') format('woff');
}

html, body {
    min-height: 100%;
    height: 100%;
    font-family: 'AvenirLight';
    font-weight: 200;
    font-size: 0px;
}
html, body, ul, div, img, h1, h2, h3, a, li {
	padding:0;
	margin:0;
	text-decoration: none;
}

#current {
	display: flex;
	flex-wrap: wrap;
}
#current > a {
	flex-grow: 1;
	width: auto;
	height: 105px;
	padding: 36px 34px;
	flex-basis: 0;
	overflow-x:hidden;
	overflow-y:hidden;
	margin-bottom: 10px;

}
#current img {
	height: 100px;
	margin: 0px 0px 0px 20px;
}
#current h1 {
	display: inline-block;
	margin: 6px 0 15px 0;
}

.middle {
	margin: 0 10px;
}

#biocapsensor {
	background-color: #6F49FF;
	min-width: 123px;
	max-width: 450px;
}

/*---BODY---*/
.body {
	margin-top: 200px;
	width: calc(90% - 80px);
	max-width: 1200px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	padding-bottom: 30px;
}
.body a {
	width: 100%;
	height: 188px;
	color: white;
	margin-bottom: 25px;
	display: block;
}
.body > div > a > div {
    display: inline-block;
    margin-top: 59px;
    padding-left: 40px
}
.body h1 {
    margin-bottom: 10px;
    font-family: 'AvenirBold';
    font-size: 32px;
}
.body h2 {
    font-family: 'AvenirBold';
    font-size: 22px;
    margin: 46px 0 25px 0;
    color: white;
    display: inline-block;
    background-color: #6C6C6C;
    padding: 13px 18px;
}
.body h3 {
    font-size: 18px;
}
.body img {
    height: 188px;
    display: inline-block;
    float: right;
    margin-right: 20px;
}
#none {
	display: none;
}
#zoom > img {
	height: 35px;
	margin-top: 3px;
}
#PrevPub {
	background-color: #ff9445;
	max-width: 520px;
}
#PrevPub > img {
	padding: 20px;
	height: 148px;
	opacity: 0.95;
	margin-right: 27px;
}

.list-item {
	transition: all 0.3s ease;
	box-shadow: 0px 7px 20px rgba(0,0,0,0);
}
 .list-item:hover {
	box-shadow: 0px 10px 20px rgba(0,0,0,.19);
	transform: translateY(-5px);
 }


/*---MOBILE---*/
@media screen and (max-width: 1030px) {
    #current h3 {
			display: none;
		}
		#current a {
			height: auto;
		}
		#current h1 {
			margin-bottom: 0;
		}
}

@media screen and (max-width: 900px) {
    .body {
        width: calc(100% - 60px);
    }
}

@media screen and (max-width: 749px) {
    h3 {
        display: none;
    }
    #past a {
        height: 150px;
    }
    #past img {
        height: 150px;
        margin: 0;
    }
		#jupyter > img{
			height: 115px;
			margin-right: 9px;
		}
    #five-min-shower > img {
        height: 110px;
        margin: 20px 35px;
    }
    #net-neutrality > img {
        height: 130px;
        margin: 10px;
    }
		#polyplanner > div {
				max-width: 179px;
		}
		#past > #polyplanner > img{
				margin-top: 24px;
		}
    #past > a > div {
        max-width: 216px;
        margin-top: 39px;
    }
		#past > #polyplanner > div, #past > #photography > div {
			margin-top: 56px;
		}
    #past h2 {
        margin-top: 30px;
    }
}

@media screen and (max-width: 691px) {
		.middle {
			margin-right: 0;
		}
}

@media screen and (max-width: 520px) {
    .body {
        width: calc(100% - 60px);
				margin-top: 120px;
    }
    .body h2 {
        margin-top: 26px;
        margin-bottom: 12px;
				font-size: 20px;
    }
    #past > a > div {
        max-width: 169px;
        margin-top: 37px;
        padding-left: 20px;
				position: fixed;
    }
    .body h1 {
        font-size: 25px;
    }
		#current h1 {
			margin-top: 8px;
		}
    #past a {
        height: 130px;
        margin-bottom: 15px
    }
    #past img {
        height: 130px;
    }
		#jupyter > img{
			height: 96px;
		}
    #five-min-shower > img {
        height: 90px;
        margin: 20px 35px;
		}
		#past > #polyplanner > img {
				height: 68px;
				margin-top: 33px;
		}
    #net-neutrality > img {
        height: 110px;
        margin: 10px;
    }
		#past > #polyplanner > div, #past > #photography > div {
			margin-top: 53px;
		}
}
@media screen and (max-width: 433px) {
		.middle {
			margin-left: 0;
		}
}


/*---ANIMATIONS---*/
/* Underline From Center */
.hvr-underline-from-center {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	overflow: hidden;
}
.hvr-underline-from-center:before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	right: 50%;
	bottom: 0;
	background: #A9A9A9;
	height: 3px;
	-webkit-transition-property: left, right;
	transition-property: left, right;
	-webkit-transition-duration: 0.25s;
	transition-duration: 0.25s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
	left: 0;
	right: 0;
}
