* {
    margin: 0;
    box-sizing: border-box;
}

:root {
    --day-color: #282828;
    --night-color: #F0F8FF;
    --font-color: var(--day-color);
    --alternative-color: var(--night-color);
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.night {
    --font-color: var(--night-color);
    --alternative-color: var(--day-color);
}

main {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#title {
    display: flex;
    justify-content: center;
    padding-top: 3vw;
}

h1 {
    font-family: bd-orange-variable, sans-serif;
    font-variation-settings: "wght" 600;
    font-size: 80px;
    color: var(--font-color);
    justify-content: center;
}

p {
    font-family: bd-orange-variable, sans-serif;
    font-variation-settings: "wght" 800;
}

#dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5vw;
}

label[for="stadt"] {
    font-size: 30px;
    color: var(--font-color);
    font-weight: bold;
    margin-bottom: 10px;
    font-family: bd-orange-variable, sans-serif;
    font-variation-settings: "wght" 600;
}

#stadtSuche {
    font-size: 22px;
    color: var(--alternative-color);
    background-color: var(--font-color);
    width: 90%;
    padding: 10px;
    border-radius: 5px;
    box-sizing: border-box;
    font-variation-settings: "wght" 600;
    text-align-last: center;
}

#container {
    display: flex;
    align-items: end;
    padding-top: 7vw;
}

#zeitLinks,
#zeitRechts {
    color: var(--font-color);
    width: 20vw;
    font-size: 32px;
    padding-left: 5vw;
    padding-right: 5vw;
}

#zeitLinks {
    text-align: right;
}

#sonnenbogen {
    width: 500px;
    height: 250px;
    border-radius: 250px 250px 0 0;
    border: 2px solid;
    border-bottom: none;
    position: relative;
    border-color: var(--font-color);
}

img {
    width: 100%;
    height: 100%;
}

#sonne {
    width: 80px;
    height: 80px;
    position: absolute;
    animation-name: rotation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

#mond {
    width: 80px;
    height: 80px;
    position: absolute;
    animation-name: rotation;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#currentTime {
    color: var(--font-color);
    font-size: 64px;
}

footer {
    align-self: flex-end;
    justify-self: flex-end;
}

button {
    font-size: 20px;
    color: var(--alternative-color);
    background-color: var(--font-color);
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
}

@media (max-width: 768px) and (min-width: 601px) {

    #title {
        margin-top: 10vw;
    }

    #dropdown {
        margin-top: 5vw;
    }

    #container {
        padding-top: 10vw;
    }

    #sonne {
        width: 60px;
        height: 60px;
    }

    #mond {
        width: 60px;
        height: 60px;
    }

    #sonnenbogen {
        width: 350px;
        height: 175px;
        border-radius: 300px 300px 0 0;
    }
}

@media (max-width: 600px) and (min-width: 451px) {

    #title {
        margin-top: 20vw;
    }

    #dropdown {
        margin-top: 10vw;
    }

    h1 {
        font-size: 10vw;
    }

    #stadtSuche {
        font-size: 5vw;
    }

    #container {
        padding-top: 15vw;
    }

    #sonne {
        width: 50px;
        height: 50px;
    }

    #mond {
        width: 50px;
        height: 50px;
    }

    #zeitLinks,
    #zeitRechts {
        font-size: 5vw;
    }

    #currentTime {
        font-size: 8vw;
    }

    #sonnenbogen {
        width: 300px;
        height: 150px;
        border-radius: 300px 300px 0 0;
    }
}

@media (max-width: 450px) {

    #title {
        margin-top: 10vw;
    }

    #dropdown {
        margin-top: 15vw;
    }

    h1 {
        font-size: 10vw;
    }

    #stadtSuche {
        font-size: 5vw;
    }

    #container {
        width: 300px;
        padding-top: 20vw;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 10vw;
    }

    #sonnenbogen {
        order: -1;
    }

    #sonne {
        width: 50px;
        height: 50px;
    }

    #mond {
        width: 50px;
        height: 50px;
    }

    #zeitLinks,
    #zeitRechts {
        font-size: 5vw;
        padding-left: 0;
        padding-right: 0;
        padding-top: 3vw;
    }

    #zeitLinks {
        text-align: left;
    }

    #zeitRechts {
        text-align: right;
    }

    #currentTime {
        font-size: 15vw;
    }

    #sonnenbogen {
        width: 300px;
        height: 150px;
        border-radius: 300px 300px 0 0;
    }
}