section.img-snippet.banner {
    position: relative;
}


section.img-snippet.banner .text-container {
    position: absolute;
    top: 0;
    margin: auto;
    width: 100%;
    height: 100%;
}

section.img-snippet.banner .text-container .maincontainer {
    height: 100%;
}

section.img-snippet.banner .text-container .text-wrapper {
    max-width: min(60%, 600px);
    height: 100%;
}

section.img-snippet.banner .text-container .text-place {
    max-width: 420px;
    margin: auto;
    padding: 20px 0;
    box-sizing: border-box;
    display: flex;
    flex-flow: column;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
    line-height: 140%;
    height: 100%;
}

section.img-snippet.banner .text-container .header {
    text-transform: uppercase;
    font-size: 24px;
    color: var(--a-color);
    font-weight: bold;
}

section.img-snippet.banner .text-container .slogan {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;

}

section.img-snippet.banner .text-container .button {
    text-transform: none;
}

section.img-snippet.banner .text-container .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
}

section.img-snippet.banner.withBack .img {
    border-radius: 0;
}

section.img-snippet.banner.withBack .img::after {
    background-color: rgba(0, 0, 0, 0.025);
}

@media screen and (max-width: 600px) {
    section.img-snippet.banner .text-container {
        position: relative;
    }

    section.img-snippet.banner .text-container .text-wrapper {
        max-width: unset;
    }

    section.img-snippet.banner .text-container .text-place {
        padding: 40px 0;
        align-items: center;
        text-align: center;
    }

    section.img-snippet.banner .text-container .buttons {
        justify-content: center;
    }
}