@font-face {
    font-family: "Felidae";
    src: url("../fonts/Felidae.ttf") format("truetype");
}
@font-face {
    font-family: "calt";
    src: url("../fonts/FoglihtenNo07calt.otf") format("truetype");
}
@font-face {
    font-family: "Via";
    src: url("../fonts/ViaodaLibre-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "GoodV";
    src: url("../fonts/GoodVibesCyr.ttf") format("truetype");
}
@font-face {
    font-family: "CormorantInfant";
    src: url("../fonts/CormorantInfant-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Play";
    src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
}

@font-face {
    font-family: "Novelist";
    src: url("../fonts/Novelist_free.otf") format("truetype");
}
@font-face {
    font-family: "Dihjauti";
    src: url("../fonts/Dihjauti-Regular.otf") format("truetype");
}
@font-face {
    font-family: "Caravan";
    src: url("../fonts/Caravan.otf") format("truetype");
}

@font-face {
    font-family: "ZT";
    src: url("../fonts/ZTNeueRalewe-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Betmo";
    src: url("../fonts/Betmo Regular Cyr.otf") format("truetype");
}

@font-face {
    font-family: "French";
    src: url("../fonts/FrenchKissscript.ttf");
}

@font-face {
    font-family: "Santa Catarina";
    src: url("../fonts/Santa Catarina.ttf");

}

@font-face {
    font-family: "Katherine";
    src: url("../fonts/Miss_Katherine_Cyrillic_Script.ttf");

}

* {
    margin: 0;
    padding: 0;
    /*font-family: "Cormorant Infant", sans-serif;*/
    font-family: "Play", sans-serif;


}
html, body {
    overflow-x: hidden;
}
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(270deg, #f3e7e9, #f1e0d1, #fffaf5);
    background-size: 600% 600%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 10% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 10% 50%; }
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hid {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 3s ease-out;
}

.hidden-his {
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hidden-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hidden-center {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hidden-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Когда элементы становятся видимыми */
.show {
    opacity: 1;
    transform: translateY(0);
}
.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;
}
#preloader {
    background-color: black;
    position: fixed;
    width: 100%;
    height: 100vh;
    color: white;
    font-family: Arial, sans-serif;
    flex-direction: column;
    opacity: 1;
    transition: opacity 1s ease;
    text-align: center;
    overflow: hidden;
    background-image: url("././images/photo1.jpg");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: space-around; /* центр по горизонтали */
    align-items: center;
}
#preloader::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3); /* затемнение 50% */
    z-index: 1;
}

#preloader > * {
    position: relative;
    z-index: 2; /* текст и контент выше затемнения */
}

.preloader-text {
    position: relative;
    z-index: 1;
    /*background: rgba(0, 0, 0, 0.3); !* Затемнённый фон для текста *!*/
    /*padding: 70px;*/
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

#content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}


.preloader-wed-day, .razblock, .open-btn img {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
    animation: fadeInScale 1s ease-out forwards;
}
/*#preloader .open-btn {*/
/*    position: fixed;  !* фиксируем относительно окна *!*/
/*    bottom: 30px;     !* отступ снизу *!*/
/*    left: 50%;        !* по центру по горизонтали *!*/
/*    transform: translateX(-50%); !* центрируем точно *!*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/
/*.open-btn img {*/
/*    width: 300px;*/
/*}*/

.open-btn {
    width: 320px;
    height: 320px;
    margin: 0 auto;

}
.two-btn {
    opacity: 0;
}

.open-btn .rotating-text text{
    font-family: "ZT", sans-serif !important;
}
.rotating-text {
    animation: rotate 30s linear infinite;
    transform-origin: 50% 50%;


}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
#music-toggle {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    padding: 10px 10px 12px 12px;
    font-size: 20px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    box-sizing: border-box;
    border: 1px solid gray;
    transition: background-color 0.3s;
}
#music-toggle:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/*.open-btn {*/
/*    position: relative;*/
/*    !*width: 100px; !* Задайте нужный размер *!*!*/
/*    !*height: 100px;*!*/
/*    display: flex;*/
/*    align-items: end;*/
/*    justify-content: center;*/
/*    margin: 200px auto;*/
/*}*/

.pulse-heart {
    width: 50px; /* Размер сердечка */
    height: 50px;
    animation: heartPulse 1s infinite;
    z-index: 2;
}

.pulse-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 253, 253, 0.3);
    animation: circlePulse 2s infinite;
    z-index: 1;
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}

