:root{
  --primary: #707070;
  --secondary: #d41414;
}


.cover {
  position: absolute;
}

.retContent {
  margin: auto;
  margin-top: 10vh;
  position: relative;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  width: 90%;
}

.contentBox {
  width: 100%;
  margin-top: 4vh;
  margin-bottom: 5vh;
}

.pageHeading {
  grid-column: 1/4;
  text-align: center;
  font-size: 3rem;
}

.spaceDivider {
  margin-bottom: 2rem;
}

.retContainer {
  width: 95%;
  margin: auto;
  padding: 0;
}

.infoText {
  width: 60%;
  margin: auto;
  margin-bottom: 4rem;
}

.infoText p {
  text-align: center;
}


.imgContainer {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}


.hover-shadow {
  max-width: 100%;
  border-radius: 2rem;
  box-shadow: 2px 2px 10px var(--primary);
  cursor: pointer;
  margin-bottom: 1.5rem;
}




.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  min-height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.93);
  -webkit-backdrop-filter: blur(0.4rem);
  -moz-backdrop-filter: blur(0.4rem);
  backdrop-filter: blur(0.4rem);
}

.modal-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  margin: auto;
  padding: 0;
  max-width: 90%;
  height: 90vh;
  max-height: 90%;
}


.close {
  color: white;
  position: absolute;
  top: 5vh;
  right: 8vw;
  color: #f1f1f1;
  font-size: 3rem;
  font-weight: bold;
  font-family: rubrik-new, sans-serif;
  src: url("../font/Rubik-Regular.ttf");
  transition: 0.6s ease;
  text-shadow: 0 0 3px rgb(0, 0, 0);
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: #d41414;
  text-decoration: none;
  cursor: pointer;
  transition: 0.6s ease;
}

.mySlides {
  display: none;
  margin: auto;
  width: 90vh;
  height: 100%;
  max-width: 80%;
  max-height: 90vh;
  align-items: center;
  justify-content: center;
}

.mySlides img {
  border: 10px solid rgb(219, 219, 219);
  border-radius: 4%;
  max-height: 90vh;
}



.beer-slider {
  display:block;
  overflow:hidden;
  position:relative;
}

.beer-slider *,.beer-slider:after,.beer-slider :after,.beer-slider:before,.beer-slider :before {
  box-sizing:border-box;
}

.beer-slider img,.beer-slider svg{
  vertical-align:bottom;
}

.beer-slider>*{
  height:100%;
}

.beer-slider>img{
  height:auto;
  max-width:100%;
}


.beer-reveal{
  height: 100%;
  max-height:100%;
  left:0;
  opacity:0;
  overflow:hidden;
  position:absolute;
  right:50%;
  top:-0;
  transition:opacity .35s;
  z-index:1;
}

.beer-reveal>:first-child{
  height:100%;
  max-width:none;
}

.beer-range{
  -moz-appearance:none;
  -ms-touch-action:auto;
  -webkit-appearance:slider-horizontal!important;
  bottom:0;
  cursor:pointer;
  height:100%;
  left:-1px;
  margin:0;
  opacity:0;
  position:absolute;
  top:0;
  touch-action:auto;
  width:calc(100% + 2px);
  z-index:2;
}

.beer-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  height:300vh;
}

.beer-range::-moz-range-thumb{
  -webkit-appearance:none;
  height:300vh;
}

.beer-range::-ms-tooltip{
  display:none;
}

.beer-handle{
  background:hsla(0,0%,100%,.5);
  border-radius:50%;
  box-shadow:0 0 6px transparent;
  color:#000;
  height:48px;
  left:50%;
  opacity:0;
  pointer-events:none;
  position:absolute;
  bottom: 2%;
  transform:translate3d(-50%,-50%,0);
  transition:background .3s,box-shadow .3s,opacity .5s .25s;
  width:48px;
  z-index:2;
}

.beer-handle:after,.beer-handle:before{
  border-left:2px solid;
  border-top:2px solid;
  content:"";
  height:10px;
  position:absolute;
  top:50%;
  transform-origin:0 0;
  width:10px;
}

.beer-handle:before{
  left:10px;
  transform:rotate(-45deg);
}

.beer-handle:after{
  right:0;
  transform:rotate(135deg);
}

.beer-range:focus~.beer-handle{
  background:rgba(255, 255, 255, 0.6);
  box-shadow:0 0 3px rgba(133, 104, 104, 0.4);
}

.beer-reveal[data-beer-label]:after,.beer-slider[data-beer-label]:after{
  background:hsla(0,0%,100%,.6);
  border-radius:0.4rem;
  content:attr(data-beer-label);
  line-height:0.5rem;
  padding:.5rem;
  position:absolute;
  top:1.5rem;
}

.beer-slider[data-beer-label]:after{
  right:1.5rem;
}

.beer-reveal[data-beer-label]:after{
  left:1.5rem;
}

.beer-reveal[data-beer-label=""]:after,.beer-slider[data-beer-label=""]:after{
  content:none;
}

.beer-ready .beer-handle,.beer-ready .beer-reveal{
  opacity:1;
}

.beer-reveal[data-beer-label], .beer-slider[data-beer-label] {
  font-family: rubrik-new, sans-serif;
  src: url("../font/Rubik-Regular.ttf");
}



.beer-handle {
  background: rgba(255, 255, 255, 0.6);
  box-shadow:0 0 3px rgba(0,0,0,.4);
  bottom: 2%;
  height: 2rem;
  width: 2rem;
  opacity: 0.2;
}

.beer-handle:after, .beer-handle:before {
  width: 5px;
  height: 5px;
}

.beer-handle:before {
  left: 5px;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.5rem;
  transform: translateY(-50%);
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1005;
}

.prev {
  left: 0;
  border-radius: 5px;
}

.next {
  right: 0;
  border-radius: 5px;
}

.prev:hover,
.next:hover {
  color: #d41414;
  background-color: rgba(0, 0, 0, 0.8);
}


img.hover-shadow {
  width: 100%;
  opacity: 1;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.8s;
  box-shadow: 2px 2px 10px var(--primary);
}

.hover-shadow:hover {
  opacity: 0.5;
  transition: 0.8s;
}


.modal-content, #caption {
  animation-name: fade;
  animation-duration: 1.8s;
}

@keyframes fade {
  from {opacity:0;}
  to {opacity:1;}
}




@media screen and (max-width: 25rem) {

  .pageHeading {
    font-size: 2.4rem;
  }

  .infoText {
      width: 80%;
  }
  
  .beer-reveal[data-beer-label], .beer-slider[data-beer-label] {
    font-size: 0.6rem;
    padding: 0;
  }

}

@media screen and (max-width: 31.25rem) {

  .imgContainer {
    width: 90%;
    grid-template-columns: 1fr;
  }

}



@media screen and (min-width: 25rem) and (max-width: 40.625rem) {


  .beer-handle:after,.beer-handle:before{
    font-size: 0.5rem;
  }
  
  .beer-reveal[data-beer-label], .beer-slider[data-beer-label] {
    font-size: 0.7rem;
    padding: 0;
  }
}