/* Fonts */

@font-face {
  font-family: 'Proxima Nova';
  src: url(../fonts/ProximaNovaW07-Light.ttf);
  font-weight: 200;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url(../fonts/ProximaNovaW07-Regular.ttf);
  font-weight: 400;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url(../fonts/ProximaNovaW07-Medium.ttf);
  font-weight: 500;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url(../fonts/ProximaNovaW07-Bold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url(../fonts/ProximaNovaExtrabold.woff2);
  font-weight: 800;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body {
	font-family: 'Proxima Nova', Helvetica, sans-serif;
	color: #fff;
	background: #d3e0e8;  /* fallback for old browsers */
	background: -webkit-radial-gradient(at 0% 30%, #d3e0e8, #fff);  /* Chrome 10-25, Safari 5.1-6 */
	background: radial-gradient(at 0% 30%, #d3e0e8, #fff); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	height:100vh;
}


.container	{
	max-width: 100vw;
	height:100vh;
	background-image: url("../images/BG.jpg"); /* The image used */
  	background-position: center; /* Center the image */
  	background-repeat: no-repeat; /* Do not repeat the image */
  	background-size: cover; /* Resize the background image to cover the entire container */
  	display: flex;
  	align-items: center;

}
.mt30{display:flex;
  	justify-content: center;}

.wrapper {
	width: 65vw;
	max-width: 2160px;
	height:90vh;
	margin-bottom:100px;
}

.stage {
	list-style: none;
	padding: 0;
}

.home {
	font-family: 'Proxima Nova';
	font-size: 18px;
	color: #1f3763;
	margin-top:20px;
	margin-bottom:10px;
	text-align: center;
}

.home a {
	color: #1f3763;
	font-weight:600;
	text-decoration:none;
}

.trademark{
	font-size:11px;
	font-weight:400;
	color: #1f3763;
	margin-top:10px;
	margin-bottom:10px;
}

.endmatter {
	padding: 100px 0 0;
	text-align: center;
}

.endmatter2 {
	padding: 10px 0 0;
	text-align: center;
}

.footer {
	font-size:14px;
	font-weight:600;
	color:#1f3763;
	margin-top:0;
	margin-bottom:0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    overflow: auto;
  }
  .modal-content {
    background: white;
    margin: 10% auto;
    padding: 1rem;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    position: relative;
  }
  .close {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 28px;
    cursor: pointer;
  }
  video {
    width: 100%;
    height: auto;
  }

/*************************************
Build the scene and rotate on hover
**************************************/

.scene {
	width: 300px;
	height: 300px;
	margin: 30px;
	float: left;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	perspective: 1000px;
}

.wrapper h1 {
	font-size:37px;
	font-weight:900;
	color:#1f3763;
	text-align:center;
	margin-top:30px;
	margin-bottom:30px;
}

.instruct {
	font-family: georgia, serif;
	font-size:16px;
	font-weight:400;
	font-style: italic;
	color:#1f3763;
	text-align:center;
	margin-top:30px;
	margin-bottom:10px;
}

.movie {
	width: 300px;
	height: 300px;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(-130px);
	-moz-transform: translateZ(-130px);
	transform: translateZ(-130px);
	-webkit-transition: -webkit-transform 350ms;
	-moz-transition: -moz-transform 350ms;
	transition: transform 350ms;
}

.movie:hover {
	-webkit-transform: rotateY(-78deg) translateZ(20px);
	-moz-transform: rotateY(-78deg) translateZ(20px);
	transform: rotateY(-78deg) translateZ(20px);
}

/*************************************
Transform and style the two planes
**************************************/

.movie .poster, 
.movie .info {
	position: absolute;
	width: 300px;
	height: 312px;
		-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
}

.movie .poster  {
	-webkit-transform: translateZ(150px);
	-moz-transform: translateZ(150px);
	transform: translateZ(150px);
	background-size: cover;
	background-repeat: no-repeat;
}

.movie .info {
	-webkit-transform: rotateY(90deg) translateZ(130px);
	-moz-transform: rotateY(90deg) translateZ(130px);
	transform: rotateY(90deg) translateZ(130px);
	font-size: 0.75em;
}

/*************************************
Shadow beneath the 3D object
**************************************/

.csstransforms3d .movie::after {
	content: '';
	width: 100px;
	height: 100px;
	position: absolute;
	bottom: 0;
	box-shadow: 90px 200px 65px rgba(0,0,0,0.3);
	-webkit-transform-origin: 146% 146%;
	-moz-transform-origin: 146% 146%;
	transform-origin: 146% 146%;
	-webkit-transform: rotateX(90deg) translateY(190px);
	-moz-transform: rotateX(90deg) translateY(190px);
	transform: rotateX(90deg) translateY(190px);
	-webkit-transition: box-shadow 350ms;
	-moz-transition: box-shadow 350ms;
	transition: box-shadow 350ms;
}

.csstransforms3d .movie:hover::after {
	box-shadow: 20px -5px 50px rgba(0,0,0,0.3);
}

/*************************************
Cube information
**************************************/

.info header {
	color: #fff;
	padding: 20px;
	font-weight: 400;
	font-size: 1.2em;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.info header h1 {
	margin: 0 0 2px;
	font-size: 2.4em;
	color:#1f3763;
	text-align: left;
	text-decoration: none;
}

.info header a {
	text-decoration:none;
	color: #FFFFFF;
    
}

.info p {
	 padding: 0;
    margin: 2px 0 0;
    color: #FFFFFF;
    text-align: justify;
    line-height: 1.4em;
    font-family: sans-serif;
}

.linklist {
	list-style: none;
	margin: 0;
  	padding: 0;
  	display: inline;
}

.linklist li {
  float: left;
  margin-right:30px;
}

.linklist li img {
 padding-right:5px;
 padding-bottom:5px;
 width:30px;
 
}
	 


/*************************************
Generate "lighting" using box shadows
**************************************/

.movie .poster,
.movie .info,
.movie .info header {
	-webkit-transition: box-shadow 350ms;
	-moz-transition: box-shadow 350ms;
	transition: box-shadow 350ms;
}

.csstransforms3d .movie .poster {
	box-shadow: inset 0px 0px 20px rgba(255,255,255,0);
  background-size: cover;
    background-position: bottom;
}

.csstransforms3d .movie:hover .poster {
	box-shadow: inset 300px 0px 30px rgba(255,255,255,0.8);
}

.csstransforms3d .movie .info, 
.csstransforms3d .movie .info header {
	box-shadow: inset -300px 0px 30px rgba(0,0,0,0.5);
}

.csstransforms3d .movie:hover .info, 
.csstransforms3d .movie:hover .info header {
	box-shadow: inset 0px 0px 30px rgba(0,0,0,0);
}

/*************************************
Posters and still images
**************************************/

.scene:nth-child(1) .movie .poster {
	background-image: url("../images/3D-hover_adc.png");
  }
  
.scene:nth-child(2) .poster {
	background-image: url("../images/3D-hover_sg.png");
  }
  
  .scene:nth-child(3) .poster {
	background-image: url("../images/3D-hover_tigit.png");
  }
  
  .scene:nth-child(4) .poster {
	background-image: url("../images/3D-hover_domzim.png");
  }

.scene:nth-child(1) .info header {
	background-image: radial-gradient(at 0% 30%, #8dc1c5, #48a1a3);
}

.scene:nth-child(2) .info header {
	background-image: radial-gradient(at 0% 30%, #a7bbd6, #7b98c1);
}

.scene:nth-child(3) .info header {
	background-image: radial-gradient(at 0% 30%, #0065a9, #021738);
}

.scene:nth-child(4) .info header {
	background-image: radial-gradient(at 0% 30%, #0065a9, #0065a9);
}


/*************************************
Fallback
**************************************/
.no-csstransforms3d .movie .poster, 
.no-csstransforms3d .movie .info {
	position: relative;
}

/*************************************
Media Queries
**************************************/
@media screen and (min-width: 340px) and (max-width: 1179px){
	.scene {
		float: none;
		margin: 60px auto;
	}
}

@media screen and (min-width: 1280px) and (max-width: 3840px) {
	ul {
		list-style-type:none;
  		display:flex;
		flex-wrap: wrap;
  		justify-content: center;
	}
	ul li {
		display: list-item;
	}
	
}