
.containers {
    display: flex;
    min-height: 100%;
    width: 100%;
    justify-content: center;

}

.container-text {
    width: 50%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 40px 0;
}

.container-text h1 {
    color: var(--base-green);
    margin: 12px;
    width: 500px;
    text-align: center;
}

.container-text p {
    text-align: justify;
    width: 500px;
    margin: 12px;
    font-weight: 400;
}

.background-image {
    min-height: -webkit-fill-available;
    position: relative;
}

.background-image img {
    width: 500px;
    padding: 40px 0 60px 40px;
    opacity: 0.5;
    filter: grayscale(50%);
    position: sticky;
    top: calc(50% - 250px);
    z-index: -2;
}

@media (max-width: 850px) {
    .mainbody{
        width: 100%;
        overflow: hidden;
    }
    .containers{
        position: relative;
    }
    .container-text {
        width: 80%;
        margin-right: 0;
    }

    .container-text h1 {
        font-size: 1.5rem;
        width: 100%;
    }

    .container-text p {
        width: 100%;
    }

    .background-image img {
        width: 100vw;
        position: absolute;
        top: calc(50% - 250px);
        right: calc(50% - 250px);
        z-index: -2;
    }       
    
}
@media (max-width:500px) {
    .container-text h1{
        width: 100%;
    }
    
}

@media (min-width: 1600px) {
    .background-image img {
        width: 600px;
    }    
}


