@charset "UTF-8";

@font-face {
    font-family: Bebas;
    src: url('../fonts/BebasNeue.otf') format('opentype');
}

html, body, h1, h2, p, span {
	padding: 0px;
	margin: 0px;
	-webkit-margin-before: 0em;
	-webkit-margin-after: 0em;
}
/*Scrollbar stuff */

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background-color: black;
}
::-webkit-scrollbar-thumb {
    background-color: #2c2d2e;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #fff;
}
::-webkit-scrollbar-corner {
  background: black;
}

/*Overall Styling */

body {
	background-image: url("../img/Ocean_Pixelbg.jpg");
	background-attachment: fixed;
	background-position: center center;
}

h1 {
	font-family: "Bebas", sans-serif;
	font-size: 2em;
}

h2 {
	font-family: "Bebas", sans-serif;
}
h3 {
	font-family: "Lato", sans-serif;
	font-weight: 900;
	text-align: right;
	text-transform: uppercase;
	color: white;
	-webkit-margin-before: 0.5em;
}

p {
	font-family: "Lato", sans-serif;
	font-weight: 300;
	line-height: 1.65em;
	-webkit-margin-after: 1em;
	color: white;
}

p a, p a:active {
	color: white;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	font-family: "Lato", sans-serif;
        font-style: italic;
	font-weight: 300;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

p a:hover {
	border-bottom: 2px solid white;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

/*Menu Stuff */

header {
	width: 100%;
	height: 50px;
	position: fixed;
	z-index: 5;
	color: white;
	text-transform: uppercase;
	background: #014c73;
	-webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
}

#logo {
	float: left;
	width: 150px;
	height: 50px;
	background: url(../img/logo.png) no-repeat center;
	display: block;
}

nav {
	float: right;
	padding: 15px;
}

nav ul {
	list-style: none;
	margin-top: -15px;
}

nav li {
	float: left;
}

nav li a {
	color: white;
	text-decoration: none;
	font-family: "Lato", sans-serif;
	font-weight: 300;
	display: inline-block;
	padding: 15px 30px 16px 30px;
	background-color: transparent;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

nav li a:hover {
	background-color: white;
	color: #014c73;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

#menu-icon {
	display: hidden;
	width: 50px;
	height: 50px;
	background: url(../img/menu.png) center;
	margin-top: -15px;
}

/*First Section */

#sectone {
	width: 100%;
	height: 100vh;
	background-color: #014c73;
	background-image: url("../img/Pixels_Pattern.png");
    background-repeat: repeat;
	position: relative;
	z-index: 10;
	overflow: hidden;
	-webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
}

#open {
	width: 550px;
	position: absolute;
	left: 50%;
	margin-left: -275px;
	top: 31%;
	color: white;
	font-size: 4em;
	text-transform: uppercase;
	text-align: center;
	overflow: hidden;
}

.button {
	position: relative;
  	display: inline-block;
  	vertical-align: top;
  	overflow: hidden;
  	padding: 10px 20px;
  	margin-top: 27px;
  	border: solid 2px white;
  	font-family: "Lato", sans-serif;
	font-weight: 900;
	font-size: 0.25em;
  	text-transform: uppercase;
  	text-decoration: none;
  	letter-spacing: 2px;
  	color: white;
  	transition: .25s;
  	-webkit-transition: .25s;
}

.button:before {
  	content: '';
  	position: absolute;
  	top: 0;
  	right: 120%;
  	height: 100%;
  	width: 200%;
  	background: white;
  	transform: skewX(-45deg);
  	transition: inherit;
}
.button:hover {
  	color: #03989c;
  	border-bottom: 2px solid white;
}
.button:hover:before {
  	right: -20%;
}

.button span {
  position: relative;
}

/*Second (about) Section */

#secttwo {
	width: 90%;
	padding: 5%;
	margin: 5% 0 5% 0;
	background: transparent;
}

#twocontent {
	width: 50%;
	padding: 5%;
	border: 2px solid white;
	color: rgba(255,255,255,0.75);
	background-color: rgba(0,0,0,0.25);
	position: relative;
}

#twocontent h1 {
	font-size: 2.5em;
	color: white;
}

/*Third (gallery) section */

#sectthree {
	width: 90%;
  	padding: 5%;
  	display: -ms-flexbox;
  	-ms-flex-wrap: wrap;
  	-ms-flex-direction: column;
  	-webkit-flex-flow: row wrap; 
  	flex-flow: row wrap; 
  	display: -webkit-box;
  	display: flex;
	background: black;
    position: relative;
    z-index: 4;
    -webkit-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
	box-shadow: 0px 0px 10px 3px rgba(0,0,0,0.5);
}

