
body {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    /* height: 100vh;  */
    margin: 0;
    background-color: rgb(12, 214, 96);
}

button {
    background-color: #0d3ec5;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.mute {
    background-color: rgb(216, 138, 216);
    border-radius: 50%;
    width: 50px;
    position: fixed;
}

.a {
    font-size: xx-large; 
    text-align: center;
}


h2 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(163, 31, 141);
    text-align: center;
}

h1 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(163, 31, 141);
    text-align: center;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: 100px;
    height: 150px;
    margin: 10px;
    perspective: 1000px;
    cursor: pointer;
}

.card .card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.card.enlarged .card-inner {
    transform: scale(5); /* Adjust the scale factor as needed */
}

.card.enlarged .card-inner.flipped {
    transform: scale(5) rotateY(180deg);
}

.card .front-face,
.card .back-face {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card .card-face img {
    max-width: 100%;
    max-height: 100%;
}

.enlarged {
    z-index: 1000;
}

.front-face {
    transform: rotateY(0deg);
}

.back-face {
    transform: rotateY(180deg);
}

h3 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(163, 31, 141);
    text-align: center;
}

@media only screen and (max-width: 600px) {

    h3 {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        color: rgb(163, 31, 141);
        text-align: center;
    }

    .mute {
        background-color: rgb(216, 138, 216);
        border-radius: 50%;
        width: 20px;
        position: fixed;
    }

    body {
        /* display: flex; */
        align-items: center;
        justify-content: center;
        /* height: 100vh;  */
        margin: 0;
        background-color: rgba(6, 177, 77, 0.753);
    }
    
    .a {
        font-size: xx-large; 
        text-align: center;
    }
    
    
    h2 {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        color: rgb(163, 31, 141);
        text-align: center;
    }
    
    h1 {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        color: rgb(163, 31, 141);
        text-align: center;
    }
    
    .card-grid {
        display: flex;
        flex-wrap: wrap;
    }
    
    .card {
        width: 100px;
        height: 150px;
        margin: 10px;
        perspective: 1000px;
        cursor: pointer;
    }
    
    .card .card-inner {
        width: 100%;
        height: 100%;
        transform-style: preserve-3d;
        transition: transform 0.5s;
    }
    
    .card.enlarged .card-inner {
        transform: scale(3); /* Adjust the scale factor as needed */
    }
    
    .card.enlarged .card-inner.flipped {
        transform: scale(3) rotateY(180deg);
    }
    
    .card .front-face,
    .card .back-face {
        width: 100%;
        height: 100%;
        position: absolute;
        backface-visibility: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .card .card-face img {
        max-width: 100%;
        max-height: 100%;
    }
    
    .enlarged {
        z-index: 1000;
    }
    
    .front-face {
        transform: rotateY(0deg);
    }
    
    .back-face {
        transform: rotateY(180deg);
    }

}