/* 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: #282828;
  /*background-image: url("/img/beer.jpg");*/
  background-image: url("/img/wood2.webp");
  /*background-image: url("/img/bg/hops3.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;
}

.button {
    display: inline-block;
    position: relative;
    margin: 10px;
    padding: 0 20px;
    text-align: center;
    text-decoration: none;
    font-size: smaller;
 
    text-shadow: 1px 1px 1px rgba(255,255,255, .22);
 
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
 
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0, .29), inset 1px 1px 1px rgba(255,255,255, .44);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0, .29), inset 1px 1px 1px rgba(255,255,255, .44);
    box-shadow: 1px 1px 1px rgba(0,0,0, .29), inset 1px 1px 1px rgba(255,255,255, .44);
 
    -webkit-transition: all 0.15s ease;
    -moz-transition: all 0.15s ease;
    -o-transition: all 0.15s ease;
    -ms-transition: all 0.15s ease;
    transition: all 0.15s ease;
}
.button:hover {
  filter: invert(100%); /* Inverts the colors completely on hover */
}
 
.green {
    color: #3e5706;
   
 
    background: #a5cd4e; /* Old browsers */
    background: -moz-linear-gradient(top,  #a5cd4e 0%, #6b8f1a 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a5cd4e), color-stop(100%,#6b8f1a)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%); /* IE10+ */
    background: linear-gradient(top,  #a5cd4e 0%,#6b8f1a 100%); /* W3C */
}
 
 
.blue {
    color: #19667d;
     color: black;
 
    background: #70c9e3; /* Old browsers */
    background: -moz-linear-gradient(top,  #70c9e3 0%, #39a0be 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#70c9e3), color-stop(100%,#39a0be)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #70c9e3 0%,#39a0be 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #70c9e3 0%,#39a0be 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #70c9e3 0%,#39a0be 100%); /* IE10+ */
    background: linear-gradient(top,  #70c9e3 0%,#39a0be 100%); /* W3C */
}
 
 
.gray {
    color: #515151;
 
    background: #d3d3d3; /* Old browsers */
    background: -moz-linear-gradient(top,  #d3d3d3 0%, #8a8a8a 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d3d3d3), color-stop(100%,#8a8a8a)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #d3d3d3 0%,#8a8a8a 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #d3d3d3 0%,#8a8a8a 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #d3d3d3 0%,#8a8a8a 100%); /* IE10+ */
    background: linear-gradient(top,  #d3d3d3 0%,#8a8a8a 100%); /* W3C */
}

.press { max-width: 80ch;
   .XXXimg_modal-open { max-width: 200px; margin-left: 1em; margin-right: 1em; cursor: pointer; }
   .right { float: right; }
   .left { float: left }
   .note { font-size: smaller; color: grey; text-align: center; }
   p { text-align: justify }
}
