body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    margin-left: 5%;
    margin-right: 5%;
    
    /* Background image styling */
    background-image: url('images/background.png');
    background-size: 115%; /* Zoom in by 15% */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Add semi-transparent overlay to improve text readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* White overlay at 70% opacity - adjust as needed */
    z-index: -1;
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 2em;
    color: #333;
}

p {
    font-size: 1em;
    text-align: center;
}

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

button {
    background-color: #1e6a87;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 5px;
    width: 220px;
    height: 60px;
    white-space: nowrap;
    text-align: center;
}

button:hover {
    background-color: #15556d;
}

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

#statusMessage {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

#statusMessage.success {
    color: #28a745;
}

#statusMessage.error {
    color: #dc3545;
}

/* Style the header with a grey background and some padding */
.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 98%;
    overflow: hidden;
    background-color: #f1f1f1;
    padding: 20px 10px;
}

/* Style the header links */
.header a {
    float: left;
    color: black;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 18px;
    line-height: 25px;
    border-radius: 4px;
}

/*
 * Style the logo link (notice that we set the same value of line-height and font-size to prevent
 * the header to increase when the font gets bigger
 */
.header a.logo {
    font-size: 25px;
    font-weight: bold;
}

/* Change the background color on mouse-over */
.header a:hover {
    background-color: #ddd;
    color: black;
}

/* Style the active/current link*/
.header a.active {
    background-color: dodgerblue;
    color: white;
}

/* Float the link section to the right */
.header-right {
    float: right;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 0.75em;
    background-color: #9b9a9a;
    color: black;
    text-align: center;
}

/*
 * Add media queries for responsiveness - when the screen is 500px wide or less,
 * keep the header in a single row with logo on left, links on right
 */
@media screen and (max-width: 500px) {
    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        position: fixed;
        width: calc(100% - 30px);
        z-index: 100;
    }
    .header a {
        float: none;
        font-size: 14px;
        padding: 8px 6px;
    }
    .header-right {
        float: none;
        display: flex;
        gap: 4px;
    }
}
