* {
  box-sizing: border-box;
}


html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: sans-serif;
  font-size: 15px;
  color: #777;
  line-height: 1.8em;
  overflow: auto;
}
 
h1, h2, h3, h4, h5, h6 {
  font-family: sans-serif;
  font-weight: 400;
  margin: 1em 0;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1.1rem; }

h1, h2 {
  color: #fff;
  text-shadow: 0.08em 0.08em #000000;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-flow: row wrap;
  align-items: flex-start;
  align-content: center;
  justify-content: space-around;
  z-index: 10;
}

nav hr {
  margin: 0;
  height: 0;
  border: 0;
  flex-grow: 1;
  flex-shrink: 1;
}

nav a {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 0.5em 1em;
  text-decoration: none;
  color: #bdbdbd;
}

nav a img {
  height: 32px;
}

nav a:visited {
  color: #bdbdbd;
}

nav a:hover {
  color: black;
  background: #dcdcdc;
}

header {
  background-image: url(images/bg/canoe_bg.jpg);
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  color: #f4f4f4;
  padding: 3rem 1rem;
}

header p {
  width: 74%;
}

p {
  width: 100%;
}

section {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  align-content: center;
  justify-content: center;
  width: 100%;
  padding: 3rem;
}

#about {}

#MtS {
  background-image: url(images/bg/MTS_bg.jpg);
}

#TapAndDie {
  background-image: url(images/bg/watch_bg.jpg);
}

#wheel {
  background-image: url(images/bg/hall_bg.jpg);
}

#gallery {}

photo-gallery {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  align-content: center;
  justify-content: center;
}

photo-gallery img {
  margin: 0.5rem;
  height: 300px;
  box-shadow: 0 0 1rem 0 rgba(0,0,0,0.5);
  cursor: zoom-in;
}

footer {
  padding: 1em;
  background: #111;
  text-align: center;
}

.center {
  text-align: center;
}

.parallax {
  min-height: 100%;
  opacity: 0.7;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 1rem 0 rgba(0,0,0,0.5);
}

.vid {
  border: 0;
  box-shadow: 0 0 1rem 0 rgba(0,0,0,0.5);
}

@media screen and (max-width: 359px) {
  body {
    font-size: 12px;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
  
  photo-gallery img {
    width: calc(100% - 1rem);
    height: auto;
  }
  
  .vid {
    width: 272px;
    height: 153px;
  }
}

@media screen and (min-width: 360px) and (max-width: 539px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
  
  photo-gallery img {
    width: calc(100% - 1rem);
    height: auto;
  }
  
  .vid {
    width: 340px;
    height: 191px;
  }
}

@media screen and (max-width: 720px) {  
  header p {
    width: calc(100% - 1rem);
  }
}

@media screen and (max-width: 1080px) {
  nav a {
    flex-basis: 33%;
  }
  
  nav hr {
    flex-basis: 100%;
  }
  
  header {
    padding-top: 5rem;
  }
}

@media screen and (min-width: 540px) and (max-width: 1279px) {
  body {
    font-size: 20px;
  }

  .vid {
    width: 512px;
    height: 288px;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1919px) {
  body {
    font-size: 25px;
  }
  
  .vid {
    width: 640px;
    height: 360px;
  }
}

@media screen and (min-width: 1920px) and (max-width: 3839px) {
  body {
    font-size: 40px;
  }
  
  h1 { font-size: 8rem; }
  h2 { font-size: 5rem; }
  h3 { font-size: 3rem; }

  photo-gallery img {
    height: 500px;
  }

  .vid {
    width: 1280px;
    height: 720px;
  }
}

@media screen and (min-width: 3840px) {
  body {
    font-size: 75px;
  }
  
  photo-gallery img {
    height: 1000px;
  }
  
  h1 { font-size: 12rem; }
  h2 { font-size: 8rem; }
  h3 { font-size: 6rem; }
  
  .vid {
    width: 1920px;
    height: 1080px;
  }
}
