/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.tlkfunnel-step-content-inner {
    padding: 40px 0;
    gap: 60px;

    @media screen and (min-width: 768px) {
        display: flex;
    }
}

#tlkfunnel_step_1 .tlkfunnel-step-content-inner {
    gap: 20px;
}

#tlkfunnel_step_3 .tlkfunnel-step-content-inner {
    gap: 20px;
    padding-top: 80px;

    @media screen and (max-width: 768px) {
        display: flex;
        flex-direction: column-reverse;
    }
}

.step-item {
    flex: 1;
    height: 500px;
    position: relative;
    background-size: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translate(0, 0);
    @media screen and (max-width: 768px) {
        height: auto;
    }
}

.step-item:hover {
    @media screen and (min-width: 768px) {

        transform: translate(0, -20px);
    }
}

#tlk_first_step_1 .step-item {
    background: linear-gradient(to right, #000, #383838);
    color: white;
    background-image: var(--background);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;

    @media screen and (max-width: 768px) {
        margin-bottom: 60px;
        height: auto;
        display: block;
        padding: 20px;
    }
}

#tlkfunnel_step_2 .step-item {
    @media screen and (max-width: 768px) {
        margin-bottom: 10px;
    }
}

#tlkfunnel_step_3 .step-item {
    background-color: var(--background);
    height: auto;
    border-radius: 20px;
    @media screen and (min-width: 768px) {
        align-self: flex-end;
    }

    @media screen and (max-width: 768px) {
        width: calc(80% + calc(var(--key) * 4%));
        padding: 10px;
        border-radius: 8px;
    }
}

#tlkfunnel_step_1 .step-item .second-small,
#tlkfunnel_step_2 .step-item .third-small {
    background: linear-gradient(to right, #000, #383838);
    height: 350px;
    color: white;
    width: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: var(--background);
    background-size: cover;
    background-position: center center;
    @media screen and (max-width: 768px) {
        height: auto!important;
        display: block;
        padding: 20px;
        margin-bottom: 1rem;
    }
}

#tlkfunnel_step_2 .step-item .third-small {
    height: 500px;
    @media screen and (max-width: 768px) {
        background-size: 180px;
        background-position: 53vw top;
        background-repeat: no-repeat;
        background-color: #0b0b0b;
    }
}


.second-step-image,
.first-step-image {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    @media screen and (max-width: 768px) {
        display: none;
    }
}



.third-step-title,
.second-step-title,
.first-step-title {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
    @media screen and (max-width: 768px) {
        display: block;
        text-transform: uppercase;
    }
}



.second-step-title {
    margin-top: 5rem;
    @media screen and (max-width: 768px) {
        margin-top: 0;
    }
}

.third-step-title {
    margin-top: 4rem;
    margin-bottom: 0;
    text-transform: uppercase;
    @media screen and (max-width: 768px) {
        margin-top: 0;
    }
}

.third-step-subtitle {
    font-size: 13px;
}

.third-step-button {
    background: #d4af37;
    color: #000;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    position: absolute;
    bottom: 40px;
    min-width: 150px;
    text-align: center;
    @media screen and (max-width: 768px) {
        margin-top: 5px;
        display: block;
        width: 30%;
        position: relative;
        bottom: 0;
    }
}

.fourth-step-button {
    background: #d4af37;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    bottom: 15px;
    max-width: 150px;
    text-align: center;
    display: block;
    margin: 0 auto 20px auto;
    border: 1px solid #000;
}

.fourth-step-mobileTitle {
    display: block;
    color: white;
    font-size: 22px;
    text-transform: uppercase;
    max-width: 50%;
}

.fourth-step-mobileWeeks {
    display: block;
    color: white;
    font-size: 16px;
    max-width: 50%;
}

.fourth-step-mobilePrice {
    display: block;
    color: white;
    font-size: 16px;
    max-width: 64%;
    margin: 2px 0;
}




.first-step-description {
    background: #000;
    border-radius: 10px;
    position: absolute;
    bottom: 20px;
    margin: 10px;
    padding: 10px;
    @media screen and (max-width: 768px) {
        margin: 0;
        position: relative;
        display:block;
        bottom: 0;
    }
}

.second-step-description {
    margin-top: 2rem;
    text-align: center;
    display: block;
    @media screen and (max-width: 768px) {
        display:none;
        text-align: left;
        padding: 0.5rem 1rem;
        background: #D2AF5A;
        border-radius: 10px;
    }
}

.fourth-step-weeks {
    text-align: center;
    font-size: 20px;
    color: white;
    display: block;
    margin-top: 40px;
}

.fourth-step-price {
    text-align: center;
    font-size: 24px;
    color: white;
    display: block;
    margin-top: 20px;
    margin-bottom: 0;
}

.fourth-step-subprice {
    text-align: center;
    font-size: 16px;
    color: white;
    display: block;
}

.fourth-step-price_x_meal {
    text-align: center;
    font-size: 16px;
    color: #000;
    display: block;
    background-color: white;
    padding: 5px 10px;
    border-radius: 20px;
    max-width: 60%;
    margin: 0 auto 25px auto;
    margin-top: calc(var(--key) * 20px);
}

.fourth-step-mobile-price_x_meal {
    text-align: center;
    font-size: 16px;
    color: #000;
    display: block;
    background-color: white;
    max-width: 50%;
    border-radius: 5px;
}

.fourth-step-mobile-price_x_meal.noimage {
    display: inline-block;
    position: absolute;
    right: 10px;
    bottom: 13px;
    width: 50%;
}


span.imagespacing {
    display: inline-block;
    height: 15px;
}

.fourth-step-image {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: -50px;
}

.fourth-step-mobileImage {
    width: 100px;
    height: 100px;
    position: absolute;
    right: 10px;
    transform: translateY(-50%);
    top: 50%;
}

#tlkfunnel_step_3 .step-item:first-child .fourth-step-price_x_meal {
    margin-top: 30px;
}


.tlkfunnel-step-content {
    padding: 20px;
}

.loader {
    position: relative;
}

.loader::before {
    border-radius: 8px;
    background: gray;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
}

.loader .step-item {
    filter: opacity(0.5);
}

.loader::after {
    height: 1em;
    width: 1em;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.5em;
    margin-top: -0.5em;
    content: "";
    animation: spin 1s ease-in-out infinite;
    background: url("loader.svg") center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
    color: rgba(#000, 0.75);
    filter: none;
}

.step-container {
    display: none;
}

.step-container.active {
    display: block;
}

/* Steps Wrapper */
.stepper-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    max-width: 1600px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #000;
    width: 50%;
    top: 20px;
    left: 0;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #000;
    width: 50%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    margin-bottom: 6px;
    color: white;
    cursor: pointer;
}

.stepper-item.processed .step-counter,
.stepper-item.active .step-counter {
    background-color: #d4af37;
}

.stepper-item.processed::after,
.stepper-item.active::after,
.stepper-item.active::before,
.stepper-item.processed::before {
    content: "";
    border-bottom: 2px solid #d4af37;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

.showOnDesktop {
    display: none;

    @media screen and (min-width: 768px) {
        display: block;
    }
}

.showOnMobile {
    display: block;

    @media screen and (min-width: 768px) {
        display: none;
    }
}

.funnelsubtitle {
    padding: 0 10%;
    @media screen and (max-width: 768px) {
        padding: 0;
    }
}