html, body {
	font-family: "Google Sans Code", monospace;
	border: 0;
	margin: 0;
	padding: 0;

	overflow-x: hidden;
}

h1 {
	font-size: 200px;
}

div {
	border: 0;
	margin: 0;
	padding: 0;
	outline: none;
	border-collapse: collapse;
}

footer {
	background-color: rgb(20, 20, 20);
	color: white;
	text-align: center;
	text-decoration: underline;
}

canvas {
	position: relative;
	top: -10px;
	left: -10px;
	
}

#left-dev, #middle-dev, #right-dev {
	font-size: 70px;
	height: 88px;
}

#left-dev, #right-dev {
	grid-column: span 5;
	text-align: left;
}

#left-dev {
	text-align: right;
}

#dev-outer {
	width: 100%;
	text-align: center;
	
	display: grid;
	grid-template-columns: repeat(11, minmax(0, 1fr));
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden; 
}

#outer-div {
	position: absolute;
	width: 100%;
	top: 0;
}

#top-div {
	width: 100%;
	display: inline-block;

	text-align: center;
	background-color: black;
	color: white;
}

#main-div {
	width: 100%;
	height: 1536px;
	
	vertical-align: middle;

	background-image: url(./res/background.jpg);
}

#bento-outer {
	width: 100vw;
	padding-top: 10vw;

	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-flow: dense;
}

.bento {
	margin: 10px;
	border-radius: 10px;
	border: 0px solid rgba(255, 255, 255, 0);
	transition: 0.1s;
	padding: 10px;
}

.bento:hover {
	border: 10px solid white;
}

.bento1x1 {
	grid-column: span 1;
	grid-row: span 1;
}

.bento1x2 {
	grid-column: span 1;
	grid-row: span 2;
}

.bento2x1 {
	grid-column: span 2;
	grid-row: span 1;
	aspect-ratio: 2;
}

.bento2x2 {
	grid-column: span 2;
	grid-row: span 2;
}

.bento-links {
	color: white;
	font-size: xx-large;
	border-color: white;
	background: linear-gradient(340deg,rgba(24, 28, 31, 1) 0%, rgba(59, 59, 64, 1) 77%, rgba(85, 96, 97, 1) 100%);
}

.bento-p5 {
	background: linear-gradient(340deg,#e04070 0%, #f1678e 77%, #ff7f9f 100%);
	background-color: #f1678e;
	color: white;
	font-size: x-large;

	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	grid-auto-flow: dense;
}

.email {
	justify-content: center;
	width: 200px;
	font-size: 19px;
	background-color: black;
	border-radius: 10px;
	padding: 6px;
	color:white;
	transition: 0.1s;
}

.email:hover {
	font-size: 21px;
	color: rgb(70, 150, 230);
}

.music-box {
	background: linear-gradient(340deg,rgba(24, 32, 56, 1) 0%, rgba(59, 65, 98, 1) 77%, rgba(85, 96, 125, 1) 100%);
	color: white;
	font-size: 32px;
}

.music-grid {
	vertical-align: middle;
	font-size: 22px;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;

	height: 200px;
	border: 3px solid;
	border-image: linear-gradient(0deg,rgba(14, 22, 36, 1) 0%, rgba(59, 65, 98, 0) 35%,rgba(59, 65, 98, 0) 65%, rgba(14, 22, 36, 1) 100%) 2;

	overflow-y: scroll;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-template-rows: repeat(5, 30px);
	grid-auto-flow: dense;
	row-gap: 5px;
}

.music-title {
	font-style: italic;
	font-size: 20px;
	align-items: center;

	grid-column: span 3;
}

.music-length {
	align-items: center;
	grid-column: span 1;
}

.music-play {
	background-color: rgb(20, 20, 20);
	border: none;
	border-radius: 15px;
	text-align: center;
	color: white;
	font-size: 28px;
	transition: 0.1s;
}

.music-play:hover {
	background-color: rgb(40, 40, 50);
	color: rgb(60, 80, 180);
}

.music-play-button {
	background-color: transparent;
	border: none;
	color: inherit;
}

.music-overlay {
	background-image: linear-gradient(0deg,rgba(14, 22, 36, 1) 0%, rgba(59, 65, 98, 0) 15%,rgba(59, 65, 98, 0) 85%, rgba(14, 22, 36, 1) 100%);
	position: relative;
	
	height: 215px;
	margin-top: -215px;
	pointer-events: none;
}

.slime-game-box {
	color: white;
	font-size: 32px;
	background-color: black;
	color: white;
	text-align: center;

	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.slime-game-video {
	width: 100%;
	height: 100%;
}

.slime-game-text {
	font-size: 30px;
	position: relative;
	top: -80%;
	z-index: 10;
	margin: 0;
	padding: 0;
	height: 0px;
}

.resume-box {
	background: linear-gradient(340deg,rgba(24, 32, 56, 1) 0%, rgba(59, 65, 98, 1) 77%, rgba(85, 96, 125, 1) 100%);
	color: white;
	font-size: 32px;
}

.resume-title {
	font-size: 32px;
	text-align: center;
}

.resume-note {
	font-size: 12px;
	font-style: italic;
	color: lightgray;
	text-align: center;
}

.resume-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.terminalvideo {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	
	aspect-ratio: 1;

	background-image: url(./res/terminalvideo.gif);
	background-position: center;
	background-size: 120%;
}

.tsa-game-box {
	background-image: url(./res/tsa-game.png);
	background-repeat: no-repeat;
	background-size: cover;
}

.tsa-game-icon {
	position: relative;
	width: 12.5%;
	height: 25%;
	margin: 0;
	padding: 10px;

	background: rgba(255, 255, 255, 0.25);
	border-radius: 15%;

	transition: 0.1s;
}

.tsa-game-icon:hover {
	background: rgba(0, 0, 0, 1);
	filter: invert(100%);
}

.tsa-game-arrow {
	top: 5%;
	left: 80%;
}

.tsa-game-code {
	top: 40%;
	left: 62.35%;
}

.yukon-box {
	background-image: url(./res/Yukon.png);
	background-repeat: no-repeat;
	background-size: cover;
	text-align: center;
}

.yukon-title {
	color: white;
	font-size: 64px;
	text-align: center;
	margin-top: 8%;
}

.yukon-text {
	color: white;
	font-size: 24px;
	text-align: center;
	margin-top: 80%;

	margin-left: 2%;
	margin-right: 2%;
}

.yukon-img {
	width: 25%;
}

#custom-audio {
	background-color: rgb(20, 20, 20);
	margin-top: 10px;
	margin-bottom: 5px;
	padding-left: 15px;

	border-radius: 25px;

	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	column-gap: 10px;
}

#custom-audio-play-pause {
	border: none;
	background-color: white;
	color: rgb(20, 20, 20);
	border-radius: 250px;
	
	transition: 0.1s;
}

