:root {
	--primary-color: #333;
	--secondary-color: #444;
	--overlay-color: rgba(0, 0, 0, 0.7);
}

@font-face {
	font-family: "Pixel";
	src: url("./fonts/disposabledroid-bb.regular-webfont.woff2") format("woff2"),
		url("./fonts/disposabledroid-bb.regular-webfont.woff") format("woff"),
		url("./fonts/disposabledroid-bb.regular.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Catamaran", sans-serif;
	line-height: 1.6;
	color: #333;
	font-size: 1.1rem;
}

.overflow {
	font-family: "Pixel", sans-serif;
	overflow: hidden;
}

h1,
h2,
h3,
h4 {
	line-height: 1.3;
}

a {
	color: var(--secondary-color);
	text-decoration: none;
}

ul {
	list-style: none;
}

img {
	width: 100%;
}

.container {
	max-width: 1100px;
	margin: auto;
	overflow: hidden;
	padding: 0 2rem;
}

.reveal .site {
	display: block;
}

.site {
	display: none;
	margin: 0;
	padding: 0;
}

.white-overlay {
	z-index: 3;
	position: absolute;
	background-color: white;
	height: 200%;
	width: 100%;
}

.fade-out .white-overlay {
	-webkit-animation: fade-out 2.5s ease-out forwards;
	-moz-animation: fade-out 2.5s ease-out forwards;
	-o-animation: fade-out 2.5s ease-out forwards;
	animation: fade-out;
	animation-timing-function: ease-out;
	animation-duration: 2.5s;
	animation-fill-mode: forwards;
}

.navbar {
	font-size: 1.2rem;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
}

.navbar .container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.navbar .logo {
	max-width: 200px;
	margin-top: 0.5rem;
}

.nav-list {
	justify-self: flex-end;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-link {
	text-transform: uppercase;
	font-size: 0.9rem;
	color: var(--primary-color);
	padding: 0 1rem;
}

.nav-link:hover {
	color: red !important;
}

li {
	list-style: none;
	text-decoration: none;
}

li a {
	text-decoration: none;
}

.menu-toggle {
	display: none;
	justify-self: flex-end;
}

/* Section A */
.section-a {
	margin: 2rem 0;
}

.section-a .container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem;
	grid-gap: 3rem;
	align-items: center;
	justify-content: center;
}

.section-a h1 {
	font-size: 4rem;
	color: var(--primary-color);
}

.section-a p {
	margin: 1rem 0;
}

/* Section B */
.section-b {
	position: relative;
	background: url("../images/color-smoke.jpg") no-repeat bottom center/cover;
	height: 600px;
}

.section-b-inner {
	color: #fff;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin: auto;
	max-width: 860px;
	padding: 5rem 0;
}

.section-b-inner h3 {
	font-size: 2rem;
}

.section-b-inner h2 {
	font-size: 5rem;
	margin-top: 1rem;
}

.section-b-inner p {
	font-size: 1.5rem;
	margin-top: 1rem;
}

/* Section C */
.section-c .gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.section-c .gallery img,
.section-c .gallery a {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section-c .gallery a:first-child {
	/* grid-row-start: 1;
    grid-row-end: 3; */
	grid-row: 1/3;
	grid-column: 1/3;
}

.section-c .gallery a:nth-child(2) {
	grid-column: 3/5;
}

/* Footer */
.section-footer {
	background: var(--primary-color);
	color: #fff;
	padding: 4rem 0;
}

.section-footer .container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
	gap: 1rem;
}

.section-footer h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.section-footer h3 {
	margin-bottom: 0.7rem;
}

.section-footer a {
	line-height: 1.9;
	color: #ccc;
}

.section-footer a > i {
	color: #555;
	margin-right: 0.5rem;
}

/* Email Form */
.email-form {
	width: 100%;
	display: inline-block;
	background-color: #555;
	position: relative;
	border-radius: 20px;
	line-height: 0;
	margin-top: 1rem;
}

.email-form .form-control {
	display: inline-block;
	border: 0;
	outline: 0;
	font-size: 1rem;
	color: #ddd;
	background-color: transparent;
	font-family: inherit;
	margin: 0;
	padding: 0 3rem 0 1.5rem;
	width: 100%;
	height: 45px;
	border-radius: 20px;
}

.email-form .submit {
	display: inline-block;
	position: absolute;
	top: 0;
	right: 0;
	width: 45px;
	height: 45px;
	background-color: #eee;
	font-size: 1rem;
	text-align: center;
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	color: #333;
	cursor: pointer;
	border-radius: 0 20px 20px 0;
}

/* Utilities */
.btn {
	display: inline-block;
	background-color: rgb(255, 0, 76);
	color: #fff;
	padding: 0.8rem 1.5rem;
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
	border-radius: 30px;
}

.btn:hover {
	background: linear-gradient(
		124deg,
		#ff2400,
		#e81d1d,
		#e8b71d,
		#e3e81d,
		#1de840,
		#1ddde8,
		#2b1de8,
		#dd00f3,
		#dd00f3
	);
	background-size: 1800% 1800%;
	-webkit-animation: rainbow 18s ease infinite;
	-z-animation: rainbow 18s ease infinite;
	-o-animation: rainbow 18s ease infinite;
	animation: rainbow 18s ease infinite;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	/* background-color: var(--overlay-color); */
}

/* Preloader */

.preloader {
	width: 100%;
	height: 100vh;
	background: black;
	color: white;
	display: flex;
	flex-direction: column;
	/* border: green solid 2px; */
	align-items: center;
	justify-content: center;
	font-family: "Pixel";
}

.preloader h1 {
	text-align: center;
	position: absolute;
	top: 13%;
}

.preloader h2 {
	text-align: center;
	position: absolute;
	top: 8%;
}

.preloader-container {
	/* max-width: fit-content; */
	/* margin: 0 auto; */
	padding: 1.5rem 0.5rem;
	/* border: pink solid 2px; */
	text-align: center;
	/* position: relative;
	top: 50%;
	transform: translateY(-50%); */
	cursor: pointer;
	z-index: 2;
	text-transform: uppercase;
}

.preloader-container:hover {
	-webkit-animation: swing 1s ease;
	animation: swing 1s ease;
	-webkit-animation-iteration-count: 1;
	animation-iteration-count: 1;
}

.hide .preloader {
	-webkit-animation: fade 1.2s linear forwards;
	-moz-animation: fade 1.2s linear forwards;
	-o-animation: fade 1.2s linear forwards;
	animation: fade;
	animation-timing-function: linear;
	animation-duration: 1.2s;
	animation-fill-mode: forwards;
}

.erase .preloader {
	display: none;
}

.images-container {
	/* display: flex;
    align-items: center;
    justify-content: center; */
	width: 100%;
	/* height: 100vh; */
	position: fixed;
	top: 0;
	left: 0;
}

.blue,
.purple,
.yellow,
.green {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: translateX(100%);
	opacity: 1;
	z-index: 3;
}

.slide-left-blue .blue {
	display: block;
	-webkit-animation: slide 1.5s ease-in-out forwards;
	-moz-animation: slide 1.5s ease-in-out forwards;
	-o-animation: slide 1.5s ease-in-out forwards;
	animation: slide;
	animation-duration: 1.5s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
	animation-delay: 1s;
	-webkit-animation-delay: 1s;
	-moz-animation-delay: 1s;
	-o-animation-delay: 1s;
}

.slide-left-purple .purple {
	display: block;
	-webkit-animation: slide 1s ease-in-out forwards;
	-moz-animation: slide 1s ease-in-out forwards;
	-o-animation: slide 1s ease-in-out forwards;
	animation: slide;
	animation-duration: 1s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}

.slide-left-yellow .yellow {
	display: block;
	-webkit-animation: slide 1s ease-in-out forwards;
	-moz-animation: slide 1s ease-in-out forwards;
	-o-animation: slide 1s ease-in-out forwards;
	animation: slide;
	animation-duration: 1s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}

.slide-left-green .green {
	display: block;
	-webkit-animation: slide 1s ease-in-out forwards;
	-moz-animation: slide 1s ease-in-out forwards;
	-o-animation: slide 1s ease-in-out forwards;
	animation: slide;
	animation-duration: 1s;
	animation-timing-function: ease-in-out;
	animation-fill-mode: forwards;
}

/* .preloader::after{
    content: url(../images/gameboy-blue.jpg);
    position: absolute;
    opacity: 1;
    transform: scale(1);
    z-index: 3;
} */

/* Media Queries */
@media (max-width: 700px) {
	.section-a .container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.section-a .container div:first-child {
		order: 2;
	}

	.section-a .container div:last-child {
		order: -1;
	}

	.section-a img {
		width: 80%;
		margin: auto;
		transform: translateX(10%);
	}

	.section-b-inner h2 {
		font-size: 3.5rem;
	}

	.section-c .gallery {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

	.section-c .gallery a:first-child {
		grid-row: 1/1;
		grid-column: 1/1;
	}

	.section-c .gallery a:nth-child(2) {
		grid-column: 2/4;
		grid-row: 2/2;
	}

	.section-c .gallery a:last-child {
		display: none;
	}

	.section-footer {
		padding: 2rem 0;
	}

	.section-footer .container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.section-footer div:nth-child(2),
	.section-footer div:nth-child(3) {
		display: none;
	}
}

@media (max-width: 800px) {
	.images-container {
		/* display: flex;
	align-items: center;
	justify-content: center; */
		height: 100%;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
	}

	.blue,
	.purple,
	.yellow,
	.green {
		width: 220%;
		display: none;
		transform: translateX(-200%);
		opacity: 0;
		z-index: 3;
	}

	.slide-left-blue .blue {
		display: block;
		-webkit-animation: slide2 1.5s ease-in-out forwards;
		-moz-animation: slide2 1.5s ease-in-out forwards;
		-o-animation: slide2 1.5s ease-in-out forwards;
		animation: slide2;
		animation-duration: 1.5s;
		animation-timing-function: ease-in-out;
		animation-fill-mode: forwards;
		animation-delay: 1s;
		-webkit-animation-delay: 1s;
		-moz-animation-delay: 1s;
		-o-animation-delay: 1s;
	}

	.slide-left-purple .purple {
		display: block;
		-webkit-animation: slide2 1s ease-in-out forwards;
		-moz-animation: slide2 1s ease-in-out forwards;
		-o-animation: slide2 1s ease-in-out forwards;
		animation: slide2;
		animation-duration: 1s;
		animation-timing-function: ease-in-out;
		animation-fill-mode: forwards;
	}

	.slide-left-yellow .yellow {
		display: block;
		-webkit-animation: slide2 1s ease-in-out forwards;
		-moz-animation: slide2 1s ease-in-out forwards;
		-o-animation: slide2 1s ease-in-out forwards;
		animation: slide2;
		animation-duration: 1s;
		animation-timing-function: ease-in-out;
		animation-fill-mode: forwards;
	}

	.slide-left-green .green {
		display: block;
		-webkit-animation: slide2 1s ease-in-out forwards;
		-moz-animation: slide2 1s ease-in-out forwards;
		-o-animation: slide2 1s ease-in-out forwards;
		animation: slide2;
		animation-duration: 1s;
		animation-timing-function: ease-in-out;
		animation-fill-mode: forwards;
	}

	/* Animations */
	@keyframes slide2 {
		0% {
			transform: translateX(100%);
		}
		40% {
			opacity: 1;
			transform: translateX(-28%);
		}
		70% {
			opacity: 1;
			transform: translateX(-28%);
		}
		100% {
			opacity: 0;
			display: none;
			transform: translateX(-100%);
		}
	}

	@-webkit-keyframes slide2 {
		0% {
			transform: translateX(100%);
		}
		40% {
			opacity: 1;
			transform: translateX(-28%);
		}
		70% {
			opacity: 1;
			transform: translateX(-28%);
		}
		100% {
			opacity: 0;
			display: none;
			transform: translateX(-100%);
		}
	}

	@-moz-keyframes slide2 {
		0% {
			transform: translateX(100%);
		}
		40% {
			opacity: 1;
			transform: translateX(-28%);
		}
		70% {
			opacity: 1;
			transform: translateX(-28%);
		}
		100% {
			opacity: 0;
			display: none;
			transform: translateX(-100%);
		}
	}

	@-o-keyframes slide2 {
		0% {
			transform: translateX(100%);
		}
		40% {
			opacity: 1;
			transform: translateX(-28%);
		}
		70% {
			opacity: 1;
			transform: translateX(-28%);
		}
		100% {
			opacity: 0;
			display: none;
			transform: translateX(-100%);
		}
	}
}

@media (max-width: 900px) {
	.images-container {
		height: 100vh;
	}

	.menu-toggle {
		font-size: 1.5rem;
		display: block;
		cursor: pointer;
		z-index: 900000;
	}

	.navbar .fa-times {
		display: none;
	}

	.fa-bars {
		margin-top: 0.5rem;
		position: fixed;
		display: block;
	}

	.nav-list {
		position: fixed;
		top: 0;
		right: 0;
		width: 30%;
		height: 40%;
		padding: 1rem;
		transition: all 0.2s linear;
		transform: translateX(100%);
		display: flex;
		flex-direction: column;
		justify-content: space-around;
		z-index: 1250;
		overflow: hidden;
		border: black solid 1px;
		border-radius: 20px;
		backdrop-filter: blur(8px);
	}

	.nav-link {
		display: block;
		text-transform: uppercase;
		font-size: 1.3rem;
		text-align: center;
		color: rgb(30, 30, 231);
	}

	.open .fa-times {
		position: fixed;
		margin-top: 0.5rem;
		display: block;
	}

	.open .fa-bars {
		display: none;
	}

	.open .nav-list {
		transform: translateX(0);
	}
}

/* Animations */
@-webkit-keyframes swing {
	15% {
		-webkit-transform: translateX(3.5px);
		transform: translateX(3.5px);
	}
	30% {
		-webkit-transform: translateX(-3.5px);
		transform: translateX(-3.5px);
	}
	50% {
		-webkit-transform: translateX(3px);
		transform: translateX(2px);
	}
	65% {
		-webkit-transform: translateX(-3px);
		transform: translateX(-2px);
	}
	80% {
		-webkit-transform: translateX(2px);
		transform: translateX(1px);
	}
	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}
@keyframes swing {
	15% {
		-webkit-transform: translateX(3.5px);
		transform: translateX(3.5px);
	}
	30% {
		-webkit-transform: translateX(-3.5px);
		transform: translateX(-3.5px);
	}
	50% {
		-webkit-transform: translateX(3px);
		transform: translateX(2px);
	}
	65% {
		-webkit-transform: translateX(-3px);
		transform: translateX(-2px);
	}
	80% {
		-webkit-transform: translateX(2px);
		transform: translateX(1px);
	}
	100% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
}

@keyframes fade {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 0;
		display: none;
		cursor: default;
	}
}
@-webkit-keyframes fade {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 0;
		display: none;
		cursor: default;
	}
}
@-moz-keyframes fade {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 0;
		display: none;
		cursor: default;
	}
}
@-o-keyframes fade {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 0;
		display: none;
		cursor: default;
	}
}

