@media (min-width: 1200px) {
    #main-container {
        position: relative;
        width: 100%;
        height: auto;
        font-size: 120%; /* Increase base font size */
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    #main-container {
        position: relative;
        width: 110%;
        height: auto;
        font-size: 100%; /* Increase base font size */
    }
}

@media (max-width: 899px) and (min-width: 751px) {
    #main-container {
        position: relative;
        width: 100%;
        height: auto;
        font-size: 100%; /* Increase base font size */
    }
}

@media (max-width: 750px) {
    #main-container {
        position: relative;
        width: 100%;
        height: auto;
        font-size: 100%; /* Increase base font size */
    }
}

#main-picture {
    width: 100%;
    height: auto;
    max-height: 800px;
    min-height: 500px;
    object-fit: cover;
    display: block;
    filter: brightness(50%); /* Darken the image for better text visibility */
}

#sub-container {
    position: absolute;
    top: 50%;               /* vertical center */
    left: 50%;              /* horizontal center */
    transform: translate(-50%, -50%); /* center perfectly */
    text-align: center;
    color: white;           /* make text visible on image */
    background: rgba(0,0,0,0.4); /* optional semi-transparent background */
    padding: 20px;
    border-radius: 8px;
}

#button1 {
    background-color: #ff4b4b;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: bold;
}
#text1 {
    font-family: 'Arial', sans-serif;
    font-size: 110%;
}