.at-banner {
    overflow: hidden;
    background: #37b43e;
}

.at-banner--backgroundImage {
    background: #222 no-repeat center / cover;
    position: relative;
}

.at-banner--backgroundLayer:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: '';
    display: block;
    background: linear-gradient(110deg, rgba(0, 0, 0, 0.5) 30%, transparent);
}

@media (max-width: 675px) {
    .at-banner--backgroundLayer:before {
        background: rgba(0, 0, 0, 0.5);
    }
}

.at-banner__inner {
    position: relative;
    padding: 2em;
    z-index: 1;
}

/**
 * Text and Image containers
 */

.at-banner__text,
.at-banner__image {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
}

.at-banner__inner {
    container: banner-inner / inline-size;
}

@container banner-inner (max-width: 900px) {
    .at-banner__inner .at-banner__text,
    .at-banner__inner .at-banner__image {
        vertical-align: top;
        width: 50%;
    }
}

@container banner-inner (max-width: 600px) {
    .at-banner__inner .at-banner__text,
    .at-banner__inner .at-banner__image {
        display: block;
        width: auto;
    }

    .at-banner__inner .at-banner__text {
        padding-right: 0;
    }

    .at-banner__inner .at-banner__image {
        margin: 1.5em 0;
    }
}

.at-banner__text {
    padding-right: 5%;
    width: 40%;
}

.at-banner__image {
    position: relative;
    margin: 0;
    width: 60%;
}

/**
 * Text - content
 */

.at-banner__label {
    position: relative;
    display: inline-block;
    padding: .4em 1em;
    margin-bottom: 4em;
    font-weight: bold;
    color: #090909;
    background-color: #a7db0d;
}

.at-banner__label:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 1em;
    background: linear-gradient(73deg, #a7db0d 50%, transparent 50%);
}

.at-banner__title {
    margin-bottom: 1em;
    font-size: 2.5em;
    font-weight: 400;
    color: #fff;
}

@container banner-inner (max-width: 900px) {
    .at-banner__inner .at-banner__title {
        font-size: 1.7em;
    }
}

.at-banner__text p {
    margin-bottom: 0;
    color: #fff;
}

.at-banner__button {
    margin-top: 2em;
    padding: 0 0 5px;
    background: none;
    border: none;
    border-bottom: 2px solid #fff;
    font-weight: 700;
    color: #fff;
    font-size: 1.2em;
}

.at-banner__button:hover,
.at-banner__button:focus {
    border-color: #222;
    text-shadow: none;
    color: #fff;
    background: none;
}

/**
 * Image - content
 */

.at-banner__image img {
    display: block;
    width: 100%;
    animation: 2s ease fadeIn;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
