
@font-face {
  font-family: 'Berthold Akzidenz Grotesk BE Condensed';
  src: url('./fonts/Berthold-akzidenz-grotesk-be-condensed.woff') format('woff');
}

body {
  font-family: 'Berthold Akzidenz Grotesk BE Condensed';
  margin: 0;

}

.title {
  font-size: 100px;
  margin: 0;
  text-align: center;
  padding-top: 3%;
}

h2 {
  text-align: center;
  font-size: 60px;
  color: white;
}

.button {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  background-color: #852e2c;
}

a {
  text-decoration: none;
  color: white;
  font-size: 30px;
}

a:hover {
  text-decoration: none;
  color: white;
  font-size: 30px;
}

a > h3 {
  padding: 0;
  margin: 0;
}

.fluid-container {
  background-image: url('./images/background.jpg');
  background-position: right top;
  background-size: cover;
}

.main-content {
    height: 100vh;
}

.books {
  padding-top: 100px;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
  height: auto;
  width: 100%;
}

@media only screen and (max-width: 568px) {
  .books {
    padding: 0;
  }

  .container {
    background-position: bottom;
  }
}

footer {
  /*position: fixed;*/
  bottom: 0;
  width: 100%;
  font-family: 'Nunito';
  /* padding: 10px 0; */
  text-align: center;
  color: white;
  font-size: 12px;
}

.box {
  font-family: 'Nunito';
  font-size: 0.77rem;
  border: 1px solid #ced4da;
  max-width: 500px;
  margin: 20px auto;
  border-radius: 5px;
  padding: 10px;
}

.form-check-label {
  margin-top: 3px;
}

span.font-sm {
  font-size: 0.7rem;
}


/* NEW CSS */

h2 {
  color: #A97C50;
}

h3 {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-end > div {
  align-self: flex-end;
}

body, .fluid-container {
  min-height: 100vh;
}

#coin-page .fluid-container {
  z-index: 2;
  top: 10%;
}

.coins-container {
  width: 100%;
  max-width: 250px;
}

#coin-page .coin-info-container p {
  margin-top: 415px;
}

.coin-info-container {
  position: relative;
  padding: 10px;
  min-width: 300px;
  background-image: url('./images/right-background.jpg');
  border-left: 3px solid white;

}

.left-container {
  max-width: 500px;
  padding-bottom: 10px;
  margin: 0 10px;
}

.left-container img {
  padding: 0;
}

#coin-page .right-container {
  max-width: 20%;
  width: 100%;
  border-left: 3px solid white;
  border-top: 3px solid white;
  background-image: url('./images/right-background.jpg');
  padding: 0 10px;
  position: relative;
}
.coin-center-p {
  color: white;
  padding: 0 10px;
  text-shadow: 1px 1px #000;

}

#coin-price-img {
  width: 200px;
  vertical-align: top;
}

#coin-page span {
  display: block;
}

#coin-page img.coin {
  width: 100%;
  max-width: 290px;
  position: absolute;
  left: -20px;
  top: 10%;
}

.center {
  flex: 1;
  position: relative;
  z-index: 2;
  min-width: 60%;
}

.center p {
  position: absolute;
  bottom: 0;
}

#coin-page img.limited {
  width: 250px;
  position: absolute;
  right: 18%;
  top: 10%;
}

.center p {
  color: white;
}

.buttons a {
  display: block;
  text-align: center;
  /* width: 100%; */
  cursor: pointer;
  margin: 10px;
  font-size: 22px;
  color: #fff !important;
}

.buttons a:first-child {
  background: #8B5E3C;
}

.buttons a:nth-child(2) {
  background: #2B3990;
}

.buttons a:last-child {
  background: #852E2C;
  margin-bottom: 0;
}

.coins {
  max-width: 300px;
  border: 2px solid white;
  max-width: 250px;
  width: 100%;
}

figure {
  max-width: 300px;
  margin: 0;
}

figcaption {
  text-align: center;
  color: white;
  text-shadow: 2px 1px #000;
}

#home img {
  max-width: 450px;
  width: 100%;
}

#home .flex > div {
  width: 50%;
}

#home .text-container {
  max-width: 560px;
  margin: 10px auto;
  background: rgba(255,255,255,.8);
  padding: 20px;
  position: relative;
}

#home .donation-button {
  position: absolute;
  width: 100%;
  bottom: -30px;
  max-width: 150px;
  right: -30px;
}

#home .text-container h5 {
  text-align: center;
  font-size: 32px;
}

#home .images-container img:nth-child(2) {
  float: right;
  margin-top: -60px;
}

#home .images-container img:last-child {
  margin-top: -110px;
  float: left;
}

#home #offer-items.images-container img {
  float: none;
  margin: 0 auto;
  display: block;
}

.red-container {
  text-align: center;
  background: #852E2C;
  color: white;
  padding: 6px;
  font-size: 25px;
}

.offer-prices {
  width: 70%;
}

.offer-prices td {
  padding: 5px;
}

.offer-prices .big-red {
  color: #852E2C;
  font-weight: 600;
}

#home .drawer-img {
  position: absolute;
  max-width: 200px;
  bottom: 38%;
  right: 0;
}

#home #offer-price {
  max-width: 180px;
  margin: 0 auto;
  display: block;
}

.line {
  width: 100%;
  border-bottom: 1px solid black;
  height: 15px;
}

p.center {
  text-align: center;
}

.break {
  flex-basis: 100%;
  height: 0;
}

footer p {
  /*padding-top: 11vh;*/
  margin:0;
  color: white;
  background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,1));
}

#limit-img {
  max-width: 80px;
  position: absolute;
  right: -15px;
  /*bottom: 170px;*/
}

.quantities-text {
  position: absolute;
  right: 20px;
  top: 20%;
  font-weight: bold;
  line-height: 1.2;
  font-size: 18px;
}

@media (orientation: portrait) {

  .right-container {
    max-width: 95%;
    margin: 0 auto;
  }

  .buttons a {
    padding: 10px 0;
    font-size: 3rem;
  }

  .flex {
    display: block;
  }

  #home .images-container img:nth-child(2) {
    margin-top: 0;
  }

  #home .donation-button {
    position: unset;
    display: block;
    margin: auto;
  }

  #coin-page img.limited {
    display: none;
  }

  .flex-end > div {
    margin: auto;
  }

  #home .flex > div {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  #coin-page img.coin {
    width: 100%;
    max-width: 290px;
    position: unset;
    margin: auto;
    display: block;
  }

  #coin-page .coin-info-container p {
    margin-top: 0;
  }

  #limit-img {
    position: unset;
  }

  #home .drawer-img {
    position: unset;
    display: block;
    margin: auto;
  }

  .quantities-text {
    position: absolute;
    right: 30px;
    top: 10%;
    font-weight: bold;
    line-height: 1.2;
    font-size: 22px;
  }
}
