html, body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80%;
    position: relative; 
    background-image: url('./img/Bg1.png'), url('./img/Bg2.png');
    background-position: top left, bottom right;
    background-repeat: no-repeat, no-repeat;
    background-size: min(75% , 75vh) auto, min(50% , 50vh) auto;
    background-attachment: fixed;
}

.title {
    font-size: 24px;
    font-weight: bold;
    color: rgb(23, 81, 95);
    margin-bottom: 20px;
    text-align: center;
}

.subtitle {
    font-size: 20px;
    color: rgb(23, 81, 95);
    margin: 20px 0;
    text-align: center;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.button-wrapper {
    display: inline-flex; /* Ensure buttons are aligned horizontally */
    align-items: center;  /* Vertically center all buttons */
    height: 40px; /* Set a fixed height for all buttons */
}

.button-wrapper button {
    margin-right: 10px; /* Add margin between buttons */
}

.button-wrapper button:last-child {
    margin-right: 0; /* No margin after the last button */
}

button {
    background-color: rgb(171, 221, 235);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    height: 100%; /* Ensure buttons take the full height of the container */
    display: flex;
    align-items: center; /* Vertically center the text/icon inside the button */
}

button:hover {
    background-color: rgb(23, 81, 95);
}

button:active {
    transform: scale(0.98);
}

.info-button {
    background-color: rgb(240, 173, 78); /* Different color for info button */
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

.info-button:hover {
    background-color: rgb(212, 145, 51);
}

.popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 1000px;
    overflow-y: auto; /* Enable scrolling if content is too large */
    position: relative;
    margin: 10% auto; /* Center the popup on the page */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.text-container {
    display: inline-block; 
    text-align: left; 
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    cursor: pointer;
}

.attachment-button {
    background-color: rgb(113,197,87); 
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px; 
    display: flex;
    align-items: center;
    height: 100%; 
}

.attachment-icon {
    width: 16px; 
    height: 16px;
}

button:hover {
    background-color: rgb(23, 81, 95);
}

.attachment-button:hover {
    background-color: rgb(69, 130, 49);
}