*,
*::after,
*::before {
  margin: 0;
  padding: 0;
}


.section-plans {
  padding: 2rem 0 2rem 0;
  margin-left: calc((100vw - 53.5rem) / -2);
  width: calc((100vw - 10rem));
}

@media only screen and (max-width: 991px) {
.section-plans {
  padding: 2rem 0 2rem 0;
  margin-left: 0;
  width: 100%;
}
}


.montecard {
  -webkit-perspective: 150rem;
          perspective: 150rem;
  -moz-perspective: 150rem;
  position: relative;
  aspect-ratio: 1/1;
}

@media only screen and (max-width: 575px) {
	.montecard {
  -webkit-perspective: 150rem;
          perspective: 150rem;
  -moz-perspective: 150rem;
  position: relative;
  height: calc(100vw - 2rem);
  aspect-ratio: 1/1;
}
}


@media only screen and (min-width: 576px) and (max-width: 991px) {
	.montecard {
  -webkit-perspective: 150rem;
          perspective: 150rem;
  -moz-perspective: 150rem;
  position: relative;
  height: calc(100vw - 6rem);
  aspect-ratio: 1/1;
  max-width: 720px;
}
}



.card__side {
   aspect-ratio: 1/1;
  -webkit-transition: all 0.8s ease;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-radius: 3px;
  overflow: hidden;
  -webkit-box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}

.card__side--front {
  background-color: #fff;
}

.card__side--front-1 {
  background-image: url('/sites/default/files/styles/square/public/2024-10/bts_cabinredesign_white.png?itok=FcG-N4Xu');
  background-size: cover;
}

.card__side--front-2 {
  background-image: url('/sites/default/files/styles/square/public/2024-10/bts_cabinredesign_blue.png?itok=J8yp5bYI');
  background-size: cover;
}

.card__side--front-3 {
  background-image: url('/sites/default/files/styles/square/public/2024-10/bts_cabinredesign_red.png?itok=zxymJBBi');
  background-size: cover;
}

.card__side--back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.card__side--back-1 {
  background-color: #041C2C;
}

.card__side--back-2 {
  background-color: #041C2C;
}

.card__side--back-3 {
  background-color: #041C2C;
}

.montecard:hover .card__side--front-1,
.montecard:hover .card__side--front-2,
.montecard:hover .card__side--front-3 {
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}

.montecard:hover .card__side--back {
  -webkit-transform: rotateY(0);
          transform: rotateY(0);
}


/*.montecard .card__side--front-1.flipped,*/
/*.montecard .card__side--front-2.flipped,*/
/*.montecard .card__side--front-3.flipped {*/
/*  -webkit-transform: rotateY(-180deg);*/
/*		 transform: rotateY(-180);*/
/*}*/


/*.montecard .card__side--back.flipped {*/
/*  -webkit-transform: rotateY(0);*/
/*	 transform: rotateY(0);*/
/*}*/

@media only screen and (min-width: 992px) {
.card__cta {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  color: white;
  font-size: 1rem;
  font-size: clamp(0.8125rem, 0.0776rem + 1.1853vw, 1.5rem);
  line-height: 1.4;
}
}

@media only screen and (max-width: 991px) {
.card__cta {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  color: white;
  font-size: 1rem;
  line-height: 1.4;
}
	
}



@media only screen and (min-width: 992px) {
.cardrow {
  max-width: calc((100vw - 10rem));
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-direction: row;
}
}

@media only screen and (max-width: 575px) {
	.cardrow {
  	max-width: calc((100vw - 2rem));
  	margin: 0 auto;
  	display: flex;
  	gap: 2rem;
  	flex-direction: column;
	}
}


@media only screen and (min-width: 576px) and (max-width: 991px) {
	.cardrow {
  	max-width: 720px;
  	margin: 0 auto;
  	display: flex;
  	gap: 2rem;
  	flex-direction: column;
	}
}




.col-1-of-3 {
	flex: 0 1 33%;
	margin: 0 auto;
}

@media only screen and (max-width: 575px) {
  .col-1-of-3 {
	  flex: 1 0 100%;
	  margin: 0 auto;
	  max-width: 100%;
  }
}

@media only screen and (min-width: 576px) and (max-width: 991px) {
  .col-1-of-3 {
	  flex: 1 0 100%;
	  margin: 0 auto;
	  max-width: 100%;
  }
}

