body {
    background-color: white;
    color: black;
    transition: background-color 0.3s, color 0.3s;
    font-family: sans-serif;
}

header {
    padding: 20px; 
    background-color: #333; 
    color: white;
    text-align: center;
}

.night-mode {
    background-color: #121212;
    color: #00FFFF;
}

button {
    padding: 10px;
    margin: 10px;
    cursor: pointer;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.tile {
    background: #eee;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tile video {
    width: 100%;
    height: 180px; /* Or whatever height looks good */
    border-radius: 4px;
    object-fit: cover; /* 'contain' if you prefer full image inside */
    background-color: #000; /* Fallback for letterboxed areas */
}
