/* Basic CSS */
html {
	margin: 0 0;
	font-family: "Raleway", sans-serif;
	font-weight: 400;
	font-style: normal;
	background-color: rgb(7, 27, 41);
	color: #f0f0f0;
}

body {
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Archivo Black", sans-serif;
	font-weight: 400;
	font-style: normal;
}

a {
	color: #f0f0f0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
	font-weight: 500;
}

/* Header */
.header {
	margin: 0;
	padding: 20px;
	background-color: #0f293a;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	border: solid 1px #154e6856;
}

.logo {
	flex-grow: 0;
}

.logo img {
	width: 100px;
	border-radius: 100px;
}

.nav {
	display: flex;
	flex-grow: 1;
	margin-left: 100px;
}

.nav-link {
	font-size: 1.2rem;
	padding: 15px;
}

.search-box {
	padding: 20px;
	display: flex;
	flex-grow: 0;
	justify-content: flex-end;
}

.search-textbox {
	text-align: center;
	padding: 20px;
	border-radius: 20px 0 0 20px;
	border: solid #154e6856 2px;
	border-right: none;
	background-color: #0f293a;
}

.search-button {
	padding: 0 20px;
	border-radius: 0 20px 20px 0;
	border: solid #154e6856 2px;
	border-left: none;
	width: 5%;
	background-color: #0f293a;
}


/* Body */

.main-content {
	max-width: 1024px;
	display: flex;
	flex-direction: column;
	margin: auto;
	margin-top: 30px;
}

/* Featured */
.featured {
	border: solid #154e6856 2px;
	background-color: #0f293a;
	border-radius: 10px;
	display: flex;
	gap: 20px;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.featured-link:hover {
	text-decoration: none;
	font-weight: 400;
}

.featured-image {
	display: flex;
	flex: 3;
	justify-content: center;

}

.featured-image img {
	border-radius: 10px 0 0 10px;
	max-width: 100%;
	display: block;
	object-fit: cover;
}

.featured-info {
	padding: 10px;
	flex: 2;
	display: flex;
	flex-direction: column;
}

.tags {
	display: flex;
	flex-direction: row;
}

.tag {
	padding: 5px;
	margin: 5px;
	background-color: #3a5569;
	color: #689dc0;
	font-weight: bold;
}

.tag:hover {
	filter: brightness(1.4);
	cursor: pointer;
}

.featured-info-footer {
	margin-top: 10px;
	margin-right: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.platforms {
	display: flex;
}

/* Trending */
.catalogue {
	display: flex;
	flex-flow: row wrap;
	gap: 20px;
}

.game-info-card {
	display: flex;
	flex-direction: column;
	flex: 23%;
	max-width: 23%;
	text-align: center;
	background-color: #0f293a;
	transition: ease-in-out 0.1s;
}

.game-info-card:hover {
	transform: scale(1.05);
	cursor: pointer;
	transition: ease-in-out 0.1s;
}

.game-info-card img {
	max-width: 100%;
	object-fit: cover;
}


/* Footer */
.footer {
	background-color: #0f293a;
	text-align: center;
	padding: 20px 0;
	font-size: 0.9em;
	margin-top: 40px;
	position: relative;
	bottom: 0;
	width: 100%;
}