html {
  background-image: url("../img/felt.png");
  background-repeat: repeat;
  padding: 0px;
  margin: 0px;
  height: 100%;
}

body {
  height: 100%;
  width: 100%;
  padding: 0px;
  margin: 0px;
}

h1 {
  font-family: "Fauna One", serif;
  color: #837f6b;
  text-align: center;
  width: 100% !important;
  background: rgba(0, 0, 0, 0.7);
  margin: 0px;
  height: 100px;
  line-height: 100px !important;
  font-size: 50px !important;
}

h1.small {
  display: none;
  letter-spacing: 15px;
}

h1 a.return {
  text-decoration: none;
  color: inherit;
  font-size: 75px;
  line-height: 75px;
  position: absolute;
  left: 20px;
  padding: 0px 16px;
  background: rgba(150, 150, 150, 0.1);
  border: 1px solid #837f6b;
  top: 10px;
  border-radius: 4px;
  opacity: 0;

  letter-spacing: 0px;
}

h1 a.return:hover {
  background: rgba(0, 0, 0, 0.1);
}

#main {
  z-index: 2;
  background-image: url("../img/felt.png");
  background-repeat: repeat;
  position: absolute;
  left: 0;
  top: 100px;
  width: 90%;
  height: 100%;
  padding: 0px 5%;
}

#container {
  z-index: 1;
  position: absolute;
  background-image: url("../img/felt.png");
  background-repeat: repeat;
  padding-top: 15px;
  left: 0;
  top: 100px;
  width: 100%;
  height: auto;
  margin: 0px;
  overflow: auto;
}

@media (max-width: 1024px) {
}

.flexcontainer {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: left;
  align-items: left;
  -webkit-justify-content: left;
  justify-content: left;
  /* You can set flex-wrap and flex-direction individually */
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  /* Or do it all in one line with flex flow */
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  /* tweak the where items line up on the row */
  /* valid values are: flex-start, flex-end, space-between, space-around, stretch */
  -webkit-align-content: flex-end;
  align-content: flex-end;
}

.flexcontainer.view-container {
  display: none;
}

.flexcontainer.view-container.active {
  display: -webkit-flex;
  display: flex;
}

.btn-container {
  padding: 1rem;
}

.btn-container button {
  padding: 0.75rem;
  font-size: 1.25rem;
  border-radius: 4px;
  color: #807643;
  opacity: 0.7;
  background: #000;
  text-decoration: none;
  border: none;
  margin: 0 0.5rem;
}

.btn-container button.active {
  background: transparent;
  border: 1px solid #000;
  color: #000;
}

.flexcontainer .box {
  height: 175px;
  width: 17%;
  margin: 1.5%;
  opacity: 0.8;
  overflow: hidden;
}

.flexcontainer .box a {
  font-family: "Fauna One", serif;
  position: relative;
  margin: 0px;
  height: 100%;
  width: 100%;
  text-align: center;
  display: block;
  text-decoration: none;
  color: #807643;
  opacity: 0.9;
  background: #000;
}

.flexcontainer .box a h2 {
  font-size: 35px;
  text-align: center;
  width: 100%;
  margin: 0px;
  padding: 10px 0px 5px 0px;
}

.flexcontainer .box a h3 {
  font-size: 25px;
  text-align: center;
  width: 100%;
  margin: 0px;
}

.flexcontainer .box p {
  margin: 0px;
  padding: 4px 0px;
  width: 100%;
  font-size: 19px;
  font-family: inherit;
}

.flexcontainer .box a div {
  font-family: "Merriweather", serif;
  font-weight: lighter;
  padding-top: 12px;
}

.flexcontainer .box a:hover {
  opacity: 1;
}

.flexcontainer .box .content > h4 {
  color: #fff;
  height: 25px;
  line-height: 25px;
  margin: 0px;
  padding: 0px;
  text-align: center;
  font-size: 2.5em;
}

@media only screen and (max-width: 1180px) {
  .flexcontainer .box {
    height: 175px;
    width: 22%;
  }
  .flexcontainer .box a h2 {
    font-size: 30px !important;
  }
  .flexcontainer .box a h3 {
    font-size: 25px !important;
  }
  .flexcontainer .box a div {
    padding-top: 20px !important;
  }
  .flexcontainer .box a div p {
    font-size: 15px !important;
  }
}

@media only screen and (max-width: 1024px) {
  .flexcontainer .box {
    height: 175px;
    width: 30%;
  }
  h1.big {
    display: none;
  }
  h1.small {
    display: block;
  }
  .flexcontainer .box a h2 {
    font-size: 30px !important;
  }
  .flexcontainer .box a h3 {
    font-size: 22px !important;
  }
  .flexcontainer .box a div {
    padding-top: 17px !important;
  }
  .flexcontainer .box a div p {
    font-size: 17px !important;
  }
}

@media only screen and (max-width: 767px) {
  h1.small {
    letter-spacing: 10px;
  }
  h1 a.return {
    font-size: 50px;
    line-height: 50px;
    left: 7px;
    padding: 0px 10px;
    top: 25px;
    letter-spacing: 0px;
  }
  .flexcontainer .box {
    height: 175px;
    width: 47%;
  }
  .flexcontainer .box a h2 {
    font-size: 25px !important;
  }
  .flexcontainer .box a h3 {
    font-size: 20px !important;
  }
  .flexcontainer .box a div {
    padding-top: 20px !important;
  }
  .flexcontainer .box a div p {
    font-size: 15px !important;
  }
}
