@font-face {
	font-family: 'Whyte Regular';
	src: url('../fonts/Whyte-Regular.woff2') format('woff2'),
			 url('../fonts/Whyte-Regular.woff') format('woff');
	font-weight:	normal;
	font-style:	 normal;
	font-stretch: normal;
}

*::selection {
  background: yellow;
  color: #000;
}

*,
*:after, 
*:before {
	margin: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
}

h2 {
    color: #FFFFFF;
    font-family: 'Whyte Regular', sans-serif;
    font-size: 2.5vw;
    font-weight: normal;
    line-height: 1.1;
}

h3 {
    color: #FFFFFF;
    font-family: 'Whyte Regular', sans-serif;
    font-size: 1.8vw;
    font-weight: normal;
    line-height: 1.2;
}

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

a:hover {
	text-decoration: underline;
}

p {
	color: #fff;
}

header {
	position: absolute;
	top: 0;
	width: auto;
	display: flex;
	justify-content: space-between;
	z-index: 999;
}

h2.info-hover span{
	content: 'No Ideas';
}

header:hover span{
	display: none;
}

header:hover h2.info-hover:after{
	content: 'Information';
	text-decoration: underline;
	cursor: pointer;
}

footer {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	position: fixed;
    background-color: #fff;
    z-index: -99;
    vertical-align: bottom;
    width: 100%;
    bottom: 0;
    padding: 1.3% 2%;
}

footer h2,
footer h2 a {
    color: #000;
}

footer img {
	width: 100vw;
	height: 100vh;
	text-align: center;
	vertical-align: center;
}

footer img {
	object-fit: fill;
	height: 100%;
	width: 100%;
}

.caption {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 99;
	width: 65%;
}

.credit {
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 99;
	width: 100%;
} 

header,
.caption,
.credit {
	padding: 1.3% 2%;
	z-index: 100;
}

.caption,
.credit {
	text-align: right;
}

/* Fader */

#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    pointer-events: none;
    background: white;
    animation-duration: 300ms;
    animation-timing-function: ease-in-out;
}
	
#fader:before {
	content: 'fade'
}

@keyframes fade-out {
	from { opacity: 1 }
	to { opacity: 0 }
}

@keyframes fade-in {
	from { opacity: 0 }
	to { opacity: 1 }
}

#fader.fade-out {
	opacity: 0;
	animation-name: fade-out;
}

#fader.fade-in {
	opacity: 1;
	animation-name: fade-in;
}

/* Slideshow */

#gallery-intro {
	position: absolute;
	width: 100vw;
	height: 100vh;
	text-align: center;
	vertical-align: center;
	z-index: 99;
	cursor: pointer;
	overflow: hidden;
}

#gallery-intro img {
	object-fit: fill;
	height: 100%;
	width: 100%;
}

.gallery {
	margin-bottom: 14%;
}

.gallery img,
.gallery video {
	width: 100%;
}

#crop img,
#crop video {
	object-fit: cover;
	height: 100%;
}

#pad-s img,
#pad-s video {
	padding: 2%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

#pad-m img,
#pad-m video {
	padding: 4%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

#pad-l img,
#pad-l video {
	padding: 6%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;

}

#pad-xl img,
#pad-xl video {
	padding: 13%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;

}

.gallery-cell {
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	
}

.flickity-slider {	
	transform: none !important;
}

.gallery-cell {
	left: 0 !important;
	opacity: 0;
	transition: opacity 0 ease-in-out 0; 
	z-index: 1; 
}

.gallery-cell.is-selected {
	opacity: 1;
	transition: opacity 0 ease-in-out;
	z-index: 2;
}

.flickity-prev-next-button {
	z-index: 3;
}

/* Info Page */

#info h2, 
#info h3,
#info header h2,
#info a {
	color: #000;
}

.info {
    width: 100%;
    padding: 5% 0 5%;
    z-index: 1;
}

.text-6-12 {
    width: 50%;
    padding: 0 2%;
    display: inline-block;
}

.text-4-12 {
    width: 33.33333%;
    padding: 0 2%;
    display: inline-block;
}

.text-3-12 {
    width: 25%;
    padding: 0 2% 0 0;
    display: inline-block;
    vertical-align: top;
}

footer .text-3-12:last-of-type {
	padding-right: 0;
}

footer h2 {
	padding-bottom: 4%;
}

@keyframes blink {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.blink {
	animation: blink 2s infinite;
}


@media only screen and (max-width : 800px) {

    h1,
    h2,
    h3 {
        font-size: 5.5vw;
        line-height: 1.3;
    }

    #pad-s img,
	#pad-s video {
		padding: .5%;
	}

	#pad-m img,
	#pad-m video {
		padding: 2%;
	}

	#pad-l img,
	#pad-l video {
		padding: 4%;
	}

    header,
	.caption,
	.credit,
	footer {
		padding: 4%;
	}

	footer {
		flex-direction: column;
	}

	footer div {
		width: 100%;
		padding-top: 4%;
	}

	.flickity-prev-next-button {
		width: 40% !important;
	}

	.caption {
		width: 80%;
	}

	.info {
	    padding-top: 12%;
	}

    .text-3-12,
    .text-6-12 {
        width: 100%;
        padding: 4%;
    }

    .text-4-12 {
    	width: 100%;
    	padding-top: 4%;
    }

    .gallery {
		margin-bottom: 120%;
	}
}

