* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    list-style: none;
    text-decoration: none;
}

header {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 2.5%;
    background: rgba(44, 133, 234, 0.477);
    border-radius: 25px;
}

body {
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.logo {
    font-size: 30px;
    font-weight: 700;
    color: white;
}

.navlist {
    display: flex;
}

.navlist a {
    color: white;
    margin-left: 60px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all .60s ease;
}

.navlist a:hover {
    border-bottom: 2px solid white;
}

#menu-icon {
    color: white;
    font-size: 30px;
    z-index: 10001;
    cursor: pointer;
    display: none;
}

.cps {
    height: 100%;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(245.59deg, #166bc5 0%, #003d7e 28.53%, #56a8ff 75.52%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

section {
    padding: 0 15%;
}

#restart-btn {
    display: none;
    margin-top: 20px; /* Fügt Abstand zwischen der Box und dem Button hinzu */
    padding: 10px 20px; /* Fügt etwas Padding hinzu, um den Button größer zu machen */
    font-size: 16px; /* Vergrößert den Text des Buttons */
    border: none; /* Entfernt die Standardborder */
    border-radius: 5px; /* Macht die Ecken des Buttons abgerundet */
    background-color: #003d7e; /* Setzt die Hintergrundfarbe des Buttons */
    color: white; /* Setzt die Textfarbe des Buttons */
    cursor: pointer; /* Ändert den Cursor beim Hover */
    align-self: center;
}

#restart-btn:hover {
    background-color: #003064;
}

.cps-game {
    padding: 10px 20px;
    text-align: center;
    position: absolute;
}

.cps-text h1 {
    font-size: 90px;
    line-height: 1;
    color: white;
    margin: -160px 0 45px;
}

.cps-input p {
    font-size: 25px;
    color: white;
    user-select: none;
}

.cps-cps {
    margin-bottom: 1px;
}

.cps-cps p {
    font-size: 20px;
    color: white;
}

.cps-input {
    width: 600px;
    height: 300px;
    background-color: #616161;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    border-color: rgb(0, 0, 0);
    border-width: 2px;
    border-style: solid;
}

@media (max-width: 1584px) {
    header {
        padding: 10px 3%;
        transition: .2s;
    }

    .programme-text h1 {
        margin-top: 80px;
    }
}

@media (max-width: 1200px) {
    .programme-text h1 {
        margin-top: 120px;
    }
}

@media (max-width: 1107px) {
    #menu-icon {
        display: block;
    }

    .navlist {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 245px;
        height: 300px;
        background: #257edd;
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 30px 20px;
        transition: all .55s ease;
        overflow-y: auto;
        border-radius: 20px;
    }

    .navlist a {
        margin-left: 0;
        display: block;
        margin: 7px 0;
    }

    .navlist.open {
        right: 0;
    }
}

@media (max-width: 940px) {
    .programme-text h1 {
        margin-top: 100px;
    }

    .boxes-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .pi {
        margin-bottom: 20px;
    }
}

@media (max-width: 640px) {
    .boxes-container {
        flex-direction: column;
    }

    .pi {
        width: 105%;
        margin-bottom: 20px;
    }

    .programme-text h1 {
        font-size: 60px;
    }
}

@media (max-width: 430px) {
    .programme-text h1 {
        font-size: 40px;
    }
}