#custom-audio-play-pause:hover {
	color: rgb(60, 80, 180);
}

#custom-audio-volume {
	grid-column: 2 span;
	margin-right: 10px;
	border-radius: 5px;
	background-color: rgb(60, 60, 60);
	-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
	appearance: none;
}

#custom-audio-length[type=range]::-webkit-slider-thumb, #custom-audio-volume[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	border: 1px solid #000000;
	height: 36px;
	width: 16px;
	border-radius: 3px;
	background: #ffffff;
	cursor: pointer;
	margin-top: -2px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
	box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; /* Add cool effects to your sliders! */
}

#custom-audio-length[type=range]::-moz-range-thumb, #custom-audio-volume[type=range]::-moz-range-thumb {
	box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
	border: 1px solid #000000;
	height: 36px;
	width: 16px;
	border-radius: 3px;
	background: #ffffff;
	cursor: pointer;
}

#custom-audio-length[type=range]::-ms-thumb, #custom-audio-volume[type=range]::-ms-thumb {
	box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
	border: 1px solid #000000;
	height: 36px;
	width: 16px;
	border-radius: 3px;
	background: #ffffff;
	cursor: pointer;
}

#custom-audio-length[type=range]:focus, #custom-audio-volume[type=range]:focus {
	outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

#custom-audio-length[type=range] {
	-webkit-appearance: none; /* Hides the slider so that custom slider can be made */
	appearance: none;
	width: 100%; /* Specific width is required for Firefox. */
	vertical-align: middle;
	grid-column: 7 span;
}

#custom-audio-length[type=range]::-ms-track, #custom-audio-volume[type=range]::-ms-track {
	width: 100%;
	cursor: pointer;
	vertical-align: middle;

	/* Hides the slider so custom styles can be added */
	background: transparent; 
	border-color: transparent;
	color: transparent;
}

#custom-audio-length {
	border-radius: 5px;
	background-color: rgb(60, 60, 60);
}

.colorguessr-box {
	text-align: center;
	animation: colorguessr-box 30s;
	animation-direction: linear;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden; 
}

.colorguessr-overlay {
	background: linear-gradient(340deg,rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 70%, rgba(0, 0, 0, 0.0) 100%);
	pointer-events: none;
	
	width: 120%;
	margin-left: -10%;
	
	height: 150%;
	margin-top: -100%;
}

@keyframes colorguessr-box {
	0% { background-color: red; }
	10% { background-color: orange; }
	20% { background-color: yellow; }
	30% { background-color: lime; }
	40% { background-color: green; }
	50% { background-color: cyan; }
	60% { background-color: blue; }
	70% { background-color: indigo; }
	80% { background-color: purple; }
	90% { background-color: magenta; }
	100% { background-color: red; }
}

.colorguessr-link {
	font-size: 40px;
	text-decoration: underline;	
}

.colorguessr-intro {
	font-size: 18px;
}

#pong {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	padding: none;
}

.bounce {
	animation: bounce 0.5s;
	animation-direction: alternate;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}

@keyframes bounce {
	from {
		transform: translate(0, 5px);
	}

	to {
		transform: translate(0, -25px);
	}
}
