.advent-calendar {
    display              : grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap                  : 10px;
}

.advent-day {
    position: relative;
    cursor  : pointer;
    overflow: visible;
}

.advent-front {
    transition     : transform 0.4s ease;
    display        : flex;
    justify-content: center;
}

.advent-front img {
    width        : 100%;
    display      : block;
    border-radius: 4px;
    height       : auto;
    max-width    : 150px !important;
}

.advent-back {
    position   : absolute;
    bottom     : -30px;
    left       : 0;
    width      : 100%;
    text-align : center;
    font-weight: bold;
    font-size  : 15px;
    color      : #fff;
    opacity    : 0;
    transition : opacity 0.4s ease, bottom 0.4s ease;
}

.advent-day.revealed .advent-front {
    transform: translateY(-20px);
}

.advent-day.revealed .advent-back {
    bottom : 0;
    opacity: 1;
}

/* Effet shake */
.shake {
    animation: shake 0.4s;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}