body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

h1 {
    margin-top: 20px;
}

.game-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Space between each pair of images */
    padding: 20px;
    margin-top: 20px;
}

.image-pair-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px; /* Space between image pairs */
}

.image-wrapper {
    position: relative;
    width: 400px; /* Fixed width */
    height: 300px; /* Fixed height */
    border: 2px solid #000; /* Always visible border */
}

/* Apply the clicked border */
/*.clicked-border {
    border: 3px solid blue;
}*/

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Preserve aspect ratio */
}

.highlight {
    position: absolute;
    border: 2px solid red;
    pointer-events: none;
}

.score {
    margin: 10px 0;
}

#timer {
    font-weight: bold;
}

#coordinates {
    position: absolute;
    color: red;
    font-size: 14px;
    pointer-events: none;
}

/* Adjust image size for smaller screens */
@media (max-width: 600px) {
    .image-wrapper {
        width: 250px;
        height: 200px;
    }

    .score, #timer {
        font-size: 18px;
    }

    #coordinates {
        font-size: 12px;
    }
}

.red-dot {
    position: absolute;
    background-color: red;
    border-radius: 50%;
    pointer-events: none;
}

/* Style for the toggle button */
#toggleCoordinatesBtn {
    position: absolute;
    top: 5%;   /* Adjust position dynamically */
    right: 5%; /* Adjust position dynamically */
    padding: 8px 12px; /* Slightly smaller padding */
    font-size: 14px;  /* Smaller font size */
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px; /* Add rounded corners for a cleaner look */
    transition: background-color 0.3s ease; /* Smooth color transition */
}

/* Change the color when the button is active */
#toggleCoordinatesBtn.active {
    background-color: #f44336;
}

/* Make the button size relative to the viewport */
@media (max-width: 600px) {
    #toggleCoordinatesBtn {
        padding: 6px 10px; /* Adjust for smaller screens */
        font-size: 12px;  /* Smaller font size on mobile */
    }
}
#message {
    font-size: 40px;  /* Adjust the font size as needed */
    font-weight: bold;  /* Optional: make the text bold */
    color: #333;  /* Optional: change text color */
}
