@import url(font.css);

:root {
    --skyDay: linear-gradient(150deg, #E0FFFF, #87CEFA, #6495ED);
    --skyNight: linear-gradient(150deg, #201c2f, #113755, #100751);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    font-family: DSEG14;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    background-size: 300% 300%;
    animation: sky 10s ease-in-out infinite;
}

@keyframes sky {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}

.weather {
    height: 105vw;
    width: 105vw;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: -52.5vw;
}

.sun {
    position: absolute;
    bottom: 0vh;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    box-shadow:
        inset 0 0 50px #FFF,
        inset 20px 0 80px rgb(255, 0, 0),
        inset -20px 0 80px rgb(255, 217, 0),
        inset 20px 0 300px rgb(255, 0, 0),
        inset -20px 0 300px rgb(255, 217, 0),
        0 0 50px #FFF9,
        -10px 0 80px rgb(255, 0, 0),
        10px 0 80px rgb(255, 217, 0);
}

.moon {
    position: absolute;
    top: 0;
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    box-shadow:
        inset 0 0 50px #FFF,
        inset 20px 0 80px rgb(200, 200, 150),
        inset -20px 0 80px rgb(100, 100, 150),
        inset 20px 0 300px rgb(200, 200, 150),
        inset -20px 0 300px rgb(100, 100, 150),
        0 0 50px #FFF9,
        -10px 0 80px rgb(100, 100, 150),
        10px 0 80px rgb(200, 200, 150);
}

.watch {
    border: .5rem solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(120deg, #888, #FFF, #666);
    box-shadow: 0px 0px 20px #0009;
    background: #000;
    color: #0B0;
    padding: 1.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.date {
    text-align: right;
    font-size: 1.4rem;
}

.number {
    font-family: 'DSEG7';
    font-size: 4.2rem;
}

.second {
    font-size: .5em;
}

.stringBackground {
    position: absolute;
    opacity: .1;
}



.nowDayWeek {
    color: #0F0;
    font-weight: 700;
}

#play {
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 5rem;
    border: 2px solid #000;
    background: #F00;
    box-shadow: 3px 3px 10px #000;
}