/* FONTS */
@font-face {
	font-family: "Cafeteria";
	src:url(../../js/fonts/cafeteria-black.ttf) format("truetype");
	src:url(../../js/fonts/cafeteria-black.otf) format("opentype");
}

@font-face{
	font-family:"MuseoSansRounded700";
	font-style:normal;
	src:url("../../js/fonts/museosansrounded-700.woff") format("woff"),url("../../js/fonts/museosansrounded-700.ttf") format("truetype");
}

@font-face{
	font-family:"MuseoSansRounded500";
	font-style:normal;
	src:url("../../js/fonts/museosansrounded-500.woff") format("woff"),url("../../js/fonts/museosansrounded-500.ttf") format("truetype");
}


body {
	background: url(images/maintenance_page_background.png) center/cover no-repeat;
}

#maintenance-container {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1em;
	padding: 2em 0;
	overflow: auto;
	box-sizing: border-box;
}

/* EVENT CONTAINER */

#maintenance-container .event-popup {
	position: relative;
	background-color: #e1e6d2;
	background-image: url(images/maintenancebg_left.png), url(images/maintenancebg_right.png);
	background-size: auto calc(100% - 2em);
	background-repeat: no-repeat;
	background-position: left 2em, right 2em;
	width: 50%;
	margin: auto auto 1em;
	border-radius: 30px;
	border: 1px solid #420000;
	box-shadow: 0 0 4px #420000;
	font-size: 12pt;
	font-family: "MuseoSansRounded500", 'Arial', sans-serif;
	box-sizing: border-box;
	height: max-content;
	z-index: 1;
}

#maintenance-container .event-popup .header {
	position: relative;
	background-color: #FD0000;
	width: 100%;
	height: 2em;
	border: 1px solid #420000;
	border-top: none;
	box-sizing: border-box;
	border-radius: 30px 30px 0 0;
}

#maintenance-container .event-popup .title {
	position: absolute;
	top: -19px;
	left: 0;
	right: 0;
	margin: 0 auto;
	font-family: "Cafeteria", 'Arial Bold', sans-serif;
	font-size: 26pt;
	text-align: center;
	-webkit-text-fill-color: transparent;
	background: rgb(153,153,153);
	background: -moz-linear-gradient(#D5DAE3 30%, rgb(255, 255, 255) 70%);
	background: -webkit-linear-gradient(#D5DAE3 30%, rgb(255, 255, 255) 70%);
	background: linear-gradient(#D5DAE3 30%, rgb(255, 255, 255) 70%);
	background-clip: text;
	-webkit-background-clip: text;
	filter: drop-shadow(0px 1px 1px #666) drop-shadow(1px 1px 0px #000) drop-shadow(-1px 0 0px #000) drop-shadow(0 -1px 0px #000);
}

#maintenance-container .event-popup .maint-pteri {
	position: absolute;
	top: .5em;
	left: -2em;
	background-image: url(images/maintenance_event_pteri.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left bottom;
	width: 30%;
	padding-top: 26%;
	z-index: 1;
}

#maintenance-container .event-popup .content {
	position: relative;
	width: 80%;
	padding: 1em 1em 1em calc(30% - 2em);
	height: max-content;
	box-sizing: border-box;
}

/* MAINT INFO */
#maintenance-container .maint-info {
	background-color: #e1e6d2;
	width: 50%;
	margin-bottom: 2em;
	padding: 1em;
	border: 1px solid #420000;
	border-radius: 30px;
	box-shadow: 0 0 4px #420000;
	font-size: 12pt;
	font-family: "MuseoSansRounded500", 'Arial', sans-serif;
	text-align: center;
	box-sizing: border-box;
}

#maintenance-container .maint-info h1 {
	color: #000;
	font-size: 24pt;
	font-family: "Cafeteria", 'Arial', sans-serif;
	font-weight: 500;
	margin: .5em auto auto;
}

