/* minimal reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

input,
textarea,
button,
select {
  font: inherit;
}

body {
  min-height: 100vh;
}

img,
picture,
svg,
video {
  display: block;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p,
li,
figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

/* end minimal reset */

hr {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

body {
  font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
  color: #414141;
  line-height: 1.6;
  padding: 1ch;
  background-color: #1b0e0b;
  /*background-image: url("/img/beer.jpg");*/
  background-image: url("/img/wood2.webp");
  background-position: center top;
  /*background-repeat: no-repeat-;*/
}

#bodywrap {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2) inset, 0 6px 20px 0 rgba(0, 0, 0, 0.19) inset;*/
  box-shadow: 0 0 9px 5px black inset, 0 0 14px 17px #bbb inset;
  border: 1px solid black;
  border-radius: 40em 40em 0.5em 0.5em;
  background-color: #FFF;
}

.innerwrapper {
  padding: 1ch 1ch 0 1ch;
  padding-top: 2ch;
}

@font-face {
  font-family: 'Algerian';
  src: url('/fonts/alger.ttf');
  font-style: normal;
  font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
h6,
.alger {
  font-family: Algerian, Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
  letter-spacing: 2px;
}

.centerblock {
  margin-right: auto;
  margin-left: auto;
}

.centertext {
  text-align: center
}

footer {
  background-color: #1b0e0b;
  border-radius: 0 0 0.5em 0.5em;
  padding: 1ch;
  color: white;
}

section {
  padding: 1ch;
}

.card {
  border: 1px solid bistre;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  transition: 0.2s;
  margin-right: 2ch;

  .cardcontainer {
    margin: 1ch;
  }

  h5 {
    margin: 0;
    text-align: center;
  }

  p {
    margin-top: 0;
  }
}

img.bordered {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  background-color: white;
}

.card:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media screen and (max-width:768px) {
  #bodywrap {
    border-radius: 10em 10em 0.5em 0.5em;
  }

}

/* onMouseOver image zoomer uses a click on mobiles */
.zoomer {
  cursor: pointer;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/*change the number below to scale to the appropriate size*/
.scale2:hover {
  transform: scale(2);
  z-index: 9999;
}

.topper {
  text-decoration: none;
  color: #006747;
  float: right;
  font-weight: bold;
  background-color: #D1EFE4;
  border: 1px solid #B7D5CA;
  border-radius: 0.5em;
  padding: 0.25ch 0.5ch;
}

.topper:hover {
  filter: invert(100%);
}

.popover {
  position: absolute;
  background-color: white;
  padding: 0.5em;
  border: 1px solid grey;
  border-radius: 0.5em;
}

summary:hover {
  cursor: pointer;
}