/*
 * CSS for TubeBeContinued.com
 * Author: Wesley Jenkins
 */

/* Variables */
html {
	--background-color: #6ddedf;
	--background-radial-color: #6bacad;
	--accent-color: #df6e6d;
	--highlight-color: #a76ddf;
}

/* General styling */
html {
	font-family: quicksand, sans-serif;
	font-weight: 400;
	font-style: normal;
}

p {
	text-align: initial;
}

h1 {
	font-weight: bold;
	color: var(--accent-color);
}

h2 {
	font-weight: bold;
	color: var(--accent-color);
}

li::marker {
    color: var(--accent-color);
}

hr {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
}

/* Header */
#header-bar {
	padding-right: var(--header-right-padding);
	width: calc(100% - var(--header-right-padding));
	height: 54px;
	background-color: var(--background-color);
	position: fixed;
	display: flex;
	z-index:1;
	box-shadow: 0px 5px 5px #00000080;
	color: black;
	align-content: center;
}

.header-container {
	height: inherit;
	overflow-y: visible;
}

.header-title-box {
	height: inherit;
	
	/* Looks so flexy */
	display: flex;
	flex-direction: column;
	
	visibility: hidden;
	
	color: black;
	text-decoration: none;
	
	background: var(--background-color);
}

.header-title-box:first-child {
	visibility: visible;
}

/* Expand header-title-box only on hover */
.header-container:hover .header-title-box {
	visibility: visible;
}

.header-title-box:not(:first-child) {
	border-top: solid white 1px;
}

.header-title-box:hover {
	color: var(--highlight-color);
}

.header-title {
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
	padding-left: 10px;
	padding-right: 10px;
	border-right: solid var(--border-color) 1px;
	user-select: none;
	
	text-align: center;
}

.button:hover {
    background: var(--highlight-color);
}

.section {
	//padding: 1rem 0;
}

#loop-video {
	width:100vw;
	height:100vh;
	object-fit:cover;
}

#thumbnailContainer {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.fill-parent {
	height: 100%;
	width: 100%;
}

.white {
	background-color: white;
	color: black;
}

.black {
	background-image: linear-gradient(to right, #101010, #1f1f1f);
	color: white;
}

.col-2 {
	display:flex;
	
	align-items: center;
}

p.normal {
	text-align: left;
	margin-top: 5px;
	margin-bottom: 0px;
}

p.pad {
	margin-bottom: 20px;
}

#trailerHolder>* {
	width: 100%;
}

@media only screen and (min-width: 0) {
	#header-bar {
		--header-right-padding: 0px;
		justify-content: center;
		
		position: absolute;
	}
	
	.section p {
		margin-left: 7%;
		margin-right: 7%;
	}
	
	.section ul {
		margin-left: 7%;
	}
	
	#trailerHolder {
		width: 90%;
		padding: 0 5%;
	}

	#screenshotImage {
		flex: 80%;
		width: 80%;
	}
	
	.col-2 {
		flex-direction: column-reverse;
		flex-wrap: wrap;
	}

	.col-2>* {
		width: 100%;
	}

	.screenshot-spacer {
		flex: 15%;
		display: none;
	}

	.thumbnailActive {
		width: 30%;
	}

	.thumbnailNotActive {
		width: 30%;
	}
	
	.banner-image {
		width: 35%;
	}
}

@media only screen and (min-width: 1000px) {
	#header-bar {
		--header-right-padding: 10%;
		justify-content: flex-end;
		
		position: fixed;
	}
	
	#trailerHolder {
		width: 70%;
		padding: 0 15%;
	}
	
	.section p {
		margin-left: 20%;
		margin-right: 20%;
	}
	
	.section ul {
		margin-left: 20%;
	}
	
	.banner-image {
		width: 23%;
	}
}

@media only screen and (min-width: 1350px) {
	#header-bar {
		--header-right-padding: 15%;
	}
	
	.section p {
		/* margin-left: 30%; */
		/* margin-right: 30%; */
	}
	
	.section ul {
		margin-left: 30%;
	}

	#screenshotImage {
		flex: 50%;
		width: 50%;
	}
	
	#trailerHolder {
		width: 90%;
		padding: 0;
	}

	.col-2 {
		flex-direction: row;
		flex-wrap: nowrap;
	}
	
	.col-2>* {
		width: 50%;
	}

	.screenshot-spacer {
		flex: 15%;
		display: block;
	}

	.thumbnailActive {
		width: 11%;
	}

	.thumbnailNotActive:hover {
		width: 11%;
	}

	.thumbnailNotActive {
		width: 10%;
	}
	
	.banner-image {
		width: 17%;
	}
}

.banner-image {
	position: absolute;
	top: 10%;
	right: 3%;
	transform: rotate(10deg);
}

.section hr {
	width: 15%;
}

footer p {
	font-size: 0.8em;
}

.row {
	display: flex;
}

.column {
	flex: 50%;
}

.flex {
	display: flex;
}

#overlay {
	position: absolute;
	top: 0;
	left:0;
	height: 100%;
	width: 100%;
	justify-content: center;
	align-items: center;
	display: flex;
	flex-direction:column;
	background-color: rgba(0, 0, 0, 0.1);
}

.blogo {
	padding-right: 8px;
	width:32px;
}

.hoverUI {
	font-size: 2.5rem ! important;
	color: var(--background-color);
}

.hoverUI:hover {
	animation: ui-animation 0.5s;
	animation-fill-mode: forwards;
}

@keyframes ui-animation {
	from {color: var(--background-color); }
	to {color: var(--highlight-color); }
}

.button {
	color: black;
	text-decoration: none;
	/* background-color: orange; */
	border-radius: 25px;
	height:3rem;
	margin: 1rem;
	-webkit-user-select: none;
	user-select: none;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 0.7rem;
	background: radial-gradient(var(--background-color), var(--background-radial-color));
	font-weight:  bold;
	box-shadow: 3px 3px 3px #00000060;
	padding-left: ;
}

.thumbnailActive {
	animation: thumbnail-glow;
	animation-fill-mode: forwards;
	margin: 1px;
}

.thumbnailNotActive:hover {
	margin: 1px;
}

.thumbnailNotActive {
	margin: 1px;
	cursor: pointer;
}

.button:hover {
	animation: button-glow 0.3s;
	animation-fill-mode: forwards;
}

@keyframes thumbnail-glow {
	from {box-shadow: 0 0 0px 0px #000000;}
	to {box-shadow: 0 0 5px 2px #000000;}
}

@keyframes button-glow {
	from {box-shadow: 0 0 0px 0px #1e9bff;}
	to {box-shadow: 0 0 10px 2px #1e9bff;}
}