/* Globals*/
.BlinkAnimation {
	animation-name: Blink;
	animation-play-state: running;
	animation-direction: alternate;
	animation-iteration-count: infinite;
	animation-duration: 2s;
}
@keyframes Blink {
	0% {
		color: #000000
	}
		
	100% {
		color: #FFFFFF
	}
}

.NextAnimation {
	animation-name: Next;
	animation-play-state: running;
	animation-duration: 1s;
	
	left : 0vw;
	position: absolute;
}
@keyframes Next {
	0% {
		left: 85vw;
	}
	
	100% {
		left: 0vw;
	}
}

.BackAnimation {
	animation-name: Back;
	animation-play-state: running;
	animation-duration: 1s;
	
	left: 0vw;
	position: absolute;
}
@keyframes Back {
	0% {
		left: -85vw;
	}
	
	100% {
		left: 0vw;
	}
}

html {
	overflow-x: hidden;
	overflow-y: hidden;
}

/* Classes for the warning section*/
.WarningMessage {
	position: absolute;
	top: 0px;
	left: 0px;
	
	text-align: center;
	
	visibility: visible;
	
	background-color: #000000;
	color: #FFFFFF;
	
	font-size: 18px;
}

.WarningFadeOutAnimation {
	animation-name: WarningFadeOut;
	animation-play-state: running;
	animation-fill-mode: forwards;
	
	animation-duration: 5s;
	
	visibility: visible;
	
	background-color: #000000;
	color: #FFFFFF;
	
	font-size: 18px;
}
@keyframes WarningFadeOut {
	0% {
		color: #FFFFFF;
	}
	
	20% {
		color: #000000;
	}
	
	80% {
		opacity: 1;
	}
	
	99.99% {
		visibility: visible;
		font-size: 18px;
	}
	100% {
		visibility: collapse;
		
		background-color: #000000;
		color: #000000;
		
		font-size: 0px;
		opacity: 0;
	}
}

/* Classes for the main page */
/* What the entire page should look like */
.MainBefore, .MainAfter {
	position: absolute;
	top: 0px;
	left: 0px;
	
	background-image: url("../Icons/IndexBackground.png");
}

.MainBlacked {
	position: absolute;
	top: 0px;
	left: 0px;
	
	color: white;
	
	background-image: url("../Icons/IndexBlackBackground.png");
}

/* Animation things to get it working smoothly */
.MainBefore {
	visibility: collapse;
}

.MainFadeInAnimation {
	animation-name: MainFadeIn;
	animation-play-state: running;
	animation-fill-mode: forwards;
	
	animation-duration: 5s;
	
	position: absolute;
	top: 0px;
	left: 0px;
	
	visibility: collapse;
	background-image: url("../Icons/IndexBackground.png");
}
@keyframes MainFadeIn {
	79.99% {
		visibility: collapse;
	}
	80% {
		visibility: visible;
		opacity: 0;
	}
	
	100% {
		opacity: 1;
	}
}

.MainHeader {
	text-align: center;
	
	height: 5vh;
}

/* Stuff that goes into the posts. */
.Arrow {
	position: absolute;
	top: 35vh;
}

audio {
	position: absolute;
	z-index=1;
	
	width: max(60px, 10%);
}

.PostContainer {
	position: absolute;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	
	margin-left: 10%;
	margin-right: 10%;
	
	width: 80%;
	height: 70vh;
}

.Post {
	overflow: hidden;
	
	margin-top: 1%;
	margin-bottom: 1%;
	margin-left: 1%;
	margin-right: 1%;
	
	border-style: solid;
	border-width: 2px;
	border-top-left-radius: 2% 50%;
	border-top-right-radius: 2% 50%;
	border-bottom-left-radius: 2% 50%;
	border-bottom-right-radius: 2% 50%;
	
	background-color: #FFFFFF;
	color: #000000;
	width: 22%;
	height: 23%;
}

.Post:hover {
	overflow: scroll;
}

.Username {
	text-align: center;
	font-weight: bold;
	font-size: min(2vw, 2ch);
	
	margin-top: max(-5px, -0.5vw);
	
	word-wrap: break-word;
}

.PostContent {
	font-size: 0.9ch;
}

/* Footer things */
.Setting, .Posting, .Mail, .Feed {
	margin-top: 30px;
	
	border-style: solid;
	border-width: 1px;
	
	width: 100px;
	height: 100px;
}

.Mail, .Setting {	
	margin-right: 5%;
}

.Time {
	font-size: 4ch;
	text-decoration: none;
}

.Time:hover {
	text-decoration: underline;
}

.MainFooter, .MainBlackedFooter {
	display: flex;
	text-align: center;
	justify-content: center;
	
	margin-top: 75vh;
	
	border-top-style: solid;
	border-width: 2px;
	border-color: #00FFFF;
	
	padding: auto;
	
	height: 20vh;
}

.MainFooter {
	background: linear-gradient(#dcdcdc, #b4b4b4);
}

.MainBlackedFooter {
	background: linear-gradient(#646464, #3c3c3c);
}
