#svadba {
    background: #FFE5FC;
    overflow: hidden;
    position: relative;
}

#svadba::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    background: url(../assets/cloud.svg) center / contain no-repeat;
    pointer-events: none;
    width: 802px;
    height: 78px;
    filter: brightness(0) saturate(100%) invert(91%) sepia(9%) saturate(777%) hue-rotate(77deg) brightness(104%) contrast(85%);
}

#svadba::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    transform: scale(-1);
    background: url(../assets/cloud.svg) center / contain no-repeat;
    width: 802px;
    height: 78px;
    z-index: 2;
    pointer-events: none;
}

.svadba {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    padding: 415px 0 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.columns {
    position: absolute;
    bottom: 0;
    pointer-events: none;
}

.birds {
    position: absolute;
    top: 52px;
    pointer-events: none;
}

.svadba_head {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    justify-content: center;
    max-width: 850px;
}

.svadba_title {
    color: #A5009A;
    text-align: center;
    font-family: 'Shadow';
    font-size: 64px;
    line-height: 100%;
    letter-spacing: -0.64px;
    opacity: 0;
    transform: translateY(60px);
    will-change: transform, opacity;
}

.svadba_text {
    color: #000000;
    text-align: center;
    font-size: 24px;
    line-height: 140%;
    opacity: 0;
    transform: translateY(60px);
    will-change: transform, opacity;
}

#svadba.show .svadba_title {
    animation: bumpUp .7s cubic-bezier(.22, 1.4, .36, 1) forwards;
    animation-delay: 0.5s;
}

#svadba.show .svadba_text {
    animation: bumpUp .7s cubic-bezier(.22, 1.4, .36, 1) forwards;

}

.svadba_content {
    display: flex;
    width: 1121px;
    justify-content: space-between;
    align-items: start;
    margin-right: 60px;
}

.svadba_video {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

#svadba.show .svadba_video_border {
    animation: faderight 0.6s ease forwards;
    animation-delay: 1s;
}

.svadba_video_border {
    opacity: 0;
    will-change: transform, opacity;
    width: 608px;
    height: 356px;
    border-radius: 44px;
    padding: 16px;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='44' ry='44' stroke='%23F4CEF0' stroke-width='6' stroke-dasharray='20' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
}

.svadba_video video {
    display: flex;
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    border-radius: 32px;
    pointer-events: none;
}

.pig {
    position: absolute;
    right: 25px;
    bottom: 0;
    transform: translateY(10px);
    opacity: 0;
    will-change: transform, opacity;
    pointer-events: none;
}

.svadba_discribe {
    max-width: 460px;
    display: flex;
    flex-direction: column;
    padding: 23px 0 0;
    gap: 12px;
    transform: translateX(-60px);
    opacity: 0;
    will-change: transform, opacity;
}

#svadba.show .svadba_discribe {
    animation: fadeleft 0.6s ease forwards;
    animation-delay: 1s;
}

@keyframes fadeleft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes faderight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#svadba.show .pig {
    animation: fadeUp 0.6s ease forwards;
    animation-delay: 1.5s;
}

.svadba_discribe_name {
    color: #000;
    font-family: 'Shadow';
    font-size: 33px;
    line-height: 120%;
}

.svadba_discribe_steps span {
    color: #D06FCA;
    font-family: 'Shadow';
    font-size: 24px;
    line-height: 120%;
}

