
body {
	width: 100vw;
	height: 100vh;
	margin: 0;
	overflow-x: hidden;
	background: #B5D2E5 url('../img/blurry_green.jpg') right top no-repeat;
	background-size: cover;
	background-position-y: 30px;
}
#backgroundTable {
	background: url('../img/bg_table_v.png') center center no-repeat;
	filter: brightness(1.2);
	width: 100vw;
	height: 100vh;
	background-size: cover;
	position: absolute;
	z-index:-1;
	background-position-y: 120px;
}
#header {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	height: 260px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100;White+to+Transparent */
	background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */

}
#logo {
	background-image: url('../img/Frielentopia_logo_600.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 300px;
	height: 70px;
	position: absolute;
	filter: brightness(1.5);
	left: 0;
	right: 0;
	margin: auto;
	margin-top: 10px;
}
h1 {
	font-family: "acme";
	color: #34427f;
}
#explanation {
	width: 90vw;
	position: absolute;
	top: 100px;
	left: 5vw;
	background-color: #d8e2edc7;
	border-radius: 10px;
	padding: 30px;
}
#explanation p {
	font-family: "Kalam";
	color: #34427f;
}

#backgroundSpacer {
	flex-grow: 1;
}

#screenshots {
	background-color: #ffffff99;
	padding: 20px 0;
}
#footer {
	background-color: #5b369d;
	width: 100%;
	color: #fff;
	font-family: "acme";
	padding: 5px;
}
#footer a {
	color: #fff;
	text-decoration: none;
}
#qrBox {
	max-width: 200px;
	max-height: 200px;
	background-color: #fff;
	width: 34%;
	min-width: 100px;
	min-height: 100px;
	position: relative;
	padding-bottom: 34%;
	display: table-cell;
	border-radius: 0 0 0 6px;
	opacity: 1;
	transition: 0.3s 0s ease-out opacity;
}
.discord #qrBox {
	background: url('../img/discord_qr.png') center center no-repeat;
	background-size: contain;
}
.signal #qrBox {
	background: url('../img/signal_qr.png') center center no-repeat;
	background-size: contain;
}
#flexbox {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	width: 100%;
	height: 100vh;
	z-index: 2;
	position: relative;
	min-height: 1000px;
	margin-top: -260px;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,754213+100&0+0,0.65+100 */
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 40%, rgba(35, 10, 42, 0.65) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 40%,rgba(35, 10, 42, 0.65) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 40%,rgba(35, 10, 42, 0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#705F7413',GradientType=0 ); /* IE6-9 */

}
#inviteContainer {
	width: 100%;
	background-color: rgba(193, 205, 192, 0.8);
	padding: 15px;
	border-radius: 10px;
	margin: 40px 0;
}
#inviteContainer.discord {
	background-color: #535FEED9;
}
#inviteContainer.signal{
	background-color: #208BE3D9;
}

#inviteContent {
	display: table-cell;
	position: relative;
}
.discord #inviteContent {
	background-color: #535FEE;
}
.signal #inviteContent {
	background-color: #208BE3;
}
#tabs {
	position: relative;
	background-color: white;
	width: 100%;
	height: 40px;
	text-align: center;
	font-size: 1.6em;
	border-radius: 5px 5px 0 0;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e8e9f7+0,d9dbf4+84,8287bc+100 */
	background: #e8e9f7; /* Old browsers */
	background: -moz-linear-gradient(top,  #e8e9f7 0%, #d9dbf4 84%, #8287bc 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top,  #e8e9f7 0%,#d9dbf4 84%,#8287bc 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom,  #e8e9f7 0%,#d9dbf4 84%,#8287bc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e8e9f7', endColorstr='#8287bc',GradientType=0 ); /* IE6-9 */
}
#tabs .tab {
	float: left;
	padding: 0 20px;
	border-right: #797171 1px solid;
	border-left: #e3dcdc 1px solid;
	cursor: default;
}
#tabs .tab:first-of-type {
	border-radius: 7px 0 0 0;
}
#tabs .tab:first-of-type {
	border-left: none;
}
.tab.active {
	background-color: #ffffff99;
}
.tab:not(.active) {
	cursor: pointer !important;
}
.tab:not(.active):hover {
	background-color: #afb7ff99;
}
.hidden {
	display: none;
}
.dlogo {
	background-position: left center;
	height: 12vw;
	width: 21%;
	position: relative;
	left: 0;
	right: 0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 13%;
	background-size: auto 100%;
	background-repeat: no-repeat;
	transform: rotateX(90deg);
	backface-visibility: hidden;
	transition: width 0.8s 1.9s cubic-bezier(.52,.01,.02,1), transform 0.3s 1.4s ease-out;
}
.signal .dlogo {
	width: 23%;
}
#invitediscord .dlogo {
	background-image: url('../img/logo_discord.png');
}
#invitesignal .dlogo {
	background-image: url('../img/logo_signal.png');
}
.onStage .dlogo{
	width: 68%;
	transform: rotateX(0deg);
}
.dtext {
	color: #fff;
	font-family: "PT Sans";
	text-align: center;
	margin-top: 3%;
	position: absolute;
	width: 100%;
	font-size: 4vw;
	transform: rotateX(100deg);
	backface-visibility: hidden;
	transition: 1s 1s cubic-bezier(.27,1.62,.35,.77) transform;
	cursor: default;
}
.onStage .dtext{
	transform: rotateY(0deg);
}
#inviteContent > div {
	position: absolute;
	float: left;
	width: 100%;
	perspective: 500px;
}
.dlink {
	background-color: #fff;
	width: 80%;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	padding: 4px;
	text-align: center;
	border-radius: 4px;
	font-family: "PT Sans";
	font-size: 3vw;
	margin-top: 6px;
	transition: transform 1s 2.5s cubic-bezier(.1,1.85,.61,.99), box-shadow .3s 0s linear;
	transform: scale(0) rotateZ(-10deg);
}
.onStage .dlink{
	transform: scale(1);
}
.dlink:hover {
	box-shadow: 0px 0px 5px #000;
}



