* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	background: linear-gradient(to right, #5e5e5e, #474850);
	color: #fbfbfb;
	font-family: 'Ubuntu', sans-serif;
}

.container {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 15px;
	padding-right: 15px;
}

.better-visibility {
	color: #f8aaa7;
}

#logo-panel-white {
	position: sticky;
	top: 0;
	padding: 20px 0 10px 0;
	text-align: center;
	z-index: 1000;
}

#logo-panel-color {
	opacity: 0;
	position: absolute;
	z-index: 1000;
	margin: auto;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 20px 0 10px 0;
	text-align: center;
	background: linear-gradient(to right, #4d4d4d, #37383e);	
	-webkit-box-shadow: 0 5px 20px -5px #37383e;
	-moz-box-shadow: 0 5px 20px -5px #37383e;
	box-shadow: 0 5px 20px -5px #37383e;
	transition: display 0s, opacity 0.6s ease;
}

#services {
	margin-top: -83px;
	height: calc(100vh - 70px);
	width: 100%;
	background: linear-gradient(to right,#e1b452,#db9c15);
	display: table;
}

#gallery {
	/*padding: 50px 50px;*/
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.gallery-title{
	font-weight: 700;
	font-size: 96px;
	text-align: left;
	margin-top: 100px;
}

.slide {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	display: none;
}

.slide a {
	color: #fbfbfb;
	text-decoration: none;
}

.slide img{
	max-width: 80%;
	max-height: 45vh;	
}

.slide-button {
	cursor: pointer;
	position: absolute;
  	top: 40%;
	margin-top: -22px;
	margin-left: 2%;
	padding: 25px 35px 25px 25px;
  	color: #fbfbfb;
  	font-size: 40px;
  	transition: 0.6s ease;
  	border-radius: 45px;
}

#next-slide {
	right: 0;
	margin-right: 2%;
	padding: 20px 25px 20px 30px;
}

.slide-button:hover {
	background-color: #fbfbfb;
	color: #ef4c45;
}

.dot-container {
	position: absolute;
	bottom: 0;
	left: calc(50% - 26px);
}

.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 100px 2px;
	background-color: #fbfbfb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.active, .dot:hover {
	background-color: #ef4c45;
}

/* Fading animation */
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 2s;
	animation-name: fade;
	animation-duration: 2s;
}
  
@-webkit-keyframes fade {
	from {opacity: .1} 
	to {opacity: 1}
}
  
@keyframes fade {
	from {opacity: .1} 
	to {opacity: 1}
}

#nav {
	position: sticky;
	z-index: 10000;
	top: 83px;
	line-height: 50px;
	background: linear-gradient(to right, #4d4d4d, #37383e);
	-webkit-box-shadow: 0 5px 20px -5px #37383e;
	-moz-box-shadow: 0 5px 20px -5px #37383e;
	box-shadow: 0 5px 20px -5px #37383e;
	padding: 10px;
	font-weight: 700;
	font-size: 18px;
}

	#nav ul {
		display: flex;
		z-index: 10000;
		justify-content: space-between;
		list-style: none;
	}

		#nav li {
			width: 100%;
		}

			#nav a {
				display: block;
				text-align: center;
				color: #fbfbfb;
				text-decoration: none;
				border-radius: 30px;
				transition: 0.6s ease;
			}

				#nav a:hover {
					color: #ef4c45;
					background-color: #fbfbfb;
				}
				
				#nav a:focus {
					border-bottom: 2px solid #fbfbfb;
				}
				
.section {
	padding: 90px 0;
	margin-top: 0;
	text-align: justify;
	line-height: 26px;
}

	.section h2 {
		font-size: 48px;
		margin-bottom: 50px;
		line-height: normal;
	}

	.section h3 {
		font-size: 26px;
		margin-top: 40px;
		margin-bottom: 30px;
	}

	.section h4 {
		font-size: 18px;
		margin-top: 20px;
		margin-bottom: 10px;
	}

#games {
	background: linear-gradient(to right, #797979, #595a64);
	padding-top: 60px;
}

#programs, #contact {
	background: linear-gradient(to right, #797979, #595a64);
}

#game-tiles{
	margin-top: 10px;
	text-align: center;
}

.game-tile {
	display: inline-block;
	background: rgba(0,0,0,0.1);
	width: 840px;
	padding: 20px 30px;
	/*border-radius: 30px;*/
	margin: 20px;
}

.game-tile > img {
	/*border-radius: 20px 0 0 20px;*/
	float: left;
	height: 260px;
}

.game-tile-description {
	float: left;
	width: 310px;
	padding: 10px 10px 10px 20px;
	text-align: justify;
}

.game-tile-description h3 {
	vertical-align: middle;
	padding: 15px 20px;
	background-color: #fbfbfb;
	color: #4d4e58;
	font-size: 28px;
	margin: -10px -15px 10px -20px;
	/*border-radius: 0 10px 0 0;*/
}

.google-play-button {
	background-image: url('images/googleplay.png');
	width: 260px;
	height: 74px;
	margin-top: 15px;
	background-color: #4b4b4b;
	width: 260px;
	border-radius: 20px;
	margin-left: auto;
	margin-right: auto;
	transition: 0.6s ease;
}

.google-play-button:hover {
	background-image: url('images/googleplayred.png');
	background-color: #fbfbfb;
}

#graphics-gallery {
	position: relative;
	margin-top: 30px;
	height: 300px;
	width: 100%;
}

