body {
  overflow-x: hidden;
}

.hopper-container {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(21, 1fr);
  box-sizing: border-box;
  margin: 30px auto;
  width: 90vw;
  max-width: 600px;
  height: 130vw;
  max-height: 900px;
  position: relative;
}

.ipa,
.hazy-ipa,
.double-ipa,
.galaxy-ipa {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 75%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.ipa:hover,
.ipa:active,
.ipa:focus,
.hazy-ipa:hover,
.hazy-ipa:active,
.hazy-ipa:focus,
.double-ipa:hover,
.double-ipa:active,
.double-ipa:focus,
.galaxy-ipa:hover,
.galaxy-ipa:active,
.galaxy-ipa:focus {
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

.ipa {
  grid-column: 1 / 4;
  grid-row: 1 / 7;
  background-image: url(../img/west-coast-ipa.png);
}
.hazy-ipa {
  grid-column: 5 / 8;
  grid-row: 1 / 7;
  background-image: url(../img/broken-islands.png);
}
.double-ipa {
  grid-column: 9 / 12;
  grid-row: 1 / 7;
  background-image: url(../img/VIB-Pineapple.png);
}
.galaxy-ipa {
  grid-column: 13 / 16;
  grid-row: 1 / 7;
  background-image: url(../img/VIB-Tranquilo.png);
}

.ipa-blank,
.hazy-ipa-blank,
.double-ipa-blank,
.galaxy-ipa-blank {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 85%;
  transition: all 0.3s ease;
  position: relative;
  z-index: 0;
}

.ipa-blank {
  grid-column: 1 / 4;
  grid-row: 1 / 7;
  background-image: url(../img/can-blank.png);
}
.hazy-ipa-blank {
  grid-column: 5 / 8;
  grid-row: 1 / 7;
  background-image: url(../img/can-blank.png);
}
.double-ipa-blank {
  grid-column: 9 / 12;
  grid-row: 1 / 7;
  background-image: url(../img/can-blank.png);
}
.galaxy-ipa-blank {
  grid-column: 13 / 16;
  grid-row: 1 / 7;
  background-image: url(../img/can-blank.png);
}

.hopper-background {
  grid-column: 1 / 16;
  grid-row: 7 / 22;
  margin-top: 30px;
  background-image: url(../img/hop-blank.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: relative;
  z-index: 1;
}

.spider-container {
  display: grid;
  width: 100%;
  height: 100%;
  position: relative;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
}

.ipa-spider,
.hazy-ipa-spider,
.double-ipa-spider,
.galaxy-ipa-spider {
  grid-column: 1 / 16;
  grid-row: 1 / 16;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: relative;
  z-index: 99;
  opacity: 1;
  transition: all 0.3s ease;
}

.ipa-spider {
  background-image: url(../img/west-coast-hops.png);
}

.hazy-ipa-spider {
  background-image: url(../img/broken-hops.png);
}

.double-ipa-spider {
  background-image: url(../img/pinapple-hops.png);
}

.galaxy-ipa-spider {
  background-image: url(../img/tranquilo-hops.png);
}

.ipa-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}

/* /////////////////////////////////////////////////////////// */

.ipa-citrus,
.ipa-resin,
.ipa-herbal,
.ipa-catty,
.ipa-floral,
.ipa-fruity,
.ipa-tropical {
  position: absolute;
  width: 31px;
  height: 31px;
  border-radius: 50rem;
}

.ipa-citrus {
  top: 50%;
  left: 1000%;
}

.ipa-resin {
  top: 50%;
  left: 1000%;
}

.ipa-herbal {
  top: 50%;
  left: 1000%;
}

.ipa-catty {
  top: 50%;
  left: 1000%;
}

.ipa-floral {
  top: 50%;
  left: 1000%;
}

.ipa-fruity {
  top: 50%;
  left: 1000%;
}

.ipa-tropical {
  top: 50%;
  left: 1000%;
}

.ipa-citrus:hover,
.ipa-citrus:focus,
.ipa-citrus:active,
.ipa-resin:hover,
.ipa-resin:focus,
.ipa-resin:active,
.ipa-herbal:hover,
.ipa-herbal:focus,
.ipa-herbal:active,
.ipa-catty:hover,
.ipa-catty:focus,
.ipa-catty:active,
.ipa-floral:hover,
.ipa-floral:focus,
.ipa-floral:active,
.ipa-fruity:hover,
.ipa-fruity:focus,
.ipa-fruity:active,
.ipa-tropical:hover,
.ipa-tropical:focus,
.ipa-tropical:active {
  background-color: rgba(255, 255, 255, 0.4);
}

/* /////////////////////////////////////////////////////////// */

.text-block {
  box-sizing: border-box;
  position: absolute;
  top: -168px;
  left: -117px;
  opacity: 1;
  width: 250px;
  height: 150px;
  border-radius: 10px;
  background-color: #efeded;
  z-index: 9999;
}

.text-block:after {
  content: "";
  display: block;
  position: absolute;
  left: calc(50% - 8px);
  top: 100%;
  width: 0;
  height: 0;
  border: 16px solid transparent;
  border-bottom-color: #efeded;
  transform: rotate(180deg);
}

.text-block h2 {
  display: block;
  margin: 10px auto !important;
  text-align: center;
  font-size: 40px;
  color: #0064a8;
  font-family: "KapraNeue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
}

.text-block p {
  text-align: center;
  font-size: 14px !important;
  padding: 0 10px;
  margin: 0;
  line-height: 1.2 !important;
  font-family: "Trim", Helvetica, Arial, sans-serif;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

.nodisplay {
  display: none;
}

.standard-text {
  padding-top: 0 !important;
  padding-bottom: 3.6rem !important;
}

.standard-text li {
  font-size: 1.38462rem !important;
  line-height: 1.7 !important;
  text-align: left !important;
}

.standard-text h3 {
  font-size: 1.9381rem !important;
}

.image-text h1 {
  margin: 0.3628rem 0 !important;
  color: #0064a8 !important;
}

.image-text h2 {
  margin: 0 !important;
  font-size: 2.12121rem;
}

.image-text p {
  font-size: 1.38462rem;
  font-family: "Trim", Helvetica, Arial, sans-serif;
}

.image-text .button {
  margin-top: 0.7958rem;
}

.image-text .block__item-image img {
  max-height: 25.2345vw !important;
  width: auto;
}

@media screen and (max-width: 767px) {
  .image-text .block__item-image img {
    max-height: 50vw !important;
    width: auto;
  }

  .image-text .block__item-image {
    display: block !important;
    margin-bottom: 30px;
  }
}
