@keyframes flash {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@font-face {
    font-family: "San Francisco";
    src: url("SanFranciscoDisplay-Regular.otf");
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

body {
    background: black;
    overflow: hidden;
    font-family: "San Francisco";
    cursor: none;
}

body:before, body:after {
    content: "";
    display: block;
    width: 10%;
    height: 100%;
    position: absolute;
    top: 0;
    background: black;
    z-index: 10;
}

body:before {
    left: 0;
}

body:after {
    right: 0;
}

.curve {
    text-align: center;
    width: 80%;
    position: absolute;
    left: 10%;
    bottom: 0;
}

.curve img {
    width: 100%;
    vertical-align: bottom;
    position: relative;
    z-index: 10;
}

#sun, #circle {
    width: 40%;
    padding-top: 40%;
    position: absolute;
    top: 100%;
    left: -20%;
    border-radius: 50%;
}

#sun {
    
    background: radial-gradient(rgba(255, 255, 255, 0.95),
                                rgba(204, 238, 255, 0.9) 4%,
                                rgba(204, 238, 255, 0.8) 5%,
                                rgba(255, 255, 255, 0.75) 7%,
                                rgba(204, 238, 255, 0.5) 20%,
                                rgba(204, 238, 255, 0.2) 40%,
                                rgba(204, 238, 255, 0) 60%);
}

#circle:before {
    content: "";
    display: block;
    width: 10%;
    padding-top: 10%;
    position: absolute;
    top: 45%;
    left: 45%;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 255, 255, 0) 16%,
                                rgba(255, 255, 255, 0.95) 18%,
                                rgba(255, 255, 255, 0.95) 20%,
                                rgba(255, 255, 255, 0) 22%);
    z-index: 20;
}

#circle #fill {
    width: 10%;
    padding-top: 10%;
    position: absolute;
    top: 45%;
    left: 45%;
    border-radius: 50%;
    background: radial-gradient(rgba(0, 0, 0, 1) 20%,
                                rgba(0, 0, 0, 0) 22%);
    z-index: 10;
}

#night {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(rgba(255, 234, 153, 0.75),
                                rgba(255, 164, 136, 0.5) 15%,
                                rgba(204, 238, 255, 0) 25%);
    border-radius: 50%;
}

#time {
    color: white;
    position: absolute;
    right: 10%;
    top: 10%;
    font-size: 0;
}

#time span {
    font-size: 10vw;
    display: inline-block;
}

.colon {
    animation: flash 1s infinite;
    position: relative;
    top: -0.1em;
}