@keyframes textCircle {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(-360deg);
    }
}
@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.widget-banner.template-2{
    position: relative;
    overflow: hidden;
    background-color: #282828;
    font-size: var(--font-size, clamp(16px, 1.6vw, 20px));
}
.widget-banner.template-2 .widget-template-wrapper{
    position: relative;
    display: flex;
    gap: 2em;
    padding: 3.35em 0 6em;
    min-height: 20em;
}
.widget-banner.template-2 .widget-header{
    position: relative;
    max-width: 50%;
    flex: 1 0 50%;
    z-index: 1;
}
.widget-banner.template-2 .widget-header .widget-title{
    color: var(--main-color, #ffffff);
    font-size: 3.3em;
    font-weight: 500;
    line-height: 1.27;
    text-transform: uppercase;
    text-wrap: auto;
    margin: 0;
}
.widget-banner.template-2 .widget-header .widget-title:not(.is-typed) [data-role="title-typed"]{
    visibility: hidden;
}
.widget-banner.template-2 .widget-header .widget-title .typed-cursor{
    display: inline-block;
    color: var(--main-color, #ffffff);
    font-size: 1em;
    font-weight: 500;
    line-height: 1;
    margin-left: .08em;
    transform: translateY(-0.08em);
    user-select: none;

    animation: blink 0.8s infinite;
}
.widget-banner.template-2 .widget-header .widget-title-wrap + *{
    margin-top: .6em;
}
.widget-banner.template-2 .widget-header .widget-description{
    color: #FFF;
    font-size: 1.1em;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.widget-banner.template-2 .widget-header .widget-description + *{
    margin-top: 3.5em;
}
.widget-banner.template-2 .widget-header .widget-button-wrap{
    position: relative;
}
.widget-banner.template-2 .widget-header .widget-button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-size: 1em;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    border-radius: 50%;
    aspect-ratio: 4 / 4;
    padding: 1.5em;
    cursor: pointer;
    user-select: none;
    margin-left: 4.6em;
    border: 2px solid var(--main-color);
    background-color: var(--main-color);
    outline: none;
    text-decoration: none;

    transition: background-color .2s ease-out, color .2s ease-out;
}
.widget-banner.template-2 .widget-header .widget-button:hover,
.widget-banner.template-2 .widget-header .widget-button:focus{
    background-color: #282828;
    color: var(--main-color);
}
.widget-banner.template-2 .widget-header .widget-icon{
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(14.2em, -1.9em);
}
.widget-banner.template-2 .widget-content{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    transform: translateX(90%);
    max-width: 40em;
}
.widget-banner.template-2 .widget-content .widget-pictures{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    user-select: none;
    pointer-events: none;
}
.widget-banner.template-2 .widget-content .widget-pictures img{
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}
.widget-banner.template-2 .widget-content .widget-picture-wrap[data-index='2']{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 23.5%;
    position: absolute;
    bottom: 0;
    left: 0;
    aspect-ratio: 4 / 4;
    transform: translate(112%, -108%);
}
.widget-banner.template-2 .widget-content .widget-picture{
    position: absolute;
    display: flex;
    bottom: 0;
}
.widget-banner.template-2 .widget-content .widget-picture[data-index='1']{}
.widget-banner.template-2 .widget-content .widget-picture[data-index='2.1']{
    width: 100%;

    animation: textCircle 18s linear infinite;
}
.widget-banner.template-2 .widget-content .widget-picture[data-index='2.2']{
    width: 31%;
    bottom: auto;
}

@media all and (max-width: 1000px) {
    .widget-banner.template-2 br{
        display: none;
    }
    .widget-banner.template-2 .widget-template-wrapper {
        flex-wrap: wrap;
        min-height: auto;
        padding: 3em 0 16em;
    }
    .widget-banner.template-2 .widget-header,
    .widget-banner.template-2 .widget-content {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .widget-banner.template-2 .widget-header .widget-title {
        font-size: 3em;
        line-height: 1.28;
    }
    .widget-banner.template-2 .widget-header .widget-description {
        font-size: 1em;
        line-height: 1.6;
    }
    .widget-banner.template-2 .widget-header .widget-title + *,
    .widget-banner.template-2 .widget-header .widget-description + * {
        margin-top: 2em;
    }
    .widget-banner.template-2 .widget-header .widget-icon {
        display: none;
    }
    .widget-banner.template-2 .widget-header .widget-button {
        margin-left: 0;
        padding: 1em;
    }
    .widget-banner.template-2 .widget-content {
        display: block;
        transform: none;
        pointer-events: none;
        margin-top: 0;
    }
    .widget-banner.template-2 .widget-content .widget-picture-wrap[data-index='2']{
        transform: translate(88%, -82%);
    }
    .widget-banner.template-2 .widget-content .widget-pictures{
        position: relative;
        width: 28em;
        margin-left: auto;
        transform: none;
    }
}
@media all and (max-width: 600px) {
    .widget-banner.template-2 .widget-template-wrapper{
        padding: 3em 0 15.3em;
    }
    .widget-banner.template-2 .widget-header .widget-title{
        font-size: 2.25em;
    }
    .widget-banner.template-2 .widget-header .widget-description{
        font-size: 1.125em;
        line-height: 1.45;
    }
    .widget-banner.template-2 .widget-header .widget-title-wrap + *{
        margin-top: 1.8em;
    }
    .widget-banner.template-2 .widget-content .widget-pictures{
        width: 32.5em;
        transform: translateX(-4em);
    }
}
