@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    color: black;
    transition: background-color 0.5s, color 0.5s;
    overflow-y: auto;
    padding-bottom: 200px;
}

body.night-mode {
    background-color: #2c3e50;
    color: white;
}

body img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid transparent;
}

button {
    background-color: white;
    color: black;
    margin-top: 20px;
    transition: background-color 0.5s, color 0.5s;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid transparent;
}

body.night-mode button {
    background-color: black;
    color: white;
}

#container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#logo1, #logo2, #logo3, #logo4, #logo5 {
    position: absolute;
    width: 200px;
    height: auto;
}

.titel h1 {
    font-size: 50px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    text-align: center;
}

#scoreboard {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    z-index: 1000;
    width: 200px;
    transition: background-color 0.5s, color 0.5s;
}

body.night-mode #scoreboard {
    background-color: rgba(44, 62, 80, 0.8);
    color: white;
}

#scoreboard h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

#scoreboard div {
    font-size: 18px;
    margin-bottom: 5px;
}

#toggle-mode {
    background-color: white;
    color: black;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    position: fixed;
    bottom: 20px;
    left: calc(50% - 100px);
}

#toggle-mode:hover {
    background-color: #f0f0f0;
}

body.night-mode #toggle-mode {
    background-color: black;
    color: white;
    border-color: white;
}

#toggle-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: white;
    color: black;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    cursor: pointer;
    z-index: 1001;
}

.menu-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.menu-container.open {
    display: flex;
}

.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-content button {
    background-color: white;
    color: black;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 10px 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    cursor: pointer;
    margin: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.menu-content button:hover {
    background-color: #f0f0f0;
}

@media screen and (max-width: 768px) {
    .titel h1 {
        font-size: 40px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }

    #toggle-mode {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        margin: 0;
    }

    #toggle-menu {
        top: 10px;
        left: 10px;
    }

    #scoreboard {
        top: auto;
        bottom: 20px;
        right: 20px;
        width: auto;
        left: 20px;
    }

    #container {
        padding-top: 100px;
    }
}

@media screen and (max-width: 480px) {
    .titel h1 {
        font-size: 30px;
    }

    button {
        font-size: 12px;
        padding: 6px 12px;
    }

    #toggle-mode {
        bottom: 5px;
        left: 5px;
        right: 5px;
        width: auto;
        margin: 0;
    }

    #toggle-menu {
        top: 5px;
        left: 5px;
    }

    #scoreboard {
        bottom: 5px;
        right: 5px;
        width: auto;
        left: 5px;
    }
}

#music-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

#mute-music {
    background-color: white;
    color: black;
    border: 1px solid transparent;
    border-radius: 5px;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#volume-slider {
    margin-left: 10px;
}

#time-spent {
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    text-align: left;
    transition: background-color 0.5s, color 0.5s;
}

body.night-mode #time-spent {
    background-color: rgba(44, 62, 80, 0.8);
    color: white;
}
