/*----------------------------------------
		AdamCorp Original Production
			by Francesco Adamo
     Copyright 2020 All Rights Reserved
------------------------------------------*/

@font-face {
	font-family: 'Catamaran Regular';
	src:  url('fonts/Catamaran-Regular.ttf');
}

@font-face {
	font-family: 'Catamaran Bold';
	src:  url('fonts/Catamaran-Bold.ttf');
}

@font-face {
	font-family: 'Allura Regular';
	src:  url('fonts/Allura-Regular.ttf');
}

@keyframes appear {
	0% {
		transform: rotateX(-20deg) rotateY(-20deg) rotateZ(2deg) scale(0.8);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

body {
	background: url('img/bg3.jpg') no-repeat center center fixed; 
	background-size: cover;
	color: white;
}

a {
	text-decoration: none;
	color: white;
}

.title {
	margin: auto;
	font: 6vh 'Catamaran Bold';
	text-shadow: 0px 0px 12px black;
	text-align: center;
	line-height: 1.2;
	width: 90%;
	transition-duration: 0.4s;
}

.title:hover {
	transform: scale(1.1, 1.1);
}

#fancy-title {
	font: 7vh 'Allura Regular';
	margin-top: 4vh;
}

.decoration {
	font-size: 4vh;
}

.container {
	margin: auto;
	width: 40%;
	background: rgba(0, 0, 0, 0.8);
	border: 2px solid white;
	border-radius: 2px;
	padding: 2vh 2vw 2vh 2vw;
	margin-top: 6vh;
}

#main-content {
	animation: 0.8s ease-in-out 0s 1 appear;
}
.link {
	font: 4vh 'Catamaran Regular';
	line-height: 1.4;
	
	position: relative;
	display: inline-block;
}

.link:hover {
	cursor: pointer;
}

.link::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 3px;
	bottom: 6px;
	left: 2px;
	background-color: white;
	
	transform: scaleX(0);
	transform-origin: left;
	transition-duration: 0.4s;
	transition-timing-function: ease-in-out;
}

.link:hover::before {
	transform: scaleX(1);
}

.faster::before {
	transition-duration: 0.3s;
}

.fastest::before {
	transition-duration: 0.2s;
}

.main-text {
	font: 4vh 'Catamaran Regular';
	display: inline-block;
}

.smaller {
	font-size: 3vh;
}

.smallest {
	font-size: 2vh;
	font-style: italic;
}

.smallest::before {
	height: 2px;
}

.description {
	font: 2vh 'Catamaran Regular';
	line-height: 1.4;
	font-style: italic;
	display: inline-block;
	transform: translateY(-4px);
	margin-left: 1vw;
}

#signature {
	font: 2vh 'Catamaran Regular';
	font-style: italic;
	background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0) 100%);

	width: 25vw;
	height: 2vh;
	text-align: center;
	position: fixed;
	bottom: 3vh;
	left: 0;
	padding-bottom: 1vh;
	
	letter-spacing: 0px;
	transition-duration: 0.4s;
}

#signature:hover {
	letter-spacing: 1.4px;
}

.button {
	font: 2.8vh 'Catamaran Regular';
	font-style: italic;
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid white;
	border-radius: 2px;
	
	width: 8vw;
	height: 4vh;
	position: fixed;
	bottom: 0;
	right: 3vw;
	
	display: flex;
	align-items: center;
	justify-content: center;
	
	transition-duration: 0.3s;
}

.button:hover {
	cursor: pointer;
	transform: scale(1.3, 1.1);
}
.button img {
	width: 1.4vh;
}

#language {
	bottom: 10vh;
}

#credits {
	bottom: 4vh;
}

#side-content {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	width: 30%;
	opacity: 0;
	z-index: -1;
	
	padding: 2vh 1.2vw 0 0.5vw;
	
	transition-duration: 0.5s;
}

#close {
	font: 3vh 'Catamaran Regular';
	float: right;
	margin-top: 3vh;
	transition-duration: 0.2s;
}

#close:hover {
	cursor: pointer;
	transform: scale(1.4);
}