#graphics-gallery-images {
	margin: 0 80px;
	height: 100%;
	overflow: hidden;
}

#graphics-gallery-slider {
	display: flex;
}

.graphics-gallery-image {
	margin: 20px 20px 20px 0;
	cursor: pointer;
}

.graphics-gallery-button{
	position: absolute;
	top: 20px;
	height: 260px;
	width: 80px;
	text-align: center;
	cursor: pointer;
	padding: 115px 0;
  	color: #fbfbfb;
  	font-size: 50px;
  	transition: 0.6s ease;
}

.graphics-gallery-button:hover{
	background-color: #fbfbfb;	
	color: #ef4c45;
}

#graphics-gallery-left{
	left: 0;
}

#graphics-gallery-right{
	right: 0;
}

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

	.gallery-title{
		font-size: 80px;
	}

}

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

	.gallery-title{
		font-size: 60px;
	}

	.game-tile {
		width: unset;
	}

	.game-tile-description {
		clear: both;
		float: none;
		width: 462px;
		padding: 10px;
	}

	.game-tile-description h3 {
		vertical-align: middle;
		padding: 15px 20px;
		margin: -10px -10px 10px -10px;
	}
}

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

	.gallery-title{
		text-align: center;
		font-size: 40px;
	}

	.slide-button {
		top: 75%;
	}

}

@media screen and (max-width: 600px) {
	#nav {
		display: none;
	}

	#services {
		height: 100vh;
	}

	.gallery-title{
		font-size: 32px;
	}

	.game-tile {
		width: 100%;
		margin: 0;
	}

	.game-tile:nth-child(2n) {
		background-color: unset;
	}

	.game-tile > img {
		width: 100%;
		height: unset;
	}

	.game-tile-description {
		width: 100%;
	}

	#graphics-gallery-images {
		margin: 0;
	}

	.graphics-gallery-button {
		text-shadow:
		-1px -1px 4px #555,
		1px -1px 4px #555,
		-1px 1px 4px #555,
		1px 1px 4px #555;
	}
}

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

}

#teaching li {
	margin: 5px 0 5px 20px;
}

#social-panel {
	text-align: center;
}

.social-link {
	text-decoration: none;
	margin: 10px 20px;
	width: 120px;
	height: 120px;
	display: inline-block;
	border-radius: 20px;
	transition: 0.6s ease;
}

#google-play-social-button {
	background-image: url('images/googleplaylogomono2.png');
	transition: 0.6s ease;
}

#google-play-social-button:hover {
	background-image: url('images/googleplaylogocolor2.png');
}

#facebook-social-button {
	background: url('images/facebooklogomono.png') no-repeat;
	transition: 0.6s ease;
}

#facebook-social-button:hover {
	background-image: url('images/facebooklogocolor.png');
}

#linkedin-social-button {
	background-image: url('images/linkedinlogomono.png');
	transition: 0.6s ease;
}

#linkedin-social-button:hover {
	background-image: url('images/linkedinlogocolor.png');
}

input:focus,
textarea:focus {
    outline: none;
}

#contact-form {
	text-align: center;
}

#contact-form p {
	text-align: left;
	margin-left: 10px;
}

.contact-form-input {
	width: 100%;
	font-size: 18px;
	margin-bottom: 5px;
	padding: 10px 15px;
	border-style: none;
	background-color: #fbfbfb;
	color: #37383e;
	font-family: 'Ubuntu', sans-serif;
}

.contact-form-input::placeholder {
	color: #d4d3d3;
}

#formText {
	max-width: 100%;
	min-width: 100%;
	font-family: 'Ubuntu', sans-serif;
}

#contact-form-submit {
	text-align: center;
	font-size: 18px;
	padding: 15px 50px;
	background-color: #4b4b4b;
	border-style: none;
	border-radius: 20px;
	font-weight: 700;
	color: #fbfbfb;
	transition: 0.6s ease;
}

#contact-form-submit:hover {
	background-color: #fbfbfb;
	color: #ef4c45;
}

#form-output-message{
	margin-top: 20px;
	height: 26px;
}

.form-success{
	color:#45ef6a;
}

.form-error{
	color:#ef4c45;
}

.contact-link{
	color: #fbfbfb;
	text-decoration: none;
}

#privacypolicy{
	background: rgba(255,255,255,0.1);
}

#privacypolicy a {
	color: #ef4c45;
}

#privacypolicy p {
	margin: 15px 0;
}

#privacypolicy li{
	margin-left: 30px;
}

.footer {
	padding: 30px;
	font-weight: 700;
	font-size: 16px;
	text-align: right;
}

@media (hover: none) {
	.slide-button:hover {
		background-color: unset;
		color: #fbfbfb;
	}
	
	.dot:hover {
		background-color: #fbfbfb;
	}
	
	#nav a:hover {
		color: #fbfbfb;
		background-color: unset;
	}
	
	#google-play-social-button:hover {
		background-image: url('images/googleplaylogomono2.png');
	}
	
	#facebook-social-button:hover {
		background-image: url('images/facebooklogomono.png');
	}
	
	#linkedin-social-button:hover {
		background-image: url('images/linkedinlogomono.png');
	}

	#contact-form-submit:hover {
		background-color: #4b4b4b;
		color: #fbfbfb;
	}

	.graphics-gallery-button:hover{
		color: #fbfbfb;	
		background-color: unset;
	}

	.google-play-button:hover {
		background-image: url('images/googleplay.png');
		background-color: #4b4b4b;
	}
 }