h2 {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    margin-top: 60px;
    margin-bottom: 20px;
    padding: 20px;
    width: 95%;
    display: flex;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card {
    min-width: 300px;
    max-width: 500px;
    background: transparent;
    border-radius: 20px;
}

.cards {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    /* Smooth transition for flip effect */
    transform-style: preserve-3d;
    /* Preserve 3D effect */
}

.CARD-FRONT,
.CARD-BACK {
    position: absolute;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* Hide the back face when flipped */
}

.CARD-FRONT {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.CARD-BACK {
    background: linear-gradient(30deg, rgb(28, 33, 33), rgb(211, 219, 211), rgb(120, 146, 150));
    /* Back background color */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
    transform: rotateY(180deg);
    /* Rotate back face */
}

.FLIP-BUTTON {
    margin-top: 20px;
    padding: 10px 20px;
    backdrop-filter: blur(1px);
    background: rgba(0, 0, 0, 0.5);
    color: yellow;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: color 0.2s;
}

.FLIP-BUTTON:hover {
    color: white;
    /* Darker button color on hover */
}

.CLOSE-BUTTON {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.CLOSE-BUTTON:hover {
    color: #ffcccc;
    /* Change color on hover */
}

p,
h2 {
    padding: 4px;
}

a {
    color: rgb(166, 0, 255);
}