/*!
Theme Name: switzerlan
Author: Bojett
Author URI: https://bojett.com/
Description: WordPress Theme for the biggest LAN Party in Switzerland, SwitzerLAN.
Version: 1.0.0
Text Domain: switzerlan
*/

* {
	padding: 0;
	margin: 0;
	border: 0;
}

@font-face {
	font-family: 'Big Macca';
	src: url('/wp-content/themes/switzerlan/fonts/bigmacca.otf.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}

:root {
	--bg-color: #181818;
	--sponsoring-bg-color: #1d1c1c;
	--sponsoring-bar-height: 56px;
	--header-bar-height: 52px;
}

body {
	background-color: var(--bg-color);
	font-family: "Roboto", Arial, sans-serif;
	color: white;
	line-height: 1.8rem;
}

#switzerlan-website {
	max-width: 2480px;
	padding: 0 40px 0 40px;
	margin: auto;
}

.sponsoring-logos {
	background-color: var(--sponsoring-bg-color);
	height: var(--sponsoring-bar-height);
}

.sponsoring-inner {
	display: flex;
	justify-content: center;
	gap: 30px;
}

.sponsoring-logos img {
	height: 32px;
	margin: 12px;
	transition: 0.2s ease-in-out filter;
	filter: brightness(0) invert(1);
}

.sponsoring-logos img:hover {
	filter: brightness(1) invert(0);
}

#logo-header img {
	width: 242px;
	height: 20px;
}

header {
	position: sticky;
	top: 20px;
	z-index: 2;
}

aside#sidebar-left {
	position: sticky;
	top: 100px;
	z-index: 0;
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
}

#sidebar-left #sidebar-left-wrapper {
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
}

#sidebar-left #sidebar-left-wrapper #sidebar-left-wrapper-inner {
	margin-top: -9px;
}

.spacer-line {
	border-top: 1px solid white;
	width: 30px;
	padding-bottom: 8px;
}

.lan-info {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.lan-info-icon {
	background-color: white;
	padding: 10px;
	height: 30px;
	width: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lan-info-icon i {
	color: var(--bg-color);
	font-size: 22px;
}

.lan-info-text {
	color: white;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	max-width: 138px;
	line-height: 0.8rem;
	letter-spacing: 0.3px;
}

.quest-btn {
	float: right;
	margin-top: 40px;
}

main {
	width: 80%;
	margin: auto;
	margin-top: -212px;
}

#main-content {
	position: sticky;
	z-index: 1;
	padding-bottom: 60px;
}

h1 {
	font-family: 'Big Macca', sans-serif;
	color: white;
	font-size: 62px;
	margin-bottom: 20px;
	text-align: center;
	text-transform: uppercase;
	justify-content: center;
	display: flex;
	align-items: center;
	text-align: center;
	gap: 20px;
}

h1::before,
h1::after {
	flex-shrink: 0;
	content: "";
	height: 2px;
	width: 60px;
	background: white;
}

#main-header {
	margin: 20px 0 20px 0;
	height: var(--header-bar-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	z-index: 100;
}

#navigation-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: #ff4500;
	clip-path: polygon(18px 0,
			100% 0,
			100% 100%,
			0 100%,
			0 18px);
}

#navigation-header::after {
	content: "";
	position: absolute;
	inset: 1px;
	z-index: -1;
	background: linear-gradient(0deg, rgba(64, 20, 20, 0.8) 0%, rgba(158, 11, 11, 0.8) 100%);
	clip-path: polygon(18px 0,
			100% 0,
			100% 100%,
			0 100%,
			0 18px);
}

#navigation-header {
	position: sticky;
	height: 54px;
	display: flex;
	align-items: center;
	padding-left: 20px;
	padding-right: 20px;
	/* pace links */
	padding-bottom: 1px;
	z-index: 150;
}

#navigation-header ul {
	list-style: none;
	display: flex;
	gap: 20px;
	padding-top: 1px;
	align-items: center;
}

#navigation-header ul li {
	font-size: 16px;
	font-weight: bold;
	color: #ffffff;
	text-transform: uppercase;
	cursor: pointer;
	position: relative;
	padding: 10px 0;
}

#navigation-header ul li a {
	color: #ffffff;
	text-decoration: none;
}

#navigation-header ul li .game-btn {
	height: 20px;
}

.icon-link {
	font-size: 20px;
	font-weight: normal;
	transition: 0.3s ease opacity, transform 0.1s ease;
}

.icon-link:hover {
	opacity: 0.8;
}

.icon-link:active {
	transform: scale(0.98);
}

.btn-red {
	background: linear-gradient(0deg, #6a1010 0%, #f90000 100%);
}

.btn-black {
	background: linear-gradient(0deg, #000000 0%, #333333 100%);
}

.game-btn {
	--cut-small: 8px;
	--cut-large: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 14px 22px;
	border: none;
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	color: white;
	text-transform: uppercase;
	clip-path: polygon(var(--cut-small) 0,
			calc(100% - var(--cut-small)) 0,
			100% var(--cut-small),
			100% calc(100% - var(--cut-large)),
			calc(100% - var(--cut-large)) 100%,
			var(--cut-small) 100%,
			0 calc(100% - var(--cut-small)),
			0 var(--cut-small));
	transition: opacity 0.3s ease, transform 0.1s ease;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.game-btn:hover {
	opacity: 0.8;
	filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.4));
}

.game-btn:active {
	transform: scale(0.98);
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.game-btn .icon {
	font-size: 1.3em;
	font-weight: bold;
	margin-top: -2px;
}

ul.socialmedia-buttons {
	list-style: none;
	margin-top: 30px;
}

ul.socialmedia-buttons li {
	margin-top: 19px;
	transition: opacity 0.3s ease, transform 0.1s ease;
}

ul.socialmedia-buttons li a {
	color: white;
	font-size: 26px;
	text-decoration: none;
}

ul.socialmedia-buttons li a:hover {
	opacity: 0.8;
}

ul.socialmedia-buttons li:active {
	transform: scale(0.98);
}

footer {
	background: #F30101;
	background: linear-gradient(90deg, rgba(243, 1, 1, 1) 0%, rgba(77, 18, 18, 1) 100%);
}

footer #footer-inner {
	padding: 60px;
	max-width: 1920px;
	margin: auto;
}

footer #footer-navigation ul {
	list-style: none;
	display: flex;
	gap: 80px;
	justify-content: center;
	margin-bottom: 20px;
}

footer #footer-navigation ul li {
	font-size: 18px;
}

footer #footer-navigation ul li a {
	color: white;
	text-decoration: none;
}

footer #footer-center {
	margin-top: 60px;
	text-align: center;
}

footer #footer-center #footer-logo {
	width: 242px; 
	height: 20px;
}

footer #footer-center-text {
	margin-top: 12px;
	margin-bottom: 60px;
	font-size: 14px;
	color: white;
	line-height: 1.6rem;
}

footer #footer-copyright {
	font-size: 12px;
	color: white;
	text-align: center;
	line-height: 1.2rem;
}

footer #footer-copyright a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

#socialmedia-buttons-footer {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 12px;
}

#socialmedia-buttons-footer a {
	color: white;
	text-decoration: none;
	font-size: 20px;
}