.root {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: center / cover no-repeat url('./assets/bg-img.jpg');
}

.container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: var(--content-max-width);
    padding: 180px;
    min-height: 810px;
    position: relative;
    overflow: hidden;
}

.contentImg {
    display: block;
    max-width: 660px;
    max-height: 764px;
    width: auto;
    height: auto;
    position: absolute;
    left: -7px;
    bottom: -74px;
}

.contentTextContainer {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: var(--color-text-primary-inverted);
    width: 100%;
    max-width: 480px;
    z-index: 10;
}

@media (width <= 1330px) {
    .container {
        padding: 120px;
    }
}

@media (width <= 1270px) {
    .container {
        padding: 90px;
    }
}

@media (width <= 1230px) {
    .container {
        padding: 60px;
    }
}

@media (width <= 1200px) {
    .container {
        padding: 30px;
    }

    .contentImg {
        left: -92px;
        bottom: -88px;
    }
}

@media (width <= 1100px) {
    .contentImg {
        max-width: 542px;
    }
}

@media (width <= 1024px) {
    .contentImg {
        max-width: 442px;
    }
}

@media (width <= 768px) {
    .root {
        background: center / cover no-repeat url('./assets/bg-img-mobile.jpg');
    }

    .container {
        flex-direction: column;
        justify-content: flex-start;
        padding: 45px 20px;
        min-height: 590px;
        max-height: 790px;
    }

    .contentImg {
        max-width: 442px;
        max-height: 542px;
        left: -92px;
        bottom: -88px;
    }

    .contentTextContainer {
        max-width: 100%;
        margin-bottom: 410px;
    }
}