@keyframes circlePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.preloader-wed-day {
    font-size: 50px;
    font-family: "Betmo", sans-serif;
    animation-delay: 0.3s;
}
.preloader-date {
    font-size: 35px;
    margin: 30px 0 30px 0;
    font-family: "CormorantInfant", sans-serif;
    animation-delay: 0.8s;
}
.preloader-date.preloader-date-one {
    margin: 30px 0 30px 0;
}
.preloader-date.preloader-date-two {
    margin: 0px 0 30px 0;
}
.preloader-name {
    font-size: 45px;
    margin-bottom: 30px;
    font-family: "GoodV", sans-serif;
    /*animation-delay: 0.8s;*/

}

.preloader-name.fraza {
    font-size: 30px;
    margin-bottom: 30px;
    font-family: "Felidae", sans-serif;
    animation-delay: 0.6s;
}

.razblock, .open-btn img{
    animation-delay: 0.9s;
    /*margin-top: 100px;*/
}


@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.photo-slider {
    margin: 30px auto;
    display: flex;
    gap: 20px; /* Расстояние между фото */
    overflow: hidden;
    justify-content: center;
    align-items: center;
    width: fit-content;
    position: relative;
    object-fit: cover;
    animation: slide 6s ease-in-out infinite alternate;
}


img.photo2 {
    width: 150px !important; /* Размер фото */
    height: 230px;
    object-fit: cover;
}

img.photo1 {
    width: 130px !important; /* Размер фото */
    height: 200px;
    object-fit: cover;
}

@keyframes slide {
    0% {
        transform: translateX(-30px);
    }
    100% {
        transform: translateX(0px);
    }
    /* Движение вправо */
}




.invite {
    z-index: 1;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 20px;

}
.invite-photo {
    grid-column: 1;
    grid-row: 1;
    width: 350px;
    height: 430px;
}
.invite-photo img {
    width: 100%;
    object-fit: cover;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}
.names {
    margin-top: 10px;
    font-family: "Via", sans-serif;
    color: black;
    grid-column: 1;
    grid-row: 2;
    text-align: center;

}
.names .name {
    font-family: "Via", sans-serif;
    color: black;
    line-height: 1;
    font-size: 50px;
}

.names span {
    font-family: "calt", sans-serif;
    color: #4e4e4e;
    line-height: 1;
    display: inline-block;
    font-size: 30px;
   transform: rotate(-377deg);
}

/* Дата справа и на 2 строки */
.date {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: column;
}

.date-text {
    font-family: "Via", sans-serif;
    color: black;
    font-size: 24px;
}

.scroll-down {
    position: absolute !important;
    bottom: 70px;
    left: 50%;
    font-size: 45px;
    color: black;
    text-shadow:
            1px 1px 0 white,
            -1px 1px 0 white,
            1px -1px 0 white,
            -1px -1px 0 white;
    opacity: 0.8;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}


/*.invite::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    background: rgba(0, 0, 0, 0.3); !* затемнение 50% *!*/
/*    z-index: 1;*/
/*}*/

.invite > * {
    position: relative;
    z-index: 2; /* текст и контент выше затемнения */
}
.name-his, .name-her {
    font-family: "Felidae", sans-serif;
    color: #3f3731;
    font-size: 70px;

    font-weight: bold;
}


.image {
    width: 500px;
    height: 800px;
    margin: 0 auto;
}



.invite-name.name, .invite-name, .invite-text-one, .invite-text-two, .vertical-line {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
    animation: fadeInScale 1s ease-out forwards;
}

/* Задержки для последовательного появления */
.name {
    animation-delay: 0.3s;
}

