/* Fonts */
body, form, label {
    font-family: 'Trebuchet MS', sans-serif;
    height:100%
}

/* Put headers in the center */
h1, h2 {
  text-align: center;
  font-weight: normal;
  font-size: 1.5rem;
}

h1 {
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 2rem;
  color: #777;
}

/* Video & About Settings */
.about {
  position: relative;
  overflow: hidden;
  width: 40%;
  padding-top: 22.5%;
  float: left;
  margin-left: 6%;
  text-align: left;
  font-size: 1.5rem;
}

#video {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* Class for background */
.demo-wrap {
  position: relative;
}

.demo-wrap:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  padding-left:0px;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background-image: url('https://images.pexels.com/photos/242236/pexels-photo-242236.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
  background-repeat: repeat;
  background-position: center;
  background-size: contain;
}

/* Class for content of website */
.demo-content {
  position: relative;
}

.demo-content::after {
  display: table;
  content: "";

}

/* Button Settings */
.dropdown {
  position: relative;
  display: inline-block;
}

.sticky {
  background-color: rgba(0, 82, 102, 0.6);
  position: sticky;
  top:0;
  height: 50px;
  width: 100%;
  z-index:1;

}

.titles {
  color:#fff;
  font-size: 26px;
  text-align: left;
  margin:30px;
  margin-left:70px;
}

.par {
  margin-left:40px;
  margin-top:50px;
  text-align: left;
  font-size: 22px;
  }

.dropdown-content {
  display: none;
  position: absolute;
  margin: 1.5rem;
  min-width: 160px;
  z-index: 1;
  background-color: #a3b18a;
  bottom: -63px;
  width:70%;
  left: 15px;
}

#submitvis {
  padding: 0.38rem 0.75rem;
  border-radius: 10rem;
  color: #fff;
  background-color: #588157;
  border-style: none;
  margin: 0.3rem;
  text-transform: uppercase;
  font-size: 0.5rem;
  letter-spacing: 0.15rem;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* about */
.dropdown_about {
  position: relative;
  display: inline-block;
}

.dropdown_content_about {
  display: none;
  position: absolute;
  margin: 1.5rem;
  min-width: 160px;
  z-index: 1;
  background-color: #a3b18a;
  bottom: 65px;
  width:200px;
  left: -12px;
}

.dropdown_content_about a {
  color: #fff;
  border-style: none;
  margin: 0.3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.5rem;
  letter-spacing: 0.10rem;
}

.dropdown_about:hover .dropdown_content_about {
  display: block;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10rem;
  bottom: 175px;
  color: #fff;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0cf;
  border-radius: 10rem;
  z-index: -2;
}

.button:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #008fb3;
  transition: all 0.3s;
  border-radius: 10rem;
  z-index: -1;
}

.button:hover {
  color: #fff;
}

.button:hover:before {
  width: 100%;
}

#on:after {
  background-color: #008fb3;
}

#on:before {
  background-color: #005266;
}

input[type=checkbox] {
  position: relative;
  vertical-align: left;
  cursor: pointer;
  top: -15px;
  right: 10px;
  margin-right: 10px;
}

input[type=checkbox]:before {
  content: "";
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0;
  border: 2px solid #588157;
  border-radius: 3px;
  background-color: white;
}

input[type=checkbox]:checked:after {
 content: "";
 display: block;
 width: 5px;
 height: 10px;
 border: solid #555555;
 border-width: 0 2px 2px 0;
 -webkit-transform: rotate(45deg);
 -ms-transform: rotate(45deg);
 transform: rotate(45deg);
 position: absolute;
 top: 2px;
 left: 6px;
}

label {
  display: inline-block;
  padding: 0.5rem;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15rem;
  position: relative;
  vertical-align: center;
  overflow: hidden;
  z-index: 1;
}

/* optional reset for presentation */
* {
  font-family: Arial;
  text-decoration: none;
  font-size: 1.25rem;
   box-sizing: border-box;
}

.container {
  padding-top: 3.125rem;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

/* Columns for Meet the team */
.column-title {
  float: left;
  width: 50%;
}
.column {
  float: left;
  width: 50%;
}


/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Image Settings */
.avatars {
  position: relative;
  min-width: 4.5rem;
  max-width: 14.5rem;
  height: auto;
  margin: 3.75rem;
}

.image {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #005266;
  opacity: 70%;
  overflow: hidden;
  width: 0;
  border-radius: 50%;
  height: 100%;
  transition: .5s ease;
}

.avatars:hover .overlay {
  width: 100%;
}

.text {
  color: #fff;
  font-size: 1rem;
  position: relative;
  top: 40%;
  left:50%;
  align:center;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.info {
  font-size: 22px;
  margin-top:215px;
}

span {
  display: block;
  margin-top: 2rem;
  font-size: 0.7rem;
  color: #777;
}

span a {
  font-size: 0.7rem;
  color: #999;
  text-decoration: underline;
}

input{
  border-width: medium;
  border-style: solid;
  border-color:  #008fb3;
  border-radius: 2rem;
}

/* If the screen size is 600px or less, set the font-size of <div> to 30px */
@media only screen and (max-width: 650px) {
  h1 {
    font-size: 0.4rem;
  }
  img {
    height: 40px;
    width: 100px;
  }
  h2, .about {
    font-size: 0.938rem;
  }
  .text {
    font-size: 0.625rem;
  }
  .button, .button-hyper {
    border-radius: 7.5rem;
    padding: 0.56255rem 0.9375rem;
    font-size: 0.375rem;
  }
}

/* FullScreen Settings */

/* Safari */
:-webkit-full-screen {
  background-image: url('https://images.pexels.com/photos/242236/pexels-photo-242236.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
}

/* IE11 */
:-ms-fullscreen {
  background-image: url('https://images.pexels.com/photos/242236/pexels-photo-242236.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
}

/* Standard syntax */
:fullscreen {
  background-image: url('https://images.pexels.com/photos/242236/pexels-photo-242236.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
}