/* html reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {
	scroll-behavior: smooth;
}

/* global styles */
:root{
  --bg: rgb(14, 17, 26);
	--bg-dark: #07090e;
  --text: #fafafa;
  --text-muted: rgba(226, 232, 240, 0.75);
	--gray: rgba(255,255,255,0.2);
  --accent: #f1b96a;
	--footer-bg: rgba(238, 243, 243, 0.75);
	--footer-text: rgba(0, 0, 0, 0.85);
  --radius: 12px;
}

/* utility classes */
.showing {
	animation: fadeIn 1s ease;
	opacity: 1;
}
@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.disabled {
	display: none;
}

/* font-style */
h3 {
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.4;
	font-family: "Exo 2";
}

h2 {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.3;
	font-family: "Exo 2";
}

h1 {
	font-size: 3.5rem;
	font-weight: 800;
	line-height: 1.2;
	font-family: "Exo 2";
}

p {
	font-size: 1.5rem;
	line-height: 1.6;
	font-weight: 400;
	font-family: "Roboto", sans-serif;
}

span, a {
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	font-family: "Roboto", sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
}
/* site background */
.background {
	background-color:  var(--bg);
	width: 100%;
}  

/* Heading of website */
/* Navbar */
#navbar .nav-item .nav-link {
  color: var(--accent);
	padding: 0 1rem;
	font-size: 0.875rem;
	font-weight: 600;
  letter-spacing: 1.5px;
}

#navbar .navbar-nav .nav-link:hover {
	color: var(--text);
		transition: 350ms;

}

/* Section navbar (used for Privacy / ToC pages) */
.section-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 2rem;
	display: flex;
	align-items: center;
	background: var(--bg);
	color: var(--accent);
	z-index: 60;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.section-nav.disabled {
	display: none;
}

.section-nav .section-nav-inner {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0 1rem;
}

.section-back {
	background: transparent;
	border: none;
	color: var(--accent);
	font-size: 1.25rem;
	cursor: pointer;
}

.section-title {
	color: var(--text);
	font-weight: 700;
	font-size: 1rem;
}


/* logo style */
.evo_logo {
  width: 6rem;
  height: 4rem;
	margin-left: 3rem;
	margin-right: 0.5rem;
	border-radius: 100%;
}


/* studio name and description section */
#homepage .studio_name {
  background: url(/assets/poster.png) no-repeat center;
  background-size: cover;
	width: 100%;
  height: 700px;
}
.hero_caption {
	padding-left: 4rem;
	padding-top: 6rem;
	width: 35%;
	margin-right: auto;
	color: var(--text);
}

.hero_caption h1 {
	font-size: 5rem;
}

.hero_caption p {
	font-size: 1.25rem;
}

.hero_caption button {
	padding: 1rem 1rem;
	border-radius: 5px;
	border-color: var(--text);
	background-color: var(--bg-dark);
	margin-top: 1rem;
	color: var(--text);
}

.hero_caption button:hover {
	background-color: var(--gray);
	transition: 350ms;
}

/* About Studio styling */
.about_head {
	color:  var(--accent);
}


/* description section for studio */
.studio_description {
	color: var(--text);
  background: linear-gradient(0deg,rgba(14, 17, 26, 1) 60%, rgba(40, 48, 69, 1) 95%);
	padding-left: 4rem;
	padding-top: 8rem;
	opacity: 0;
}

.mission_text {
	width: 50ch;
	margin-top: 1em;
}

.visible {
	animation: scroll 1s ease-out;
	opacity: 1;
}

@keyframes scroll {
  0% { 
		opacity: 0; 
	}
  100% {
		 opacity: 1;
	}
}


/* games section styling */
/* playstore button */
.playstore_link {
float: right;	
margin-right: 4rem;
}

.playstore_link button {
	background-color: transparent;
	border: 1px solid var(--text);
	color: var(--text);
	font-size: 0.8em;
	padding: 1rem 1rem;
	width: 10rem;
	border-radius: 5px;
	transition: 350ms ease;
}

.playstore_link button:hover {
	background-color: var(--gray);
}

/* games display section */
.games_section {
	padding-top: 4rem;
	margin-top: 12rem;
}

.games_section h2 {
	color: var(--text);
	margin-left: 4rem;
}

.games_display {
	color: var(--text);
	width: 100%;
	border: none;
	margin-bottom: 4rem;
	display: flex;
	flex-wrap: nowrap;
	gap: 4rem;
	align-items: flex-start;
}

.game_picture img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	transition: 250ms;
} 

.game_picture img:hover {
	height: 500px;
}

.game_div {
	padding: 1rem 1rem;
	height: 16rem;
	background-color: rgb(14, 19, 29);
}

.game_info {
	width: 45%;
	display: inline-block;
	padding-top: 2rem;
	box-sizing: border-box;
}

.game_info:hover {
	box-shadow: 0 0 10px 5px rgba(0,0,0,0.3);
}

.games_display .game_info:nth-child(odd) {
	margin-left: 4rem;
}

.games_display .game_info:nth-child(even) {
	margin-right: 4rem;
}

