@import url(https://fonts.googleapis.com/css?family=Oswald:700);
@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap);

html, body {
	scroll-behavior: smooth;
	overflow-x: hidden;
	margin: 0;
}

h2, h3, h4 {
	font-family: "Montserrat", sans-serif;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

p {
	font-weight: 300;
	font-family: "Noto Sans", sans-serif;
}

.game {
	flex: fit-content;
}

.description > h2 {
	text-align: center;
}

.description a{
	color: white;
}

.description > .description-block {
	margin: 60px 0;
}

.description {
	max-width: 1200px;
	margin: auto;
}

.game-text {
	position: relative;
	width: 65%;
}

.btn {
	cursor: pointer;
	transition: all 0.25s ease;
	font-family: "Montserrat", sans-serif;
	background-color: transparent;
	border: solid 3px white;
	color: white;
	padding: 12px 30px;
	text-decoration: none;
	text-align: center;
	font-weight: 500;
	font-size: 20px;
	margin: 10px 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn:hover {
	background-color: white;
	border: solid 3px white;
	color: #111;
}

.container:nth-child(odd) .game-btns > a {
	border: solid 3px #333;
	color: #333;
} 

.container:nth-child(odd) .game-btns > a:hover {
	background-color: #333;
	border: solid 3px #333;
	color: white;
}

.game-text-bottom
{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	margin-top: 40px;
}

.game-text-bottom span {
	font-weight: 700;
    font-family: "Noto Sans", sans-serif;
	font-size: 1.1rem;
	background-color: #FFAF61;
	color: white;
	padding: 8px 16px;
	text-align: center;
	border-radius: 5px;
	margin: 5px;
}


.game-btns {
	margin-top: 30px;
}

.game-btns {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.game-btns > a:first-child { 
	width: 60%;
}

.game-btns > a:last-child { 
	flex: fit-content;
}

@media (max-width: 900px)
{
	.game-text {
		width: 100%;
	}

	.game-text-bottom {
		display: flex;
		flex-direction: column;
	}

	.game {
		padding: 50px 0;
	}
}

.game-container {
	/* For animations */
	transition: opacity 1s;
	opacity: 0;

	max-width: 1200px;
	margin: auto;
	gap: 30px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

@media (max-width: 900px) {
	.game-container {
		flex-direction: column-reverse;
	}
	.container:nth-child(odd) .game-container {
		flex-direction: column;
	}
}


#top h1 {
	font-family: "Oswald", sans-serif;
	font-size: 12vw;
	color: white;
	margin: 0;
	padding-top: calc(40vh - 12vw);;
}


#top-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	z-index: -1;
	object-fit: cover;
}

#top {
	background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
	position: relative;
	height: 80vh;
	text-align: center;
}

#top::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	border-style: solid;
	border-color: transparent;
	border-width: 7vh 50vw;
	border-bottom-color: #111;
	border-right-color: #111;
}






.mouse {
	z-index: 100;
	position: absolute;
	bottom: 6vh;
	left: 50%;
	transform: translate(-50%, -50%);
}

.mouse > div {
	width: 26px;
	height: 45px;
	border: 3px solid #fff;
	border-radius: 30px;
	position: relative;
	&::before {
		content: '';
		width: 6px;
		height: 6px;
		position: absolute;
		top: 10px;
		left: 50%;
		transform: translateX(-50%);
		background-color: #fff;
		border-radius: 50%;
		opacity: 1;
		animation: wheel 1.5s infinite;
		-webkit-animation: wheel 1.5s infinite;
	}
}

@keyframes wheel {
	to {
		opacity: 0;
		top: 30px;
	}
}

@-webkit-keyframes wheel {
	to {
		opacity: 0;
		top: 30px;
	}
}




.container {
	position: relative;
	padding: 30px 30px 25vh 30px;
	background: #111;
	color: white;
}

.container::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	border-style: solid;
	border-color: transparent;
	border-width: 7vh 50vw;
	border-bottom-color: white;
	border-left-color: white;
}

.container:nth-child(odd) {
	background: white;
	color: #111;
}

.container:nth-child(odd)::after {
	border-bottom-color: #111;
	border-right-color: #111;
}


#footer {
	background: white;
}

.footer-text {
	font-family: "Montserrat", sans-serif;
	text-align: center;
	font-weight: 300;
	font-size: 1.2em;
	opacity: 0.7;
	font-style: italic;
}

/* TILT ANIMATIONS */

.tilt.css {
	background-image: url(https://cdn.mobygames.com/covers/5394277-counter-strike-source-windows-front-cover.jpg);
}

.tilt.skyrim {
	background-image: url(https://images2.medimops.eu/product/bcec0a/M0B00CI9IF26-source.jpg);
}

.tilt.pedro {
	background-image: url(img/pedro.png);
}

.tilt.superFps {
	background-image: url(img/superFps.png);
}

.tilt > p {
	margin: auto;
    padding-top: 60%;
    text-align: center;
}

.tilt {
	display: block;
	height: 420px;
	width: 300px;
	background-color: grey;
	margin: 0 auto;
	transition: box-shadow 0.1s, transform 0.1s;
	background-size: 100%;
	background-repeat: no-repeat;
}

.tilt:hover {
	box-shadow: 0px 0px 30px rgba(0,0,0, 0.6);
	cursor: pointer;
}