 .container {
    position: relative;
    width: 100%;
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

    #fullscreen-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        z-index: -1; 
        background-color: white;
    }
    .text-overlay {
        position: absolute;
        top: 10%; 
        left: 50%;
        transform: translateX(-50%);
        z-index: 1; 
        color: white; 
        text-align: center; 
    } 
 
@media only screen and (max-width: 767px) {
    #fullscreen-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        max-height: 100vh; 
        object-fit: contain;
        z-index: -1;
    }
     .text-margin {
        margin-top: -13em;
        background-color: white;
    } 
  }