* {
    background-color: #FFFDD0;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    justify-content: center;
    align-content: center;
    align-content: center;
    flex-direction: column;
}

#buttonContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 30px;
}

button {
    margin: 40px;
    padding: 10px 20px;
    background-color: #dd92dd;
    color: #FFFDD0;
    border: none;
    font-size: 25px;
    font-family: "fayte", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 10%;
    transition: background-color 0.1s ease;
}

button:hover {
    cursor: pointer;
    background-color: #FFFDD0;
    color: #dd92dd;
}

button:active {
    background-color: #777447;
    color: #6c466c;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

#deckStack {
    display: block;
    margin: 0;
    padding: 0;
    transform: scale(25%);
}

#cardContainer {
    display: flex;
    justify-content: center;
    margin: 50px;
}

@keyframes fade {
    
}

#shuffleDeck.is-active {
    animation-name: animation;
    animation-duration: 4s;
    animation-fill-mode: forwards;
}

.card {
    width: 340px;
    height: 600px;
    perspective: 1000px;
    display: inline-block;
    margin: 6px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.card.is-flipped .card-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
}

.card-face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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