body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000; /* Dark background color */
    color: #fff; /* Light text color */
}

#orderByContainer,
#displayModeContainer {
    display: inline-block; /* Use inline-block to keep it on the same line */
    color: #fff; /* Light text color */
    margin-right: 10px; /* Add a 10px gap to the right */
}

h3 {
    display: inline-block; /* Use inline-block to keep it on the same line */
    margin-right: 10px; /* Add a 10px gap to the right */
}

a {
    text-decoration: none;
    color: #fff;
}

#topImages {
    width: 5em;
}

#progressContainer {
    height: 100%;
}

#progressBar {
    width: 150px; /* Adjust the width as needed */
    height: 100%;
    border-radius: 1em;
}

#imageContainer,
#winningImagesContainer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start; /* Align items from the start */
    max-height: 100vh;
    max-width: 100vw;
    /* justify-content: left; */
    padding-left: 10px;
    padding-right: 10px;
}

#imageContainer img {
    max-height: 85vh;
    max-width: 100%;
    padding-right: 5px;
    object-fit: contain;
    box-sizing: border-box;
    border-right: 1px; /* 1-pixel horizontal separation */
}

#winningImagesContainer img {
    max-height: 85vh;
    max-width: 100%;
    padding-right: 10px; /* 10-pixel horizontal separation between winning images */
    object-fit: contain;
    box-sizing: border-box;
    text-align: center;
    border-right: 10px; /* 10-pixel horizontal separation */
    /* border: 1px solid red; /* Add a border for debugging */
}

#winningImagesContainer p {
    margin: 5px 0;
    margin-right: 10px; /* 10-pixel horizontal separation between winning images */
    padding-bottom: 20px; /* Padding for spacing under each winning image container */
}

#startComparisonBtn,
#undoBtn, #removeLeftBtn, #removeRightBtn, #removeBothBtn, #infoBtn {
    background-color: #fff; /* Light background color */
}

#undoBtn, #removeLeftBtn {
    margin-left: 10px;
}

#startComparisonBtn:disabled,
#undoBtn:disabled, #removeLeftBtn:disabled, #removeRightBtn:disabled, #removeBothBtn:disabled {
    background-color: #ccc; /* Light background color for disabled state */
}

.overlay-container {
    position: relative;
}

.overlay-icon {
    position: absolute;
    top: 1px;  /* Adjust the top position as needed */
    left: 1px; /* Adjust the left position as needed */
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    max-width: 80%;
    max-height: 80%;
    overflow: auto;
    color:#000;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}