body{
    overflow-x: hidden;
}

.main{
    height: auto !important;
    text-align: center;
    padding-top: 5%;
    padding-bottom: 5%;
}

.logo{
    width: 500px;
}

a{
    text-decoration: none;
    color: black;
}

/* card */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');  
 
::selection{  
 color: #fff;  
 background: #fff;  
}  
.wrapper{  
 height: 400px;  
 width: 19%;  
 margin: 5px;
 position: relative;  
 transform-style: preserve-3d;  
     perspective: 1000px;  
}  
.wrapper .card{  
 position: absolute;  
 height: 100%;  
 width: 100%;  
 padding: 5px;  
 background: #fff;  
 border-radius: 10px;  
 transform: translateY(0deg);  
 backface-visibility: hidden;  
 transform-style: preserve-3d;  
 box-shadow: 0px 10px 15px rgba(0,0,0,0.1);  
 transition: transform 0.7s cubic-bezier(0.4,0.2,0.2,1);  
}  
.wrapper:hover > .front-face{  
 transform: rotateY(-180deg);  
}  
.wrapper .card img{  
 height: 100%;  
 width: 100%;  
 object-fit: cover;  
 border-radius: 10px;  
}  
.wrapper .back-face{  
 display: flex;  
 align-items: center;  
 justify-content: space-evenly;  
 flex-direction: column;  
 /*transform: rotateY(180deg);  */
}  
.wrapper:hover > .back-face{  
 transform: rotateY(0deg);  
 background: linear-gradient(375deg, #1c4e9e, #00aae2);
 color: #fff !important;
}  

.info a:hover {
    color: #fff !important;
}

.wrapper .back-face img{  
 height: 150px;  
 width: 150px;  
 padding: 5px;  
 border-radius: 50%;  
 background: linear-gradient(375deg, #1c4e9e, #00aae2); 
}  
.wrapper .back-face .info{  
 text-align: center;  
}  
.back-face .info .title{  
 font-size: 30px;  
 font-weight: 500;  
}  
.back-face ul{  
 display: flex;  
}  
.back-face ul a{  
 display: block;  
 height: 40px;  
 width: 40px;  
 color: #fff;  
 text-align: center;  
 margin: 0 5px;  
 line-height: 38px;  
 border: 2px solid #fff;  
 border-radius: 50%;  
 background: linear-gradient(375deg, #1c4e9e, #00aae2);
 transition: all 0.5s ease;  
}  
.back-face ul a:hover{  
 color: #fff;  
 border-color: #1c4e9e;  
 background: linear-gradient(375deg, transparent, transparent); 
} 

@media only screen and (max-width: 600px) {
    .wrapper {
        width: 95% !important; 
        height: 525px !important;
    }
    .main{
        height: auto !important;
    }
  }

  @media only screen and (max-width: 820px) {
    .wrapper {
        width: 50%; 
        height: 500px;
    }
    .main{
        height: auto;
    }
  }
   @media only screen and (min-width: 820px) and (max-width: 1200px) {
    .wrapper {
        width: 33% !important; 
        height: 500px !important;
    }
    .main{
        height: auto !important;
    }
  }