:root {
	--black: #000000;
	--footer-black: #040404;
	--semi-black: #121212;
	--gray: #333333;
	--stroke: #757575;
	--white: #ffffff;
	--accent: #04487b;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
p {
	line-height: 1.6em;
	margin: 0 0 1.5em;
}
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
	scroll-padding-top: 6.2rem;
}
body {
	background-color: black;
	color: var(--white);
	font-family: 'Montserrat', sans-serif;
	font-size: 1.8rem;
	font-weight: 500;
}

/* START: header */
.main-header {
	background-color: var(--black);
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	overflow: hidden;
	padding: 1rem 1.5rem;
	place-items: center;
	position: sticky;
	top: 0;
	z-index: 2;
}

.section-header:has(.has-left-icon) {
	padding: 1.5rem 3rem 0;
}
.section-header:has(.has-bottom-icon) {
	padding: 1.5rem 0;
}
.main-navigation ul {
	display: flex;
	flex-direction: row;
	list-style-type: none;
	gap: 3rem;
}
.main-navigation li {
	display: flex;
	place-content: center;
}
.main-navigation a {
	color: white;
	text-decoration: none;
	width: 0;
	overflow: hidden;
	padding: 0 0 0 3rem;
}
.icon-nav {
	border-radius: 0.3rem;
	display: inline-block;
	padding: 0.8rem 1rem;
	padding-left: 5rem;
	position: relative;
	transition: all 0.3s linear;
}
.icon-nav:before {
	background-size: contain;
	background-repeat: no-repeat;
	content: '';
	width: 2.8rem;
	height: 2.8rem;
	position: absolute;
	top: 50%;
	transform: translateX(-3rem) translateY(-50%);
}
.about:before {
	background-image: url(./assets/img/icons/icon_about.webp);
}
.providers:before {
	background-image: url(./assets/img/icons/icon_gameproviders.webp);
}
.contact:before {
	background-image: url(./assets/img/icons/icon_contact.webp);
}
.logo img {
	display: block;
	width: 12rem;
}

/* START: Hero */
.hero img {
	display: block;
	width: 100%;
}

/* START: About us */
.about-us {
	background-image: url(./assets/img/aboutUs_image.png);
	background-repeat: no-repeat;
	background-size: 90% auto;
	background-position: center 5vh;
	color: var(--white);
	min-height: 80rem;
	padding: 45vh 0 3rem;
}
.about-us .section-title {
	margin-bottom: 1em;
}
.about-us .section-title:before {
	background-image: url(./assets/img/icons/icon_about.webp);
}

/* START: Game Providers */
.providers-container {
	background-color: var(--semi-black);
}
.game-providers {
	min-height: 55rem;
	padding: 6rem 0;
	text-align: center;
}
.game-providers .section-title {
	margin-bottom: 1em;
}
.game-providers .section-title:before {
	background-image: url(./assets/img/icons/icon_gameproviders.webp);
}
.provider-list {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	justify-content: center;
	gap: 2.2rem 2.5rem;
}
.provider-list li {
	flex-basis: auto;
}
.provider-list img {
	max-width: 15rem;
}

/* START: Contact us */
.contact-container {
	background-color: var(--gray);
}
.contact-us {
	padding: 6rem 0;
	text-align: center;
	min-height: 80rem;
}
.form {
	display: flex;
	flex-direction: column;
	gap: 1.8rem;
	margin: 0 auto;
	max-width: 904px;
}
.form-fields {
	display: grid;
	gap: 0.8rem;
	text-align: left;
}
.input-field {
	background-color: var(--semi-black);
	border: 2px solid var(--stroke);
	color: var(--white);
	font-size: 2.2rem;
	line-height: 4rem;
	outline: unset;
	padding: 0.5rem 1.2rem;
	width: 100%;
}
.submit-button {
	background-color: var(--accent);
	border: unset;
	color: var(--white);
	cursor: pointer;
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0.2rem;
	line-height: 2.4em;
	text-align: center;
	text-transform: uppercase;
}

