:root {
    --bg: #161616;
    --bg2: #1f1f1f;
    --text: #e8e8e8;
    --text-2: #888;
    --farben: #7aa2f7;
    --border: rgba(255,255,255,0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at 50% 20%, #1c1c1c, var(--bg) 70%);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    animation: fadein 0.6s ease forwards;
}

@keyframes fadein { to { opacity: 1; } }

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 32px;
    font-weight: 300;
}


/* Uhr */

#live-uhr {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-2);
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

#date {
    font-size: 16px;
    color: var(--text-2);
    letter-spacing: 0.5px;
}

#big-time {
    font-size: 78px;
    font-weight: 200;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}


#weather {
    font-size: 15px;
    color: var(--text-2);
    display: flex;
    align-items: center;
    gap: 8px;
}



.center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: -40px;
}





.search-box {
    width: min(520px, 80vw);
    margin-top: 10px;
}

.search-box input {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    color: var(--text);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: none;
    backdrop-filter: blur(6px);
    transition: border-color 0.2s, background 0.2s;
}

.search-box input::placeholder { color: var(--text-2); }

.search-box input:focus {
    border-color: var(--farben);
    background: rgba(255,255,255,0.07);
}

#notes-toggle {
    position: fixed;
    bottom: 24px;
    right: 28px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    transition: background 0.2s, color 0.2s;
}

#notes-toggle:hover { background: rgba(255,255,255,0.12); color: var(--text); }

.notes-panel {
    position: fixed;
    bottom: 72px;
    right: 28px;
    width: 260px;
    max-height: 320px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    display: none;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.notes-panel.open { display: flex; }

.notes-panel textarea {
    width: 100%;
    height: 220px;
    resize: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    padding: 10px;
    outline: none;
}

.notes-panel .label {
    font-size: 11px;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


