.hero-section .banner .banner-layers.container {
    max-width: 100%;
}

.hero-section .banner .text-box {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section .banner .text-box:after {
    content: '';
    inset: 0;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #37373787;
}

.hero-section .banner.is-selected .text-box:after {
    animation: slideInLeft 0.5s ease-out forwards;
}

.hero-section .banner .text-box-content {
    opacity: 0;
}


.hero-section .banner.is-selected .text-box-content {
    animation: slideInRight 0.35s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(5rem);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-section .banner .text-box .text-box-content {
    padding-left: 18%;
}
