@charset "UTF-8";
/* CSS Document */

nav {
	float: right;
	padding-right: 20px;	
}

body {
	max-width: 1024px;
	margin-left: auto;
	margin-right: auto;
	font-family: "DejaVu Serif;
	}

nav ul li {
	list-style-type: none;
	padding-left: 20px;
	text-align: right;
}

nav ul li a {
	text-decoration: none;
	color: #2BA273;
}

.hero-box {
	height: 338px;
	background-color: #FF00D7;
	background-image: url(images/hero-image.jpg);

	background-size: cover;
	margin: 1%;
}
.thumbnail:hover {
    position:relative;
    top:-25px;
    left:-35px;
    width:500px;
    height:auto;
    display:block;
    z-index:999;
}
h1 {
	color: #FEFEFE;	
	font-size: 55px;
	padding-top: 120px;
	padding-left: 60px;
}

.col img {
	width: 100%;
	height: auto;
	display: block;
}

.col {
	width: 31.3%;
	float: left;
	margin: 1%;
}

.video-section {
	position: relative;
	width: 99%;
	max-height: 440px;
	overflow: hidden;
	height: 70%;
              } 
              #video-elem { 
                 width: 99.9%; 
              } 
              video::-webkit-media-controls { 
                  display:none !important; 
              } 
             .video-overlay { 
                  position: absolute; 
                 top: 0; 
                  right: 0; 
                 bottom: 0; 
                  left: 0; 
                  background-color: rgba(255, 255, 255, 0.8); 
                  opacity: 0; 
                  transition: opacity 0.3s ease; 
              } 
              .video-overlay:hover { 
                  opacity: 2; 
              } 
              .video-overlay h1 {
	position: absolute;
	left: 431px;
	top: 41px;
	transform: translateX(-50%) translateY(-50%);
	text-transform: uppercase;
	font-size: 3em;
	color: #000;
	text-align: center;
	height: -28px;
              } 





/*TABLET*/
@media (max-width:768px){
	h1 {
		font-size: 40px;
		text-align: center;
		padding-left: 0px;
	}
	
	.col {
		width: 48%;
	}
}


/*MOBILE*/
@media (max-width:400px){
	h1 {
		font-size: 28px;
	}
	.col {
		width: 98%;
	}
	.hidden-xs {
		display: none;
	}
}
