@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');

:root {
		primary-color:#3a4052; 
}

*{
		box-sizing: border-box;
		margin: 0;
		padding: 0;
}

body{
		font-family: 'Open Sans', sans-serif;
		line-height: 1.5
}

a{
		text-decoration: none;
		color: var(--primary-color);
}

h1{
		font-weight: 300;
		font-size: 60px;
		line-height:1.2;
		margin-bottom: 15px;
}

a.anchor {
		display: block;
		position: relative;
		top: -60px;
		visibility: hidden;
}

html {
  scroll-behavior: smooth;
}


/* Drop Down Menu -----------------------------------------------------*/
.column1 {
		float: left;
		width: 30%;
		height: 50px;
		background: #FF0000;
		overflow: hidden;
}

.column2 {
		width: 70%;
		height: 50px;
		background: url("_files/_images/MenuGradient.png");
		background-size: 100%;
		overflow: hidden;
		display: block;
		text-align: right;

}

.helper {
		display: inline-block;
		text-align: right;
		height: 100%;
		vertical-align: middle;
}

.column2 img {	
		text-align: right;
		vertical-align: middle;
}

.navigation2 {
		z-index: 50;
		width: 100%;
		height: 20px;	
		position: fixed;
		top: 50px;
}

.navigation{
		overflow:hidden;
		white-space: nowrap;
		object-fit:"cover";
		z-index: 20;
		position: fixed; /* Set the navbar to fixed position */
		width: 100%; /* Full width */
		top: 0;
		left: 0;
		height: 50;	
}

.navbar{
		float: left;
		z-index: 20;
		overflow: hidden;
		width: 100%; /* Full width */
		top: 0;
		left: 0;
}

.navbar{
		font-family: monospace;
		height: 50px;
}
.navbar a{}

@media only screen and (max-width: 2000px) {
	.column1 {width: 30%;}
	.column2 {width: 70%;}
	.navbar padding-left: 20px;
	.navbar padding-right: 20px;
}

@media only screen and (max-width: 1600px) {
	.column1 {width: 40%;}
	.column2 {width: 60%;}
}

@media only screen and (max-width: 1200px) {
	.column1 {width: 60%;}
	.column2 {width: 40%;}
}

@media only screen and (max-width: 800px) {
	.column1 {
		width: 80%;
		font-size: 1.8vw;
	}
	.column2 {width: 20%;}
	#menulogo {
		content:url("_files/_images/CM-LOGO.png");
		width:auto;
	}
}

@media only screen and (max-width: 600px) {
	.column1 {
		width: 85%;
		font-size: 1.9vw;
	}
	.column2 {width: 15%;}
    
	#menulogo {
		content:url("_files/_images/CM-LOGO.png");
		width:auto;
	}
}


/*-------------------------- Menu -----------------*/
.navbar ul {text-align: center;}
.navbar li {text-align: center;}

/*Menu Text Colour*/
.navbar a {
  		color: #cacaca;
		display: block;	
		padding-top: 6px;
		padding-left: 10px;
		padding-right: 10px;
}

/*Menu Text Transtion*/
.navbar a:hover {
	color:#ffffff;
	transition-duration: 0.5s;
}

/*Menu Line Transtion - start*/
.navbar li::after {
		/*block setup*/
		content: "";
		display: block;
		background: url("_files/_images/HighlightGradient.png");
		background-size: 100%;
		height: 3px;
		
		/*block start size*/
		width: 0%;
		
		/*block translation*/
		position: relative;
		transition: all ease-in-out 250ms ;
		transform: translate(-50%, 0px);
		left: 50%;
}

/*Menu Line Transtion - End Result*/
.navbar li:hover::after {
		/*block translation*/
		width:100%;
		color:#fffff;
}

/* hover over line*/
.navbar li {
		text-align: center;
		
		text-decoration: none;
		display: block;
		float: left;
		list-style: none;
		line-height: 41px;
		
		/*background trans*/
		transition-duration: 0.5s;
}

/*Menu Button Transtion End Result*/
.navbar a:hover,
.navbar a:focus-within {
	  	background-color: #FF7676;
	  	cursor: pointer;
}

/*Menu Button Transtion stop text outline */
.navbar li:focus-within a {
 	 	outline: none;
}

/*Menu Button Transtion End Result*/
.navbar ul li ul {
		background-color: #FF5E61;
		visibility: hidden;
		opacity: 0;
		position: absolute;
		display: none;
}

.navbar ul li:hover > ul,
.navbar ul li:focus-within > ul,
.navbar ul li ul:hover,
.navbar ul li ul:focus {
		visibility: visible;
		opacity: 1;
		display: block;
}

