body, html {
  height: 100%;
  margin: 0;
  color: #FF9B16;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  line-height: 2;
}

.newsreader {
  font-family: "Newsreader", serif;
  font-style: normal;
}

.bgimg {
  position: relative;
  opacity: 0.85;
  min-height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bgimg-1 {
  background-image: url("img/whiskey-glass.gif");
}

#bgimg-2 {
  background-image: url("img/whiskey-barrel-background.jpg");
}

#bgimg-3 {
  background-image: url("img/smoke.gif");
}

#bgimg-4 {
  background-image: url("img/whiskey-glass.jpg");
  position: relative;
  opacity: 0.85;
  min-height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Caption styles */
.caption {
    margin: auto;
    width: 33%;
    border: 2px solid white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    padding: 3%;
/*    background-color: #3D3833;*/
    color: #fff;
    font-size: 2.1em;
    letter-spacing: 10px;
    line-height: 1.1em;
}

/* Text colors and alignments */
.history-text {
    background-color: transparent;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 5px;
    color: #FF8D11;
}

.how-to-text {
    background-color: transparent;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 5px;
    color: #0752FF;
}

/* Content Box Styling */
.content-box {
    color: #33302D;
    background-color: #D59741;
    text-align: justify;
    padding: 2%;
}

.content-1 {
    background-color: #D59741;
}

.content-2 {
    background-color: #282E34;
    color: #FFA11E;
}

.content-3 {
    background-color: #D59741;
    color: #33302D;
}

/* Heading styles */
.section-title {
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 3%;
}

/* Links inside paragraphs */
#closing a {
    color: #0752FF;
    text-decoration: none;
}

#closing a:hover {
    text-decoration: underline;
}

h2 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 2em;
  color: #111;
}

h3 {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 1.6em;
}

p {
  padding-left: 15%;
  padding-right: 15%;
}

#closing div {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 1.3em;
  color: white;
}

#closing {
  width: auto;
  position: absolute;
  bottom: 3%;
  right: 3%;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: right;
/*  font-size: 2em;*/
  color: white;
}

a:link {
  color: white; 
  background-color: transparent; 
  text-decoration: none;
}

a:visited {
  color: #D57923;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #FF7A01;
  background-color: transparent;
  text-decoration: underline;
}


/* Turn off parallax scrolling for tablets and phones */

/* mobile size*/
    @media only screen and (max-width: 600px) {
    .bgimg-1, .bgimg-2, .bgimg-3 .bgimg-4 {
    background-attachment: scroll;
    }
  }

    /* tablet size*/
    @media only screen and (min-width: 600px) and (max-width: 900px) {
    .bgimg-1, .bgimg-2, .bgimg-3 .bgimg-4 {
    background-attachment: scroll;
      }
    }


    /* desktop size*/
    @media only screen and (min-width: 901px) {
      .bgimg-1, .bgimg-2, .bgimg-3 .bgimg-4 {
    background-attachment: scroll;
      }

    }