/* START: footer */
.footer {
	background-color: var(--footer-black);
	display: flex;
	flex-direction: column;
	gap: 3rem;
	line-height: 0.2rem;
	font-size: 2rem;
	padding: 10rem 4rem;
	text-align: center;
	place-content: center;
	place-items: center;
}
.footer p {
	margin: 0;
}

.mt-1 {
	margin-top: 3rem;
}
.mb-1 {
	margin-bottom: 3rem;
}
.mt-5 {
	margin-top: 5rem;
}
.mb-5 {
	margin-bottom: 5rem;
}
.mt-8 {
	margin-top: 8rem;
}
.mb-8 {
	margin-bottom: 8rem;
}
.mt-10 {
	margin-top: 10rem;
}
.mb-10 {
	margin-bottom: 10rem;
}

.page-width {
	margin: 0 3rem;
}

.section-title,
.section-subtitle {
	font-size: 2.6rem;
	letter-spacing: 1px;
}
.has-left-icon {
	padding: 0 0 0 1em;
	position: relative;
}
.has-left-icon:before {
	background-size: contain;
	background-repeat: no-repeat;
	content: '';
	width: 1.3em;
	height: 1.3em;
	position: absolute;
	top: 50%;
	transform: translateX(-1.7em) translateY(-50%);
}
.has-bottom-icon {
	padding: 0 0 1em;
	position: relative;
}
.has-bottom-icon:before {
	background-size: contain;
	background-repeat: no-repeat;
	content: '';
	width: 1.3em;
	height: 1.3em;
	position: absolute;
	left: 50%;
	transform: translateX(-50%) translateY(1.5em);
}
.title-strike {
	position: relative;
}
.title-strike:before {
	background-color: var(--accent);
	background-image: unset;
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 0.35em;
	width: 5rem;
}
.title-strike:after {
	background-color: var(--accent);
	background-image: unset;
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 0.35em;
	width: 5rem;
}

@media (min-width: 768px) {
	.about-us {
		background-size: 70% auto;
		padding: 55vh 0 3rem;
	}
	.title-strike:before,
	.title-strike:after {
		width: 18rem;
	}
}

@media (min-width: 992px) {
	html {
		scroll-padding-top: 10rem;
	}
	body {
		font-size: 2.1rem;
	}

	.main-header {
		padding: 1.5rem 3rem;
	}

	.section-header:has(.has-left-icon) {
		padding: 1.5rem 3rem;
	}

	.logo img {
		width: 29.7rem;
	}

	.main-navigation ul {
		gap: 5rem;
	}
	.main-navigation a {
		width: unset;
		overflow: visible;
		padding: 0 0 0 5rem;
	}
	.icon-nav:hover {
		background-color: var(--gray);
	}
	.icon-nav:before {
		transform: translateX(-4rem) translateY(-50%);
	}

	.about-us {
		background-size: auto 90%;
		background-position: right center;
		min-height: 55rem;
		padding: 5rem 55rem 5rem 0;
	}

	.game-providers {
		padding: 6rem 0 9rem;
	}

	.provider-list {
		gap: 2.2rem 7.5rem;
	}
	.provider-list img {
		max-width: unset;
	}

	.input-field {
		font-size: 3rem;
		line-height: 5rem;
		padding: 0.5rem 1.5rem;
	}
	.submit-button {
		font-size: 2.6rem;
		font-weight: 600;
		line-height: 2.8em;
	}

	.footer {
		flex-direction: row;
	}

	.page-width {
		margin: 0 auto;
		width: 120rem;
	}

	.section-title,
	.section-subtitle {
		font-size: 3.8rem;
	}

	.title-strike:before {
		width: 38rem;
	}
	.title-strike:after {
		width: 38rem;
	}
}