.invite-text-one, .vertical-line, .invite-text-two {
    animation-delay: 0.8s;
}

/*.invite-text-one.inv-text {*/
/*    opacity: 1;*/
/*    transform: none;*/
/*    filter: none;*/
/*    animation: none;*/
/*}*/

/* Анимация плавного появления с середины */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.invite-name {
    color: #706556;
    font-size: 60px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    opacity: 1;
    font-family: "Felidae", sans-serif;
    z-index: 2;
    position: relative;
    text-align: left;
    padding: 80px 0;

}

.invite-name span {
    font-family: "Great Vibes", sans-serif;
    opacity: 0;
    transform: translateY(10px);
    display: inline-block;
    animation: fadeIn 0.8s forwards ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.invite-name .simvol {
    /*font-family: "Felix Titling", sans-serif;*/
    /*font-family: "Algerian", sans-serif;*/
    font-family: "French", sans-serif;
    /*font-size: 100px;*/
}



.program-title, .location-text-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
    font-size: 65px;
    margin-bottom: 30px;
    color: #3f3731;
    font-family: "Felidae", sans-serif;
}
.dresscode-title {
    position: relative;
    font-weight: bold;
    font-size: 68px;
    margin-bottom: 30px;
    color: #3f3731;
    z-index: 100;
    font-family: "Felidae", sans-serif;
}
.dresscode-title.details-title {
    position: absolute;
    color: #c4b39a;
    top: -330px;
    left: 99px;
    font-family: "ZT", sans-serif;
    font-weight: normal;
    z-index: 100;
    overflow: visible;

}
.det {
    position: absolute;
    top: 0px;
    right: 0;
    font-size: 22px;
    font-family: "Felidae", sans-serif;

}
.d{
    font-family: "ZT", sans-serif;
    text-align: justify;
    font-size: 850px;
    line-height: 0.75;
    transform: translateY(-140px);
    margin-left: -38px;
    z-index: 10;
    position: relative;
    overflow: hidden;
    color: #c4b39a;

}

/*.program, .organizer, .dresscode, .wishes, .presence,*/
/*.word-love, .dear, .obraz, .calendar-section, .location {*/
/*    background-color: #cccccf;*/
/*}*/
.obraz {
    position: relative;
}
.location .loc {
    color: white;
    font-size: 22px;
    margin-right: 20px;
    font-family: "Felidae", sans-serif;
}
.word-loc {
    background-color: #c4b39a;
}

.word-love p{
    font-family: "ZT", sans-serif;
    text-align: justify;
    font-size: 100vw;
    line-height: 0.75;
    color: #9d0606;
    margin-left: -25px;
    transform: translateY(-40px);
    z-index: 1;
    position: relative;
    overflow: hidden;

}



.word-loc p {
    color: white;
    transform: translateY(0);
    font-size: 48vw;
    margin-left: -17px;
}
.calendar-section {
    position: relative;
    text-align: center;
}
.calendar {
    max-width: 100%;
    padding-bottom: 50px;
    text-align: center;
    /*background-color: white;*/
    display: inline-block;
    /*box-shadow: 0 0 15px rgba(2, 2, 2, 0.6);*/
}

.calendar-date {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}

.calendar-date .month,
.calendar-date .year {
    font-size: 36px;
    font-family: "Play", sans-serif;
}
.calendar-date .month span {
    font-family: "Great Vibes", sans-serif;
}
#calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;
    font-size: 24px;
}

.weekday {
    text-align: center;
    font-size: 20px;
    font-family: "Play", sans-serif;
}
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0px;
    font-size: 20px;
    justify-items: center;
    justify-content: center;
}

.day {
    padding: 10px;
    width: 30px;
    height: 30px;
    position: relative;
    font-family: "CormorantInfant", sans-serif;
}

.day.empty {
    background: transparent;
}

