@font-face {
    font-family: "Passions";
    src: url("../fonts/PassionsConflictRUS.woff2") format("woff2"),
    url("../fonts/PassionsConflictRUS.woff") format("woff"),
    url("../fonts/PassionsConflictRUS.ttf") format("truetype"),
    url("../fonts/PassionsConflictRUS-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Actinia";
    src: url("../fonts/Actinia-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Viaoda";
    src: url("../fonts/ViaodaLibre-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Capitalist";
    src: url("../fonts/Capitalist.ttf") format("truetype");
}


@font-face {
    font-family: "DolomanPavljenko";
    src: url("../fonts/DolomanPavljenko.otf") format("opentype");
}



* {
    margin: 0;
    padding: 0;
}
body {
    /*background-color: #fff9fe;*/
    background-color: #f3f3f3;
    position: relative;
    overflow-x: hidden;
    color: #000000;

}
.desktop-message {
    display: none;
    text-align: center;
    margin-top: 150px;
}
.watermark {
    content: "ya-invite";
    position: fixed;
    font-size: 80px;
    color: rgba(0, 0, 0, 0.08);
    transform: rotate(-25deg);
    pointer-events: none;
    z-index: 555;
    white-space: nowrap;
    font-weight: 600; /* выглядит аккуратнее */
}

/* Три позиции */
body::before {
    content: "ya-invite";
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 80px;
    color: rgba(0,0,0,0.08);
    pointer-events:none;
    z-index:555;
    white-space:nowrap;
}

body::after {
    content: "ya-invite";
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 80px;
    color: rgba(0,0,0,0.08);
    pointer-events:none;
    z-index:555;
    white-space:nowrap;
}

html::after {
    content: "ya-invite";
    position: fixed;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    font-size: 80px;
    color: rgba(0,0,0,0.08);
    pointer-events:none;
    z-index:555;
    white-space:nowrap;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hidden-center {
    opacity: 0;
    transform: scale(0); /* уменьшаем до центра */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show-center {
    opacity: 1;
    transform: scale(1); /* нормальный размер */
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.wave-text .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    animation: waveFadeIn 1s ease-out forwards;
}

@keyframes waveFadeIn {
    from {
        opacity: 0;
        transform: translate(var(--x), var(--y)) rotate(var(--angle));
    }
    to {
        opacity: 1;
        transform: translate(var(--x), var(--y)) rotate(var(--angle));
    }
}

/* Задержка для каждой буквы */
.wave-text .letter:nth-child(1) { animation-delay: 0s; }
.wave-text .letter:nth-child(2) { animation-delay: 0.1s; }
.wave-text .letter:nth-child(3) { animation-delay: 0.2s; }
.wave-text .letter:nth-child(5) { animation-delay: 0.3s; }
.wave-text .letter:nth-child(6) { animation-delay: 0.4s; }
.wave-text .letter:nth-child(8) { animation-delay: 0.5s; }
.wave-text .letter:nth-child(9) { animation-delay: 0.6s; }
.wave-text .letter:nth-child(10) { animation-delay: 0.7s; }
.wave-text .letter:nth-child(11) { animation-delay: 0.8s; }
.wave-text .letter:nth-child(12) { animation-delay: 0.9s; }

/*.show {*/
/*    opacity: 1;*/
/*    transform: translateY(0);*/
/*}*/

.title {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}
.title-img1, .title-img2, .title-img3, .title-img4, .title-img5,
.title-img6, .title-img7, .title-img8, .title-img9, .title-img10,
.title-img11, .title-img12, .title-img13, .title-img14, .title-img15,
.title-img16, .title-img17, .title-img18, .title-img19, .title-img20, .title-img21 {
    position: absolute;
    transform: scale(0);
    opacity: 0;
    animation: fly 0s ease-out forwards,
    float 4s ease-in-out infinite;
}
@keyframes fly {
    to {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

@keyframes float {
    0%   { transform: translate(0, 0) scale(1); }
    25%  { transform: translate(8px, -6px) scale(1.05); }
    50%  { transform: translate(-6px, 10px) scale(0.95); }
    75%  { transform: translate(5px, 5px) scale(1.03); }
    100% { transform: translate(0, 0) scale(1); }
}
.title-img1 {
    top: 27px;
    left: 41px;
    width: 40px;
    transform: rotate(30deg);
    height: auto;
}
.title-img2 {
    top: 102px;
    left: 179px;
    width: 30px;
    transform: rotate(90deg);
    height: auto;
}
.title-img3 {
    top: 200px;
    left: -26px;
    width: 60px;
    height: auto;
}
.title-img4 {
    top: 45px;
    right: 43px;
    width: 61px;
    height: auto;
}
.title-img5 {
    top: 218px;
    right: 128px;
    width: 30px;
    height: auto;
}
.title-img6 {
    top: 320px;
    right: 180px;
    width: 40px;
    transform: rotate(-30deg);
    height: auto;
}
.title-img7 {
    bottom: 79px;
    left: 66px;
    width: 22px;
    transform: rotate(0deg);
    height: auto;
}
.title-img8 {
    bottom: 156px;
    right: -26px;
    width: 50px;
    height: auto;
}
.title-img9 {
    bottom: 244px;
    left: 66px;
    width: 37px;
    height: auto;
}
.title-img10 {
    bottom: 143px;
    right: 128px;
    width: 25px;
    transform: rotate(86deg);
    height: auto;
}
.title-img11 {
    top: 177px;
    right: 41px;
    width: 24px;
    transform: rotate(49deg);
    height: auto;
}
.title-img12 {
    bottom: 342px;
    right: 78px;
    width: 50px;
    transform: rotate(39deg);
    height: auto;
}
.title-img13 {
    bottom: 131px;
    left: 115px;
    width: 25px;
    transform: rotate(39deg);
    height: auto;
}
.title-img14 {
    top: 142px;
    left: 91px;
    width: 26px;
    transform: rotate(39deg);
    height: auto;
}
.title-img15 {
    top: 296px;
    right: 39px;
    width: 17px;
    transform: rotate(63deg);
    height: auto;
}
.title-img16 {
    top: 57px;
    right: 180px;
    width: 24px;
    transform: rotate(49deg);
    height: auto;
}
.title-img17 {
    bottom: 326px;
    left: 68px;
    width: 34px;
    transform: rotate(-65deg);
    height: auto;
}
.title-img18 {
    bottom: 195px;
    left: 108px;
    width: 19px;
    transform: rotate(39deg);
    height: auto;
}
.title-img19 {
    top: 214px;
    left: 119px;
    width: 26px;
    transform: rotate(39deg);
    height: auto;
}
.title-img20 {
  top: 291px;
    right: 77px;
    width: 43px;
    transform: rotate(63deg);
    height: auto;
}
.title-img21 {
    top: 144px;
    right: 109px;
    width: 17px;
    transform: rotate(63deg);
    height: auto;
}
.wave-text {
    display: flex;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
    color: #e9e832;
    font-size: 10vw;
    font-weight: bold;

}

.letter {
    font-family: "Actinia", sans-serif;
    display: inline-block;
    transform: translate(var(--x, 0), var(--y, 0)) rotate(var(--angle, 0deg));
}
.scroll-down-arrows {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 2px; /* расстояние между стрелками */
    pointer-events: none;
}

.scroll-down-arrows span {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid #e9e832;
    border-right: 2px solid #e9e832;
    transform: rotate(45deg);
    opacity: 0;
    animation: arrowFade 1.5s infinite;
}

/* последовательная задержка для каждой стрелки */
.scroll-down-arrows span:nth-child(1) { animation-delay: 0s; }
.scroll-down-arrows span:nth-child(2) { animation-delay: 0.2s; }
.scroll-down-arrows span:nth-child(3) { animation-delay: 0.4s; }

@keyframes arrowFade {
    0% { opacity: 0; transform: rotate(45deg) translateY(0); }
    50% { opacity: 1; transform: rotate(45deg) translateY(0px); }
    100% { opacity: 0; transform: rotate(45deg) translateY(0); }
}


.space {
    display: inline-block;
    width: 1.5vw;
}
.name {
    font-family: "Passions", sans-serif;
    font-size: 160px;
    color: #000000;
    text-align: center;
    margin-bottom: 100px;
}
.main {
    padding: 50px 0;
    position: relative;
    background: url("./images/10.JPG") center/cover no-repeat;
}

.main::before {
    content: "";
    backdrop-filter: blur(2px);
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.6);
}
.main .main-info {

    text-align: center;
}

.main .main-info p{
    font-size: 55px;

    font-family: "Viaoda", sans-serif;

}
.main .main-info h1{
    font-family: "Actinia", sans-serif;
    font-weight: bold;
    font-size: 120px;
    color: #e9e832;
    margin: 20px 0 20px 0;
    position: relative;
    text-shadow:
            2px 2px 0 rgb(104, 100, 53),
            -2px -2px 0 rgb(181 176 97),
            2px -2px 0 rgb(181 176 97),
            -2px  2px 0 rgb(181 176 97);
}




.location {
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.location .container {
    display: flex;
    justify-content: space-around;

}



.location-info .date{
    font-size: 35px;
    font-family: "Actinia", sans-serif;
    margin: 20px 0 20px 0;
    font-weight: bold;
    color: #6b6c44;
    position: relative;
}
.location-img {
    margin: 0 auto;
    width: 325px;
}
.loc-img {
    position: relative;
    height: 430px;
}
.loc-img img{
    display: block;
    width: 250px;
    z-index: 3;
    position: relative;
}
.loc-img .loc-img2 {
    position: absolute;
    top: 55px;
    left: 80px;
    z-index: 2;
    display: inline-block;
}
.loc-img2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.5);
    pointer-events: none;
    z-index: 3;

}
.location-info p{
    font-size: 35px;
    font-family: "Viaoda", sans-serif;
    margin-bottom: 30px;
    color: #6b6c44;
}
.location-info a {
    text-decoration: none;
    outline: none;
    color: #6b6c44;
    border: 3px solid #6b6c44;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 30px;
    width: 100%;
    font-size: 30px;
    display: inline-block;
    cursor: pointer;
}
.location-images .butilka {
    display: none;
    position: absolute;
    width: 230px;
    top: -12px;
    right: 30%;
}
.location-images .bokal1 {
    display: none;
    position: absolute;
    width: 175px;
    top: 25px;
    right: 17%;
}
.location-images .bokal2 {
    display: none;
    position: absolute;
    width: 155px;
    top: 79px;
    right: 25%;
}
.program {
    position: relative;

}
.program-img1 {
    position: absolute;
    opacity: 0.3;
    z-index: -1;
    width: 100%;
    top: -190px;
    left: -160px;
}

.wave {
    position: absolute;
    z-index: -1;
    left: 13%;
    top: 23%;
}
.program .wave-text {

    color: rgba(252,236,242);
}
.program .wave-text.two, .wave-text.three {
    margin-top: -64px;
}
.program-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #6b6c44;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}
.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 20px;
    width: 2px;
    height: 79%;
    background-color: #6b6c44;
    transform: translateX(-50%);
}
.event {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}
.time {
    font-size: 55px;
    font-family: "Viaoda", sans-serif;
    font-weight: bold;
    text-align: right;
    color: #6b6c44;
}
.time.first {
    margin-left: 54px;
}
.time.second {
    margin-left: 177px;
}
.time.three {
    margin-left: -38px;
}
.time.four {
    margin-left: 240px;
}
.dot {
    width: 14px;
    height: 14px;
    background-color: #6b6c44;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.description {
    font-family: "Viaoda", sans-serif;
    font-size: 40px;
    margin-left: 120px;
    color: #6b6c44;
}

.description.four{
    margin-left: 120px;
}


.dresscode {
    padding-top: 150px;
    padding-bottom: 100px;
}

.slider {
    margin-top: 50px;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 800px;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.slide img {
    width: 30%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.dressdots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* расстояние между точками */
    margin-top: 10px;
}


.dressdot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dressdot.active {
    background: #000;
    transform: scale(1.2);
}
.dresscode-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #6b6c44;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}
.dresscode-info {
    display: flex;
    justify-content: space-between;

}
.dresscode-info-text {
    font-family: "Viaoda", sans-serif;
    font-size: 40px;
    max-width: 555px;
    color: #6b6c44;
}
.dresscode-info-image {
    display: flex;
    gap: 20px;
}

.heart1, .heart2 {
    width: 100px;
    height: 100px;
}
.heart1, .heart2, .heart3, .heart4, .heart5 {
    animation: pulse 1s infinite ease-in-out;
}
.heart5, .heart4 {
    filter: brightness(0) invert(1);
}
/*.heart3 {*/
/*    width: 120px;*/
/*    height: 120px;*/
/*}*/

.heart-wrapper1, .heart-wrapper2,
.heart-wrapper3, .heart-wrapper4, .heart-wrapper5 {
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;


}
@keyframes pulse {
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}
.heart-wrapper1 {
    background-color: #f8f4ee;
    border: 1px solid #6b6c44;
}
.heart-wrapper2 {
    border: 1px solid #6b6c44;
    background-color: #dcc6aa;
}
.heart-wrapper3 {
    background-color: #f6cd44;
    border: 1px solid #6b6c44;
}
.heart-wrapper4 {
    background-color: #c3890b;
    border: 1px solid #6b6c44;
}
.heart-wrapper5 {
    background-color: #6b6c44;
    border: 1px solid #6b6c44;
}

.organizer {
    padding-top: 100px;
    padding-bottom: 100px;
}


.organizer-text {
    font-family: "Viaoda", sans-serif;
    font-size: 40px;
    color: #6b6c44;
    margin-bottom: 50px;
}
.organizer-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #6b6c44;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}

.organizer-name {
    font-family: "Actinia", sans-serif;
    font-size: 40px;
    margin-bottom: 50px;
    color: #6b6c44;
    text-align: center;
}
.organizer a {
    text-decoration: none;
    outline: none;
    color: #6b6c44;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 36px;
    cursor: pointer;
   margin: 39%;
}
.organizer a:hover {
    text-decoration: none;
    outline: none;
    color: white;
    border: 1px solid #6b6c44;
    background-color: #6b6c44;
}
.wishes {
    padding-bottom: 50px;
    overflow: hidden;
}
.wishes-img img{
    z-index: 1;
    opacity: 0.4 !important;
}
.wishes-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #6b6c44;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}

.wishes-text {
    font-family: "Viaoda", sans-serif;
    font-size: 40px;
    color: #6b6c44;
    z-index: 33;
    position: relative;
}

.presence {
    padding-bottom: 100px;
}
.presence-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #6b6c44;
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
}
.presence-text {
    font-family: "Viaoda", sans-serif;
    font-size: 40px;
    color: #6b6c44;
    margin-bottom: 50px;
}


.wedding-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    border: 3px solid #6b6c44;;
    border-radius: 10px;
    background:  #f7f8f4;
    font-size: 30px;
    font-family: "Viaoda", sans-serif;

    fieldset {
        border: none;
        margin-bottom: 15px;
    }

    legend {
        font-weight: bold;
        margin-bottom: 5px;
        color: #6b6c44;
    }

    label {
        display: block;
        margin: 5px 0;
    }

    input[type="text"],
    textarea {
        width: 90%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
    }

    textarea {
        min-height: 100px;
    }

    button {
        width: 100%;
        padding: 10px;
        background: #6b6c44;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;

        &:hover {
            background: #a0040c;
        }
    }
}

.timout-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #6b6c44;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: "Viaoda", sans-serif;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #6b6c44;
    padding: 15px;
    text-align: center;

}

.time-box span {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
}

.time-box p {
    margin: 5px 0 0;
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.8;
}
