/* variables */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html {
	--black-color: #000000;
	--white-color: #ffffff;
	--blue-color: #0000c0;
	--red-color: #c00000;
	--light-gray-color: #e0e0e0;
	--light-purple-color: #ffe0ff;

	--site-width: 1600px;
	--site-break: 1599px;
	--large-width: 1280px;
	--large-break: 1319px;
	--tablet-width: 1024px;
	--tablet-break: 1023px;
	--mobile-width: 768px;
	--mobile-break: 767px;
	--mini-width: 480px;
	--mini-break: 479px;
	--title-font-family: "Open Sans", sans-serif;
	--copy-font-family: "Open Sans", sans-serif;
	
	
	--cta-background-color: var(--red-color);
	--cta-text-color: var(--white-color);
	--cta-hover-background-color: var(--blue-color);
	--cta-hover-text-color: var(--white-color);
	
	
	font: 18px/24px var(--copy-font-family);
}



/* base styles */
body {
	margin: 0;
	padding: 0;
	vertical-align: top;
	box-sizing: border-box;
	background: var(--white-color);
}
main, sidebar, widget, aside, section, div, header, footer, figure, hero, socials, copyright, post, gallery, slide {
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	vertical-align: top;
}
scriptstorage {
	display: none;
}


/* base content styles */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--title-font-family);
	line-height: 1;
	margin-top: 0;
	margin-bottom: 10px;
}
h1 {
	font-size: 60px;
}
h2 {
	font-size: 48px;
}
h3 {
	font-size: 36px;
}
h4 {
	font-size: 28px;
}
h5 {
	font-size: 24px;
}
h6 {
	font-size: 18px;
}
ul, ol {
	list-style: none;
}
p, li {
	font-family: var(--copy-font-family);
	font-size: 18px;
	margin-top: 0;
}
img {
	margin: 5px;
}
a {
	font-family: var(--copy-font-family);
	text-decoration: none;
	color: var(--red-color);
}
a:hover {
	color: var(--blue-color);
}
button, .cta {
	background-color: var(--cta-background-color);
	color: var(--cta-text-color);
	display: inline-block;
	padding: 12px 20px;
	border-radius: 8px;
	border: 0 none;
}
button {
	font: 18px/24px var(--copy-font-family);
	text-transform: uppercase;
}
button:hover, .cta:hover {
	background-color: var(--cta-hover-background-color);
	color: var(--cta-hover-text-color);
}



/* site structure */
header, footer {
	position: relative;
	z-index: 120;
}
section {
	width: var(--site-width);
	margin: 0 auto;
}
section.full {
	width: 100%;
	padding: 0;
}
main {
	margin: 0 auto;
	width: calc(var(--site-width) - 480px);
}
main.full {
	width: 100%;
}
article {
	padding: 40px;
}
@media all and (max-width:767px) {
	article {
		padding: 40px 20px;
	}
}
sidebar {
	margin: 0 auto;
	width: 480px;
}
widget {
	padding: 40px 20px;
	margin-bottom: 40px;
	min-height: 40px;
}

post {
	display: block;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--blue-color);
	margin-bottom: 40px;
}
post h4 {
	color: var(--blue-color);
}
post date {
	font-size: 12px;
	text-transform: uppercase;
}

/* main area responsiveness */
@media all and (max-width:1023px) {
	section, main, sidebar {
		width: 100%;
	}
}

gallery {
	width: 100%;	
}
slide {
	width: 100%;	
}
slide a {
	display: block;
}
slide a img {
	width: 100%;
	height: auto;	
}




/* forms */
label {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 5px;
}
input, textarea {
	padding: 10px 20px;
	border: 1px solid var(--black-color);
	border-radius: 8px;
	font: 16px/20px var(--copy-font-family);
	color: var(--blue-color);
	margin-bottom: 10px;
}
textarea {
	width: 600px;
	height: 200px;
}
@media all and (max-width:768px) {
	textarea {
		width: 100%;
		box-sizing: border-box;
	}
}
.form-notice {
	padding: 20px;
	margin-bottom: 40px;
}
.form-notice.success {
	background: #e0ffe0;
	border: 1px solid var(--green-color);
	color: var(--green-color);
}
.form-notice.error {
	background: #ffe0e0;
	border: 1px solid var(--red-color);
	color: var(--red-color);
}
.form-notice p {
	margin-bottom: 0;
}

