.xmas-advent {
    font-family: "Oleo Script", cursive;
    color: #fff;
    padding: 20px;
    font-weight: 400;
}
.xmas-advent__title {
    margin: 0;
    font-size: 75px;
    line-height: 75px;
    text-align: center;
    font-weight: 400;
}
.xmas-advent__list {
    margin: 0 auto 30px auto;
    padding: 0;
    list-style-type: none;
    max-width: 900px;
    width: 100%;
    text-align: center;
    user-select: none;
}
.xmas-advent__cell {
    font-weight: 400;
    background-color: #fff;
    border-radius: 6px;
    display: inline-block;
    color: #111;
    cursor: pointer;
    font-size: 26px;
    padding: 15px;
    margin: 25px 12px;
    width: 130px;
    height: 130px;
    line-height: 100px;
    text-align: center;
    position: relative;
    vertical-align: top;
    perspective: 800px;
    transition: all 0.4s ease-in-out;
}
.xmas-advent__cell:last-child {
    background-position: center top;
    background-size: cover;
    display: block;
    clear: both;
    margin: 20px auto 0 auto;
    width: 200px;
    height: 275px;
}
.xmas-advent__cell:last-child .door {
    font-size: 100px;
    width: 200px;
    height: 275px;
    line-height: 240px;
}
.xmas-advent__cell:last-child .revealed {
    line-height: 123px;
}
.xmas-advent .door {
    color: #fff;
    font-size: 70px;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #91c1cc;
    border-radius: 6px;
    padding: 15px;
    width: 130px;
    height: 130px;
    transform-origin: 0 40%;
    transition: all 0.4s ease-in-out;
    transform-style: preserve-3d;
}
.xmas-advent .current .door {
    background-color: #7ead44;
}
.xmas-advent .current .door.open {
    color: #7ead44;
}
.xmas-advent .revealed {
    user-select: none;
}
.xmas-advent__message {
    color: #222;
    display: none;
    font-size: 24px;
    padding: 20px;
    background: #eddecb;
    max-width: 500px;
    width: 100%;
    border-radius: 15px;
    margin: 0 auto;
}
.xmas-advent .open {
    box-shadow: 14px 0 15px -1px rgba(0, 0, 0, 0.2);
    color: #91c1cc;
    transform: rotate3d(0, 1, 0, -98deg);
}
.xmas-advent .jiggle {
    animation: jiggle 0.2s infinite;
    transform: rotate(-1deg);
}
@keyframes jiggle {
    0% {
        transform: rotate(-1deg);
    }
    50% {
        transform: rotate(1deg);
    }
}
@media screen and (min-width: 480px) {
    .xmas-advent__cell {
        margin: 25px 20px;
    }
}
