/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.flip-card {
    background-color: transparent;
    margin: 30px 15px;
  
flex-basis: 370px;
height: 520px;
 
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
  }
  


  /* This container is needed to position the front and back side */
  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    
  }
  
 
  .rotate_back{

    transform: rotateY(180deg);
  }   

  /* Position the front and back side */
  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 35px;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
  }
  
  /* Style the front side (fallback if image is missing) */
  .flip-card-front {
    background-color: rgb(0, 99, 99)

   
  }
  .dopinfo {
 height: 100%;
 position: absolute;
 bottom: 10px;
 left: 0;
 display: flex;
 justify-content: flex-end;
 align-items: flex-end;
 width: 100%;
  }

  .dopinfo p{
    font-size: 0.85rem;
  }

  .dopinfo a:hover{
    color:#00f9f9 !important;
  }

  .dopinfo a{
    color:#909797 !important;
  }
  /* Style the back side */
  .flip-card-back {
    background-color:rgb(0, 99, 99);
    color: black;
    transform: rotateY(180deg);
  }

  .flip-card h3{
    color: white !important;
    font-size: 2rem;
    font-family: "Nunito Sans", san-serif;
    margin: 5px;
    padding: 5px;
  }

  .flip-card h4{
    color: white !important;
    font-size: 1.5rem;
    font-family: "Nunito Sans", san-serif;
    font-weight: 300;
    margin: 5px;
    padding: 5px;
  }

  .flip-card p{
    color: white !important;
    font-size: 1rem;
    font-family: "Nunito Sans", san-serif;
    font-weight: 300;
    margin: 5px;
  
    padding: 0 30px;
    text-align: justify;
  }

  @media  (max-width:600px) {
    .flip-card{
        height:550px;
        margin: 20px 8px;
    }   
     .flip-card p{
        padding: 0 15px;
    }
  }
  

  @media  (max-width:460px) {
    .flip-card{
        height:600px;
    }
  }