.navbar ul li ul li {
		clear: both;
		width: 100%;
}

/*Video Background Section -----------------------------------------------------*/
/*Video Text Heading Overlay*/

.dropscreen { 
		position: relative;
		height: 100vh;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 0 20px;
		color: #FFFFFF;
		
		overflow: hidden;
}

/*Video Background Setup*/
.video-container {
		position: absolute;
		width: 100%;
		height: 100%;
		overflow: hidden;
		background: var(primary-color) url("/_files/_images/Redprint.jpg") no-repeat center center/cover;	
}

.video-container video {
		min-height: 100%;
		min-width: 100%;
		max-height: 100%;
		max-width: 100%;
		object-fit: cover;
		position: absolute;
		top: 50%;
		
		transform: translate(-50%, -50%);
		
		/*Add in Blur Effects*/
		webkit-filter: blur(5px);
		moz-filter: blur(5px);
		o-filter: blur(5px);
		ms-filter: blur(5px);
		filter: blur(5px);
}

/*video darkening overlay*/
.video-container:after{
		content:'';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0,0,0,0.5);
}

.content {
		width:100%;
		z-index: 10;
		font-size: 50px;
		font-size: 1.5vw;
		white-space: nowrap;
}

.content object {
		  width: 40%;
		  height: auto;
}

.content img {
		  width: 8.5%;
		  height: auto;
}

/*Read More Button*/
.btn {
		display: inline-block;
		padding: 10px 30px;
		background: var(primary-color);
		color: #FFFFFF;
		border: 1px #fff solid;
		borded-radius:5px;
		margin-top:25px ;
		opacity: 0.7;
}

.btn:hover {
		transform: scale(0.98)
}

/*------------------------- CONTENT - ABOUT ---------------------------------*/

.content-to-about-top {
		width: 100%;
		height: auto;
		overflow: hidden;
		position: absolute; 
    	bottom: 0; 
 }

.content-to-about-top img {
		z-index: 20;
		width: 50%;
		height: auto;
		vertical-align: middle;
}

.content-to-about-base {
		background: url("_files/_images/pattern-skull-grey.jpg") no-repeat center fixed;
		/*background-size: cover*/;
		background-repeat: repeat;
		background-color: #1c120c;
		background-attachment: fixed;
		position: relative;
		overflow: hidden;
 }

.content-to-about-base img {
	z-index: 20;
	width: 50%;
	height: auto;
	vertical-align: middle;
}
/*------------------------- ABOUT ---------------------------------*/

.about {
		background: url("_files/_images/pattern-skull-grey.jpg") no-repeat center fixed;
		/*background-size: cover*/;
		background-repeat: repeat;
		background-color: #1c120c;
		background-attachment: fixed;
		position: relative;
		overflow: hidden;	

		text-align: center;
		color: white;	
		
 }

.about p {
		font-size: 1.2vmax;
		max-width: 1200px;
		text-align: left;
}

.about-header {
		text-align: center;
		background-color: #00ff00;
}

.about-header h1 {
		color: white;
}
.about h2 {
		margin: 30px,0;
		color: var(primary-color);
}

.aboutcolunm1 {
		width: 60%;
		display: table-cell;
		text-align: center;
		vertical-align: middle;
}

.aboutcolunm2 {
		width: 40%;
		display: table-cell;
		text-align: center;
		vertical-align: middle;
}

.aboutcolunm2 img {	
		text-align: center;
		vertical-align: middle;
		width: 80%;
		height: auto;
}

.aboutrow {
		display: table;
		width: 95%; 
		margin: 0 auto;
		padding: 20px;
		
}

/* Clear floats after the columns */
.aboutrow:after {
		content: "";
		display: table;
		clear: both;
}

@media screen and (max-width: 800px) {
    .aboutcolunm1 { 
		float: none;
		width:auto;
		border:0;
		text-align: center;
		display:block;
		overflow: hidden;
	  }
	.aboutcolunm2 { 
		float: none;
		width:auto;
		text-align: center;
		display:block;
		overflow: hidden;
	  }
	.aboutcolunm2 img { 
		width:80%;
		height:auto;
	  }
}

.about-to-showreel {
		background: url("_files/_images/pattern-skull-grey.jpg") no-repeat center fixed;
		/*background-size: cover*/;
		background-repeat: repeat;
		background-color: #1c120c;
		background-attachment: fixed;
		position: relative;
		overflow: hidden;
 }

.about-to-showreel img {
		width: 20%;
		height: auto;
		vertical-align: middle;
}

/*------------------------- SHOWREEL ---------------------------------*/
.showreel {
		text-align: center;
		color: black;
		font-size: 2.2vmin;
}

