.flip-card *::selection{
  background-color: #FFF;
  color: #9381ff;
}
.fleet-header{
  background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(../img/fleet1.jpg) center center/cover;
}
.fleet-cards h2{
    margin: 40px 0 20px;
    text-transform: capitalize;
}
.fleet-cards h3{
    padding: 15px 0;
    text-transform: capitalize;
}
.fleet-cards span{
    display: block;
    padding: 5px 0;
    text-transform: capitalize;
}
.flip-card {
    background-color: transparent;
    width: auto;
    height: 400px;
    border: 1px solid #f1f1f1;
    margin-bottom: 20px; 
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
.img-text span{
  margin-top: 1rem;
}
  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
  }
  
  /* Do an horizontal flip when you click on the button */
.interior{
    transform: rotateY(180deg);
}
  
  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: #b8b8ff;
    color: #FFF;
  }
  
  /* Style the back side */
  .flip-card-back {
    background-color:  #b8b8ff;
    color: #FFF;
    transform: rotateY(180deg);
  }
.flip-card-inner img{
    width: 100%;
}

.flip-card-back button,
.flip-card-front button{
    background-color: #FFF;
    color: #9381ff;
    padding: 5px 10px;
    border: none;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: 5px 5px 5px rgb(61, 61, 61);
}
.flip-card-back button:active,
.flip-card-front button:active{
    box-shadow: 2px 2px 2px rgb(61, 61, 61);
}