

        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
/*            background-color: #FFF;*/
            font-family: inter, sans-serif;
        }

#gameContainer::before {
    content: '';
    position: fixed; /* Fixed position */
    left: 50%; /* Center the line */
    height: 100%; /* Full height of the viewport */
    width: 4px; /* Width of the line */
    background-color: black; /* Color of the line */
    z-index: -1; /* Ensure it stays behind other elements */
    transform: translateX(-50%); /* Perfectly center the line */
}

/* Prevent text selection */
body, #gameContainer {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Standard syntax */
}

.bold-text {
  font-weight: 600;
  font-size: 22px;
}

        #gameContainer {
/*            padding: 20px;*/
            box-sizing: border-box;
            display: flex; /* Added for flexbox layout */
            flex-direction: column; /* Stack children vertically */
            align-items: center; /* Center children horizontally */
/*            height: 100%;*/
            padding-bottom: 40px;
        }

        #header {
            width: 100%;
            margin: 140px 20px 60px 20px;
            box-sizing: border-box;
            text-align: center;
/*            background-color: white;*/
/*            margin-top: 10px;*/
            font-size: 16px;
        }

        #header h1 {
            font-size: 24px;
            margin: 0;
            text-align: center;
        }

/*        #header {
            text-align: left;
            margin-top: 10px;
            font-size: 16px;
        }*/

        #totalScoreBox {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: flex-start; /* Align content to the top */
    padding: 10px;
    box-sizing: border-box;
    background-color: black; /* Or any other color */
    color: white; /* Text color */
    border: 4px solid #000;
    min-width: 133px;
    min-height: 80px;
        }

#totalScore {
    font-size: 1.2em; /* Adjust font size as needed */
    width: 100%; /* Ensure it takes up the full width of its parent */
    text-align: center; /* Center text horizontally */
    margin-top: 10px; /* Add space at the top if needed */
}

        #levelContainer {
            display: flex; /* Use flexbox for layout */
            flex-wrap: wrap; /* Allow items to wrap to next line */
            justify-content: center; /* Center items on the main axis */
            gap: 20px; /* Space between items */
            padding: 10px 0 60px 0; /* Space for the fixed header */
            width: 100%; /* Full width to use all available space */
            max-width: 150px;
        }

        #logo {
            max-width: 180px;
            background-color: white;
            padding: 0 0 10px 0;
        }

/* Styles for Privacy Policy Link */
#privacyPolicyContainer {
    width: 100%;
    background-color: white; /* White background */
    text-align: center; /* Center align the content */

    bottom: 0; /* At the bottom */
    left: 0; /* Align to the left edge */
    padding: 10px 0; /* Some padding above and below the link */
}

#privacyPolicyLink {
    color: black; /* Black text color */
    text-decoration: none; /* No underline */
    font-size: 16px; /* Adjust the font size as needed */
}        


.credits-container {
    border: 4px solid black;
    background-color: white;
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Maximum width */
    font-size: 18px;
}

.clearLocalStorageButton {
  background-color: black;
  font-size: 20px;
  color: white;
  border: 4px solid #000;
  padding: 10px 20px; /* Adjust padding as needed */
  text-align: center; /* Center the text within the button */
  cursor: pointer; /* Add a pointer cursor on hover */
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
/*    display: flex;*/
    align-items: center;
    justify-content: center;
}




.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 4px solid black;
    width: 80%; /* Adjusted for better fit */
    max-width: 400px; /* Adjust as needed */
    box-sizing: border-box; /* Ensures padding is included in width */
    text-align: center; /* Center the text and buttons */
    font-size: 30px;
}

.modal-buttons {
    display: flex;
    justify-content: space-around; /* Space out buttons more evenly */
    padding-top: 20px; /* Add some space above the buttons */
}

.modal-buttons button {
    padding: 10px 20px;
    margin: 10px;
    border: 4px solid black;
    cursor: pointer;
    font-size: 16px;
    flex-grow: 1; /* Allows buttons to grow and fill space */
}

#cancelButton {
    background-color: white;
    color: black;
    margin-right: 5px; /* Add some space between buttons */
}

#eraseScoresButton {
    background-color: black;
    color: white;
    margin-left: 5px;
}

        .toggle {
            padding: 30px;
            font-size: 24px;
        }

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    margin: 20px;
    font-size: 24px;
    border: 4px solid #000;
    background-color: white;
    min-width: 200px;
}

.toggle-label {
    margin-right: 20px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 30px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    outline: 4px solid black;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: black;
    outline: 4px solid white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #000;
}

input:focus + .slider {
    box-shadow: 0 0 1px #000000;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 0;
}

.slider.round:before {
    border-radius: 0%;
}


        #settingsLink {
            position: absolute;
            top: 40px;
            right: 10px;
            padding: 20px;
            text-decoration: none;
        }

        #settingsIcon {
            width: 26px; /* Adjust the size as needed */
            height: auto;
        }
        .level {
            border: 4px solid #000;
            padding: 10px;
            box-sizing: border-box;
            background-color: white;
        }

        .accessible {
            border: 2px solid #000;
        }

        .levellink {
            text-decoration: none;
            color: black;
            text-align: center;
        }

        .levelNumber {
            font-size: 3em;
            margin-bottom: 5px;
        }

        .levelName {
        font-size: 12px;
        margin: 0;        
        }

        .trophyContainer {
            display: flex;
            justify-content: center;
            margin-bottom: 5px;
        }

        .trophy {
            width: 25px;
            height: auto;
            margin: 0 5px;
        }

        .highScore {
            font-size: 1.2em;
            margin: 20px 0;
        }

        @media (max-width: 768px) {
            #header h1 {
                font-size: 18px;
            }

            #header #totalScore {
                font-size: 28px;

            }

            .levelNumber {
                font-size: 2em;
            }

            .highScore {
                font-size: 1em;
            }
        }
/* Line 1D has no dark mode: stay white even when the browser is in dark mode. */
html { color-scheme: only light; background-color: #fff; }
