/* Globals */
:root {
	--black: #000;
	--white: #DDD;
}
::-moz-selection { background: var(--white); color: var(--black); }
::selection {  background: var(--white); color: var(--black); }

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

html, body { 
	margin: 0;
	-webkit-text-size-adjust: 100%;
}
body { 
	padding: 2rem 10vw 0;
	font-family: sans-serif;
	font-size: 14px;
	color: var(--white);
	text-align: center;
	letter-spacing: 1px;
	background: var(--black);
}
a, a:active, a:visited {
	color: var(--white);
	text-decoration: none;
	color: #DDD;
	background: transparent;
	-webkit-transition: all 0.25s;
	-o-transition: all 0.25s;
	transition: all 0.25s;
}
a:hover {
	-webkit-transform: scale(1.05);
	    -ms-transform: scale(1.05);
	        transform: scale(1.05);
}
img { 
	width: 100%;
	border-style: none;
}

/* Header */
header img {
	display: block;
	max-width: 500px;
	height: auto;
	margin: 2rem auto 4rem;
}

/* Main */
main { 
	display: block;
}
.tab {
	max-width: 500px;
	margin: 1.5rem auto;
	padding: 1.5rem;
	border-radius: 10px;
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	background: #1236;
	box-shadow: 0 0 0 1px #333;
}
.tab-title {
	font-family: Ethnocentric;
	font-size: 1.5rem;
}
.tab:not(.socials) a {
	display: block;
	margin: auto;
	padding: 25px 5px 5px;
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
	border-bottom: 1px dotted;
}
.tab.socials a {
	display: inline-block;
	margin: 0 10px;
	padding: 10px;
	overflow: hidden;
}
.tab.socials a:hover {
	-webkit-transform: scale(1.2);
	    -ms-transform: scale(1.2);
	        transform: scale(1.2);
}
.tab.socials .social-icons {
    margin-top: 1rem;
}
.tab.socials svg {
	width: 2.5rem;
	fill: var(--white);
}

/* Footer */
footer {
	padding: 3rem 0 2rem;
}
#credits {
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}
footer:not(:hover) #credits {
	opacity: .5;
	-webkit-transform: scale(0.75);
	    -ms-transform: scale(0.75);
	        transform: scale(0.75);
}
#credits svg {
	margin-bottom: -6px;
}

/* Media Queries */
@media screen and (max-width: 767px) {
	.tab-title {
		font-size: 1rem;
		font-size: clamp(1rem, 1rem + 1vw, 1.5rem);
	}
}