@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600&display=swap');
@import url("font-awesome.min.css");
* {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

ul {
    list-style-type: none;
}

.scene {
    width: 300px;
    height: 400px;
    perspective: 1000px;
}

.scene .card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s ease-in-out;
}

.card:hover {
    transform: rotateY(180deg);
}

.card .card-back,
.card .card-front {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
}

.card .card-front img {
    display: block;
    width: 100%;
    height: 100%;
}

.card .card-back {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, rgba(41, 41, 41, 1) 0%, rgba(41, 41, 41, 1) 50%, rgba(17, 17, 17, 1) 50%, rgba(17, 17, 17, 1) 100%);
    transform: rotateY(180deg);
    text-align: center;
}

.card-back .info h3 {
    color: white;
    font-size: 25px;
    font-weight: bold;
}

.card-back .info p {
    color: #bababa;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0 20px 0;
}

.card-back .social-media ul {
    display: flex;
    justify-content: center;
}

.card-back .social-media li {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #242726;
    border-radius: 100%;
    margin-left: 8px;
    transition: background-color .3s ease-in-out;
}

.social-media li a i {
    font-size: 18px !important;
    color: white !important;
}

.social-media li:hover {
    background-color: #eb1c5d;
}