/* Reset for body and html */
body, html {
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background: #005f98;
    justify-content: center;
    align-items: center;
    display: flex;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white"/><circle cx="50" cy="50" r="2" fill="white"/><circle cx="80" cy="80" r="2" fill="white"/><circle cx="30" cy="70" r="2" fill="white"/><circle cx="70" cy="30" r="2" fill="white"/></svg>');
    background-size: 100px 100px;
}


.container {
    text-align: center;
    background: #FFC310;
      border-radius: 15px;
      padding: 20px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: center;
    align-items: center;
      width: 600px;
}

/* Center the main content area */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

h1 {
    margin-bottom: 20px;
}

#file-input {
    padding: 10px;
    font-size: 1.2em;
    margin-bottom: 20px;
}

#reset-button {
    margin-top: 10px; /* Add some spacing above the reset button */
    padding: 10px;
    font-size: 1em;
    background-color: gray;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#reset-button:disabled {
    background-color: lightgray;
    cursor: not-allowed;
}


/* Styles for the gray display container */
#image-container {
    width: 80vw; /* 80% of the viewport width */
    height: 70vh; /* 70% of the viewport height */
    background-color: rgba(128, 128, 128, 0.05);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin: 20px auto;
}

/* Center the image inside the square */
#image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Keeps image fully visible within the container */
    filter: invert(1);
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    #image-container {
        width: 80vw; /* 80% of the viewport width on mobile */
        height: 60vh; /* Adjust height on mobile if needed */
    }
}

#save-button {
    margin-top: 20px;
    padding: 10px;
    font-size: 1em;
    background-color: gray;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#save-button:disabled {
    background-color: lightgray;
    cursor: not-allowed;
}







.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px; /* Adjust margin as needed */
}

.button {
    width: 300px;
    height: 50px;
    background-color: grey;
    border-radius: 25px; /* Half of the height for rounded ends */
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.beige-pill {
    width: 100px; /* Width of the beige pill */
    height: 40px; /* Height of the beige pill */
    background-color: beige;
    border-radius: 20px; /* Half of the height for rounded ends */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 7px; /* Initial left position */
    transition: left 0.3s ease; /* Animation for sliding */
    z-index: 1; /* Ensures it appears above the button */
}

.link-text {
    position: absolute;
    font-size: 16px; /* Adjust font size as needed */
    color: black;
}

.link-text#link-text {
    left: 10px; /* Adjust the position as needed */
}

.link-text#link2 {
    right: 10px; /* Adjust the position as needed */
}

.link-text.highlight {
    color: blue; /* Change color to indicate highlighting */
}
