html, body {
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-variant-ligatures: none;
	background: #AAff00;
}

html {
    height: fill-available;
    height: -webkit-fill-available;
}

body {
    -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1s; /* Firefox < 16 */
        -ms-animation: fadein 1s; /* Internet Explorer */
         -o-animation: fadein 1s; /* Opera < 12.1 */
            animation: fadein 1s;
    min-height: 100svh;
    min-height: fill-available;
    min-height: -webkit-fill-available;
    overflow-y: auto;
		overflox-x: hidden;
	  scrollbar-width: auto;
  	scrollbar-color: #ff4013 #AAFF00;
}

/* select */

header, footer, span {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

p::-moz-selection, i::-moz-selection, a::-moz-selection { 
  color: #AAFF00;
  background: #FF3300;
}

p::selection, i::selection, a::selection {
  color: #AAFF00;
  background: #FF3300;
}

/* page fade in */

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* scrollbar */

::-webkit-scrollbar {
	box-sizing: border-box;
	width: 15px;
}
::-webkit-scrollbar-track {
	box-sizing: border-box;
	border: none;
	background: #AAff00;
}
::-webkit-scrollbar-thumb {
	box-sizing: border-box;
	height: 100px;
	width: 100px;
	background-color: #ff4013;
  border-radius: 15px;
  border: 5px solid #AAFF00;
}
::-webkit-scrollbar-thumb:window-inactive {
	background: #AAff00;
}

/* font */

@font-face {
	font-family: GT-Cinetype-Mono;
	src: url(/assets/fonts/GT-Cinetype-Mono.ttf);
}

/* background */

div#background-color {
	position: fixed;
	z-index: 1;
	height: 100vh;
  	width: 100vw;
  	top: 0;
  	right: 0;
  	bottom: 0;
  	left: 0;
  	overflow: hidden;
  	background: #FAFAD2;
  	box-sizing: border-box;
}

/* eyeballs */

#bouncing-wrap {
	position: fixed;
	z-index: 2;
	width: 100vw;
	height: 100svh;
	margin: 0;
	padding: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	outline: 0;
	box-sizing: border-box;
	overeflow: hidden;
}

#bouncing-area {
    width: 100vw; 
    height: 100svh;
}

li {
	position: absolute;
    z-index: 2;
    width: 100px;
    height: 100px;
    list-style-type: none;
}

li div.bouncing-ball {
	width: 100px;
    height: 100px;
    background: url('http://www.snotmotion.com/assets/icon/eye.png');
    background-size: 100px 100px;
    -webkit-animation: rotate 5s normal linear infinite;
  	animation: rotate 5s normal linear infinite;
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
  25% {
    -webkit-transform: rotate3d(0, 0, 1, 90deg);
    transform: rotate3d(0, 0, 1, 90deg);
  }
  50% {
    -webkit-transform: rotate3d(0, 0, 1, 180deg);
    transform: rotate3d(0, 0, 1, 180deg);
  }
  75% {
    -webkit-transform: rotate3d(0, 0, 1, 270deg);
    transform: rotate3d(0, 0, 1, 270deg);
  }
  100% {
    -webkit-transform: rotate3d(0, 0, 1, 360deg);
    transform: rotate3d(0, 0, 1, 360deg);
  }
}

/* gradient */

#gradient-top, #gradient-bottom {
	position: fixed;
	z-index: 3;
	height: 10vh;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

#gradient-top {
	top: 0;
	z-index: 5;
	background: linear-gradient(rgba(170,255,0,1), rgba(255,0,0,0));
}

#gradient-bottom {
	bottom: 0;
	background: linear-gradient(rgba(255,0,0,0), rgba(170,255,0,1));
}

#gradient-left, #gradient-right {
	position: fixed;
	z-index: 3;
	height: 100%;
	width: 10vh;
	top: 0;
	bottom: 0;
	box-sizing: border-box;
}

#gradient-left {
	left: 0;
	background: linear-gradient(90deg, rgba(170,255,0,1), rgba(255,0,0,0));
}

#gradient-right {
	right: 0;
	background: linear-gradient(90deg, rgba(255,0,0,0), rgba(170,255,0,1));
}

/* icon */