.heart {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.heart-img {
    width: 100%;
    height: 100%;
    display: block;
    animation: pulse 2s infinite ease-in-out;
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}
.main {
    padding: 0 0 50px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
    width: 100vw;

}

.main img {
    position: absolute;
    top: 48px;
    width: 860px;
    right: -84px;
}

.main-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.dear {
    color: black;
    padding-bottom: 50px;
    padding-top: 10px;
    text-align: center;
}

.dear-decor {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}
.two-decor {
    margin-bottom: 0;
}
.three-decor {
    margin-top: 50px;
    margin-bottom: 0;
}


.two-line {
    width: 50%;
}

.dear-icon {
    width: 100%;
    height: auto;
    opacity: 0.8;
}
.two-icon {
    rotate: 180deg;
}
.three-icon {
    margin-bottom: 50px;
}

.dear-title {
    font-size: 46px;
    margin-bottom: 50px;
    text-align: center;
    font-family: "Play", sans-serif;
}
.dear-title span {
    font-family: "GoodV", sans-serif;
}
.dear-text {
    font-size: 22px;
    text-align: center;
    font-family: "Play", sans-serif;
    margin-bottom: 50px;
}
.photo-love {
    position: relative;
    z-index: 0;
}
.photo-love-image {
    width: 100%;
    height: auto;
}
.overlay, .overlay-two {
    position: absolute;
    color: #c4b39a;
    font-size: 220px;
    font-family: "Caravan", sans-serif;
}
.just, .married {
    font-size: 180px;
}
.overlay {
    top: -86px;
    left: 0px;
    rotate: -5deg;
}
.overlay.odna {
    top: -86px;
    left: 15px;
    rotate: -5deg;
}
.overlay.just {
    top: -70px;
    left: 45px;
    rotate: -5deg;
}
.overlay-two {
    top: -45px;
    left: 132px;
    rotate: -5deg;

}
.overlay-two.life {
    top: -45px;
    left: 151px;
    rotate: -5deg;

}
.overlay-two.married {
    top: -14px;
    left: 74px;
    rotate: -5deg;

}
.no-fonts {
    margin-top: 0px;
    font-size: 36px;
    color: white;
    text-align: right;
}
.invite-text-one {
    width: 293px;
    margin: 50px auto;
}
.invite-text-one p {
    font-family: "ZT", sans-serif;
    color: white;
    font-size: 60px;
    margin: 0;
    line-height: 0.8;
}
.invite-text-two {
    color: white;
}
 .his-name {
    text-align: left;
     padding-bottom: 0px;
     position: relative;
}
 .his-name span {
     font-family: "ZT";
     font-size: 30px;
     position: absolute;
     right: 60px;
     top: 20px;
 }
 .her-name {
     padding-top: 0;
     text-align: right;
 }


.music-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    gap: 30px;
    margin-bottom: 30px;
}

.music-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 2;
}


.music-btn {
    width: 50px;
    height: 50px;
    background: transparent !important;
    border: 1px solid #3f3731;
    border-radius: 50%;
    color: #3f3731;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    order: 2;
}