.svadba_discribe_steps a {
    color: #D06FCA;
    font-size: 18px;
    line-height: 130%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.svadba_discribe_steps {
    padding: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 365px;
    padding-left: 30px;
}

.svadba_discribe_steps li {
    position: relative;
}

.svadba_discribe_steps li::after {
    position: absolute;
    top: 0;
    left: -28px;
    color: #D06FCA;
    font-family: 'Shadow';
    font-size: 24px;
    line-height: 120%;
}

.svadba_discribe_steps li:nth-child(1)::after {
    content: '1.';
}

.svadba_discribe_steps li:nth-child(2)::after {
    content: '2.';
}

.svadba_discribe_steps li:nth-child(3)::after {
    content: '3.';
}

@media (max-width: 1600px) {
    .svadba_title {
        font-size: 48px;
        line-height: 100%;
        letter-spacing: -0.48px;
    }

    .svadba_text {
        font-size: 22px;
        line-height: 140%;
    }

    .birds {
        top: 50px;
        max-width: 1060px;
    }

    .svadba_video_border {
        width: 510px;
        height: 298px;
        border-radius: 37px;
        background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='37' ry='37' stroke='%23F4CEF0' stroke-width='6' stroke-dasharray='20' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");

    }

    .svadba_discribe_name {
        font-size: 26px;
        line-height: 120%;
    }

    .svadba {
        padding: 415px 0 257px;
        gap: 58px;
    }

    .svadba_content {
        width: 970px;
        margin-right: 0;
    }

    .svadba_discribe {
        max-width: 450px;
        padding: 23px 0 0;
        gap: 12px;
    }

    .svadba_discribe_steps {
        padding: 16px 0 0;
        gap: 14px;
        padding-left: 30px;
    }

    .pig {
        max-width: 140px;
    }

    #svadba::after {
        bottom: -5px;
        right: 0;
        width: 600px;
        height: 64px;
    }

    .columns {
        bottom: 216px;
        max-width: 1315px;
    }
}

@media (max-width: 1400px) {
    #svadba::before {
        top: -6px;
        width: 410px;
        height: 49px;
    }

    .svadba_text {
        font-size: 18px;
        line-height: 140%;
    }

    .svadba_title {
        font-size: 38px;
        line-height: 100%;
        letter-spacing: -0.38px;
    }

    .svadba {
        padding: 266px 0 114px;
        gap: 28px;
    }

    .svadba_head {
        max-width: 640px;
    }

    .birds {
        max-width: 760px;
    }

    .svadba_content {
        margin-right: 0;
        flex-direction: column-reverse;
        margin: 0 auto;
        align-items: center;
        gap: 32px;
        width: fit-content;
    }

    .svadba_discribe_name {
        font-size: 20px;
        line-height: 120%;
    }

    .svadba_discribe {
        padding: 0;
        max-width: 460px;
    }

    .columns {
        bottom: 394px;
        max-width: 938px;
    }

    #svadba::after {
        bottom: -5px;
        right: 0;
        width: 420px;
        height: 48px;
    }
}

@media (max-width: 800px) {
    .svadba_text {
        font-size: 18px;
        line-height: 140%;
    }

    .svadba_title {
        font-size: 30px;
        line-height: 110%;
        letter-spacing: -0.3px;
    }

    .svadba_head {
        max-width: 315px;
    }

    .svadba {
        padding: 114px 0 89px;
        gap: 59px;
    }

    .birds {
        top: 35px;
        max-width: 350px;
    }

    .columns {
        bottom: auto;
        top: 34px;
        max-width: 433px;
    }

    .svadba_content {
        margin-right: 0;
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
        gap: 32px;
        width: 340px;
    }

    .svadba_discribe_name {
        font-size: 24px;
        line-height: 120%;
    }

    .svadba_discribe_steps {
        padding: 20px 0 0;
        gap: 10px;
        padding-left: 26px;
    }

    .svadba_video_border {
        padding: 12px;
        width: 343px;
        height: 203px;
        border-radius: 22px;
        background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='22' ry='22' stroke='%23F4CEF0' stroke-width='6' stroke-dasharray='10' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e");
    }

    .svadba_video video {
        border-radius: 12px;
    }

    .pig {
        max-width: 95px;
    }

    #svadba::before {
        top: -2px;
        width: 275px;
        height: 27px;
    }

    #svadba::after {
        bottom: -1px;
        right: 0;
        width: 280px;
        height: 26px;
    }
}