* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: url('background.jpg') center center / cover no-repeat;
    font-family: 'Cormorant Garamond', serif;
}

/* Mittelpunkt des Herzens */
.content {

    position: absolute;

    top: 45%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 100%;
    display: flex;

    justify-content: center;
    align-items: center;
}

/* Countdown in einer Zeile */
#countdown {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    animation: fadeIn 2s ease;

    color: #7a1437;
}

/* Jeder Block */
.time-block {

    display: flex;
    flex-direction: column;
    align-items: center;

    min-width: 140px;
}

/* Zahlen */
.time-block span {

    font-size: 15rem;
    font-weight: 700;
    line-height: 1;

    color: #7a1437;

    text-shadow:
        0 2px 0 rgba(255,255,255,0.8),
        0 3px 12px rgba(122,20,55,0.2);
}

/* Beschriftungen */
.time-block small {

    margin-top: 10px;

    font-size: 1.2rem;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: #9a365b;
}

/* Doppelpunkte */
.separator {

    font-size: 5rem;
    font-weight: 300;

    margin-top: -20px;

    color: #b1456e;

    text-shadow:
        0 0 8px rgba(255,255,255,0.5);
}

/* Nachricht wenn Countdown fertig */
.finished {

    text-align: center;

    font-size: 4.5rem;

    font-weight: 700;

    color: #7a1437;

    text-shadow:
        0 2px 0 rgba(255,255,255,0.8),
        0 0 20px rgba(255,192,203,0.8);

    animation: pulse 2s infinite;
}

/* Elegantes Einblenden */
@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Herzschlag-Effekt für Endtext */
@keyframes pulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Tablet */
@media (max-width: 1200px) {

    .time-block {
        min-width: 110px;
    }

    .time-block span {
        font-size: 4rem;
    }

    .separator {
        font-size: 3rem;
    }
}

/* Smartphone */
@media (max-width: 768px) {

    #countdown {
        gap: 10px;
    }

    .time-block {
        min-width: 70px;
    }

    .time-block span {
        font-size: 2.4rem;
    }

    .time-block small {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .separator {
        font-size: 2rem;
    }

    .finished {
        font-size: 2rem;
        padding: 0 20px;
    }
}