@charset "UTF-8";
/* CSS Document */

.hp-flipcard-space {
      margin-right: 20px;
      margin-left: 20px;
      position: relative;
      z-index: 1;
      top: -60px;
    }

.flip-card {
  width: 360px;
  min-width: 360px;
  min-height: 360px;
  perspective: 500px;
}

.board-flip-card {
  width: 300px;
  min-width: 300px;
  min-height: 400px;
  perspective: 500px;
  margin: 0px 10px;
}

.flip-card-content {
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 1s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-content {
  -webkit-transform: rotateX(180deg) translateZ(0);
   -moz-transform: rotateX(180deg) translateZ(0);
   -ms-transform: rotateX(180deg) translateZ(0);
  transform: rotateX(180deg)  translateZ(0);
  transition: transform 0.5s;
}

.board-flip-card:hover .flip-card-content {
  -webkit-transform: rotateY(180deg);
   -moz-transform: rotateY(180deg);
   -ms-transform: rotateY(180deg);
  transform: rotateY(180deg);
  transition: transform 0.5s;
}

.board-flip-card .flip-card-back {
  transform: rotateY(180deg);
}

.board-line-height {
	line-height: .5rem;
}

.board-font {
	line-height: 1.75rem;
}

.board-flip-front {
	background-color: #005abb; 
    background-image: url("../images/bg-flipcard-texture.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.flip-card-front,
.flip-card-back {
  font-family:  "Inter", sans-serif;
  position: absolute;
  height: 100%;
  width: 100%;
  line-height: 25px;
  color: white;
  text-align: center;
  font-size: 22px;
  border-radius: 8px;
  border: 2px solid #ffffff;
  backface-visibility: hidden;
  filter: drop-shadow(0px 15px 15px rgba(0, 0, 0, 0.6));
  padding-top: 10px;
}

.flip-card-back {
  font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 20px;
    padding: 10px;
    color: white;
   -webkit-transform: rotateX(180deg) translateZ(1px); /* the translateZ value of 1px lets this work with older versions of safari */
   -moz-transform: rotateX(180deg) translateZ(1px);
   -ms-transform: rotateX(180deg) translateZ(1px);
   transform: rotateX(180deg )  translateZ(1px);
}

.dropshadow-titles {
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.90));
}

.loose-leading-titles {
	line-height: 2.46rem;
}

/* ################### */
/* #    Card BG's    # */
/* ################### */
.bg-heavy-duty {
  background: rgb(0,90,187);
  background-image: url("../images/bg-flipcard-heavy-duty.jpg");
  background-size: 100%
}

.bg-medium-duty {
  background: rgb(124,17,15);
  background-image: url("../images/bg-flipcard-medium-duty.jpg");
  background-size: 100%
}

.bg-light-duty {
  background: rgb(69,176,41);
  background-image: url("../images/bg-flipcard-light-duty.jpg");
  background-size: 100%
}

.bg-board {
  background: rgb(255,255,255);
  background-image: url("../images/bg-flipcard-board.jpg");
  background-size: 100%
}

/* ######################## */
/* #    Learn More Btns   # */
/* ######################## */
.learnmore{
    font-size: 1.4rem;
    text-align: center;
    position: absolute; 
    bottom: 6px;
    width: 100%;
    margin-bottom: 5px;
}

.myButton {
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background-image: linear-gradient(to bottom, rgba(255,255,255,.9), rgba(255,255,255,1));
	border-radius:6px;
	border:1px solid #ffffff;
	display:inline-block;
	cursor:pointer;
	color:#000;
    font-family: "Inter", sans-serif;
    font-size: 16px;
	padding: 4px 0px;
    width: 95%;
	text-decoration: none;
}
.myButton:hover {
	background-image: linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,.9));
    color:#000;
}
.myButton:active {
	position:relative;
	top:1px;
}

/* ################## */
/* # not a flip card vers  # */
/* ################## */
.not-a-flip-card {
  font-family: "Inter", sans-serif;
  line-height: 35px;
  color: white;
  text-align: center;
  font-size: 32px;
  width: 95%;
  border-radius: 8px;
  border: 2px solid #ffffff;
  backface-visibility: hidden;
  filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.48));
  padding-top: 10px;
}

.not-a-flip-card-support-text {
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 20px;
    color: white;
    margin: 12px 0;
    padding-bottom: 15px;
}

.not-a-flip-card-learn-more {
    bottom: 5px;
    width: 100%;
    margin-bottom: 15px;
}

@media (max-width: 996px) {
.hp-flipcard-space {
      margin-right: 4px;
      margin-left: 4px;
      margin-top: 10px;
      top: 0px;
    }
}

@media (max-width: 576px) {  /* Bootstrap 5 "sm" breakpoint */
  .bg-heavy-duty,
  .bg-medium-duty,
  .bg-light-duty {
    background-size: cover;      /* scale to fill container */
    background-repeat: no-repeat; /* prevent tiling */
    background-position: center;  /* keep it centered */
  }
}