/* header */
header {
	min-height: 150px;
	background-color: var(--light-gray-color);
}
@media all and (max-width:1023px) {
	header {
		min-height: 60px;
	}
}
#header-logo {
	position: absolute;
	top: 20px;
	left: 20px;
}
#header-logo a img {
	display: block;
	max-width: 170px;
	height: auto;
}

#primary-nav {
	position: absolute;
	top: 50px;
	right: 20px;
}
#primary-nav div {}
#primary-nav div > ul {padding:0;margin:0;}
#primary-nav div > ul > li {display:inline-block;}
#primary-nav div > ul > li > a {display:block;padding:20px;color:var(--blue-color)}
#primary-nav div > ul > li > ul {display: none;position:absolute;left:0;top:50px;}
#primary-nav div > ul > li > ul > li {}

#primary-nav div > ul > li:hover {}
#primary-nav div > ul > li:hover > a {background-color:var(--light-purple-color);color:var(--black-color);}
#primary-nav div > ul > li:hover > ul {
	display: block;
}
@media all and (max-width:1023px) {
	#primary-nav {
		display: none;
		width: 100%;
		background-color: var(--white-color);
		right: 0;
		top: 60px;
	}
	#primary-nav.open {display:block;}
	#primary-nav div > ul > li {display:block;}
}

.mobile-nav-trigger {
	display: none;
	position: absolute;
	right: 20px;
	top: 20px;
	text-decoration: none;
	font: 600 24px/1 var(--title-font-family);
	color: var(--blue-color);
}
@media all and (max-width:1023px) {
	.mobile-nav-trigger {
		display: block;
	}
}


/* hero area */
hero {
	width: 100%;
	height: 600px;
	min-height: 300px;
	background-image: var(--background-image);
	background-color: rgba(0,0,0,0.5);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	display: flex;
	flex-flow: column;
	align-items: center;
	justify-content: center;
	background-blend-mode: multiply;
	padding: 20px;
}
hero.small {
	height: 400px;
}
hero a.cta {
	margin-top: 20px;
}
hero h1, hero p {
	color: var(--white-color);
	margin: 0;
}
hero p {
	font-size: 24px;
	
}




/* main section */
section#main {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: space-between;
	padding: 40px 0;
}




/* GAMES - game cluster */
section#game-cluster main.full article {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: center;
	padding: 40px 0;
}
post.game {
	width: calc(33.333% - 10px);
	margin: 0 5px 10px;
	min-height: 250px;
	padding-bottom: 0;
	border-bottom: 0;
	background: rgba(0,0,0,0.5) var(--background-image) no-repeat center / cover;
	border-radius: 16px;
}
@media all and (max-width:639px) {
	post.game {
		width: calc(100% - 10px);
		min-height: 200px;
	}
}
post.game a {
	display: flex;
	flex-flow: column;
	align-items: start;
	justify-content: end;
	position: relative;
	padding: 40px 20px 20px;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	border: 2px solid var(--white-color);
	color: var(--white-color);
	border-radius: 16px;
	text-decoration: none;
}
post.game a h2 {
	font-size: 28px;
}
post.game a:hover {
	border-color: var(--red-color);
	color: var(--red-color);
}








/* footer */
footer {
	min-height: 200px;
	background-color: var(--light-gray-color);
}
#footer-logo {
	position: absolute;
	top: 20px;
	left: 40px;
}
#footer-logo a img {
	display: block;
	max-width: 170px;
	height: auto;
}

#footer-nav {
	position: absolute;
	top: 40px;
	right: 40px;
}
footer socials {
	position: absolute;
	bottom: 40px;
	right: 40px;
}
footer copyright {
	position: absolute;
	left: 40px;
	bottom: 40px;
	font: 14px/1.2 var(--copy-font-family);
	text-transform: uppercase;
}