.showreel p {
		font-size: 1.0rem;	
}

.showreel h2 {
		margin: 30px,0;
		color: var(primary-color);
}

.showreel img {
		width: 90vw;
		height: auto;	
		
		max-width: 1280px;
		max-height: 720px;
}

/*------------------------- showreel - clients ---------------------------------*/
.showreel-to-clients {
		background-color: #FFFFFF;
 }

.showreel-to-clients img {
		width: 50%;
		height: auto;	
		vertical-align: bottom;
}

/*------------------------- clients ---------------------------------*/
.clients {
		text-align: center;
		color: white;
		font-size: 2.2vmin;
		
		background-color: #00a8fd;
}

.clients img {
		width: 18%;
		height: auto;
}

/*------------------------- clients-to-studios ---------------------------------*/
.clients-to-studios-base {
		background: url("_files/_images/DI2-SantaMonica-Pier.png") no-repeat center center fixed;
		min-height: 100%; 
		max-width: 100%;
		background-size: cover;
		background-color: #1c120c;

		position: relative;
		overflow: hidden;
 }

.clients-to-studios-base img {
		width: 50%;
		height: auto;
		vertical-align: middle;
}

/*------------------------- STUDIOS ---------------------------------*/
.studios {
		text-align: center;
		color: white;
		font-size: 2.2vmin;
		background: url("_files/_images/DI2-SantaMonica-Pier.png") no-repeat center center fixed;
		min-height: 200%; 
		max-width: 200%;
		background-size: cover;
		background-color: #1c120c;
		
		position:relative;
		overflow:hidden;
}

.studios img {
		width: 18%;
		height: auto;
		vertical-align: middle;
}

/*------------------------- STUDIOS - GAMES ---------------------------------*/
.studios-to-franchises {
		text-align: center;
		color:white;
	
		background: url("_files/_images/DI2-SantaMonica-Pier.png") no-repeat center center fixed;
		min-height: 100%; 
		max-width: 100%;
		background-size: cover;
		background-color: #1c120c;

		position: relative;
		overflow: hidden;
 }

.studios-to-franchises img {
		width: 20%;
		height: auto;
		vertical-align: middle;
}

/*------------------------- games ---------------------------------*/
.franchises {
		text-align: center;
		color:white;
		font-size: 2.2vmin;
		
		background-color: black;
}

.franchises img {
		width: 18%;
		height: auto;
}

.franchises h1 {
	text-align: center;
	color: white;
}

/*------------------------- franchises - software ---------------------------------*/
.franchises-to-software {
		width: 100%;
		height: auto;
		background-color: black;
 }

.franchises-to-software img {
		z-index: 20;
		width: 50%;
		height: auto;
		vertical-align: middle;
}

/*------------------------- software ---------------------------------*/
.software{
		text-align: center;
		color:white;
		background-color: red;
		font-size: 2.2vmin;
}

.software img {
	  width: 18%;
	  height: auto;
}

.software h1 {
	text-align: center;
	color: white;
}

/*------------------------- software - portfolio ---------------------------------*/
.software-to-portfolio {
		width: 100%;
		height: auto;
		background: url("_files/_images/pattern-skull-grey.jpg") no-repeat center fixed;
		/*background-size: cover*/;
		background-repeat: repeat;
		background-attachment: fixed;
 }

.software-to-portfolio img {
		z-index: 20;
		width: 50%;
		height: auto;
		vertical-align: middle;
}

/*------------------------- Portfolio ---------------------------------*/
.Portfolio{	
	color: white;
	text-align: center;
	font-size: 2.2vmin;
	
	background: url("_files/_images/pattern-skull-grey.jpg") no-repeat center fixed;
	/*background-size: cover*/;
	background-repeat: repeat;
	background-attachment: fixed;
}

.Portfolio_row > .Portfolio_column {
		background-color: #00000000;
		padding: 0 8px;
		text-align: center;
		padding:1.56vw;
		color: white;
}

.Portfolio_row h1 {
	background-color: #00000000;
	color: white;
}
.Portfolio_row:after {
		content: "";
		display: table;
		clear: both;
		background-color: black;
		color: white;
}

/* Create four equal columns that floats next to eachother */
.Portfolio_column {
		float: left;
		width: 25%;
		vertical-align: middle;
		text-align: center;
}
.Portfolio_column:hover {
		opacity: 0.7;
		transition: 0.3s ease;
		transform: scale(0.9, 0.9);
}
.Portfolio_column img {
	width: auto;
	max-width: 192px;
	vertical-align: middle;
	text-align: center;
}