.game_description {
	margin-top: 1em;
	font-size: 1em;
	color: var(--accent);
}

.game_description span {
	float: right;
	color: var(--gray);
	font-size: 1em;
}

.game_title {
	font-size: 1.5em;
	font-weight: bold;
	color: var(--text);
}

.game_story {
	width: 98%;
	padding: 0.5rem 0;
	font-size: 1rem;
	color: var(--text-muted);
	line-height: 2rem;
}

.view_btn {
	margin-top: 1rem;
	padding: 0.5rem 1rem;
	width: 8rem;
	border: 2px solid var(--accent);
	border-radius: 5px;
	background-color: transparent;
	color: var(--accent);
	font-size: 0.8rem;
	transition: 0.3s ease;
}

.view_btn:hover {
	background-color: var(--accent);
	color: var(--bg);
}

/* Mobile sizing of games section	 */
@media (max-width: 1024px) {
	.games_display {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
		margin-top: 2rem;
	}

	#games_section .games_display .game_info {
	margin: auto;
  }

	.game_info {
		flex: 0 0 auto;
		width: 90%;
		padding: 0.25rem 0;
		box-sizing: border-box;
	}
	.game_picture img {
		height: 600px;
	}
}


/* Connect section/Footer */
.connect_section {
	padding: 2rem 8rem;
	margin-top: 15rem;
	background-color: var(--bg-dark);
	color: var(--text);
}

.connect_row {
	display: flex;
	align-items: flex-start;
}

.connect_links {
	padding-top: 2rem;
	display: flex;
	gap: 4rem;
	width: 100%;
	padding-left: 3rem;
	max-width: 50%;
}

.connect_link {
	color: var(--accent);	
}

.connect_link:hover { 
	color: var(--text); 
}

.connect_link svg {
	width: 3rem;
	height: 3rem;
	transition: transform 150ms ease;
}

.connect_link:hover svg {
	transform: scale(1.15);
}

.connect_texts {
  display: flex;
	gap: 4rem;
  flex-wrap: nowrap; 
}

.footer_col {
  display: flex;
  flex-direction: column;
  gap: 12px; 
}

.footer_col a {
  color: var(--text-muted); 
  transition: color 0.2s ease-in-out;
}

.footer_col a:hover {
  color: var(--text); 
}

.footer_text {
	display: block;
	width: 100%;
	margin-top: 2em;
	font-size: 0.8em;
	color: var(--text);
	text-align: center;
}


/* Mobile dropdown & toggle styles for smaller screens */
.nav-toggle {
	display: none; 
	background: transparent;
	color: var(--accent);
	border: none;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	margin-left: auto;
}

