/* ---------- RESET / BASIC ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* ---------- MODAL ---------- */
.modalVocation-container {
    background: url("../img/christmastree.jpg") center/cover no-repeat;
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 995;
}

.modalVocation {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 999;
}

.modalVocation.active {
    opacity: 1;
    visibility: visible
}

.modalVocation-content {
    max-width: 600px;
    width: 90%;
    padding: 2.5rem 2rem 2rem;
    border: 2px solid #e9501c;
    border-radius: 12px;
    position: relative;
    text-align: center;
    box-shadow: 5px 10px 20px rgba(255, 217, 0, 0.4);
    background: url("../img/knusper.jpg") center/cover no-repeat;
    color: #fff;
}

.modalVocation-content h2 {
    margin-top: 1rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.3rem;
}

.modalVocation-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 3px;
    background-color: #fff;
}

.modalVocation-content::before {
    /* dark overlay so text stays readable */
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    border-radius: 12px;
    z-index: 0;
}

.modalVocation-content>* {
    position: relative;
    z-index: 1
}

/* keep text above overlay */

.close-btn {
    position: absolute;
    top: 6px;
    right: 12px;
    font-size: 2rem;
    cursor: pointer;
    color: #ddd;
    transition: color .2s;
    z-index: 2;
}

.close-btn:hover {
    color: #fff
}

/* ---------- TABLE ---------- */
table.closed-days {
    width: 100%;
    margin: 1.2rem auto 0;
    border-collapse: collapse;
    font-size: 1rem;
}

table.closed-days th,
table.closed-days td {
    padding: .55rem .4rem;
    border: 2px solid rgba(37, 37, 37, 0.5);
}

table.closed-days th {
    background: rgba(255, 255, 255, .15);
    font-weight: 600
}

table.closed-days td {
    background: rgba(255, 255, 255, .08)
}

/* ---------- SNOW ---------- */
.snow-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1000;
}

.snow {
    position: absolute;
    top: -20px;
    background: #fff;
    border-radius: 50%;
    opacity: .8;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(105vh) rotate(360deg)
    }
}