@font-face {
  font-family: 'Bebas Neue';
  src: url(BebasNeue-Light.otf);
}
@font-face {
  font-family: 'Bebas Neue';
  src: url(BebasNeue-Bold.otf);
  font-weight: bold;
}
@font-face {
  font-family: 'Merriweather Italic';
  src: url(Merriweather-RegularItalic.ttf);
}
@font-face {
  font-family: 'Merriweather Regular';
  src: url(Merriweather-Regular.ttf);
}

body { 
  background: #000000; 
  font-family: 'Bebas Neue';
  font-size: 12px;
  color: #545250;
  margin: 0;
  padding: 0;
}

a {
  color: #003050;
  text-decoration: none;
}

.textblock {
  margin: 94px 15% 0 15%;
}
.header {
  color: #000000;
  font-size: 64px;
  letter-spacing: 0px;
}
.header b {
  color: #ffffff;
  font-size: 64px;
  letter-spacing: 2px;
}

.qotd {
  color: #401000;
  font-family: 'Merriweather Italic';
  font-size: 16px;
  line-height: 28px;
  margin: 32px 0 0 0;
  max-width: 500px;
}
.qotd::before {
  position: absolute;
  margin: 12px 0 0 -38px;
  content: '\2018\2018';
  font-family: 'Times New Roman';
  font-size: 72px;
  letter-spacing: -8px;
  color: #ffffff;
}
.qotd::after {
  position: absolute;
  margin: 20px 0 0 0;
  content: '\2019\2019';
  font-family: 'Times New Roman';
  font-size: 72px;
  letter-spacing: -8px;
  color: #ffffff;
}
.author {
  color: #401000;
  font-family: 'Merriweather Regular';
  font-size: 12px;
  line-height: 28px;
  margin: 3px 0 0 32px;
  max-width: 500px; 
}
.author::before {
  content: '\2014';
}

.container {
  position: relative;
  height: 512px;
  max-width: 1600px;
}

.overlay {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 512px;
}

.backdrop {
  background: url('sunset.jpg');
}

.layer2 {
   background: url('layer2.png');
  -webkit-animation: 30s scroll infinite linear;
  -moz-animation: 30s scroll infinite linear;
  -o-animation: 30s scroll infinite linear;
  -ms-animation: 30s scroll infinite linear;
  animation: 30s scroll infinite linear;
  top: 256px;
  height: 256px;
}

.layer3 {
   background: url('layer3.png');
  -webkit-animation: 12s scroll infinite linear;
  -moz-animation: 12s scroll infinite linear;
  -o-animation: 12s scroll infinite linear;
  -ms-animation: 12s scroll infinite linear;
  animation: 12s scroll infinite linear;
  top: 332px;
  height: 180px;
}

.layer4 {
   background: url('cloud.png');
  -webkit-animation: 120s scroll infinite linear;
  -moz-animation: 120s scroll infinite linear;
  -o-animation: 120s scroll infinite linear;
  -ms-animation: 120s scroll infinite linear;
  animation: 120s scroll infinite linear;
  height: 140px;
}

@-webkit-keyframes scroll { 100% { background-position: -1600px 0px; } }
@-moz-keyframes scroll { 100% { background-position: -1600px 0px; } }
@-o-keyframes scroll { 100% { background-position: -1600px 0px; } }
@-ms-keyframes scroll { 100% { background-position: -1600px 0px; } }
@keyframes scroll { 100% { background-position: -1600px 0px; } }

#popup {
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0,0,1, 0.6);
  display: none;
}
#popup img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  max-width: 100%;
  box-shadow: 32px 32px 128px #000;
}

.subheader {
  background: #101416;
  color: #c4c7cd;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 0;
  padding: 16px 0 12px 24px;
}
.subheader b {
  color: #ffffff;
}

.subcontent {
  padding: 32px 5% 48px 5%;
  background: #303234;
  color: #c0c4c8;
  font-family: 'Merriweather Regular';
  font-size: 18px;
  line-height: 32px;
  text-align: center;
}
.subcontent b {
  font-family: 'Bebas Neue';
  font-size: 20px;
  letter-spacing: 2px;
}
.subcontent.light {
  background: #c4c7cd;
  color: #303030;
}


.scroller {
  background: #000;
  text-align: center;
  margin: 32px;
}

.scroller img.thumb {
  height: 100px;
  margin: 6px;
  border: solid 3px #000000;
  vertical-align: top;
}
.scroller img.thumb:hover {
  border: solid 3px #f0b010;
}

.mainbox {
  width: 450px;
  margin: 32px 32px 48px 32px;
  display: inline-block;
  vertical-align: top;
  font-family: 'Merriweather Regular';
  font-size: 15px;
  text-align: left;
  padding-left: 20px;
}
.mainbox.line {
  border-left: solid 1px #505050;
}
.mainbox.line.light {
  border-left: solid 1px #a0a0a0;
}
.link {
  display: inline-block;
  margin: 8px 0 8px 0;
}
.iconlink {
  margin-left: 32px;
  padding-left: 4px;
}
.iconlink_img {
  position: absolute;
  margin: 4px 0 0 0px;
  width: 24px;
  height: 20px;
}

