/*
Based on the W3C responsive tutorial page
http://www.w3schools.com/css/css_rwd_grid.asp
*/

/*
// To Do

** Bug fixes **



*/
/*does some resizing box magic thing*/
* {
  box-sizing: border-box;
}

/* ------------------------------ */
/* For mobile phones: */

body {
  background: #041fe6;
  padding: 0;
  margin: 0;
  height: 100vh;
  width: 100vw;
}
img {
  padding-left: 0px;
  padding-right: 0px;

  padding-bottom: 3vw;

  max-width: 100%;
}
.content {
  float: left;
  max-width: 950px;
  margin-right: auto;
  padding: 7vw;
}

.grey {
  background: #041fe6;
}

.site-title {
  font-family: "bebas-neue-pro", sans-serif;
  font-weight: 600;
  font-size: 13.76vw;
  color: #fff;

  white-space: nowrap;
  left: 8.33%;
  font-kerning: normal;
}

.tagline {
  font-size: 1rem;
  color: #fff;
  left: 8.33%;
  padding-bottom: 7vw;
}

.section-header {
  font-family: "bebas-neue-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  background-color: #fff;
  color: #041fe6;
  display: inline-block;
  font-size: 1.4rem;
  margin-left: -5px;
  margin-bottom: 1vw;
  padding-left: 5px;
  padding-right: 5px;
}

.tagline {
  font-family: "bebas-neue-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  color: #fff;
  left: 8.33%;
  padding-bottom: 7vw;
}

.bodyText {
  font-family: "bebas-neue-pro", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 140%;
  font-style: normal;
  color: #fff;
  font-size: 1.3em;
  padding-bottom: 1vw;
}

.fotm-img {
  margin-left: 75%;
  padding-bottom: 9vw;
}

.stave-img {
  width: 100vw;
  height: auto;
}

.right-align {
  /* right hand align text */
  text-align: right;
  line-height: 160%;
}
.dates {
  /* z-index: 2; */
  font-family: "bebas-neue-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  font-size: 1.3rem;
  background-color: #fff;
  color: #041fe6;
  margin-bottom: 130px;
  padding-left: 5px;
  padding-right: 5px;
}
.footer-div {
  margin-top: 7vw;
  border-top: #c3c3c3;
  border-top-style: solid;
}
.documentation-div {
  margin-top: 7vw;
  border-top: #c3c3c3;
  border-top-style: solid;
}
.footer-text,
.documentation-text {
  font-family: "bebas-neue-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  /* background-color: #fff; */
  color: #fff;
  margin-bottom: 3vw;
  padding-top: 15px;
  padding-right: 5px;
  line-height: 165%;
}

.footer-highlight {
  font-family: "bebas-neue-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  background-color: #fff;
  color: #041fe6;
  padding-left: 3px;
  padding-right: 3px;
  margin-left: -3px;
}
a:visited,
a {
  /* background-color: #ffffff; */
  color: #fff;
  text-decoration: none;
  border-bottom-style: dotted;
  padding-bottom: 0.05rem;
  /* padding-right: 5px; */
}

/* -------------------------------- */
/* For tablet */

@media only screen and (min-width: 700px) {
  body {
    padding: 0;
  }
  html {
    /*margin:0;*/
    /*padding:0;*/
    overflow-x: initial;
  }
  .content {
    max-width: 950px;
    margin: auto;
    /* border: 1px solid red; */
  }

  .stave-img {
    width: 100%;
    max-width: 950px;
    height: auto;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  .tagline {
    font-size: 1.6rem;
    padding-bottom: 1.5vw;
  }
  .site-title {
    font-size: 4.6rem;
    padding-bottom: 1.5vw;
  }

  .section-header {
    display: inline-block;
    font-size: 2.7rem;
    background-color: #fff;
    color: #041fe6;
    margin-left: -5px;
    margin-bottom: 1vw;
    padding-left: 5px;
    padding-right: 5px;
  }

  .dates {
    font-size: 1.6rem;
    margin-top: 570rem;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 140%;
  }

  img {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 0px;
    display: block;
    max-width: 100%;
    height: auto;
  }

  .footer-text {
    font-size: 1.1rem;
  }
  a:visited,
  a {
    /* background-color: #ffffff; */
    color: #fff;
    text-decoration: none;
    border-bottom-style: dotted;
    padding-bottom: 0.05rem;
    /* padding-right: 5px; */
  }
}

html {
  overflow-x: hidden;
}
/* -------------------------------- */
/* For desktop */
@media only screen and (min-width: 1068px) {
  body {
    /* background-color: #777; */
    /*overflow-y: scroll;*/
    margin: auto;
    width: 70%;
  }

  .content {
    max-width: 950px;
    margin: auto;
    /* border: 1px solid red; */
  }
  .site-title {
    font-size: 6.6rem;
    padding-bottom: 1.5vw;
    font-style: normal;
    color: #fff;
  }

  .tagline {
    /* font-size: 1.1rem; */
    font-family: "bebas-neue-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.05em;
    color: #fff;
    left: 8.33%;
    padding-bottom: 7vw;
  }

  .nav {
    /*margin-left: 45%;*/
    /*display: inline-block;*/
    line-height: 3.5rem;
  }

  a:visited,
  a {
    /* background-color: #ffffff; */
    color: #fff;
    text-decoration: none;
    border-bottom-style: dotted;
    padding-bottom: 0.05rem;
    /* padding-right: 5px; */
  }

  a:hover {
    background-color: #00f;
  }

  .colophon-img a {
    padding: 0;
  }
  .navLink {
    /*background-color: #000;*/
    color: #fff;
    display: inline;
    font-size: 2rem;
    /*position:fixed;*/
    line-height: 3rem;
    background-color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  .fotm-img {
    margin-left: 75%;
    padding-bottom: 9vw;
  }
  .stave-img {
    width: 100%;
    max-width: 950px;
    height: auto;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  img {
    padding-left: 0px;
    padding-right: 0px;
    /*margin-bottom: -5px;*/
    padding-bottom: 0.8vw;
    /* display: block; */
    max-width: 100%;
    /* height: auto; */
  }

  .blockquote {
    text-align: justify;
  }
}
