body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    /* Set the background of the entire app to black */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    /* Change text color to white for visibility on black background */
}

.container {
    background-color: #333333;
    /* Dark grey container background for contrast */
    padding: 30px;
    padding-right: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 600px;
    text-align: center;
    color: white;
    /* Ensure text inside the container is white */
}

h1,
h2 {
    margin-top: 0;
    color: white;
    /* Ensure headers are white */
}

form {
    margin-bottom: 20px;
}

label {
    display: block;
    margin: 10px 0 5px;
}

input,
select {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #666666;
    /* Light grey border */
    border-radius: 4px;
    background-color: #222222;
    /* Dark background for input fields */
    color: white;
    /* White text in input fields */
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #28a745;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#downloadBtn {
    background-color: #3780e1;
}

#play-button {
    background-color: rgb(178, 118, 6);
}

#finish-button {
    background-color: red;
    /* float: right; */
}

button:disabled {
    background-color: #666666;
    /* Greyed out for disabled button */
    cursor: not-allowed;
}

#images-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

/* Default layout for larger screens */
#images-container {
    grid-template-columns: repeat(2, 1fr);
    /* Create a 2x2 grid layout */
    display: grid;
    gap: 30px;
}

img {
    width: 100%;
    /* Make images fit the grid cell */
    height: 100%;
    background-color: white;
    /* Set image background to white */
    border: 5px solid transparent;
    cursor: pointer;
    border-radius: 10px;
    /* border-width: 10px; */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s;
}

/* Layout for small screens */
@media (max-width: 600px) {
    #images-container {
        grid-template-columns: repeat(2, 1fr);
        /* Create a 2x2 grid layout */
        display: grid;
        gap: 20px;
    }

    img {
        width: 100%;
        /* Make images fit the grid cell */
        height: 100%;
    }
}

img.selected {
    border-color: red;
    /* border-width: 5px; */
}

#back-button,
#next-button {
    margin: 10px;
}

.title {
    padding-bottom: 5px;
    margin: 0px;
}

.version {
    padding: 0px;
    margin: 0px;
    font-size: 0.8em;
}

.help {
    text-align: right;
}

.help a {
    color: rgb(221, 215, 215);

}