@-webkit-keyframes slide {
	0% {
		transform: translateX(100%);
	}
	40% {
		opacity: 1;
		transform: translateX(0%);
	}
	70% {
		opacity: 1;
		transform: translateX(0%);
	}
	100% {
		opacity: 0;
		display: none;
		transform: translateX(-100%);
	}
}

@-moz-keyframes slide {
	0% {
		transform: translateX(100%);
	}
	40% {
		opacity: 1;
		transform: translateX(0%);
	}
	70% {
		opacity: 1;
		transform: translateX(0%);
	}
	100% {
		opacity: 0;
		display: none;
		transform: translateX(-100%);
	}
}

@-o-keyframes slide {
	0% {
		transform: translateX(100%);
	}
	40% {
		opacity: 1;
		transform: translateX(0%);
	}
	70% {
		opacity: 1;
		transform: translateX(0%);
	}
	100% {
		opacity: 0;
		display: none;
		transform: translateX(-100%);
	}
}

@keyframes slide {
	0% {
		transform: translateX(100%);
	}
	40% {
		opacity: 1;
		transform: translateX(0%);
	}
	70% {
		opacity: 1;
		transform: translateX(0%);
	}
	100% {
		opacity: 0;
		display: none;
		transform: translateX(-100%);
	}
}

@-webkit-keyframes rainbow {
	0% {
		background-position: 0% 82%;
	}
	50% {
		background-position: 100% 19%;
	}
	100% {
		background-position: 0% 82%;
	}
}
@-moz-keyframes rainbow {
	0% {
		background-position: 0% 82%;
	}
	50% {
		background-position: 100% 19%;
	}
	100% {
		background-position: 0% 82%;
	}
}
@-o-keyframes rainbow {
	0% {
		background-position: 0% 82%;
	}
	50% {
		background-position: 100% 19%;
	}
	100% {
		background-position: 0% 82%;
	}
}
@keyframes rainbow {
	0% {
		background-position: 0% 82%;
	}
	50% {
		background-position: 100% 19%;
	}
	100% {
		background-position: 0% 82%;
	}
}

@keyframes fade-out {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		display: none;
		z-index: -1;
	}
}

@-webkit-keyframes fade-out {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		display: none;
		z-index: -1;
	}
}

@-moz-keyframes fade-out {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		display: none;
		z-index: -1;
	}
}

@-o-keyframes fade-out {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		display: none;
		z-index: -1;
	}
}
