* {
  margin: 0; padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#container {
  overflow: hidden;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

#background_video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  height: 100%; width: 100%;
}

@media (max-width: 1024px) {
  #background_video {
    display: none;
  }

  #video_cover{
    display: block !important;
  }

}


#video_cover {
  position: absolute;
  width: 100%; height: 100%;
  background: url('../images/video_cover.jpg') no-repeat;
  background-size: cover;
  background-position: center;
  display: none;
}

#video_controls {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
}

#play img {
  width: 100px;
}
#pause img {
  width: 90px;
}
#pause {
  display: none;
}

@media (min-width: 768px) {
  #video_controls {
    display: none;
  }
}

/* Demo page specific styles */

body {
  text-align: center;
  font-family: 'proxima-nova', Helvetica;
}

#container {
  height: 100%;
}

#overlay {
  position: absolute;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
}

#main_content {
  z-index: 2;
  position: absolute;

  /* Vertical center */
  top: 80%;
  left: 0;
  width: 100%;
  display: none;
}

#main_content h1 {
  text-transform: uppercase;
  font-weight: 600;
  font-family: 'proxima-nova-condensed', Helvetica;
  color: #fff;
  font-size: 35px;
}

#main_content .sub_head {
  color: rgba(255,255,255,0.5);
  font-size: 18px;
}

#main_content .info {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  margin-top: 10px;
}

#links {
    width: 95%;
    margin: 0 auto;
}

#links a {
  border: 2px solid #17344c;
  border-radius: 61px;
  color: #17344c;
  font-size: 24px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 22px 25px;
  display: inline-block;
  width: 400px;
  background-color: rgba(255,255,255, 0.5);
  font-weight: normal;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}

#links a.active {
  border: 2px solid #FFF;
  color: #FFF;
  /*background-color: rgba(0,0,0,1);*/
  background-color: #17344c;
}

@media screen and (min-width: 436px) and (max-width: 1024px) {
  #main_content {
    top: 75%;
    width: 100%;
  }

  #links a {
    font-size: 15px;
    width: 48%;
    float: left;
    margin-right: 7px;
    margin-left: 0px;
  }
}


@media screen and (max-width: 435px) {
  #main_content {
    top: 65%;
    width: 100%;
  }
  
  #links a {
    width: 90%;
    margin-bottom: 20px;
    font-size: 17px;
  }
}
