html {
  height: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  color: rgb(218,172,112);
  font-family: "Bai Jamjuree", sans-serif;
  padding-bottom: 10px;
  font-size: 22px;
  line-height: 40px;
}
a {
  color: #f4c796;
}

a:hover {
  color: #fff;
  text-decoration: none;
}

#menu {
  padding-left: 0;
  margin-right: 0;
  background-color: rgba(39, 6, 55, 0.5) !important;
}

#menu a {
  color: #f4c796;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

#menu a:hover {
  color: #fff;
  text-decoration: none;
}

.photos {
  text-align: justify;
  margin-left: -15px;
  margin-right: -15px;
  position: relative;
}

.photos a {
  display: inline-block;
  -webkit-box-shadow: 10px 10px 20px -12px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 10px 10px 20px -12px rgba(0, 0, 0, 0.75);
  box-shadow: 10px 10px 20px -12px rgba(0, 0, 0, 0.75);
  margin-bottom: 25px;
}

.img-thumbnail {
  padding: 0.1rem;
}

.main-text h4 {
  line-height: 32px;
}

#menu {
  margin-top: 10px;
  text-align: center;
  list-style: none;
  font-size: 30px;
  background-color: rgba(0, 0, 0, 0.3);
}

#menu li {
  display: inline-block;
  padding: 10px 30px;
}

.dimmer {
  /*background-color: rgba(0, 0, 0, 0.7);*/
  background-color: black;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -98;
}

.video-background {
  background: #000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -99;
}

.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#vidtop-content {
  top: 0;
  color: #fff;
}

.vid-info {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  padding: 1rem;
  font-family: Avenir, Helvetica, sans-serif;
}

.vid-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.2;
}

.vid-info a {
  display: block;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.6s background;
  border-bottom: none;
  margin: 1rem auto;
  text-align: center;
}

h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

h2 {
  font-size: 22px;
}

@media (min-aspect-ratio: 16/9) {
  .video-foreground {
    height: 300%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .video-foreground {
    width: 350%;
    left: -100%;
  }
}

@media all and (max-width: 600px) {
  .vid-info {
    width: 50%;
    padding: 0.5rem;
  }

  .vid-info h1 {
    margin-bottom: 0.2rem;
  }
}

@media all and (max-width: 500px) {
  .vid-info .acronym {
    display: none;
  }
}

@media only screen and (max-width: 1600px) {
  #menu {
    font-size: 26px;
  }

  #menu li {
    display: inline-block;
    padding: 10px 20px;
  }
}

@media only screen and (max-width: 1100px) {
  #menu {
    font-size: 22px;
    margin-top: -10px;
  }

  #menu li {
    display: inline-block;
    padding: 5px 10px;
  }

  .logo {
    max-width: 250px;
  }

  .logo-div {
    margin-top: -26px !important;
    margin-bottom: 30px !important;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }
}

#menu-trigger {
  display: none;
  font-weight: bold;
  line-height: 30px;
  font-size: 26px;
  color: #f4c796;
  background-color: rgba(39, 6, 55, 0.5) !important;
}

.main-text {
  margin-top: 90px;
}

@media only screen and (max-width: 799px) {
  #menu {
    position: absolute;
    display: none;
    width: 100%;
    background-color: rgba(39, 6, 55, 0.6);
    z-index: 99999;
  }

  #menu li {
    display: block;
    border-bottom: 1px solid #333;
    width: 100%;
  }

  #menu li:last-child {
    border-bottom: 0;
  }

  #menu li a {
    display: block;
    width: 100%;
  }

  #menu-trigger {
    display: block !important;
    background-color: rgba(0, 0, 0, 0.4);
    border: 0;
  }

  .main-text {
    margin-top: 40px;
  }
}

@media only screen and (min-width: 800px) {
  .logo {
    max-width: 350px;
  }

  #menu {
    display: block;
  }
}

#credits {
  text-align: center;
  color: #fff;
  position: fixed !important;
  bottom: 0;
  font-size: 11px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 3px 0 5px 0;
}

#credits a {
  color: #eee !important;
}