.thumbs {
	-webkit-box-flex: auto;
  	-ms-flex: auto;
  	flex: auto;
  	width: 400px; 
  	margin: 1%; 
	position: relative;
	overflow: hidden;
}

.thumbs h2 {
	font-size: 2.5em;
}


.thumbs img {
	width: 100%;
	height: auto;
}

.thumbinfo {
	width: 100%;
	height: 99%;
	position: absolute;
	top: 100%;
	color: white;
	background-color: rgba(3, 152, 156, 0);
	text-align: center;
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

.thumbs:hover .thumbinfo {
	top: 0%;
	background-color: rgba(3, 152, 156, 0.9);
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

.thumbs:hover img {
	filter: blur(5px);
	-webkit-filter: blur(5px);
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
}

.thumbinfo h2 {
	position: relative;
	margin-top: 35%;
	opacity: 1;
}

.thumbinfo p {
	margin: 5%;
	margin-top: 0px;
}

/* Fourth (contact) */

#sectfour {
	width: 90%;
	height: auto;
	padding: 5%;
	background: #017b90;
	display: -ms-flexbox;
  	-ms-flex-wrap: wrap;
  	-ms-flex-direction: column;
  	-webkit-flex-flow: row wrap; 
  	flex-flow: row wrap; 
  	display: -webkit-box;
  	display: flex;
}

.contact {
	-webkit-box-flex: auto;
  	-ms-flex: auto;
  	flex: auto;
  	width: 400px; 
  	margin: 1%; 
	position: relative;
	color: white;
}

.contact:nth-child(1) {
	margin-top: 10%;
}

.contact h2 {
	text-transform: uppercase;
	font-size: 3em;
}

label {
	font-family: "Bebas", sans-serif;
	font-size: 2em;
	color: white;
	display:block;
    margin-top:20px;
    text-align: right;
}

input, textarea {
	padding: 2%;
	margin-top: 10px;
	width: 96%;
	background: transparent;
	border: 2px solid white;
	font-family: "Lato", sans-serif;
	font-weight: 300;
	color: white;
	font-size: 1em;
}

textarea {
	height: 200px;
}

input:focus, textarea:focus {
    background-color: rgba(255,255,255,0.2);
    outline: none;
}

#submit {
	padding: 10px 20px 10px 20px;
	margin-top: 3em;
	float: right;
	width: auto;
	display: block;
	background: none;
	border: 2px solid white;
	text-transform: uppercase;
	color: white;
	transition: all 0.25s;
	-webkit-transition: all 0.25s;
	cursor: pointer;
}

#submit:hover {
	background: rgba(255,255,255,0.2);
	transition: all 0.25s;
	-webkit-transition: all 0.25s;
}

#sectfour img {
	display: inline-block;
	height: 20px;
	margin: 0px 5px 0px 50px;
	position: relative;
}

/*Footer */

footer {
	width: 100%;
	height: 40px;
	padding: 30px 0px 20px 0px;
	background: #014c73;
	text-align: center;
	position: relative;
    z-index: 4;
	-webkit-box-shadow: 0px 4px 10px 3px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 4px 10px 3px rgba(0,0,0,0.5);
	box-shadow: 0px 4px 10px 3px rgba(0,0,0,0.5);
}

footer img {
	display: inline-block;
	margin: 0% 1% 0% 1%;
	height: 25px;
	position: relative;
}

footer a:hover {
	border-bottom: 2px solid transparent;
}

/* Pseudo Elements */

::-webkit-input-placeholder {
   color: rgba(255,255,255,0.3);
}
:-moz-placeholder { /* Firefox 18- */
   color: rgba(255,255,255,0.3);  
}
::-moz-placeholder {  /* Firefox 19+ */
   color: rgba(255,255,255,0.3);  
}
:-ms-input-placeholder {  
   color: rgba(255,255,255,0.3);  
}

/* Media Queries */

@media (max-width: 750px) {

	#menu-icon {
		display:inline-block;
	}

	nav ul {
		display: none;
		position: absolute;
		background: black;
		width: 100%;
		top: 65px;
		left: 0px;
		padding: 0px;
		z-index:4;
	}

	nav li {
		text-align: right;
		width: 100%;
		border-bottom: 1px solid #2B2B2B;
	}

	nav li a:hover {
		background-color: transparent;
		color: #03989c;
		transition: all 0.5s;
		-webkit-transition: all 0.5s;
	}
  
	#twocontent {
		width: 90%;
	}

	.thumbs h2 {
	font-size: 2em;
}
}