.music-text {
    font-size: 30px;
    text-align: left;
    color: #706556;
    order: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.main h2 {
    font-size: 62px;
    color: #3f3731;
    margin-bottom: 20px;
}

.location {
    display: flex;
    /*align-items: center;*/
    justify-content: center;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    color: black;
    padding-top: 50px;
}
.creep-title {
    z-index: 5555;
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    color: black;
    padding: 35px 0;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    position: relative;
    display: flex;
    align-items: center;

}
.creep-title-two {
    z-index: 5555;
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    align-items: center;

}
.creep-title-content-two img {
    width: 200px; /* обязательно */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}
.creep-title-content {
    display: flex;
    gap: 50px;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
}


.creep-title-content span {
    font-size: 24px;
    font-family: "Play", sans-serif;
}

.wed-date-text {
    max-width: 350px;
    width: 50%;
    color: #3f3731;
}

.wed-date-text-title {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin-top: 50px;
    font-family: "Felidae", sans-serif;
}

.location-text-title {

    text-align: center;

    color: #3f3731;


}

.location-text-info {
    margin-bottom: 50px;
    font-size: 22px;
    text-align: center;
    font-family: "Play", sans-serif;
}

.wed-date-text-date {
    font-size: 50px;
    font-weight: bold;


    text-align: center;

}

.wed-date-image, .location-date-image {
    width: 50%;

}
.loc-img {

    width: 260px;
    height: 391px;
    margin: 20px auto;
}
.loc-img img{
    object-fit: contain;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
.location-text-map {
    display: flex;
    align-items: normal;
    justify-content: center;
    margin-top: 30px;
    text-align: center;
}
/*.location-text-map .container {*/
/*    position: relative;*/

/*}*/
.location-address {
    position: relative;
}
.location-text-map img {
    display: block;
    max-width: 100%;
    height: auto;

}
.location-text-map a {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    color: white;
    font-size: 20px;
    border-radius: 30px;
    width: 80%;
    border: 1px solid white;
    padding: 10px 15px 15px 15px;
    box-sizing: border-box;
}

.location-text-map a:hover {
    border: 1px solid #4f4a45;
    color: white;
    fill: white;
    background-color: #4f4a45;
}



.location-text-map a:hover svg path {
    fill: white;
}

.location-text {
    margin-top: 50px;

}

.wed-date-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: -95px 0;
}

.location-date-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    /*clip-path: inset(0px 50px 0px 50px);*/
    object-position: -110px 0;
}

.photo-table {
    height: 250px;
    overflow: hidden;
    width: 100%;
}

