@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body{
  display: grid;
  height: 100%;
  width: 100%;
  place-items: center;
  background: linear-gradient(375deg, #000000, #000000);
  overflow: hidden;
}

::selection{
  color: #fff;
  background: #000000;
}

.wrapper{
  height: 450px;
  width: 320px;
  max-width: 90vw;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.wrapper .card{
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 10px;
  background: #fff;
  border-radius: 15px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  box-shadow: 0px 10px 25px rgba(0,0,0,0.2);
  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);
  text-align: center;
}

.wrapper:hover > .back-face{
  transform: rotateY(0deg);
}

.wrapper .back-face img{
  height: 150px;
  width: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #000;
  padding: 3px;
}

.back-face .info .title{
  font-size: 28px;
  font-weight: 600;
  color: #000;
}

.back-face .info p {
  font-size: 18px;
  font-weight: 600;
  color: #000000;
  margin-top: 5px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 85%;
}

.social-links .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: #000;
  padding: 8px 0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #000;
}

.social-links .btn i {
  margin-right: 8px;
  font-size: 16px;
}

.social-links .btn:hover {
  background: transparent;
  color: #000;
}