* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #ffb521;
}
.font{
    position: fixed;
     bottom: 3%;
     right: 4%;
     z-index: 99;
     font-weight: bold;
     font-family: cursive;
}

.content h4 {
    color: maroon;
    text-align: center;
}

.content p {
    font-size: 12px;
    text-align: left;
    font-weight: normal;
    font-family: cursive;
    box-sizing: border-box;

}

.card {
    position: relative;
    width: 300px;
    height: 400px;
    background: white;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.25);
    transition: 1s;
}

.card:hover {
    transform: translateX(50%);
}

.card .imgbox {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    transform-origin: left;
    transform-style: preserve-3d;
    background: #000;
    transition: 1s;
    box-shadow: 10px 20px 40px rgba(0, 0, 0, 0.25);

}

.card:hover .imgbox {
    transform: rotateY(-180deg);
}

.card .imgbox img {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-style: preserve-3d;


}

.card .details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .details .content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card .details .content h2 {
    text-align: center;
    font-weight: 700;
    line-height: 1em;
}

.card .details .content h2 span {
    color: #e21212;
    font-size: 0.8em;
}

.card .details .content .social-icons {
    position: relative;
    display: flex;
    margin-top: 10px;
}

.card .details .content .social-icons a {
    display: inline;
    width: 35px;
    height: 35px;
    background: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    margin: 5px;
    font-size: 18px;
    transition: 0.2s;
    border-radius: 8px;
}

.card .details .content .social-icons a:hover{
    background: #e21212;
}

.language-selector {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.language-selector a {
    text-decoration: none;
    color: #000;
    margin: 0 5px;
    font-weight: bold;
}

.language-selector a:hover {
    text-decoration: underline;
}