.photo-table img {
    object-position: 0 -400px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.photo-table img.img-img {
    object-position: 0 -191px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.program {
    padding-top: 50px;
    padding-bottom: 50px;
    overflow: hidden;

}

.program .container {
    text-align: center;

}

.program-title {
    position: relative;
}



.timeline {
    display: grid;
    gap: 20px;

}


.event {
    display: grid;
    grid-template-columns: 1fr 200px; /* текст + фото */
    align-items: center;
    gap: 20px;
}
.event:nth-child(even) {
    grid-template-columns: 200px 1fr;
}
.time-info {
    display: flex;
    flex-direction: column;
    gap: 8px;

}
.time-info-time {
    font-size: 30px;
}
.photo {
    width: 200px;
    height: 200px;
    background: #ddd;
    border-radius: 12px; /* квадратная фотка */
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}
.center-card {
    position: relative;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    width: 280px;
    height: 130px;

}

.center-card img {
    width:100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /*transform: rotate(355deg);*/
}
.center-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    width: 100%;
    height: 100%;

    background-color: #c4b39a;
    border-radius: 10px;
    z-index: 1;
    transform: rotate(5deg);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.time-info a {
    text-decoration: none;
    color: #57524e;
    font-weight: bold;
}


.description span {
    font-weight: bold;
    font-size: 23px;
}




.description {
    font-size: 18px;

}
.description span {
    font-size: 20px;
    text-transform: uppercase;
}
.time-info .text {
    font-size: 16px;
}

.icon.first img {
    width: 160px;
}

.icon.second img, .icon.three img, .icon.four img {
    width: 100px;
    height: 100px;
}

.dresscode {
    position: relative;
}
.dresscode.details {
    position: relative;
    overflow: visible;
}

.dresscode-info-blocks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.dresscode-info-block {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.dresscode-info-block.first {
    background-color: #403229;
}
.dresscode-info-block.second {
    background-color: #b8a59e;
}
.dresscode-info-block.three {
    background-color: #637061;
}
.dresscode-info-block.four {
    background-color: #959b8f;
}
.dresscode-info-block.five {
    background-color: black;
}
.dresscode-block-info-blocks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    margin-top: 20px;
    margin-left: 20px;

}
.dresscode-block-info-blocks > * {
    margin-left: -20px; /* Используем отрицательные маргины для элементов */
}
.dresscode-block-info-block {
    width: 60px;
    height: 60px;
    border-radius: 50%;

}
.dresscode-block-info-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

.dresscode-info-text {
    font-size: 22px;
    text-align: center;

}
.stars {
    margin: 20px 0 7px 0;
    font-size: 35px;
    text-align: center;
}

.phone {
    margin-top: 50px;
}
.phone-two {
    margin-top: 20px;
}
.circle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.circle-icon.phone {
    background-color: #9d0606; /* Тёмно-зелёный, телефонный стиль */
}

.organizer a {
    font-weight: bold;
    margin-bottom: 10px;
}


.obraz .container {
    position: relative;
    width: 100%;
    height: 350px;

}
.obraz {
    overflow: hidden;
}
.obraz-man  {
    padding-bottom: 250px;

}
.image-obraz-dop {
    position: absolute;
    right: 20px;
    bottom: -185px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.image-obraz-dop-text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
.back {
    display: flex;
    top: 45px;
    left: 15px;
    position: absolute;
}


.back1, .back2, .back3 {
    background-color: #c4b39a;
    width: 130px;
    height: 200px;
    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);

}
.back1 {
    transform: rotate(3deg);
    z-index: 1;
}
.back2 {
    transform: rotate(3deg);
    z-index: 2;
    margin-top: 50px;
    margin-left: -10px;
}
.back3 {
    transform: rotate(5deg);
    margin-top: -20px;
    z-index: 3;
    margin-left: -25px;
}
.obraz-image {
    display: flex;
    top: 45px;
    left: 15px;
    position: absolute;
}
.image1, .image2, .image3, .image4 {
    width: 130px;
    height: 200px;
    border-radius: 5px;
    position: relative;

}


/* Общие стили для картинок */
.image1 img,
.image2 img,
.image3 img {
    width: 100%;  /* или нужный размер */
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    position: absolute;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}/* Общие стили для картинок */

.image4 img{
    width: 100%;  /* или нужный размер */
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.image1 img {
    top: 5px;
    left: -5px;
    z-index: 6;
}
.image2 img {
    top: 44px;
    left: -26px;
    z-index: 5;
}
.image3 img {
    top: -18px;
    left: -40px;
    z-index: 4;
}

.dresscode .line {
    margin: 30px auto;
    background-color: #3f3731;
    width: 100px;
    height: 1px;
    z-index: 66666;

}


.organizer {
    position: relative;
    color: black;
    padding: 50px 0;
}

.organizer .container {
    text-align: center;
}

.organizer-text {
    font-size: 23px;
    margin-bottom: 30px;
}

.organizer-name {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3f3731;
}

.organizer-name span {
    font-size: 20px;
}

.organizer a {
    font-size: 30px;
    text-decoration: none;
    outline: none;
    color: #3f3731;
    display: inline-block;
    cursor: pointer;
}

.organizer a:hover {
    color: #4f4a45;

}
.image-one {
    width: 100%;
    /*height: 300px;*/
}
.image-one img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.phone .telegram-link {
    margin-top: 13px;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 22px;
    color: white;
    text-decoration: none;
    margin: 0 6px;
    vertical-align: middle;
}

.social-link i {
    line-height: 1;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px; /* Увеличение размера */
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link.whatsapp i {
    color: #c4b39a; /* Зеленый цвет WhatsApp */
}

.social-link.telegram i {
    color: rgb(126, 124, 129); /* Синий цвет Telegram */
}
.social-link.phone, .social-link.whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgb(126, 124, 129); /* или любой нужный */
    text-decoration: none;
}
.social-link.phone i, .social-link.whatsapp i {
    color: white; /* Синий цвет Telegram */
    font-size: 20px;
}



.phone span {
    font-size: 30px;
}

.presence {
    padding-bottom: 50px;
    padding-top: 5px;
    text-align: center;
}

.presence-text {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    color: black;

}


.des {
    font-size: 18px;
}

.wedding-form * {
    box-sizing: border-box;
}

.wedding-form {
    color: black;
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-size: 30px;
    font-family: "Cormorant Infant", sans-serif;

    fieldset {
        border: none;
        margin-bottom: 15px;
    }

    legend {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    label {
        display: block;
        margin: 5px 0;
    }

    input[type="text"] {
        border: none;
        width: 100%;
        border-bottom: 1px solid #3f3731;
        outline: none;
        background: transparent;
        padding: 5px 0;
        font-size: 16px;
    }

    .wedding-form input[type="radio"],
    .wedding-form input[type="checkbox"],
    textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    textarea {
        min-height: 100px;
    }

    button {
        -webkit-appearance: none; /* Убирает дефолтные стили в Safari */
        -moz-appearance: none; /* Для Firefox */
        appearance: none;
        width: 100%;
        padding: 10px;
        background: transparent;
        color: #3f3731;
        border: 1px solid #3f3731;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;

        &:hover {
            background: #4d4842;
        }
    }
}

@supports (-webkit-appearance: none) {
    .wedding-form {
        max-width: 700px;
        margin: 0 auto;
        padding: 20px;
        font-size: 30px;
        font-family: "Cormorant Infant", sans-serif;
    }

    fieldset {
        border: none !important;
        padding: 0;
    }

    legend {
        font-weight: bold;
        margin-bottom: 5px;
    }

    label {
        display: block;
        margin: 5px 0;
    }

    input[type="text"],
    textarea {
        width: 100%;
        padding: 8px;
        border: 1px solid #3f3731;
        border-radius: 5px;
        font-size: 16px;
        background-color: white;
    }

    textarea {
        min-height: 100px;
    }

    button {
        -webkit-appearance: none; /* Убирает дефолтные стили в Safari */
        -moz-appearance: none; /* Для Firefox */
        appearance: none; /* Общий сброс */
        background: white;
        width: 100%;
        padding: 10px;
        border: 1px solid black;
        color: black;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        font-weight: bold;

        &:hover {
            background: gray;
        }

        &:focus {
            outline: none; /* Убирает синюю рамку при фокусе */
        }
    }
}

.timout {
    padding-top: 0px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.timout.footer {
    /*padding: 250px 0 30px 0;*/
    /*background-image: url("././images/7.png");*/
    position: relative;
    overflow: hidden;
    text-align: center;
    background-size: cover;
    background-position: center;       /* Центрирует изображение */
    background-repeat: no-repeat;
    z-index: 1;
    padding-top: 50px;

}

.footer-bg {
    display: block;
    width: 100%;
    height: auto;
}



/* Содержимое должно быть выше затемнения */
.timout > * {
    position: relative;
    z-index: 2;
}


.timout-svg {
    text-align: center;
}

.timout-svg svg {
    width: 120px;
    height: 100px;
}

.timout-title {
    font-size: 36px;
    color: black;
    text-align: center;
    font-weight: bold;
    font-family: "ZT", sans-serif;
    margin-bottom: 20px;
}
.timout-title.footer-title {
    font-size: 35px;
    color: black;
    text-align: center;
    font-weight: bold;
}
.timout-title span{
    font-family: "Felidae", sans-serif;
    font-size: 26px;
    font-weight: normal;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.time-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /*border: 1px solid #7a0f21;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    color: black;
    text-align: center;
    position: relative;
    justify-content: center;

}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    color: black;
}

.time-box svg {
    transform: rotate(-90deg);
}

circle {
    fill: none;
}

.background {

}

.progress {
    stroke: black;
    transition: stroke-dashoffset 0.35s;
}

.time-box span {
    font-size: 18px;
    line-height: 1;
    z-index: 2222;
    transform: rotate(90deg);
}

.time-box p {
    margin: 5px 0 0;
    font-size: 14px;
    z-index: 222;
}

.time-text {
    font-size: 32px;
    fill: black;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.time-text, .time-label {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1;
    transform: rotate(90deg);
}

.time-label {
    font-size: 32px;
    fill: black;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
}


.chat {
    text-decoration: none;
    color: black;
    border: 2px solid #c4b39a;
    border-radius: 10px;
    display: block;
    width: 250px;
    margin-top: 63px;
    text-align: center;
    box-sizing: border-box;
    padding: 15px 10px 15px 10px;
}
.chat:hover {
    background-color: white;
}