@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500&display=swap');
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	outline: none;
}
html {
	scroll-behavior: smooth;
	font-family: 'Sora', sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
}
body {
	overflow-x: hidden;
	letter-spacing: 3px;
	background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
		url('../img/main-bg.jpg');
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
}
a {
	text-decoration: none;
	color: #fff;
}
h1,
h2 {
	font-size: 2rem;
}
p {
	font-size: 1rem;
	margin: 1rem 0;
}
.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 20px;
}
.header__logo {
	width: 25rem;
}
.header__nav {
	font-size: 1.5rem;
}
.nav-item {
	margin-right: 25px;
}
.nav-item:hover,
.footer__link:hover {
	text-decoration: underline;
	text-underline-offset: 10px;
}
.slider {
	width: 100%;
	position: relative;
	overflow: hidden;
}
.slider__slide {
	display: none;
}
.slider__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(70%);
}
.slider__text-content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}
.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	width: 5vw;
}
.prev {
	left: 10px;
}
.next {
	right: 10px;
}
.fade {
	animation-name: fade;
	animation-duration: 2s;
}
@keyframes fade {
	from {
		opacity: 0.6;
	}
	to {
		opacity: 1;
	}
}
.challenge {
	text-align: center;
	max-width: 80%;
	margin: 3rem auto;
}
.challenge__text {
	line-height: 2rem;
	font-size: 1.2rem;
}
.cards {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 2rem;
	background-color: rgb(223, 223, 223);
	padding: 5rem 2rem;
}
.one {
	background-image: url('../img/free.jpg');
}
.two {
	background-image: url('../img/multiplayer.jpg');
}
.three {
	background-image: url('../img/real.jpg');
}
.card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-radius: 20px;
	padding: 10px;
	width: 33%;
	background-size: 100% 100%;
}
.card__title {
	text-align: center;
}
.card__text {
	text-align: center;
	font-size: 1.2rem;
	padding: 20px;
}
.footer {
	display: flex;
	justify-content: space-around;
	align-items: flex-start;
	background-color: rgb(172, 172, 172);
	color: black;
	width: 100%;
	margin-top: 5rem;
	padding: 3rem;
}
.footer__container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.footer__title {
	color: rgb(73, 73, 73);
}
.footer__link {
	color: black;
}
.footer__icon {
	width: 2rem;
}
.privacy,
.pages__main,
.contact {
	background-color: rgb(223, 223, 223);
	color: black;
	padding: 1rem 3rem;
}
.pages__main > p {
	font-size: 1.3rem;
}
.contact > p {
	font-size: 1.5rem;
	min-height: 60vh;
}
.tutorial {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 2rem;
	background-color: rgb(223, 223, 223);
	padding: 3rem 1rem;
	min-height: 70vh;
	width: 100%;
}
.button-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 2rem;
	border: 3px solid rgb(148, 148, 148);
	box-shadow: 0px 0px 30px 20px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	height: fit-content;
	padding: 20px;
}
.tutorial__button {
	background-color: black;
	border-radius: 10px;
	border: 0;
	padding: 7px;
}
.tutorial__button:hover {
	background-color: rgb(57, 57, 57);
}
.tutorial__text {
	box-shadow: 0px 0px 35px 20px rgba(0, 0, 0, 0.3);
	border: 3px solid rgb(148, 148, 148);
	border-radius: 10px;
	color: black;
	padding: 0 1rem;
}
@media (max-width: 1000px) {
	.cards {
		flex-direction: column;
		align-items: center;
	}
	.card {
		width: 550px;
	}
}
@media (max-width: 800px) {
	.header {
		flex-direction: column;
		gap: 1rem;
	}
	.card__text {
		padding: 0;
	}
	.slider__text-content {
		width: 80%;
	}
	.pages__main {
		padding: 1rem;
	}
	.tutorial {
		display: flex;
		flex-direction: column;
	}
	.button-container {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 600px) {
	.card {
		width: 100%;
	}
	h1,
	h2 {
		font-size: 1.3rem;
	}
	.challenge {
		max-width: 90%;
	}
	.footer {
		padding: 1rem;
		flex-direction: column;
		gap: 2rem;
	}
	.footer__title {
		margin-bottom: 0;
	}
	.slider__slide {
		height: 400px;
	}
	.button-container {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 420px) {
	.header__logo {
		width: 18rem;
	}
	.button-container {
		gap: 1rem;
		padding: 10px;
	}
}