img.icon {
	position: fixed;
	z-index: 20;
	width: 70px;
	height: 70px;
	bottom: 20px;
	right: 20px;
	padding: 0;
	margin: 0;
	outline: 0;
	box-sizing: border-box;
}

/* header */

header {
	font-family: GT-Cinetype-Mono;
	font-size: 18px;
	line-height: 20px;
	position: fixed;
	z-index: 6;
	display: flex;
	justify-content: space-between;
	height: 60px;
	width: 100%;
	margin: 0;
	padding: 0;
	top: 0;
	right: 0;
	left: 0;
	box-sizing: border-box;
}

header span {
	position: relative;
	color: #FF3300;
	margin: 20px;
	padding: 0;
	float: left;
	box-sizing: border-box;
	display: inline-block;
}

header span a {
	padding-left: 10px;
	z-index: 6;
	color: #FF3300;
	text-decoration: none;
}

header span a:hover {
	z-index: 6;
	color: #FF3300;
  	background: none;
	text-decoration: underline;
}

/* main */

main {
	font-family: GT-Cinetype-Mono;
	font-size: 18px;
	line-height: 22px;
	position: absolute;
	z-index: 4;
	width: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: 0;
	box-sizing: border-box;
}

main p {
	position: relative;
	z-index: 4;
	float: left;
	margin: 0 0 60px 0;
	padding: 0;
	box-sizing: border-box;
	color: #FF3300;
}

main p a {
	z-index: 4;
	color: #FF3300;
	text-decoration: underline;
}

main p a:hover {
	z-index: 4;
	color: #FF3300;
  background: none;
	text-decoration: none;
}

main#info p {
	margin: 0 0 20px 0;
	width: 100%;
}

main#info img {
	position: relative;
	float: left;
	z-index: 4;
	margin: 0;
	padding: 0;
	width: 50%;
	border-radius: 30px;
	border: 1px solid #FF3300;
}

main#info p.acknowledgement {
	color: plum;
}

main#work article p {
	margin:0;
	padding:0 0 20px 0;
}

main#work div.vimeo {
	position: relative;
	float: left;
	margin: 0;
	padding: 0 0 20px 0;
	outline: 0;
	box-sizing: border-box;
	width: 100%;
	height: auto;
}

main#work div.sixteen-nine {
	position: relative;
	padding: 56.25% 0 0 0;
	margin: 0;
	outline: 0;
	box-sizing: border-box;
}

main#work div.sixteen-nine iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* -webkit-box-shadow: 20px 20px 30px 0px rgba(170,255,0,1); */
	/* -moz-box-shadow: 20px 20px 30px 0px rgba(170,255,0,1); */
	/* box-shadow: 20px 20px 30px 0px rgba(170,255,0,1); */
}

/* footer */

footer {
	font-family: GT-Cinetype-Mono;
	font-size: 18px;
	line-height: 20px;
	position: fixed;
	z-index: 6;
	display: flex;
	justify-content: space-between;
	height: 60px;
	width: 100%;
	margin: 0;
	padding: 0;
	bottom: 0;
	right: 0;
	left: 0;
	box-sizing: border-box;
}

footer span {
	position: relative;
	color: #FF3300;
	margin: 20px;
	padding: 0;
	float: left;
	box-sizing: border-box;
	display: inline-block;
}

footer span a {
	z-index: 4;
	color: #FF3300;
	text-decoration: none;
}

footer span a:hover {
	z-index: 4;
	color: #AAFF00;
  background: #FF3300;
	text-decoration: underline;
}

/* media */

@media screen and (orientation:portrait) {

}

@media screen and (orientation:landscape) {

}

@media (min-width: 250px) {
	main {
		padding: 100px 20vw 40px 20px;
	}
}

@media (min-width: 500px) {
	main {
		padding: 100px 25vw 40px 20px;
	}
}

@media (min-width: 750px) {
	main {
		padding: 100px 30vw 40px 20px;
	}
}

@media (min-width: 1000px) {
	main {
		padding: 100px 35vw 40px 20px;
	}
}

@media (min-width: 1250px) {
	main {
		padding: 100px 40vw 40px 20px;
	}
}

@media (min-width: 1500px) {
	main {
		padding: 100px 45vw 40px 20px;
	}
}

@media (min-width: 1750px) {
	main {
		padding: 100px 50vw 40px 20px;
	}
}