/* styles.css */
body {
    background-color: #001f3f; /* Einfarbiger dunkelblauer Hintergrund */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden; /* Damit der Overlay-Effekt den ganzen Bildschirm abdeckt */
    font-family: 'superior-title', sans-serif; /* Anwendung der eingebundenen Schriftart */
    font-weight: 400;
}

h1 {
    color: orange; /* Orange Schriftfarbe für die Überschrift */
    font-size: 4vw; /* Größere Schriftgröße für die Überschrift mit viewport-basierten Einheiten */
    margin-bottom: 20px; /* Abstand unter der Überschrift */
    font-family: 'superior-title', sans-serif; /* Anwendung der eingebundenen Schriftart */
    user-select: none;
}

.calendar {
    position: relative;
    width: 100%;
    height: 80%;
}

.door-container {
    position: absolute;
    margin-bottom: 2vw; /* Abstand unten zwischen den Containern */
    margin-right: 2vw; /* Abstand rechts zwischen den Containern */
}

.door-container svg {
    position: absolute;
}

/* Zufällige Positionierung der Türchen mit relativen Einheiten */
.door-container:nth-child(1) {
    left: 6%;
    top: 0%;
    width: 10vw;
    height: 10vw;
}

.door-container:nth-child(2) {
    left: 59%;
    top: 24%;
    width: 8vw;
    height: 8vw;
}

.door-container:nth-child(3) {
    left: 70%;
    top: 68%;
    width: 11vw;
    height: 11vw;
}

.door-container:nth-child(4) {
    left: 34%;
    top: 23%;
    width: 8vw;
    height: 8vw;
}

.door-container:nth-child(5) {
    left: 44%;
    top: 0%;
    width: 12vw;
    height: 12vw;
}

.door-container:nth-child(6) {
    left: 59%;
    top: 51%;
    width: 9vw;
    height: 9vw;
}

.door-container:nth-child(7) {
    left: 8%;
    top: 29%;
    width: 10vw;
    height: 10vw;
}

.door-container:nth-child(8) {
    left: 68%;
    top: -3%;
    width: 9vw;
    height: 9vw;
}

.door-container:nth-child(9) {
    left: 45%;
    top: 67%;
    width: 12vw;
    height: 12vw;
}

.door-container:nth-child(10) {
    left: 57%;
    top: -1%;
    width: 8vw;
    height: 8vw;
}

.door-container:nth-child(11) {
    left: 82%;
    top: 48%;
    width: 11vw;
    height: 11vw;
}

.door-container:nth-child(12) {
    left: 79%;
    top: -6%;
    width: 9vw;
    height: 9vw;
}

.door-container:nth-child(13) {
    left: 19%;
    top: 67%;
    width: 12vw;
    height: 12vw;
}

.door-container:nth-child(14) {
    left: 34%;
    top: 46%;
    width: 10vw;
    height: 10vw;
}

.door-container:nth-child(15) {
    left: 19%;
    top: 2%;
    width: 9vw;
    height: 9vw;
}

.door-container:nth-child(16) {
    left: 60%;
    top: 76%;
    width: 9vw;
    height: 9vw;
}

.door-container:nth-child(17) {
    left: 82%;
    top: 20%;
    width: 10vw;
    height: 10vw;
}

.door-container:nth-child(18) {
    left: 45%;
    top: 36%;
    width: 10vw;
    height: 10vw;
}

.door-container:nth-child(19) {
    left: 7%;
    top: 57%;
    width: 11vw;
    height: 11vw;
}

.door-container:nth-child(20) {
    left: 32%;
    top: 0%;
    width: 8vw;
    height: 8vw;
}

.door-container:nth-child(21) {
    left: 20%;
    top: 32%;
    width: 12vw;
    height: 12vw;
}

.door-container:nth-child(22) {
    left: 33%;
    top: 73%;
    width: 10vw;
    height: 10vw;
}

.door-container:nth-child(23) {
    left: 69%;
    top: 30%;
    width: 12vw;
    height: 12vw;
}

.door-container:nth-child(24) {
    left: 82%;
    top: 78%;
    width: 8vw;
    height: 8vw;
}

.door {
    background-color: #001f3f; /* Gleiche Hintergrundfarbe wie die Website für geschlossene Türchen */
    border-radius: 15px;
    /*padding: 1rem; !* Anpassung mit relativen Einheiten *!*/
    text-align: center;
    cursor: pointer;
    color: orange; /* Orange Schriftfarbe für Zahlen */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4vw; /* Anpassung der Schriftgröße mit viewport-basierten Einheiten */
    font-family: 'superior-title', sans-serif; /* Anwendung der eingebundenen Schriftart */
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 5px 15px rgba(0, 0, 0, 0.4); /* Verstärkter Drop Shadow */
    transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.5s ease; /* Sanfte Übergänge für Animationen */
    width: 100%;
    height: 100%;
    position: absolute;
    user-select: none;
    z-index: 2;
}

.door:hover {
    transform: translateY(-0.5rem);
}

.door.open {
    transform: translateY(-1rem); /* Nach oben schweben */
    opacity: 0; /* Verblassen */
    pointer-events: none;
}

.line {
    stroke-dasharray: 160;
    stroke-width: 1px;
    fill: transparent;
    stroke: rgba(255, 215, 0, 0.3);
    animation: svgAnimation 3.5s linear infinite;
}

.gold-border {
    /*box-shadow: 0 0 10px gold, 0 0 20px gold, 0 0 30px gold; !* Leuchtender Effekt *!*/

    /*stroke-dasharray: 260;*/
    /*stroke-width: 1px;*/
    /*fill: transparent;*/
    /*stroke: rgba(78, 255, 13, 0.3);*/
    /*animation: svgAnimation 2.5s linear infinite;*/
}


@keyframes svgAnimation {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: 1000;
    }
}

.message {
    color: white; /* Dunkelblaue Schriftfarbe für Sprüche */
    font-size: 1.25vw; /* Schriftgröße für Sprüche mit viewport-basierten Einheiten */
    text-align: center;
    font-family: 'superior-title', sans-serif; /* Anwendung der eingebundenen Schriftart */
    font-weight: 400;
    opacity: 1; /* Sichtbar */
    transition: opacity 0.5s ease; /* Sanftes Einblenden */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    pointer-events: none; /* Deaktiviert Pointer-Events für Sprüche */
    z-index: 1;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Unsichtbar, bis ein Türchen angeklickt wird */
    z-index: 3;
}

.date {
    pointer-events: none; /* Klicks durchlassen */
}