/* The Modal (background) */
.Portfolio_modal {
  display: none;
  position: fixed;
  z-index: 50;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.Portfolio_modal-content {
	position: relative;
	background-color: black;
	margin: auto;
	width: 90%; 
	height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
	max-width: 1280px;
	max-height: 720px;
}

/* The Close Button */
.Portfolio_close {
  color: white;
  position: absolute;
  z-index: 50;
  top: 10px;
  right: 20px;
  font-size: 35px;
  font-weight: bold;
}

.Portfolio_close:hover,
.Portfolio_close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.Portfolio_mySlides {
  display: none;
}

/* Next & previous buttons */
.Portfolio_prev,
.Portfolio_next {
  color: white;
  font-weight: bold;
  font-size: 20px;
  
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 16px;
  margin-top: 0px;
  
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.Portfolio_prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.Portfolio_next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.Portfolio_prev:hover,
.Portfolio_next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.Portfolio_numbertext {
  color: #f2f2f2;
  font-size: 12px;
  top: 8px;
  
  z-index:10;
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Caption text */
.Portfolio_caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 1.0;
}

 .yt_player_iframe{
	width: 100%; 
	height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
	max-width: 1280px;
	max-height: 720px;
 }

.Portfolio_active,
.Portfolio_demo:hover {
  	opacity: 0.7;
	transition: 0.3s ease;
	transform: scale(0.9, 0.9); 
}

/*------------------------- portfolio-to-contact  ---------------------------------*/

.portfolio-to-contact{
		width: 100%;
		height: auto;
		background: url("_files/_images/pattern-skull-grey.jpg") no-repeat center fixed;
		/*background-size: cover*/;
		background-repeat: repeat;
		background-attachment: fixed;
}

.portfolio-to-contact img {
		z-index: 20;
		width: 20%;
		height: auto;
		vertical-align: middle;
}

/*------------------------- CONTACT ME ---------------------------------*/
.contact {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	
	padding: 0 20px;
	text-align: center;
	color: white;
	font-size: 1.8vmin;
	font-weight: 100;
	
	background-color: #FF0000;
}

.social a {
	margin: 0 5px;
}

/*------------------------- BASE ---------------------------------*/
.bottom {
	text-align: center;
	padding: 0 20px;
	color: #FFFFFF;
	font-weight: 100;
	font-size: 14px;
	background-color: #FF0000;
}

/* Video Test-----------------------------------------------------*/

.Portfolio_mySlides{
	text-align: center;
	vertical-align: middle;
}

#Portfolio_mySlides img { 
	position: relative; 
	width: 100%; 
	height: 100%; 
	
	cursor: pointer; 
	
}
	
#Portfolio_mySlides:after { 
	content: ""; 
	position: absolute; 
	display: block; 
    background: url(_files/_images/play-button.png) no-repeat 0 0; 
	transform: translate(-50%, -50%);
	top:50%;
	left:50%;
	width: 100%; 
	height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
	max-width: 68px;
	max-height: 48px;
	z-index: 10; 
	cursor: pointer; 
} 

#Portfolio_mySlides:hover::after { background: url(_files/_images/play-button-red.png) no-repeat 0 0; }

#Portfolio_mySlides iframe { 
	position: relative; 
	width: 1280;
	height: 720;
}

/* image poster clicked, player class added using js */
#Portfolio_mySlides.player img { display: none; }
#Portfolio_mySlides.player:after { display: none; }

/* Video Showreel-----------------------------------------------------*/

.showreel_YTvideo{
	position: relative; 
	text-align: center;
	vertical-align: middle;
}

.showreel_YTvideo img { 
	margin-left: auto;
	margin-right: auto;
	width: 90vw; 
	height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
	max-width: 1280px;
	max-height: 720px;
	
	display: block; 
	cursor: pointer; 
}
	
.showreel_YTvideo:after { 
	content: ""; 
	position: absolute; 
	display: block; 
    background: url(_files/_images/play-button.png) no-repeat 0 0; 
	transform: translate(-50%, -50%);
	top:50%;
	left:50%;
	width: 50vw; 
	height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
	max-width: 68px;
	max-height: 48px;
	z-index: 10; 
	cursor: pointer; 
} 

.showreel_YTvideo:hover::after { background: url(_files/_images/play-button-red.png) no-repeat 0 0; }

.showreel_YTvideo iframe { 
	width: 90vw; 
	height: 56.25vw; /* 100/56.25 = 560/315 = 1.778 */
	max-width: 1280px;
	max-height: 720px;
}

/* image poster clicked, player class added using js */
.showreel_YTvideo.player img { display: none; }
.showreel_YTvideo.player:after { display: none; }

