body {
    font-family: 'Quicksand', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 20px;
    text-align: center;
}

#lights-out-grid {
    display: grid;
    gap: 7px;
}

.tile {
    width: 58px;
    height: 58px;
    background-color: #333;
    border: 2px solid #555;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tile.on {
    background-color: #ffeb3b;
}

#secret-message .box {
    margin-top: 10px;
    padding: 10px;
    background-color: #ffeb3b;
    width: fit-content;
    color: #ffeb3b; /* Stejná barva jako pozadí, aby text nebyl viditelný na začátku */
    font-size: 21px;
    border-radius: 5px;
    font-weight: 900;
}

#part1, #part2, #part3, #part4 {
    color: #ffeb3b; /* Stejná barva jako pozadí na začátku */
}

button {
    padding: 10px 20px;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400; /* Normální váha */
}
#replay-button {
    margin-top: 40px;
}

p {
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-weight: 900;
}

#instructions {
    font-size: 12px;
    font-family: 'Quicksand', sans-serif;
}

h1 {
    font-size: 21px;
    margin-bottom: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 900; /* Tučnější váha */
}

h2 {
    font-size: 16px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500; /* Střední váha */
}

#level-subtitle {
    margin-top: 20px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

#message-title {
    margin-top: 30px;
    font-size: 12px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 300; /* Lehčí váha */
}
