/**
 * @title Loader CSS
 * @description the only CSS file that loads on page load.
 **/

/**********************/
/****** VARIABLES *****/
/**********************/
:root {
	--dark-gray: #D0D0D0; /* D8D8D8 */
	--light-gray: #F8F8F8;
	--gray: invert(42%) sepia(66%) saturate(0%) hue-rotate(260deg) brightness(104%) contrast(85%);
	--black: #585858;
	--gray-logo: invert(96%) sepia(0%) saturate(47%) hue-rotate(181deg) brightness(85%) contrast(98%);
	--black-filter: invert(0%) sepia(5%) saturate(7481%) hue-rotate(228deg) brightness(98%) contrast(106%);
}

/**********************/
/******** FONTS *******/
/**********************/
@font-face {
	font-family: 'Canger';
	src: url('../fonts/站酷仓耳渔阳体-W01.ttf') format('truetype');
}
@font-face {
	font-family: 'RuneScape Plain 12';
	src: url('https://atomicity.serenity.wiki/res/fonts/Plain-12.ttf') format('truetype');
}

/*@font-face {
    font-family: 'RuneScape UF';
    src: url('../fonts/RuneScape-UF.eot');
    src: url('../fonts/RuneScape-UF.eot?#iefix') format('embedded-opentype'),
        url('../fonts/RuneScape-UF.woff2') format('woff2'),
        url('../fonts/RuneScape-UF.woff') format('woff'),
        url('../fonts/RuneScape-UF.svg#RuneScape-UF') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}*/

/**********************/
/******* GLOBAL *******/
/**********************/
body {
	font-family: 'RuneScape Plain 12'/*'Canger'*/;
	background-image: linear-gradient(var(--dark-gray), var(--light-gray));
	color: var(--dark-gray);
	margin: 0;
}
::selection {
	background: gray;
}
a {
	color: black;
	text-decoration: none;
}
.image {
	aspect-ratio: 1/1;
	-webkit-aspect-ratio: 1/1;
	background-repeat: no-repeat;
	background-size: 100% auto;
	background-position: center;
	background-size: contain;
}
#content {
	width: 100%;
	height: 650px;
	top: 50%;
	transform: translateY(-50%);
	position: absolute;
}
#content-wrapper {
	width: max-content;
	height: 100%;
	margin: 0 50%;
	transform: translateX(-50%);
}
#phone, #app-details {
	display: inline-block;
	height: 100%;
}

/**********************/
/******** PHONE *******/
/**********************/
#phone {
	position: relative;
	background-image: url('../images/phone.png');
	width: 318px;
	height: 650px;
	background-size: cover;
}
#phone-screen {
	position: absolute;
	background-image: url('../images/preview.png');
	background-size: contain;
	width: 293px;
	height: 521px;
	top: 66px;
	left: 12px;
}
#demo-message {
	display: none;
	border: 1px solid rgba(0,0,0,0);
	color: white;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
#demo-message:hover {
	cursor: pointer;
	border: 1px solid gray;
	text-shadow: 1px 1px 1px white;
}

/**********************/
/***** APP DETAILS ****/
/**********************/
#app-details {
	position: relative;
	overflow: hidden;
	width: 450px;
}
#logo-and-details {
	width: 100%;
	height: 100%;
	padding-left: 50px;
}
#logo {
	filter: var(--gray-logo);
	width: 150px;
	height: 150px;
	margin: 0 50%;
	margin-top: 50%;
	transform: translate(-50%, -50%);
}
#slogan {
	margin-top: 25px;
	text-align: center;
	margin-top: -100px;
}
#app-name {
	margin-bottom: 0;
}
/* Platform download buttons and icons */
#buttons {
	margin-top: 25px;
}
.download {
	cursor: pointer;
	width: 55px;
	margin-left: 50%;
	transform: translateX(-50%);
}
.download:hover {
	filter: var(--black-filter);
}
.download-image {
	width: 40px;
	aspect-ratio: 1/1;
	--webkit-aspect-ratio: 1/1;
	border-radius: 5px;
	filter: var(--gray-logo);
	background-size: contain;
	margin-left: 50%;
	transform: translateX(-50%);
}
.version {
	width: 100%;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}

/**********************/
/****** FOOTNOTES *****/
/**********************/
#footnotes {
	border-top: 1px solid #E0E0E0;
	position: absolute;
	bottom: 0;
	width: 75%;
	text-align: center;
	font-size: 12px;
	color: var(--dark-gray);
	padding: 10px 0;
	margin-left: 50%;
	transform: translateX(-50%);
}
