/*
	Hexatrigonic Website CSS
*/

/* fonts */

@font-face {
	font-family:'jost';
	font-style:normal;
	font-weight:400;
	src:url('fonts/jost/Jost-Regular.ttf') format('truetype');
}

@font-face {
	font-family:'jost';
	font-style:italic;
	font-weight:400;
	src:url('fonts/jost/Jost-Italic.ttf') format('truetype');
}

@font-face {
	font-family:'jost';
	font-style:normal;
	font-weight:600;
	src:url('fonts/jost/Jost-Bold.ttf') format('truetype');
}

@font-face {
	font-family:'jost';
	font-style:italic;
	font-weight:600;
	src:url('fonts/jost/Jost-BoldItalic.ttf') format('truetype');
}

/* main css */

* {
	padding:0;
	margin:0;
	box-sizing:border-box;
}

@keyframes back_anim {
	
	from {
		background-size:auto 90%;
	}
	
	to {
		background-size:auto 100%;
	}
	
}

html, body {
	animation:back_anim 2s;
	width:100%;
	height:100%;
	font-family:'jost';
	font-size:15px;
	color:#ffffff;
	background-color:#080808;
	background-image:url('img/hexatrigonic-muster.jpg');
	background-size:auto 100%;
	background-position:50% 50%;
	background-repeat:no-repeat;
}

#wrapper {
	min-height:100vh;
	text-align:center;
	padding:40px;
}

@keyframes logo_anim {
	
	from {
		opacity:0;
		-webkit-transform:scale(0.8,0.8);
		-moz-transform:scale(0.8,0.8);
		-o-transform:scale(0.8,0.8);
		transform:scale(0.8,0.8);
	}
	
	to {
		opacity:1;
		-webkit-transform:scale(1,1);
		-moz-transform:scale(1,1);
		-o-transform:scale(1,1);
		transform:scale(1,1);
	}
	
}

#logo {
	animation:logo_anim 2s;
	display:inline-block;
	max-width:85vw;
	margin-top:24vh;
	margin-bottom:40px;
}

#logo img {
	width:100%;
	height:auto;
}

@keyframes logo_h1 {
	
	from {
		opacity:0;
	}
	
	to {
		opacity:1;
	}
	
}

h1 {
	animation:logo_h1 2s 2s forwards;
	opacity:0;
	letter-spacing:0.4em;
	text-transform:uppercase;
	font-weight:normal;
	font-size:20px;
}

@media only screen and (max-width:780px) {
	
	h1 { font-size:16px; }
	
}