@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

body,
html {
	margin: 0;
	padding: 0;
	font-family: 'Arial', sans-serif;
	background-color: #0a0c27;
	color: #fff;
	text-align: center;
}

/* Hero section styles */
.header {
	padding: 50px 20px;
	position: relative;
	overflow: hidden;
}


.hero {
	max-width: 870px;
	margin: 0px auto;

}

.main-heading {
	font-size: 3rem;
	margin-bottom: 20px;
	color: rgb(245, 153, 5);
	margin-top: 370px;
	text-shadow: 1px 1px 2px rgb(255, 98, 0), 0 0 1em rgba(47, 219, 253, 0.618), 0 0 0.2em rgba(47, 219, 253, 0.382);
}

.intro-text {
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.cta-button {
	background-color: #007BFF;
	color: #fff;
	padding: 10px 15px;
	border-radius: 15px;
	text-decoration: none;
	font-size: 1.2rem;
	transition: background-color 0.2s ease-in, transform 0.2s ease;
}

.cta-button:hover {
	background-color: #0764c7;
	color: rgb(255, 255, 170);
	transform: translateY(2px) !important;
}

/* About section styles */
.about-section {
	background-color: #0a0c27;
	padding-top: 2rem;
}

.about-content {
	max-width: 1400px;
	margin: 1rem auto;
	margin-top: 12.5rem;
}


.section-heading {
	font-size: 2.8rem;
	margin-bottom: 30px;
	text-shadow: 1px 1px 2px rgb(255, 98, 0), 0 0 1em rgba(47, 219, 253, 0.618), 0 0 0.2em rgba(47, 219, 253, 0.382);

}

.section-subtext {
	font-size: 1.2rem;
	margin-bottom: 40px;
	color: #bbb;
}

.cards-container {
	display: flex;
	justify-content: space-evenly;
	flex-wrap: wrap;
	align-items: center;
}


.about-card {
	background-color: #101239;
	border-radius: 10px;
	padding: 20px;
	width: 30%;
	min-width: 160px;
	height: fit-content;
	margin: 20px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
	color: #fff;
	position: relative;
	transition: all 0.3s ease-in-out;
	overflow: hidden;
}

ul li {
	list-style: none;
	padding: 0.25rem;
}

.about-card:hover {
	transform: scale(1.05) translateY(2px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
	background-color: #007bff82;

}

.about-card:hover .card-title,
.about-card:hover .card-icon {
	text-shadow: 1px 1px 2px rgba(0, 26, 255, 0.564), 0 0 1em rgba(34, 93, 255, 0.91), 0 0 0.2em rgba(47, 47, 253, 0.63);

}

.about-card:hover strong {
	text-shadow: rgb(3, 172, 194) 1px 0 10px;
}

.card-content {
	position: relative;
	z-index: 1;
}

.card-icon {
	font-size: 2rem;
	margin-bottom: 10px;
	color: #39a2d3;
	transition: all 0.3s ease-in;
}

.card-title {
	font-size: 1.6rem;
	margin-bottom: 1.25rem;
	color: orange;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	transition: all 0.3s ease-in;
}

.card-description {
	font-size: 1.2rem;
	color: #ccc;
}

::-webkit-scrollbar {
	display: none;
}

/* Responsive Styles */
@media screen and (max-width: 769px) {
	main {
		flex-direction: column;
	}
}

@media screen and (max-width: 450px) {

	.functionalities,
	.how-to-play {
		padding: -1px;
	}
}

body>.about-header {
	width: 100%;
	position: relative;
	top: 100px;
}

body>.about-header>h1 {
	font-size: 5rem;
}

body>p {
	position: relative;
	top: 100px;
}

body>main {
	position: relative;
	top: 100px;
	padding-bottom: 100px;
}

@media screen and (max-width: 1065px) {
	body>.about-header>h1 {
		font-size: 3rem;
	}
}

@media screen and (max-width: 550px) {
	body>p {
		padding: 30px;
	}

	body>.about-header>h1 {
		font-size: 2rem;
	}
}