@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');

.flip-box {
  width: 272px;
  height: 380px;
  margin: 0 auto 30px;
  
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-box-front {
  border: 1px solid #f1f1f1;
  perspective: 1000px;
  box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.16);
  -webkit-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.16);
  background: var(--white);
  border-radius: 15px;
  position: relative;
}
.flip-box-front h2 {
  font-size: 24px;
  font-weight: 700;
  padding: 0 0 10px;
  font-family: var(--calibri);
}
.flip-box-front p {
  text-align: center;
  padding: 0 15px 20px;
  color: #303030;
}
.flip-box-back {
  background-color: var(--white);
  box-shadow: 0px 1px 7px 0px rgb(0 0 0 / 16%);
  -webkit-box-shadow: 0px 1px 7px 0px rgb(0 0 0 / 16%);
  -moz-box-shadow: 0px 1px 7px 0px rgba(0,0,0,0.16);
  border: 1px solid #f1f1f1;
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: 15px;
}
.background-image {
  height: 115px;
  overflow: hidden;
border-bottom: 5px solid var(--primary);
margin: 0px auto -67px;
}
.flip-box-back .background-image {
  margin: 0 0 25px;
}
.flip-box-back p {
  font-size: 1em;
  color: #ed7c1a;
  font-weight: bold;
  color: #ED7C1A;
  text-align: center;
  padding: 0 20px;
}
.flip-box-back p a {
  color: #ed7c1a;
  font-weight: bold;
  color: #ED7C1A;
}
.flip-box-back p a:hover {
  color: var(--secondary);
}

/* Zoom In #1 */
.scalled img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.scalled:hover img {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

@media only screen and (max-width: 767px) {
   .flip-box-front h2 {
    font-size: 22px;
  }
  .responsive-row {
    gap: 15px;
  }
  .tabs-section {
    background: url('../images/tabs-bg-mobile.jpg') center center no-repeat;
    background-size: cover;
  }
  .tabs-details {
    background: url('../images/tabs-bg-mobile.jpg') center center no-repeat;
    background-size: cover;
  }
}
.centeredOverlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.imgOverlay {
  position: absolute;
  bottom: 0px;
  left: 0px;
}

.scrollable {
  overflow-y: auto;
  max-height: 340px;
  font-size: .9em;
  padding-top:5px;
}
.responsive-row {
display: flex;
align-items: center;
justify-content: space-around;
flex-wrap: wrap;
}
/* On screens that are 992px wide or less, the background color is blue */
@media screen and (max-width: 992px) {
  body {
    background-color: blue;
    color: white;
  }
}
/* On screens that are 600px wide or less, the background color is olive */
@media screen and (max-width: 600px) {
  body {
    background-color: olive;
    color: white;
  }
}


