body {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: whitesmoke;
}
.page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 80px;
}
.customizer {
    position: fixed;
    top: 100px;
    right: 18px;
    width: 280px;
    z-index: 10;
    font-size: 14px;
}
.customizer-toggle {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-color: darkblue;
    color: whitesmoke;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.customizer-menu {
    display: none;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 8px;
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.35);
    color: whitesmoke;
}
.customizer.open .customizer-menu {
    display: block;
}
.customizer-row {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.customizer-row-full {
    width: 100%;
    flex-direction: column;
    display: flex;
    gap: 12px;
}
.customizer label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    color: whitesmoke;
    font-family: inherit;
}
.customizer select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.22);
    background: #111;
    color: whitesmoke;
    font-size: 14px;
    font-family: inherit;
}
.clock {
    background-color: darkblue;
    width: 325px;
    height: 205px;
    padding: 16px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: whitesmoke;
    font-size: 35px;
    box-shadow: 0 0 20px rgba(255,255,255,0.15);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.clock:fullscreen,
.clock:-webkit-full-screen,
.clock:-moz-full-screen,
.clock:-ms-fullscreen,
.clock.fullscreen-text {
    font-size: 80px;
}
.clock:fullscreen #weekday,
.clock:-webkit-full-screen #weekday,
.clock:-moz-full-screen #weekday,
.clock:-ms-fullscreen #weekday,
.clock.fullscreen-text #weekday {
    font-size: 28px;
}
.clock:fullscreen #date,
.clock:-webkit-full-screen #date,
.clock:-moz-full-screen #date,
.clock:-ms-fullscreen #date,
.clock.fullscreen-text #date {
    font-size: 26px;
}
.controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}
.controls label.control-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #1e3c72;
    color: whitesmoke;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-family: inherit;
}
.controls label.control-checkbox:hover {
    background-color: #2a4a93;
    transform: translateY(-1px);
}
.controls input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: whitesmoke;
    cursor: pointer;
}
.controls label.control-checkbox span {
    line-height: 1.2;
}
#weekday {
    font-size: 18px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#time {
    margin: 0;
}
#date {
    font-size: 18px;
    margin: 0;
}



@keyframes moveGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.gradient-blue-purple {
    background: linear-gradient(135deg, #1f3c88, #6b2ca1, #3b82f6);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-purple-pink {
    background: linear-gradient(135deg, #6a1b9a, #ab47bc, #ff6fcf);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-teal-blue {
    background: linear-gradient(135deg, #00838f, #1e88e5, #26c6da);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-sunset {
    background: linear-gradient(135deg, #f97316, #f43f5e, #8b5cf6);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-green-aqua {
    background: linear-gradient(135deg, #0f766e, #14b8a6, #22d3ee);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-berry-navy {
    background: linear-gradient(135deg, #7c3aed, #312e81, #1e3a8a);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-gold-red {
    background: linear-gradient(135deg, #f59e0b, #f97316, #ef4444);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-ice-sky {
    background: linear-gradient(135deg, #dbeafe, #93c5fd, #60a5fa);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}

body.gradient-coral-orange {
    background: linear-gradient(135deg, #fb7185, #f97316, #fbcfe8);
    background-size: 300% 300%;
    animation: moveGradient 12s ease infinite;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: black;
    z-index: 1000;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

nav {
    display: flex;
    justify-content: center;
    gap: 15px;
}

nav button {
    background-color: #2b0f79;
    border: none;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s;
}

nav button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

nav button a {
    color: #ffffff;
    text-decoration: none;
}
