a.btn {
  background: var(--primary-hex);
  border-radius: 4px;
  box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.25);
  color: var(--light-hex);
  display: inline-block;
  padding: 0.25rem;
  position: relative;
  text-decoration: none;
  transition: all 0.25s 0s ease-out;
}

.no-touch a.btn:hover {
  background: var(--secondary-hex);
  box-shadow: 0px 8px 2px 0 rgba(0, 0, 0, 0.075);
  transform: translateY(-2px);
  transition: all 0.25s 0s ease-out;
}

.no-touch a.btn:active,
a.btn:active {
  background: var(--primary-hex);
  box-shadow: 0 1px 0px 0 rgba(255, 255, 255, 0.25);
  transform: translate3d(0, 1px, 0);
  transition: all 0.025s 0s ease-out;
}

.cards {
  margin: auto;
}

.card {
  background: var(--light-hex);
  display: inline-block;
  width: -webkit-fill-available;
  margin: 0.25rem;
  perspective: 1000;
  position: relative;
  text-align: center;
  transition: all 0.25s 0s ease-in;
  z-index: 1;
}

  .card__image-holder {
    background: var(--light-hex);
    width: 100%;
    height: 100%;
    text-align: center;
  }

  .card-title {
    background: var(--light-hex);
    padding: 1dvw;
    position: relative;
    z-index: 0;
  }

    .card-title a.toggle-info {
        border-radius: 4px;
        height: 32px;
        padding: 0;
        position: absolute;
        top: 0.2rem;
        right: 0.5rem;
        width: 32px;
        display: none;
    }

      .card-title span {
        background: var(--light-hex);
        display: block;
        height: 2px;
        position: absolute;
        top: 16px;
        transition: all 0.15s 0s ease-out;
        width: 12px;
      }

      .card-title span.left {
        right: 14px;
        transform: rotate(45deg);
      }
      .card-title span.right {
        left: 14px;
        transform: rotate(-45deg);
      }

    .card-title > div {
      font-weight: 700;
      letter-spacing: -0.05em;
      margin: 0;
      padding: 0;
    }

      .card-title > xsmall {
        display: block;
      }

  .card-description {
    padding: 0.5rem 0.25rem 0;
    text-align: center;
    position: relative;
  }
  
    .card-description > xsmall {
        display: block;
    }

  .card-actions {
    box-shadow: 0 2px 0px 0 rgba(0, 0, 0, 0.075);
    padding: 10px 15px 20px;
    text-align: center;
  }

  .card-flap {
    background: var(--light-hex);
    display: none;
    width: 100%;
    padding: 0 1dvw;
    transform-origin: top;
    transform: rotateX(-90deg);
  }
  
  .card-flap .flap1 {
    transition: all 0.25s 0.25s ease-out;
    z-index: -1;
  }
  .card-flap .flap2 {
    transition: all 0.25s 0s ease-out;
    z-index: -2;
  }

.cards.showing .card {
    opacity: 0.12;
    transform: scale(0.99);
  }

.no-touch .cards.showing .card:hover {
    opacity: 0.94;
    transform: scale(0.92);
  }
  
.cards.showing {
    width: 100%;
    display: table;
    vertical-align: middle;
    box-shadow: 5px 5px 26px var(--black-hex); 
	-webkit-box-shadow: 5px 5px 26px var(--black-hex);
	-moz-box-shadow: 5px 5px 26px var(--black-hex);
}

.cards.full.showing {
    width: calc(100% - 0.25rem);
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.card.show {
  opacity: 1 !important;
  transform: scale(1) !important;
  display: table !important;
  max-width: 100%;
}

.row > .col-3 > .card.show {
    width: 100%;
}

  .card.show .card-title a.toggle-info {
      background: #ff6666 !important;
      display: block;
  }
      a.toggle-info span {
        top: 15px;
      }
      a.toggle-info span.left {
        right: 10px;
      }
      a.toggle-info span.right {
        left: 10px;
      }

  .card.show .card-flap {
    background: var(--light-hex);
    transform: rotateX(0deg);
    display: table;
    transition: all 0.25s 0s ease-in-out;
  }
  .card.show .flap1 {
    transition: all 0.25s 0s ease-out;
  }
  .card.show .flap2 {
    transition: all 0.25s 0.25s ease-out;
  }

  /* Image Hover Text */

  .hover-img {
    text-align: center;	
    position: relative;
    cursor: pointer;	
    perspective: 500px; 
    width: 150px;
    height: 150px;
    aspect-ratio: attr(max-width) / attr(max-height);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    object-fit: contain;
    margin-left: 0.25rem !important;
    margin-right: 0.25rem !important;
    -webkit-filter: grayscale(1);
    -webkit-transition: all 0.25s ease-in-out;
    filter: grayscale(1);
    transition: all 0.25s ease-in-out;
  }
 
  .hover-txt {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(90deg);
    transform-origin: 50%;
    background: var(--light-80-rgba);	
    opacity: 0;
    transition: all 0.25s ease-in-out;
    
  }

  .hover-img:hover .hover-txt {
    transform: translate(-50%, -50%) rotateY(0deg);
    opacity: 1;
  }
