/* kiosk.css */

* {
    box-sizing: border-box;
}

body {
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: 10rem;
    margin: 0;
    cursor: none;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

#date-time {
    margin-bottom: 1.5rem;
    font-size: 7rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

#links {
    font-size: 2rem;
    margin-top: 0;
    min-width: 260px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.04);
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    padding: 2rem;
}
#rechts {
    font-size: 2rem;
    margin-top: 0;
    min-width: 260px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
    background: rgba(255,255,255,0.04);
    border-radius: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    padding: 2rem;
}
#weather, #waste {
    min-width: 740px;
}

#train, #tram, #bus {
    /* Gemeinsame Stile für alle Transportmittel */
    min-width: 740px;
}


#train-list {
    width: 100%;
    text-align: left;
}

.train-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: 0.04em;
}

.train-row {
    display: grid;
    grid-template-columns: 4.5em 6em 1fr 6em;
    gap: 1em;
    align-items: center;
    width: 100%;
    background: rgba(255,255,255,0.07);
    border-radius: 0.7rem;
    padding: 0.7rem 1.2rem;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}
.tram-row,
.bus-row {
    display: grid;
    grid-template-columns: 4.5em 6em 1fr;
    gap: 1em;
    align-items: center;
    width: 100%;
    background: rgba(255,255,255,0.07);
    border-radius: 0.7rem;
    padding: 0.7rem 1.2rem;
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.train-time {
    font-weight: 500;
    color: #fff;
}
.train-line {
    font-weight: 400;
    color: #aaa;
}
.train-direction {
    font-weight: 500;
    color: #fff;
}
.train-platform {
    font-weight: 400;
    color: #aaa;
}
.train-label {
    font-weight: 400;
    color: #aaa;
}
.train-value {
    font-weight: 500;
    color: #fff;
}

.weather-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: 0.04em;
}

.weather-row, .waste-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: rgba(255,255,255,0.07);
    border-radius: 0.7rem;
    padding: 0.7rem 1.2rem;
    font-size: 2rem;
    margin-bottom: 0.2rem;

}

.weather-label {
    font-weight: 400;
    color: #aaa;
}
.weather-value {
    font-weight: 500;
    color: #fff;
}

@media (max-width: 1920px) {
    #main-flex {
        display: flex;
        gap: 2.5rem; /* Abstand zwischen Wetter und Zuganzeige */
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        padding: 0 2.5rem; /* Abstand links/rechts zum Bildschirmrand */
        box-sizing: border-box;
    }
    #weather, #train-container {
        margin: 0;
        max-width: 98vw;
    }
    #date-time {
        font-size: 3.5rem;
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    body {
        font-size: 4rem;
        padding: 1rem;
        height: auto;
        min-height: 100vh;
    }
    
    #date-time {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    #links, #rechts {
        font-size: 1.2rem;
        min-width: auto;
        width: 100%;
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    #weather, #waste, #train, #tram, #bus {
        min-width: auto;
        width: 100%;
    }
    
    .weather-title, .train-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .weather-row, .waste-row {
        font-size: 1.1rem;
        padding: 0.5rem 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .train-row {
        grid-template-columns: 3em 4em 1fr 4em;
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
        gap: 0.5rem;
    }
    
    .tram-row, .bus-row {
        grid-template-columns: 3em 4em 1fr;
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
        gap: 0.5rem;
    }
    
    #main-flex {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    body {
        font-size: 3rem;
        padding: 0.5rem;
    }
    
    #date-time {
        font-size: 2rem;
    }
    
    #links, #rechts {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .weather-title, .train-title {
        font-size: 1.2rem;
    }
    
    .weather-row, .waste-row {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
    
    .train-row {
        grid-template-columns: 2.5em 3em 1fr;
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
    
    .tram-row, .bus-row {
        grid-template-columns: 2.5em 3em 1fr;
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
    }
    
    /* Platform-Spalte auf sehr kleinen Bildschirmen ausblenden */
    .train-platform {
        display: none;
    }
}
