/*
**  Reset
**
**  Based on http://meyerweb.com/eric/tools/css/reset/
**********************************/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  color: #d99647;
  line-height: 1.5;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/*END RESET*/


/*
**  Base styles
**********************************/

body {
  display: flex;
  flex-direction: column;
  width: 100vw;
  min-height: 100vh;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  background-color: black;
}

body {
  background: black; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(#171218, #191c2a); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(#171218, #191c2a); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(#171218, #191c2a); /* For Firefox 3.6 to 15 */
  background: linear-gradient(#171218, #191c2a); /* Standard syntax */
}

a {
  color: #497ab2;
  text-decoration: none;
  cursor: pointer;
}
a:visited {
  color: #497ab2;
}
a:hover {
  color: #febc14;
}
a:active {
  color: white;
}

/*orange fe7d13*/
h1 {
  color: #ffcc66;
  font-size: 28px;
  margin: 16px 0 8px 0;
}

h2 {
  color: #ffcc66;
  font-size: 18px;
  margin: 16px 0 8px 0;
}


strong {
  color: #fe7d13;
  font-weight: 500;
}

hr {
  border: 0;
  margin: 24px;
}


/*
**  HEADER
**********************************/
header {
  padding-top: 24px;
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
  background-image: url(../img/star-mountain-background-glow.jpg);
  background-repeat: repeat-x;
  background-position: bottom center;
  background-size: auto 100%;
}
header .logo {
  max-width: 90%;
  height: auto;
  margin: 2vh 0 4vh 0

}
nav {
  text-align: center;
}

nav {
  margin: 4px;
  font-size: 18px;
}

nav a {
  text-decoration: none;
  margin: 4px;
}

nav a,
nav a:visited {
  color: #ffcc66;
}

nav a:hover,
nav a[selected],
nav a[selected]:visited {
  color: #feb008;
  border-bottom: 2px solid #feb008;
}

nav a:active {
  color: white;
}

/*
**  Footer
**********************************/

footer {
  text-align: center;
  color: gray;
  padding: 24px;
  font-weight: 300;
  font-size: 10px;
  background-color: black;
}

/*
**  Trapeze
**********************************/

main {
  flex: 1;
  display: flex;
  flex-direction: row;
}

.splashImage {
  flex: 1;
  background-image: url(../img/hands-off.png);
  background-repeat: no-repeat;
  /*background-position: right 0 top 0;*/
  background-size: contain;
  padding: 0 20%;
}

.splashImage .spacer {
  width: 100%;
  height: auto;
}

.textContainer {
  flex: 4;
  margin: 0 18px 0 18px;
}

.textContainer .textBox {
  max-width: 400px;
}

.textContainer .text {
  padding: 8px;
  background-image: url(../img/diagonal-stripes.png);
}

.textContainer .text h1:first-child {
  margin-top: 0;
}

/*
**  Photo gallery
**********************************/

/*LIST*/
/*.photogallery {
  display: block;
  background-image: url(../img/diagonal-stripes.png);
  margin: 16px;
  border-radius: 10px;
}

figcaption {
  display: none;
}*/

.photogallery {
  display: block;
  background-image: url(../img/diagonal-stripes.png);
  margin: 16px auto;
  padding: 16px 0;
  border-radius: 10px;
  text-align: center;
  max-width: 95vw;
}

.photogallery figure {
  display: inline-block;
  margin: 5px;
}

.photogallery img {
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.24);
}

/*.photogallery img:hover {
  transition: all 0.6s ease;
  margin: -2px 2px 2px -2px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.12), 2px 4px 2px rgba(0, 0, 0, 0.24);
}
*/
figcaption {
  display: none;
}

/*.photogallery a:hover {
  border: 1px solid white;
}*/

.tint:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,255,255, 0.5);
  transition: all .3s linear;
}

.tint:hover:before {
  background: none;
}

/*
**  Videos
**********************************/

.videoBox {
  margin: 24px auto;
  width: 90vw;
  max-width: 640px;
}

.videos {
  background-image: url(../img/diagonal-stripes.png);
  padding: 24px;
  text-align: center;
}

.video-container {
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
  margin: 24px;
}

.video-container iframe {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

/*
**  Contact
**********************************/

label {
  display:block;
  margin-top:20px;
  margin-bottom: -3px;
  letter-spacing:2px;
}

input,
textarea {
  width: 100%;
  border: none;
  margin: 4px 4px 4px 0;
  background-color: rgba(0, 0, 0, .8);
  color: #feb008;
  padding: 4px;
}

textarea {
  height: 200px;
}

#submit:hover {
  opacity: .7;
}

.contactBox {
  margin: 24px auto;
  width: 90vw;
  max-width: 400px;
}

.contact {
  background-image: url(../img/diagonal-stripes.png);
  padding: 8px 24px;
}

/*
**  Responsive
**********************************/

@media (max-width: 800px) {
  main {
    display: block;

  }

  .textContainer .borderBox {
    margin: auto;
  }
}

@media (max-width: 500px) {
  nav a {
    font-size: 12px;
  }
  header .logo {
    margin: 1vh 0 1vh 0;
  }
}