.mobile-dropdown {
	position: absolute;
	left: 0;
	top: 4.5em;
	width: 100%;
	background: rgba(5,5,8,0.98);
	overflow: hidden;
	max-height: 0;
	transition: max-height 320ms ease;
	z-index: 40;
	box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.mobile-dropdown.open {
	max-height: 60rem; 
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.mobile-nav .nav-item {
	padding: 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mobile-nav .nav-link {
	display: block;
	padding: 1rem 1.25rem;
	color: var(--accent);
	font-size: 1.2rem;
}

.mobile-nav .nav-link:hover {
	background: rgba(255,255,255,0.03);
}

/* animate nav items when dropdown opens */
.mobile-nav .nav-link {
	transform: translateY(-6px);
	opacity: 0;
	transition: transform 260ms ease, opacity 260ms ease;
}

.mobile-dropdown.open .mobile-nav .nav-link {
	transform: translateY(0);
	opacity: 1;
}


/************************ /
/ Responsive adjustments for HEADER /
/***********************/
@media (max-width: 1024px) {
	.desktop-nav { display: none; }
	.nav-toggle { display: flex; }
	.navbar .container-fluid {
		display: flex;
		align-items: center;
		gap: 0.5rem;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.nav-toggle {
		margin-left: auto;
	}

	.navbar .container-fluid > :not(.evo_logo):not(.nav-toggle):not(.mobile-dropdown) {
		display: none;
	}
}

@media (min-width: 1025px) {
	.mobile-dropdown { 
		display: none; 
	}
}


/************************ /
/ Responsive adjustments for OTHER SECTIONS /
/***********************/
/* Adjustments for medium screens (768px to 1024px) */
@media(min-width: 768px) and (max-width: 1024px) {
/* footer style */
  .connect_section {
		padding-left: 1rem;
	}

	.connect_texts {
	margin-top: 2rem;
	gap: 2rem;
	width: 50%;
}

.connect_links {
	gap: 2rem;
	margin-left: 2.25rem;
	width: 50%;
}

/* studio name and description section */
.about_text {
  font-size: 3rem;
  font-weight: bold;
}

	.mission_text {
	width: 28rem;
	margin-top: 1rem;
	line-height: 2em;
}

.games_display {
	width: 95%;
	margin-left: 1rem;
}
}


/* Adjustments for small screens (566px to 767px) */
@media(min-width: 566px) and (max-width: 767px) {
	/* games section */
	.games_section h2 {
		font-size: 1.5rem;
	}

	.playstore_link {
	margin-right: 2rem;
}

.playstore_link button {
	font-size: 0.6rem;
	width: 8rem;
}

	/* footer section */
	#connect_section h2 {
		font-size: 2rem;
	}
	
	.connect_row {
		flex-direction: column;
		align-items: center;
	}

	.connect_links {
		gap: 1rem;
		padding-left: 1rem;
	}

.connect_link svg {
	width: 2rem;
	height: 2rem;
}

.connect_texts {
	margin-top: 2rem;
}

/*studio name and description section */
.hero_caption {
	width: 50%;
}

.hero_caption h1 {
	font-size: 3rem;
}

	.mission_text {
	width: 25rem;
	margin-top: 2rem;
	font-size: 1.25rem;
	line-height: 2rem;
}
}

/* Adjustments for smaller screens (425px to 565px) */
@media(min-width: 425px) and (max-width: 565px) {
	/* logo style */
	.evo_logo {
  width: 2.5rem;
  height: 2.5rem;
	margin-left: 1em;
}

	/* studio name adjustment */
	.hero_caption {
	padding-left: 1rem;
	width: 50%;
}

.hero_caption h1 {
	font-size: 3rem;
}

.about_text {
	font-size: 2rem;
}

	.studio_description {
	font-size: 1rem;
	padding-left: 1rem;
}

.mission_text {
	width: 20rem;
	margin-top: 1rem;
	font-size: 1rem;
	line-height: 2rem;
}

.studio_name_text {
	font-size: 5em;
}

	/* games section adjustment */
	.games_section {
		margin-top: 10rem;
	}

	.games_section h2 {
		font-size: 1.5rem;
		margin-left: 1rem;
	}

	.playstore_link {
	margin-right: 2rem;
}

.playstore_link button {
	font-size: 0.5rem;
	padding: 0.75rem 0.5rem;
	width: 6rem;
	border-radius: 0.5rem;
}

.game_info {
	margin-top: 2rem;
	box-sizing: border-box;
}

.games_display {
	width: 95%;
}

.game_description span {
	margin-top: 1rem;
	width: 100%;
}

.game_div {
	height: 400px;
}

	/* footer section */
	.connect_section {
	padding: 2rem 0;
	padding-bottom: 5rem;
	margin-top: 12rem;
	font-size: 0.5rem;
}

	.connect_section h2 {
		font-size: 1.5rem;
		padding-left: 4rem;
	}

	.connect_row {
		flex-direction: column;
		align-items: center;

	}

	.connect_texts {
	margin-top: 2rem;
  display: flex;
	gap: 2rem;
	width: 90%;
	max-width: none;
  flex-wrap: nowrap; 
	margin-bottom: 2rem;
}

.connect_links {
	display: flex;
	gap: 3rem;
	width: 80%;
	max-width: none;
}

.connect_link svg {
	width: 1.5rem;
	height: 1.5rem;
}
}


/* Adjustments for very small screens (425px and below) */
@media (max-width: 424px) {
	/* logo style */
	.evo_logo {
  width: 2rem;
  height: 2rem;
  margin-left: 1rem;
}

	/* studio name adjustment */
	.hero_caption {
	padding-left: 1rem;
	width: 80%;
}

.hero_caption h1 {
	font-size: 2.5rem;
}

.about_text {
	font-size: 1rem;
}

	.studio_description {
	font-size: 0.5rem;
	padding-left: 1rem;
}

.mission_text {
	width: 15rem;
	margin-top: 1rem;
	font-size: 1rem;
	line-height: 2rem;
}

.studio_name_text {
	font-size: 5em;
}

/* games section */
	.games_section {
		margin-top: 10rem;
	}

	.games_section h2 {
		font-size: 1rem;
		margin-left: 1rem;
	}

	.playstore_link {
	margin-right: 2rem;
}

.playstore_link button {
	font-size: 0.45rem;
	padding: 0.5rem 0.5rem;
	width: 6rem;
	border-radius: 5px;
}

.game_info {
	margin-top: 2rem;
	box-sizing: border-box;
}

.game_story {
	font-size: 1rem;
	line-height: 1.5rem;
}

.games_display {
	width: 95%;
}

.game_description span {
	margin-top: 1rem;
	width: 100%;
}

.game_div {
	height: 400px;
}

	/* Adjust footer section */
	.connect_section {
	padding: 2rem 0;
	padding-bottom: 5rem;
	margin-top: 12rem;
	}

	.footer_col a, .col_title {
		font-size: 0.5rem;
	}


	.connect_section h2 {
		font-size: 1.5rem;
		padding-left: 3.5rem;
	}

	.connect_row {
		flex-direction: column;
		align-items: center;

	}

	.connect_texts {
	padding-left: 4rem;
	margin-top: 2rem;
  display: flex;
	gap: 0.5rem;
	width: 100%;
	max-width: none;
	margin-bottom: 2rem;
}

.connect_links {
	display: flex;
	gap: 3rem;
	width: 80%;
	max-width: none;
}

.connect_link svg {
	width: 1rem;
	height: 1rem;
}
}



