/* --------------
   Global styles
   -------------- */
*, *:after, *:before {
  box-sizing: border-box;
}

/* Text */
.info h2, h4, p, ul, li {
  margin: 0;
  padding: 0;
}

.info h2 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: hsla(0, 0%, 20%, 1);
}
.info h4{
	font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  color: white;
	
}

 .info h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}

.info p, li {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #555;
  line-height: 22px;
}

ul, li {
  text-decoration: none;
  list-style: disc outside;
}

ul {
  padding-left: 20px;
}

svg {
  margin: 0px;
  min-width: 24px;
  min-height: 24px;
}
.section-top {
  width: 100%;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.cards-3d-container {
  /*transform-style: flat; */
  width:100%;
  contain: layout style;
}

/* --------------
   Overall card
   -------------- */

.cardContainer {
	transition: filter 0.4s ease, transform 0.4s ease;
  width: 280px !important;
  height: 380px !important;
  min-width: unset !important;
  min-height: unset !important;
  margin: 0 !important;
  perspective: 1000px;
	

}
.cardContainer.active .card .front {
  transform: rotateY(-180deg);
  opacity: 0;
}

.cardContainer.active .card .back {
  transform: rotateY(0deg);
  opacity: 1;
}

.card.active {
  transform: translateZ(0px) rotateY(180deg) !important;
}

.card.active:after {
  display: none;
}


.card {
  display: inline-block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  -moz-backface-visibility: hidden;
  transform-style: preserve-3d;
  transform: translateZ(-100px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
} 

.card:after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  box-shadow: 0 14px 50px -4px hsla(0, 0%, 0%, 0.15);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.4);
}

.card:hover {
  transform: translateZ(0px);
}

.card:hover:after {
  opacity: 1;
}



.card .side {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 5px;
 background-color: rgba(255, 255, 255, 0.92);
  transition: background-color 0.3s ease;
}


.cardContainer:hover {
  filter: drop-shadow(0px 0px 20px rgba(160, 32, 240, 0.8));
  transform: translateY(-5px);
}
 

.card .front {
  z-index: 2;
} 





.card .back {
  transform: rotateY(180deg);
}

.card .info {
  padding: 16px;
}

/* --------------
   Front of card
   -------------- */
.front .img {
	 	
  background-color: hsla(223, 0%, 87%, 1); 
  background-position: center;
  background-size: cover;
  border-radius: 5px 5px 0 0; 
  width: 100%;
  height: 180px;
}


.front .img1 {
  background-image: url(../images/setup.jpg);
}

.front .img2 {
  background-image: url(../images/drupal.jpg);
}

.front .img3 {
  background-image: url(../images/api.png);
}

.front .img4 {
  background-image: url(../images/debug.png);
}

/* --------------
   Back of card
   -------------- */
.back {
  position: relative;
}

.back h2 {
  margin-top: 6px;
  margin-bottom: 18px;
}

.back .reviews {
  position: absolute;
  top: 35px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
}
.back .reviews svg {
  width: 15px;
  height: 15px;
  min-width: 12px;
  min-height: 12px;
}

.back .reviews p {
  color: hsla(0, 0%, 77%, 1);
  font-weight: 300;
  margin: 0 0 0 3px;
  transition: 0.3s ease-in-out;
	white-space: nowrap;
}

.back .reviews:hover p {
  color: #555;
}

.back li {
  line-height: 22px;
  margin: 2px 0 6px 0;
}

.back .btn {
  position: absolute;
  bottom: 16px;
  width: calc(100% - 32px);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
 background-color: #a020f0;
background-image: linear-gradient(-90deg, #7B2FBE, #c040ff);
  border-radius: 5px;
  cursor: pointer;
}

.back .btn:hover h4 {
  transform: translateX(0px);
}

.back .btn:hover svg {
  transform: translateX(0px);
  opacity: 1;
}

.back .btn h4 {
  transform: translateX(12px);
  transition: transform 0.3s ease-out;
}

.back .btn svg {
  margin: 1px 0 0 4px;
  transform: translateX(-8px);
  opacity: 0;
  transition: all 0.3s ease-out;
}
.cards-wrapper {
	 display: grid !important;
  grid-template-columns: repeat(2, 280px) !important;
  gap: 58px !important;
  justify-content: center;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
	
}

@media (max-width: 768px) {
  .cards-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  };
