body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    width: 100%;
    max-width: 100%;
    text-align: center;
    overflow-y: auto; /* Allow vertical scrolling */

}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.instructions {
    font-size: 2rem;
    margin-bottom: 10px;
}

#main-container {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    width: 100%;
    overflow-y: auto; /* Allow vertical scrolling for content */

}

.section {
    
/* Increased minimum height */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 50px 0;
    cursor: pointer;
    border-radius: 8px;

    overflow: hidden; /* Ensure nothing overflows out of the section */
}
.image-container {

    position: relative;
    display: flex;
    justify-content: space-between;  /* This will position the pairs horizontally */
    align-items: center;
    width: 100%; /* or a fixed width */
    aspect-ratio: 2 / 1; /* Ensures the container's width is twice the height */
    overflow: hidden; /* Prevent overflow */
}


#color-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    pointer-events: none;
    display: none; /* Hidden by default */
}

.image-container .pair {
    display: inline-block;

    position: relative;
    width: 100%;  /* 48% of the width for each pair */
    height: 100%;
    justify-content: center;
    align-items: center;
}

.image-container img {

    width: 100%;  /* Fill the width of the container */
    height: 100%; /* Fill the height of the container */
    position: absolute;  /* Image positioned within the same space as the mask */
    top: 0;
    left: 0;
    object-fit: contain; /* Ensure the image is fully visible without clipping */
    z-index: 1; /* Ensure image is behind the mask */
}

.mask {
    background-color: rgba(255, 0, 255, 0.5);
    position: absolute;  /* Mask should be positioned on top of the image */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;  /* Ensure the mask is on top of the image */
    pointer-events: all;  /* Enable mask interaction */
    opacity: 0;
}


.radio-buttons-container {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.radio-button {
    font-size: 10rem;
}

input[type="radio"] {
    margin-right: 5px;
}