/* Fonts */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600&display=swap|Noto+Sans|Open+Sans:wght@300;400;700|Roboto:400&display=swap&subset=cyrillic');

/* Light theme */
:root {
	--roboto: 'Roboto', sans-serif;
	--noto-sans: 'Noto Sans', sans-serif;
	--open-sans: 'Open Sans', sans-serif;
	--roboto-slab: 'Roboto Slab', serif;
	--font-awesome: 'Font Awesome 5 Free';

	--global-font: var(--open-sans);

	--background: #0f2638;
	--foreground: #FFFFFF;
	--header: #8fc8db;
	--card-bg: #14425a;
	--card-highlight: #a4e2Fa;

	--card-shadow-color: rgba(0, 0, 0, 0.45);
}

* {
	box-sizing: content-box;
	margin: 0;
	font-family: var(--global-font);
}

body {
	background: var(--background);
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
	overflow: hidden;
	transition: .5s;
}

h1 {
	color: white;
	align-items: center;
	text-align: center;
	padding: 5px;
}

h2 {
	color: white;
	align-items: center;
	text-align: center;
	margin-top: 10px;
	padding: 5px;
	font-size: 10pt;
}


.highlight {
	color: var(--card-highlight);
}
input[type="checkbox"] {display: none;}

.tilt {position: absolute;}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: var(--card-bg);
	width: 370px;
	height: 220px;
	border-radius: 8px;
	box-shadow: 0px 2px 25px var(--card-shadow-color);
	transition: background-color .7s, box-shadow .7s;
}

.hide {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	transition: .5s;
}

.links {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 0px 25px 0px 25px;
	opacity: 1;
	transition: 1s;
	z-index: 1;
}

a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--foreground);
	outline: none;
	font-size: 30px;
	width: 30px;
	height: 30px;
	padding: 15px;
	margin: 5px;
	border-radius: 8px;
	transition: .2s;
}

.buttons {
	position: absolute;
	display: flex;
	align-items: center;
	flex-direction: column;
	left: -35px;
}

a:hover {
	color: var(--card-bg);
	background: var(--header);
	transform: translateY(-3px);
	transition: .2s;
	box-shadow: 0 3px 10px rgba(2, 2, 2, 0.45);
	outline: none;
}