#maintenance-container .maint-info hr {
	border: 1px solid gray;
    border-top: 4px dashed #000;
    background-color: #f4bc2d;
    border-image: repeating-linear-gradient(-45deg, transparent, transparent, #000, #000, transparent 20px) 20 / 5px 0 0 0 / 0 round;
    box-shadow: 0 1px 0 grey;
}

#maintenance-container .maint-info .maint-content {
	width: 80%;
	margin: 2em auto;
}

#maintenance-container .maint-info .fansite-links {
	width: 90%;
	margin: auto auto 1em;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

#maintenance-container .maint-info a {
	text-decoration: none;
}

#maintenance-container .maint-info .fansite-button {
	background-color: #3f638d;
	border: 2px solid #1b3a5e;
	border-radius: 50px;
	color: #fff;
	text-shadow: 1px 0 0 #1b3a5e, 0 1px 0 #1b3a5e, -1px 0 0 #1b3a5e, 0 -1px 0 #1b3a5e;
	font-size: 14pt;
	font-family: "Cafeteria", 'Arial', sans-serif;
	padding: 5px 15px;
}
#maintenance-container .maint-info .fansite-button:hover {
	background-color: #4c76a8;
}

/* COPYRIGHT */
.copyright-info {
	width: 90%;
    font-size: 10pt;
    font-family: "MuseoSansRounded700", 'Arial Bold', sans-serif;
    color: #363636;
	text-align: center;
	margin: auto auto 0;
}

@media screen and (max-width:1700px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 60%;
	}
	#maintenance-container .event-popup .maint-pteri {
		width: 28%;
		padding-top: 24.7%;
	}
}
@media screen and (max-width:1500px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 70%;
	}
	#maintenance-container .event-popup .maint-pteri {
		width: 26%;
		padding-top: 23%;
	}
}
@media screen and (max-width:1200px) {
	#maintenance-container .event-popup .maint-pteri {
		width: 30%;
		padding-top: 26%;
	}
}
@media screen and (max-width:1100px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 80%;
	}
	#maintenance-container .event-popup .maint-pteri {
		width: 35%;
		padding-top: 31%;
		left: -10%;
	}
}
@media screen and (max-width:1000px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 90%;
	}
	#maintenance-container .event-popup .maint-pteri {
		width: 35%;
		padding-top: 31%;
		left: -5%;
	}
	#maintenance-container .event-popup .content {
		width: 70%;
		padding: 1em 1em 1em calc(31%);
	}
}
@media screen and (max-width:820px) {
	#maintenance-container .event-popup {
		width: 50%;
		background-image: url(images/topbg_maintenance_mobile.png), url(images/bottombg_maintenance_mobile.png);
		background-size: 100% auto;
		background-position: center 2em, center bottom;
	}
	#maintenance-container .maint-info {
		width: 50%;
	}
	#maintenance-container .event-popup .maint-pteri {
		width: 90%;
		padding-top: 79%;
		left: 1em;
	}
	#maintenance-container .event-popup .content {
		width: 90%;
		padding: calc(79% - .5em) 1em calc(45%) 1em;
	}
	#maintenance-container .maint-info .fansite-links {
		flex-direction: column;
		width: 70%;
	}
}
@media screen and (max-width:650px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 60%;
	}
}
@media screen and (max-width:540px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 70%;
	}
}
@media screen and (max-width:475px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 80%;
	}
	#maintenance-container .maint-info .fansite-links {
		width: 75%;
	}
}
@media screen and (max-width:390px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 90%;
	}
}
@media screen and (max-width:350px) {
	#maintenance-container .event-popup, #maintenance-container .maint-info {
		width: 100%;
	}
	#maintenance-container .maint-info .fansite-links {
		width: 80%;
	}
}
@media screen and (max-width:300px) {
	#maintenance-container .event-popup .title {
		font-size: 22pt;
	}
	#maintenance-container .maint-info .fansite-links {
		width: 90%;
	}
}