/*
 * (c) LEONEST.ART (created 4/13/2021 ; last modified 5/27/2023)
 */

@font-face {
	font-family: 'alte_haas';
	font-weight: normal;
	src: url('/~files/font.ttf');
}

@font-face {
	font-family: 'alte_haas';
	font-weight: bold;
	src: url('/~files/font_bold.ttf');
}

html, body {
	height: 100%;
	margin: 0;
	background-color: #000;
	color: #fff;
	font-family: alte_haas, sans-serif;
}

body:after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	z-index: -1;
	background-color: #000;
	animation-name: revelation;
	animation-duration: 1s;
	animation-timing-function: ease-in;
}

::-moz-selection {
	color: #f4ca4b;
	background: none;
}

::selection {
	color: #f4ca4b;
	background: none;
}

a {
	color: inherit;
	transition: color ease 0.5s;
	text-decoration: none;
}

a:focus, a:active, a:hover {
	color: #f4ca4b;
}

input[type='email'] {
	padding: 12px 20px;
	border: 2px solid #000;
	border-radius: 4px;
	background-color: #fff;
	transition: all ease 0.5s;
	box-sizing: border-box;
	font-weight: bold;
	outline: none;
}

input[type='email']:focus, input[type='email']:active {
	background-color: #ddd;
}

input[type='submit'], button {
	padding: 12px 20px;
	border: 2px solid #000;
	border-radius: 4px;
	background-color: #fff;
	transition: all ease 0.5s;
	box-sizing: border-box;
	font-weight: bold;
	outline: none;
	cursor: pointer;
}

input[type='submit']:hover, button:hover {
	background-color: #ddd;
}

input[type='submit']:focus, input[type='submit']:active, button:focus, button:active {
	background-color: #999;
	color: #fff;
}

ul {
	list-style-type: circle;
}

li {
	margin-top: 10px;
}

.wrapper {
	display: flex;
	flex-flow: column;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	perspective: 2px;
	position: relative;
}

.wrapper:after {
	position: absolute;
	content: " ";
	background-image: url('/~files/stars.jpg');
	background-repeat: repeat;
	top: 0;
	right: 0;
	left: 0;
	height: 100%;
	transform: translateZ(-1px) scale(1.5);
	z-index: -1;
}

.wrapper .header {
	flex: 0 1 auto;
	text-align: center;
	padding-top: 30px;
	padding-bottom: 30px;
	margin-left: 15px;
	margin-right: 15px;
}

.wrapper .header h1 {
	font-size: 3.5em;
	margin: 0 auto;
	padding-bottom: 25px;
}

.wrapper .header h1.underline {
	border-bottom: 5px solid #fff;
	padding-bottom: 0.1em;
	display: table;
}

.wrapper .header h2 {
	padding: 0.3em;
	display: table;
	background-color: #000;
	margin: -1.05em auto 0 auto;
	font-size: 2em;
}

.wrapper .content {
	flex: 1 1 auto;
}

.wrapper .content h2 {
	font-size: 1.5em;
}

.wrapper .content br {
	margin-top: 40px;
}

.wrapper .footer {
	flex: 0 1 auto;
	text-align: center;
	padding-top: 50px;
	padding-bottom: 30px;
	font-weight: bold;
	margin-left: 15px;
	margin-right: 15px;
}

.wrapper .footer a:focus, .wrapper .footer a:active, .wrapper .footer a:hover {
	color: #f4ca4b;
}


/* TODO Remake the Team classes */
.team {
	font-size: 1.2rem;
	margin-top: 2rem;
}

.team.image {
	width: 100%;
	position: absolute;
	top:0;
}

.team > .title {
	border-bottom: 3px solid #f4ca4b;
	display: inline-flex;
	margin-top: 30px;
}

.team > .title > h1 {
	margin: 1rem 0;
}

.team > .title > .role {
	padding-left: 20px;
	opacity:0.7;
	align-self: center;
}

/* END of Team classes */

.logo {
	min-width: 200px;
	width: 15vw;
	height: auto;
	margin-bottom: -60px;
	pointer-events: none;
}

.logo.glow {
	border-radius: 50%;
	background-color: #111;
	animation-name: burning;
	animation-duration: 8s;
	animation-iteration-count: infinite;
	width: 10vw;
	margin: 30px;
}

.logo.no-margin {
	margin-bottom: 0px;
}

.box {
	position: relative;
}

.square-ratio {
	width: 100%;
	padding-top: 100%;
}

@keyframes pop-up {
	from { transform: translate(0, 50px); }
	to { transform: translate(0, 0); }
}

@keyframes revelation {
	from { z-index: 2; opacity: 1; }
	to { z-index: 2; opacity: 0; }
}

@keyframes burning {
	0% { box-shadow: 0 0 20px 2px #f4ca4b; }
	10% { box-shadow: 0 0 16px 2px #f4ca4b; }
	20% { box-shadow: 0 0 20px 2px #f4ca4b; }
	30% { box-shadow: 0 0 12px 2px #f4ca4b; }
	50% { box-shadow: 0 0 20px 2px #fe6b39; }
	70% { box-shadow: 0 0 20px 2px #fe6b39; }
	80% { box-shadow: 0 0 14px 2px #fe6b39; }
	100% { box-shadow: 0 0 20px 2px #f4ca4b; }
}

.box-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: red;
	transition: filter ease 0.5s;
	filter: grayscale(100%);
	animation-name: pop-up;
	animation-duration: 1s;
	animation-play-state: paused;
	text-align: center;
	overflow: hidden;
	display: flex;
	justify-content: center;
}

.box-content:active, .box-content:hover, .box-content:focus {
	filter: none;
}

.box-content img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: transform ease 0.5s;
	pointer-events: none;
	object-fit: fill;
	padding: 0 15px;
	transform: scale3d(0.85,0.85,1);
}

.box-content:active img, .box-content:hover img, .box-content:focus img {
	transform: scale3d(1,1,1);
}

.box-content h3 {
	font-size: 2.5em;
	font-weight: normal;
	margin: 0;
	position: relative;
	z-index: 2;
	text-shadow: 2px 2px 8px #000;
	color: white;
	align-self: flex-end;
}

.icon {
	width: 24px;
	height: auto;
	opacity: 1;
	transition: opacity ease 0.5s;
	margin: 5px;
}
.icon:active, .icon:hover, .icon:focus {
	opacity: 0.5;
}

.row {
	justify-content: center;
}

.align-center {
	text-align: center;
}

.valign-center {
	align-self: center;
}

@media only screen and (min-width: 992px) { /* Large and above */
	.box-content h3 {
		font-size: 3em;
	}
	.wrapper .header h1 {
		font-size: 5em;
	}
	.wrapper .footer {
		padding-top: 100px;
	}
}
