/**
 * Personal Journey
 */

:root {
    --sji-transition-duration: 300ms;
}

/**
 * Swiper JS
 * -----------------------------------------------------------------------------
 */

.sji__slider .swiper {
    padding: 0 70px;
}

.sji__slider .swiper-wrapper {
    margin-bottom: 15px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.sji__slider .swiper-3d .swiper-slide-shadow {
    background: transparent;
}

.sji__slider .swiper-button-next::after, 
.sji__slider .swiper-button-prev::after {
    font-size: 28px;
    color: #fff;
}

/**
 * Slides
 * -----------------------------------------------------------------------------
 */

.sji__slide :is(h2, h3, p, span) {
    color: #fff !important;
    font-size: 1rem;
}

.sji__slide--inner {
    display: flex;
    justify-content: center;
}

.sji__slide--intro {
    display: block;
}

.sji__slider .swiper .sji__card {
    width: 234px;
    max-width: 100%;
    height: auto;
    aspect-ratio: 234 / 390;
    position: relative;
    border: 1px solid rgba(0,0,0,0.25);
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    border-radius: 20px;
    overflow: hidden;
    background-size: 100%;
    background-repeat: no-repeat;
}

.sji__card--back {
    transform: none;
}

/**
 * Labels
 * -----------------------------------------------------------------------------
 */

.sji__labels {
    position: relative;
    height: 200px;
    display: flex;
    justify-content: center;
}

.sji__label {
    opacity: 0;
    visibility: hidden;
    display: block;
    position: absolute;
    text-align: center;
    transition: all var(--sji-transition-duration);
}

.sji__label--active {
    opacity: 1;
    visibility: visible;
}

.sji__label * {
    font-family: "Montserrat", Sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #fff;
}

/**
 * Input textarea and feedback
 * -----------------------------------------------------------------------------
 */

.elementor-element .sji__portrait_input {
    background-color: rgba(255,255,255,0.67);
    border-radius: 9px;
    border: 2px solid #999;
    color: #000;
    min-height: 250px;
}

.sji__toast {
    font-size: 0.9rem;
    font-weight: bold;
    text-align: right;
    padding: 5px 0 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--sji-transition-duration);
}

.sji__toast--success {
    color: #A8D5A2;
}

.sji__toast--error {
    color: #E99BA0;
}

.sji-toast-show {
    opacity: 1;
    visibility: visible;
}