@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap");

:root {
	--black-color: #000000;
	--gray-color: #A0A0A0;
	--main-background-color: #F0EFF9;
	--header-footer-height: 7vh;
	--font-family-roboto: 'Roboto', sans-serif;
	--default-font-size: 1rem;
	--default-font-weight: 400;
	--title-font-weight: 900;
	--title-font-size: 3.5vh;
	--footer-padding-horizontal: 1vh;
	--footer-margin-right: 2vh;
	--dropdown-bg-color: var(--black-color);
	--dropdown-text-color: var(--gray-color);
	--dropdown-width: 35vw;
	--dropdown-button-size: 1.5rem;	
	--social-button-spacing: 1vh;  
}

html,
body {
	font-size: 1.6vh;
	height: 100%;
	width: 100%;
	margin: 0;
	overscroll-behavior: none;
	font-family: var(--font-family-roboto);
	background-color: var(--main-background-color);
	scroll-behavior: smooth;
	scrollbar-width: none;
	background-image: linear-gradient(135deg, var(--main-background-color) 0%, #E0E0F0 50%, var(--main-background-color) 100%);
	background-size: 300% 300%;
	animation: backgroundPan 20s ease infinite alternate;
}

body {
	overflow: auto;
}

html::-webkit-scrollbar {
	display: none;
}

.site-header {
	background-color: var(--black-color);
	height: var(--header-footer-height);
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gray-color);
	font-size: var(--default-font-size);
	font-weight: var(--default-font-weight);
	position: relative;
	z-index: 100;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.games-section-title {
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 3vh;
	margin-bottom: 3vh;
	color: var(--black-color);
	font-size: var(--title-font-size);
	font-weight: var(--title-font-weight);
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 1s ease-out forwards;
	animation-delay: 0.8s;
	text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.main-content {
	flex-grow: 1;
}

.footer {
	background-color: var(--black-color);
	height: var(--header-footer-height);
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--gray-color);
	font-size: var(--default-font-size);
	font-weight: var(--default-font-weight);
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 103;
	padding: 0 var(--footer-padding-horizontal);
	box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.site-logo-wrapper {
	height: 80%;
	display: flex;
	align-items: center;
}

.site-logo {
	height: 90%;
	transition: none;
}

.site-logo:hover {
	transform: none;
}

.footer-center-text {
	text-align: center;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.footer-center-text p {
	margin: 0;
	line-height: 1.2;
	transition: color 0.3s ease;
}

.footer-center-text p:hover {
	color: #ffffff;
}

.footer-right-text {
	text-align: right;
	margin-right: var(--footer-margin-right);
	flex-grow: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.footer-right-text p a,
.footer-right-text p a:visited,
.footer-right-text p a:hover {
	color: var(--gray-color) !important;
	transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-right-text p a:hover {
	text-decoration: underline !important;
	color: #ffffff !important;
}

#menu__toggle {
	opacity: 0;
	position: fixed;
	z-index: 999;
}

.menu__btn {
	display: flex;
	align-items: center;
	position: absolute;
	top: 50%;
	left: 1%;
	width: 3vh;
	height: 3vh;
	cursor: pointer;
	z-index: 1000;
	transform: translateY(-50%);
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
	display: block;
	position: absolute;
	width: 100%;
	height: 0.3vh;
	background-color: var(--gray-color);
}

.menu__btn > span::before {
	content: '';
	top: -1vh;
}

.menu__btn > span::after {
	content: '';
	top: 1vh;
}

.menu__box {
	display: block;
	position: fixed;
	visibility: hidden;
	top: 0;
	left: -100%;
	width: 15%;
	height: 100%;
	margin: 0;
	padding: 12vh 0;
	list-style: none;
	background-color: var(--black-color);
	color: var(--gray-color);
	box-shadow: 1px 0px 0.9vh rgba(0, 0, 0, .2), 4px 0px 8px rgba(0, 0, 0, .15);
	transition-duration: .25s;
	z-index: 998;
}

.menu__item {
	display: block;
	padding: 1.5vh 3vh;
	color: inherit;
	font-family: var(--font-family-roboto);
	font-size: 2vh;
	font-weight: 400;
	text-decoration: none;
	transition-duration: .25s;
}

.menu__item:hover {
	background-color: #292929;
	color: var(--main-background-color);
}

#menu-overlay {
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: transparent;
	z-index: 997;
}

#menu__toggle:checked ~ #menu-overlay {
	display: block;
}

.menu__social-link {
  display: inline-flex;
  align-items: center;
  width: 1vh;
  height: 1vh;
  justify-content: center;
  margin: 0 var(--social-button-spacing);
  font-size: 3vh;
  color: var(--gray-color);
  text-decoration: none;
  background-color: transparent;
}

.menu__socials {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 30%;
  left: 0;
  right: 0;
  width: 100%;
}

@media (max-width: 768px), (orientation: portrait) {
	.menu__box {
		width: 60%;
	}

	.menu__btn {
		width: 2vh;
		height: 2vh;
	}

	.menu__btn > span::before {
		content: '';
		top: -0.5vh;
	}

	.menu__btn > span::after {
		content: '';
		top: 0.5vh;
	}

	.menu__socials i {
		font-size: 3.5vh;
  }
}