html {
  background-color: #fff8e8;
}

body {
  font-family: "Jost", sans-serif;
  color: #000000;
  font-size: 18px;
  line-height: 1.5;
}

/* --- Responsive Sidebar navigation adapted from W3.CSS Templates --- */
.w3-bar-block {
  display: flex;
  justify-content: left;
  padding-top: 80px;
  display: none;
  z-index: 2;
  width: 20%;
  min-width: 300px;
}

.w3-bar-item {
  padding: 8px;
  width: auto;
  border: none;
  display: block;
  outline: 0;
  width: 100%;
  white-space: normal;
  font-size: 24px; /*  Menu items font size  */
}

.w3-bar {
  width: 100%;
  overflow: hidden;
}

/* .w3-top,
.w3-bottom {
  position: fixed;
  width: 100%;
  z-index: 1;
} */

.w3-top {
  top: 0;
  font-size: 48px; /* Hamburger bars size */
}

.w3-card {
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.w3-sidebar {
  height: 100%;
  width: 200px;
  background-color: #fcd581;
  position: fixed !important;
  z-index: 1;
  overflow: auto;
}

.w3-animate-left {
  position: relative;
  animation: animateleft 0.4s;
}

@keyframes animateleft {
  from {
    left: -300px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}
/* The @keyframes CSS at-rule controls the intermediate steps in a CSS animation
sequence by defining styles for keyframes (or waypoints) along the animation
sequence. */

.w3-button {
  border: none;
  display: inline-block;
  padding: 8px 16px;
  vertical-align: middle;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background-color: inherit;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.w3-button {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.w3-button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

.hero-banner {
  display: flex;
  justify-content: center;
}

/* --- Typographical Scales --- */

/* Viewport is the browser window size. 1vw = 1% of viewport width. */
header h1 {
  /* 64px is 3.333%  of 1920px */
  font-size: 5.333vw;
}
header h2 {
  /* 40px is 2.083%  of 1920px */
  font-size: 2.083vw;
}

.shine {
  /*  Call to action color  */
  color: #990d35;
}

.step {
  font-weight: bold;
  color: #990d35;
}

h1 {
  font-family: "Spicy Rice", serif;
  font-weight: 400;
  font-style: normal;
}

h2,
h3 {
  font-family: "Lexend Deca", sans-serif;
  color: #2d4739;
}

h2,
h3 {
  line-height: 1;
  margin: 40px 0;
}
h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  margin-bottom: 18px;
}

/* layout */

nav {
  background-color: #fff;
  width: 100%;
}

.w3-bar-item:link,
.w3-bar-item:visited {
  color: #2d4739;
  text-decoration: none;
}

.w3-bar-item:hover,
.w3-bar-item:active {
  color: #990d35;
  text-decoration: underline;
}

header {
  margin-top: 80px; /* Space for the nav on page load */
}

/*  Places the content image in the bg with the headings on top  */
.header-bg-wrap {
  overflow: hidden;
  position: relative;
}

.header-bg-image {
  opacity: 0.25;
  /*The opacity property specifies the opacity/transparency of an element.*/
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
}

.header-content {
  height: 46.296vh; /* Roughly 500px of 1080px high screen */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main,
.bg-container {
  width: 71%;
  margin: 20px auto;
}

main {
  padding-top: 20px;
  overflow: hidden;
}

.content {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.banner {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

article img {
  border: none;
  -webkit-box-shadow: 3px 3px 7px #777;
  -moz-box-shadow: 3px 3px 7px #777;
}

.type {
  padding-top: 22px;
}

#article {
  color: #990d35;
}

.three-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.image-container {
  width: 70%;
  margin: 0 auto;
}

/* .image-container {
  width: 100%;
  height: auto;
  margin: 0 auto;
  align-items: center;
  align-self: center;
} */

footer {
  padding: 40px 0;
  margin-top: 24px;
  background-color: #2f2504;
}

footer ol {
  font-size: 20px;
  text-align: center;
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

footer ol li {
  margin: 10px;
  display: block;
  /*Makes the li selectable up the to the edge of the margins*/
}

footer ol {
  flex-direction: column;
}

footer a:link,
a:visited {
  color: #fff8e8;
  text-decoration: none;
}

footer a:hover,
a:active {
  color: #ffe4a6;
  text-decoration: underline;
}

/* -- Code for the Cookie Compliance popover window -- */

#cookiePopup {
  background-color: #fcd581;
  position: absolute;
  left: 5%;
  bottom: 0;
  font-size: 14px;
  width: 90%;
  box-shadow: 0 0 2em rgba(5, 0, 31, 0.15);
  font-family: "Poppins", sans-serif;
  text-align: justify;
  line-height: 1.8em;
  margin: 0 auto;
  padding: 2em 1.4em;
  border-radius: 6px;
  transition: all 0.5s ease-in-out;
}

#cookiePopup p {
  text-align: center;
  margin: 1.4em 0;
}
#cookiePopup button {
  background-color: #fff8e8;
  border: none;
  color: #2d4739;
  font-size: 1.2em;
  padding: 1em 1.4em;
  display: block;
  position: relative;
  margin: auto;
  border-radius: 5px;
}
#cookiePopup a {
  color: #2d4739;
}

.hide {
  visibility: hidden;
}
.show {
  visibility: visible;
}

aside a:link,
aside a:visited {
  font-weight: bold;
  color: #246434;
}

aside a:hover,
aside a:active {
  font-weight: bold;
  color: #990d35;
}

/* -- End of Code for the Cookie Compliance popover window -- */

@media only screen and (min-width: 900px) {
  nav {
    width: 40%;
  }

  h2 {
    font-size: 48px;
  }

  h3 {
    font-size: 36px;
  }

  .outer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .inner-container {
    width: 48%;
  }

  .w3-bar-item {
    font-size: 36px;
  }

  footer ol {
    flex-direction: row;
  }
}

@media only screen and (min-width: 1340px) {
  .hamburger-position {
    margin-left: 10%;
  }

  footer ol {
    flex-direction: row;
  }
}