/* Pic Scroller */
.picscroll-wrapper {
	width: 100vw;
}
@-webkit-keyframes picscroll {
  from {margin-left: 0px;}
  to {margin-left: -3650px;}
}
@keyframes picscroll {
  from {margin-left: 0px;}
  to {margin-left: -3650px;}
}
.picscroll-wrapper,
.picscroller {
	height: 170px;
	white-space: nowrap;
	overflow: hidden;
}
.picscroller img {
	height: 170px;
	width: auto;
	-webkit-transition: .5s 0s ease all;
	-o-transition: .5s 0s ease all;
	transition: .5s 0s ease all;
	margin-right: 2px;
}
.picscroller {
    -webkit-animation-name: picscroll;
            animation-name: picscroll;
	-webkit-animation-duration: 80s;
	        animation-duration: 80s;
	-webkit-animation-timing-function: linear;
	        animation-timing-function: linear;
	-webkit-animation-direction: alternate-reverse;
	        animation-direction: alternate-reverse;
	-webkit-animation-iteration-count: infinite;
			animation-iteration-count: infinite;
}
.picscroller img:hover {
	-webkit-transform: scale(1.1);
	    -ms-transform: scale(1.1);
	        transform: scale(1.1);
	-webkit-box-shadow: 10px 4px 15px #000;
	        box-shadow: 10px 4px 15px #000;
}

#invitediscord, #invitesignal {
	opacity: 0;
	z-index: 1;
}
#inviteContainer.discord #invitediscord,
#inviteContainer.signal #invitesignal {
	opacity: 1;
	z-index: 5;
}
@media (min-width: 400px) {
	#backgroundTable {
		background-position-y: 80px;
	}
}
@media (min-width: 450px) {
	#backgroundTable {background-position-y: 30px;}
	body {background-position-y: -170px;}
	#flexbox {min-height: 990px;}
}
@media (min-width: 500px) {
	#backgroundTable {background-position-y: -40px;}
	body {background-position-y: -200px;}
}
@media (min-width: 500px) {
	#backgroundTable {background-position-y: -80px;}
}

/* SM  */
@media (min-width: 576px) {
	#backgroundTable {background-position-y: -120px;}
	.dlogo {
		height: 70px;
	}
	.dtext {
		font-size: 1.5rem;
	}
	.dlink {
		font-size: 1.1rem;
	}
}


@media (min-width: 650px) {
	#backgroundTable {background-position-y: -170px;}
	#flexbox {min-height: 1090px;}
}

@media (min-width: 705px) {
	#backgroundTable {background-position-y: -170px;}
	#flexbox {min-height: 1090px;}
}

/* MD */
@media (min-width: 768px) {
	#backgroundTable {background-position-y: -280px;}
	#flexbox {min-height: 1090px;}
	.dlogo {
		height: 79px;
	}
	.dtext {
		font-size: 1.5rem;
	}
	.dlink {
		font-size: 1.2rem;
	}
} /* END MD */

@media (min-width: 850px) {
	#backgroundTable {background-position-y: -330px; filter: brightness(1.2);}
	#flexbox {min-height: 1090px;}
}

/* LG Portrait*/
@media (min-width: 992px) {
	body {background-position-y: -260px;}
	#backgroundTable {
		background: url('../img/bg_table_h.png') center center no-repeat;
		background-position-y: 50px;
	}
	#flexbox {min-height: 1160px;}
	.dlogo {
		height: 83px;
	}
} /* END LG */
	

	/* XL */
	@media (min-width: 1200px) {
		.dlogo {
			height: 74px;
		}
	} /* END XL */
	
/* Portrait Layout Overrides */
@media (max-aspect-ratio: 11/16) {
	
} /* END PORTRAIT */

/* Squarish Layout Overrides  */
@media (min-aspect-ratio: 11/16) and (max-aspect-ratio: 6/5) {
	
	@media (max-aspect-ratio: 1085/1321) {
	}
	
	/* SM */
	@media (min-width: 576px) {
	}
	
	/* MD */
	@media (min-width: 768px) {	
	}
	
	/* LG */
	@media (min-width: 992px) {
	}
}

/* Landscape Layout Overrides  */
@media (min-aspect-ratio: 6/5){
	
	@media (max-aspect-ratio: 1629/1315) {
	}
	
	/* SM */
	@media (min-width: 576px) {
	} /* END SM */
	
	/* MD */
	@media (min-width: 768px) {		
	} /*END MD */
		
	/* LG */
	@media (min-width: 992px) {
	} /* END LG */
	

	/* XL */
	@media (min-width: 1200px) {
	} /* END XL */


} /* END LANDSCAPE */
</style>