/*!
 * ©Evane
 * Responsive style sheet
 * UD 20250324
 */

@font-face {
	font-family: "KleptocracyTitlingRg-Regular";
	src: url("fonts/KleptocracyTitlingRg-Regular.otf") format("opentype"),
		url("fonts/KleptocracyTitlingRg-Regular.woff") format("woff"),
		url("fonts/KleptocracyTitlingRg-Regular.woff2") format("woff2");
	font-weight: normal;
	font-style: normal;
}

html {
	margin: 0;
	padding: 0;
	background-size: cover;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	font-size: 100%;
}

* { box-sizing: border-box; }


/* -v--- GLOBAL ---------------v- */

body {
	margin: 0;
	font-family: 'KleptocracyTitlingRg-Regular', serif;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a:link { text-decoration: none; color: #003cb5; } 
a:visited { text-decoration: none; color: #003cb5; }
a:active { text-decoration: none; color: #003cb5; }
a:hover { color: #007eff; }

#global {
	position: absolute;
	width: 100%;
	height: 100%;
}

/* -^--- GLOBAL ---------------^- */


@media only screen and (max-width: 1100px) {

	#mobile {
		position: relative;
		background-color: rgba(221,221,221,0.5);
		width: 100%;
		height: 10%;
		overflow: hidden;
	}

	.imgmob {
		height: 10vmin;
		cursor: pointer;
		opacity: 1.0;
	}

	#logo {
		height: 10vmin;
	}

	#footer {
		display: none;
	}

	#main {
		display: none;
	}
	
	#container {
		display: none;
	}

	/* -v--- VIDEO ----------------v- */
	
	video { 
		position: fixed;
		top: 50%;
		left: 5%;
		min-width: 100%;
		min-height: 100%;
		width: auto;
		height: auto;
		z-index: -100;
		transform: translateX(-5%) translateY(-50%);
		background: #fff;
	}
	
	video::-webkit-media-controls {
		display: none;
	}

	#button {
		position: absolute;
		background: #fff;
		font-size: 3vmin;
		font-family: 'KleptocracyTitlingRg-Regular', serif;
		color: #333;
		letter-spacing: 0.1rem;
		border: 0;
		top: 15%;
	}
	
	#button:hover {
		background: yellow;
		cursor: pointer;
	}
	
	/* -^--- VIDEO ---------------^- */

}


@media (min-width: 1100px) {

	#mobile {
		display: none;
	}

	#header, #footer {
		position: relative;
		width: 100%;
		height: 5%;
		overflow: hidden;
		background: #333;
		opacity: 0.5;
		text-align: right;
		color: #aaa;
		font-size: 2vmin;
		letter-spacing: 0.1rem;
	}

	#main {
		position: relative;
		width: 50%;
		height: 90%;
		background-color: rgba(51,51,51,0.5);
		margin: auto;
		top: 0;
		bottom: 0;
		left: 25%;
		overflow: noscroll;
	}
	
	#container {
		position: relative;
		background-color: rgba(221,221,221,0.8);
		width: 80%;
		height: 100%;
		top: 0;
		left: 10%;
		padding: 5%;
		border-radius: 0 10%;
	}

	@keyframes showTopText {
		0% { transform: translate3d(0, 100%, 0); }
		100% { transform: translate3d(0, 0, 0); }
	}
	
	@keyframes showBottomText {
		0% { transform: translate3d(0, -100%, 0); }
		100% { transform: translate3d(0, 0, 0); }
	}
	
	.animated-title {
		width: 80%;
		height: 100%;
		left: 50%;
		position: absolute;
		top: 30%;
		transform: translate(-50%, -50%);
	}
	
	.animated-title > div {
		height: 50%;
		overflow: hidden;
		position: absolute;
		width: 100%;
	}
	
	.animated-title > div div {
		width: 100%;
		padding: 2rem 0;
		position: absolute;
	}
	
	.animated-title > div.text-top {
		border-bottom: 0.1vh solid #000;
		top: 0;
	}
	
	.animated-title > div.text-top div {
		animation: showTopText 2s;
		animation-delay: 0.1s;
		animation-fill-mode: forwards;
		bottom: 0;
		transform: translate(0, 100%);
	}
	
	.animated-title > div.text-bottom {
		bottom: 0;
	}
	
	.animated-title > div.text-bottom div {
		animation: showBottomText 2s;
		animation-delay: 1.2s;
		animation-fill-mode: forwards;
		top: 0;
		transform: translate(0, -100%);
	}
	
	.subtitle, .text, .animated-title {
		letter-spacing: 0.1rem;
	}
	
	.subtitle {
		font-size: 2.2vmin;
		color: #777;
		text-align: left;
		display: block;
	}
	
	.text {
		font-size: 2.2vmin;
		color: #333;
		text-align: right;
	}
	
	#evane {
		font-weight: bold;
	}
	
	#media {
		position: relative;
		width: 100%;
		height: 5%;
		margin-bottom: 1vh;
		text-align: right;
	}
	
	.image {
		height: 5vh;
		cursor: pointer;
		opacity: 0.4;
		transition: opacity 1s ease-in-out;
		-moz-transition: opacity 1s ease-in-out;
		-webkit-transition: opacity 1s ease-in-out;
	}
	
	.image:hover {
		opacity: 1.0;
		transition: opacity .55s ease-in-out;
		-moz-transition: opacity .55s ease-in-out;
		-webkit-transition: opacity .55s ease-in-out;
	}
	
	
	/* -v--- VIDEO ----------------v- */
	
	video { 
		position: fixed;
		top: 50%;
		left: 5%;
		min-width: 100%;
		min-height: 100%;
		width: auto;
		height: auto;
		z-index: -100;
		transform: translateX(-5%) translateY(-50%);
		background: #fff;
	}
	
	video::-webkit-media-controls {
		display: none;
	}

	#button {
		position: absolute;
		background: #fff;
		font-size: 2vmin;
		font-family: 'KleptocracyTitlingRg-Regular', serif;
		color: #333;
		letter-spacing: 0.1rem;
		border: 0;
		top: 5%;
	}
	
	#button:hover {
		background: yellow;
		cursor: pointer;
	}
	
	/* -^--- VIDEO ---------------^- */

}