.flip-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.flip {
    width: 30vw;
    height: 50vh;
    perspective: 1000px;
    border-radius: 5%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.flip-inner {
    width: 100%;
    height: 100%;
    transition: transform 1.5s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip:hover {
    border-radius: 5%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 12px 40px rgba(0, 0, 0, 0.3);
}

.flip-front, .flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 5%;
}

.flip-front {
    background-color: #fff;
    color: black;
}

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

.flip-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5%;
    position: relative;
}

.flip-back {
    background-color: #3A4454;
    border-radius: 5%;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.flip-back p {
    padding: 1.5vh;
}

.overview p, .overview ol {
    font-size: 1rem;
    color: #3A4454;
    line-height: 1.5;
    font-family: Arial, sans-serif;
    margin: 10px 0;
}

.overview ol {
    padding-left: 20px;
}

.citation {
    position: absolute;
    bottom: 5px;
    right: 5px; 
    font-size: 10px;
    color: white; 
    padding: 2px 4px;
    border-radius: 3px;
}