

@font-face {
    font-family: "Felidae";
    src: url("../fonts/Felidae.ttf") format("truetype");
}

@font-face {
    font-family: "ZT";
    src: url("../fonts/ZTNeueRalewe-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "neumann";
    src: url("../fonts/td-neumann.otf") format("truetype");
}
@font-face {
    font-family: "Book Antiqua";
    src: url("../fonts/bookantiqua.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: "Poiret One", sans-serif;


}
.desktop-message {
    display: none;
    text-align: center;
    margin-top: 150px;
}
.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);
}

#preloader {
    background-color: black;
    position: fixed;
    width: 100%;
    height: 100%;
    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: flex-end; /* центр по горизонтали */
    align-items: center;
    padding-bottom: 50px;
}
/*#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, .preloader-name, .razblock, .open-btn img {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
    animation: fadeInScale 1s ease-out forwards;
}

.open-btn {
    width: 320px;
    height: 320px;
    margin: 0 auto;
}

.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 {
    margin-top: 30px;
}

.preloader-wed-day, .preloader-name, .razblock {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
    animation: fadeInScale 1s ease-out forwards;
}

#open-btn {
    position: relative;
    width: 100px; /* Задайте нужный размер */
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.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-name {
    font-size: 65px;
    margin: 30px 0 50px 0;
    font-family: "Felidae", sans-serif;
    animation-delay: 0.8s;
}

.preloader-name.fraza {
    font-size: 30px;
    margin-bottom: 30px;
    font-family: "Book Antiqua", sans-serif;
    animation-delay: 0.6s;
}

.razblock {
    animation-delay: 0.9s;
    font-family: "Book Antiqua", sans-serif;
    font-size: 18px;
}

#open-btn img {
    width: 100px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.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;
}
/*#content {*/
/*    display: none;*/
/*    opacity: 0;*/
/*    transition: opacity 1s ease;*/
/*}*/


.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); } /* Движение вправо */
}
.history {
    padding: 50px 0;
    background-color: #f9f9f9;
}
.map-title {
    text-align: center;
}
.map {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    text-align: center;
    overflow: hidden;


}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.back {
    position: absolute;
    width: 700px;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    rotate: -15deg;
}

.label {
    position: absolute;

    font-size: 28px;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.label span {
    display: block;
    font-family: "Felidae", sans-serif;
    margin-bottom: 5px;
    font-size: 35px;
    color: #610f0f;
}

.label svg {
    width: 50px;
    height: 50px;
    transform: scaleX(-1);
    rotate: 245deg;
    position: absolute;
    top: 38px;
    left: -10px;

}
.label.bride svg {
    width: 50px;
    height: 50px;
    transform: scaleX(1);
    rotate: 110deg;
    position: absolute;
    top: 38px;
    left: 54px;

}


/* позиция жениха */
.groom {
    top: 50px;
    left: 22px;
    z-index: 555555;
}

/* позиция невесты */
.bride {
    top: 65px;
    right: 22px;
    z-index: 55555;
}
.invite-photo {
    box-sizing: border-box;
    /*height: 600px;*/
    margin: 0 auto;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.35);
    /*padding-top: 60px;*/
    /*transform: translateY(-50px);*/
}
.no-fonts.priglos {
    color: #434141;
    margin-top: 20px;
}

.invite-child-photos {
    position: relative;
    height: 360px;
    /*background-color: #ffffff;*/
}

.image-one {
    position: absolute;
    top: 60px;
    left: -15px;
    z-index: 5;
}

.image-one .polaroid {
    position: relative;
    width: 250px;
    rotate: -5deg;
    z-index: 2;


}

.foto {
    position: absolute;
    top: 48%;
    left: 52%;
    transform: translate(-50%, -50%);
    z-index: 1;
    rotate: -5deg;
}

.foto img {

    width: 175px; /* Высота контейнера */
    object-fit: cover;
    transform: translate(0px, -27px);
    clip-path: inset(24px 0 0px 0);/* Обрежет 50px сверху */
}

.image-two {
    position: absolute;
    top: 85px;
    right: -20px;
}

.image-two .polaroid-two {
    position: relative;
    width: 250px;
    rotate: 5deg;
    z-index: 2;


}

.foto-two {
    position: absolute;
    top: 52%;
    left: 42%;
    transform: translate(-50%, -50%);
    z-index: 1;
    rotate: 5deg;
}

.foto-two img {

    width: 175px; /* Высота контейнера */
    object-fit: cover;
    transform: translate(0px, -25px);
    clip-path: inset(25px 0 0px 0);
}

.invite-photo img {
    width: 80%;
    /*filter: brightness(1.8) contrast(0.3);*/
    /*margin-bottom: 20px;*/
    display: block;
   margin: 0 auto;
}

.invite-one {
    background-color: #f9f9f9;
    padding-bottom: 50px;
}
.invite {
    overflow: hidden;
    position: relative;
    text-align: center;
}

.line-top {
    margin-top: 30px;
}

.name-his, .name-her {
    font-family: "Felidae", sans-serif;
    color: black;
    font-size: 70px;

    font-weight: bold;
}
.invite {
    position: relative;
    text-align: center;
}




 .invite-name.name, .invite-name, .invite-text-one {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(10px);
    animation: fadeInScale 1s ease-out forwards;
}

/* Задержки для последовательного появления */

.invite-text-one {
    animation-delay: 0.5s;
    font-family: "Felidae", sans-serif;
    font-weight: bold;
}



/* Анимация плавного появления с середины */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

.invite-name {
    width: 100%;
    /*color: #610f0f;*/
    /*color: #5a4848;*/
    color: black;
    font-size: 70px;
    white-space: nowrap;
    overflow: hidden;
    /*font-weight: bold;*/
    display: inline-block;
    opacity: 1;
    font-family: "Felidae", sans-serif;
    z-index: 2;
    position: relative;
    padding-top: 40px;
    padding-bottom: 30px;

}
.name-h {
    text-align: center;
    font-family: "Betmo", sans-serif;
}
.his-name {
    line-height: 0.2;
}
.her-name {
    line-height: 0.2;
}


@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;*/
}

/*.invite-name {*/

/*}*/
/*.invite-name {*/
/*    color: #706556;*/
/*    font-size: 60px;*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    display: inline-block;*/
/*    opacity: 1;*/

/*}*/
/*.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, .map-title, .location-text-title, .dresscode-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
    font-size: 65px;
    margin-bottom: 30px;
     color: #610f0f;;
    font-family: "Felidae", sans-serif;
}



 .organizer, .wishes, .presence {
    background-color: #f9f9f9;
}
.calendar {
    width: 300px;
    max-width: 100%;
    padding: 0px;
    text-align: center;
    display: inline-block;
    margin-bottom: 30px;
}
.calendar-date {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: center;
}
.calendar-date .month,
.calendar-date .year{
    font-size: 30px;
}
.calendar-date .month {
    white-space: nowrap;
}
.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;
}
.day.empty {
    background: transparent;
}
.heart {
    font-size: 46px;
    position: absolute;
    bottom: -18px;
    right: -20px;
    z-index: 55;
    color: #c69870;
}
.heart svg {
    width: 100px;
    height: 100px;
}

.main {
    padding: 0 0 50px 0;
    background-color: #f9f9f9;
    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 {*/
/*    font-size: 100px;*/
/*    color: #7a0f21;*/
/*    margin-bottom: 30px;*/
/*}*/
.no-fonts {
    font-size: 36px;
    color: black;
    text-align: center;
}
.invite-text-two {
    font-family: "Felidae", sans-serif;
}
.no-fonts span {
    font-weight: bold;
    font-family: "Felidae", sans-serif;
    font-size: 40px;
    color: #610f0f;
    white-space: nowrap;
}
.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 black;
    border-radius: 50%;
    color: black;
    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: black;
    margin-bottom: 20px;
}
.wed-date, .location {
    display: flex;
    align-items: start;
    justify-content: space-around;
    gap: 0;
    background-color: #f9f9f9;

}

.location {
    padding-bottom: 50px;
    padding-top: 50px;
    overflow: hidden;
    position: relative;
    background-image: url("./images/loc.jpg?v=1.0.1");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}
.location .container {
    margin: 0 auto;
}
.location-text {
    background-color: rgba(249, 249, 249, 0.8);
    padding: 50px;
    color: #610f0f;
}
.location-text-title.loc-text {
    color: white;
    text-align: center;
    margin-bottom: 0;
    margin-top: 50px;
    font-weight: bold;
    font-size: 40px;

}
.location .love-svg, .presence .love-svg {
    position: absolute;
    bottom: 25px;
    left: 0;
    rotate: -10deg;
}

.love-svg svg {
    height: 50px;
    width: 100%;

}
.wed-date-text {
    max-width: 350px;
    width: 50%;
    color: black;
}
.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: #610f0f;


}
.wed-date-text-info {
    font-size: 36px;
    margin: 20px 0 50px 0;
    color: black;
    text-align: center;
    font-family: "Felidae", sans-serif;
}
.wed-date-text-info span{
    font-size: 30px;
    font-family: "Felidae", sans-serif;
    font-weight: bold;
    margin: 20px 0 50px 0;
    color: black;
    text-align: center;
}
.wed-date-text-info span.red {
    color: #610f0f;
    font-size: 36px;
}
.wed-date-text-info span.red.mart {
    color: #610f0f;
    font-size: 36px;
}
.calendar-grid {
    display: grid;
    grid-template-columns: 100px 150px 100px;;
    justify-content: center;
    text-align: center;
    font-family: serif;
    position: relative;
    margin-bottom: 50px;
}
.calendar-grid svg {
    position: absolute;
    top: -315px;
    left: 51px;
    width: 275px;
    rotate: 11deg;
}
.invite-title {
    margin-top: -2px;
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    background: #f9f9f9;
    color: #610f0f;
    font-weight: bold;
    padding: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.invite-title-content {
    display: flex;
    gap: 50px;
    position: absolute;
    white-space: nowrap;
    will-change: transform;
}

.invite-title-content span {
    font-size: 24px;
    font-family: "Felidae", sans-serif;
}
/* общие ячейки */
.calendar-grid > div {
    padding: 30px 10px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
}
.calendar-grid .day-c {
    padding: 5px 10px;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
    border-top: 2px solid black;
}

/* верхняя строка */
.day-c {
    font-size: 14px;
    font-weight: 600;
    color: black;
}

/* нижняя строка */
.date-c {
    font-size: 32px;
    color: black;
}
.im-date {
    font-size: 40px;
    font-weight: bold;
}

/* ❗ убрать правую рамку у двух правых */
.calendar-grid > div:nth-child(3),
.calendar-grid > div:nth-child(6) {
    border-right: none;
}

.location-text-info {
    font-size: 23px;
    margin: 20px 0;
    color: black;
    font-weight: bold;
    text-align: center;
}
.wed-date-text-date {
    font-size: 50px;
    font-weight: bold;


    text-align: center;

}
.wed-date-image, .location-date-image {
    width: 50%;

}

.location-text-map {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);

}
.location-text-map a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    background-color: #c4b39a;
    font-size: 23px;
    border-radius: 30px;
    border: 1px solid #c4b39a;
    padding: 10px 15px 15px 15px;
    width: 200px;
    box-sizing: border-box;
}
.location-text-map a:hover {
    border: 1px solid #4f4a45;
    color: white;
    fill: white;
    background-color: #4f4a45;
}
.location-text-map svg  {
    width: 50px;
    height: 50px;
}
.location-text-map a:hover svg path  {
    fill: white;
}

.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 {
    width: 100%;
    overflow-x: hidden;
    padding-top: 50px ;
background-color: rgba(255, 255, 255, 0.5);
}
.time-line-svg svg{
    width: 100%;
    height: 800px;
}
.program .container {
    text-align: center;

}
.program-title {
    position: relative;
}
.time-line-svg {
    position: relative;
}
.event-one {
    position: absolute;
    top: 115px;
    left: 100px;
}
.event-two {
    position: absolute;
    top: 345px;
    right: -15px;
}
.event-three {
    position: absolute;
    bottom: 15px;
    left: 100px;
}




.time-info {
    width: 220px;
    height: 165px;


}
.time-info a {
    text-decoration: none;
    color: #57524e;
    font-weight: bold;
}


.description span{
    font-weight: bold;
    font-size: 23px;
    font-family: "Felidae", sans-serif;
}
.time-info-time {
    font-size: 36px;
    font-weight: bold;
    font-family: "Felidae", sans-serif;
}


.description {
    font-size: 18px;
    margin-top: 10px;
    font-family: "Felidae", sans-serif;
    font-weight: bold;

}

.time-info .text {
    font-size: 16px;
}

.icon.first img {
    width: 160px;
}

.icon.second img, .icon.three img, .icon.four img {
    width: 100px;
    height: 100px;
}
.details {
    padding-top: 70px;
}
.dresscode-title {
    color: #f9f9f9;
}
.dresscode {

    margin-top: -4px;
    padding-bottom: 70px;
    background-color: #c4b39a;
    color: #f9f9f9;
}
.dresscode .container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.dresscode-info-text {
    font-size: 23px;
    color: #f9f9f9;
    font-weight: bold;
    font-family: "Felidae", sans-serif;
}
.chat {
    text-decoration: none;
    width: 100%;
    color: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 30px;
    padding: 10px 15px 15px 15px;
    box-sizing: border-box;
    display: block;
    font-family: "Felidae", sans-serif;
}

.dresscode-info-blocks {
    display: flex;
    align-items: center;
    justify-content: center;
    /*gap: 20px;*/
    margin-top: 30px;
    flex-wrap: wrap;
    margin-left: 20px;

}
.dresscode-info-block {
    width: 80px;
    height: 80px;
    margin-left: -20px;
}
.dresscode-info-block img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/*.dresscode-info-block.first {*/
/*    background-color: #5c4733;*/
/*}*/

/*.dresscode-info-block.second {*/
/*    background-color: #846a55;*/
/*}*/

/*.dresscode-info-block.third {*/
/*    background-color: #d6ccb2;*/
/*}*/

/*.dresscode-info-block.four {*/
/*    background-color: #dfd3c6;*/
/*}*/
/*.dresscode-info-block.five {*/
/*    background-color: #aebea5;*/
/*}*/
/*.dresscode-info-block.six {*/
/*    background-color: #5e6744;*/
/*}*/


.dresscode-info span {
    font-family: "Great Vibes", sans-serif;
    font-size: 30px;
    color: black;

}
.dresscode .line {
    margin: 30px auto;
    background-color: white;
    width: 100px;
    height: 1px;
    z-index: 66666;

}


.organizer {
    padding-bottom: 1px;
    background-color: #f9f9f9;
    position: relative;
    width: 100vw;
    color: black;
    margin-top: -2px;
}
.organizer .container {
    text-align: center;
}


.organizer img {
    width: 250px;
    margin-bottom: 30px;
}
.organizer-text {
    font-size: 23px;
    margin-bottom: 30px;
    font-family: "Felidae", sans-serif;
}
.organizer-name {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
}
.organizer-name span {
    font-size: 20px;
}
.organizer a {
    font-size: 30px;
    text-decoration: none;
    outline: none;
    color: black;
    display: inline-block;
    cursor: pointer;
}
.organizer a:hover {
    color: #4f4a45;

}
.phone {
    margin-bottom: 30px;
}
.phone .telegram-link {
    margin-top: 10px;
}

.phone span {
    font-size: 30px;
    font-family: "Felidae", sans-serif;
}

.presence {
    position: relative;
    padding-bottom: 100px;
   padding-top: 30px;
    text-align: center;
    overflow: hidden;
}

.presence-text {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    color: black;

}

.des {
    font-size: 16px;
}
.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: "Felidae", sans-serif;

    fieldset {
        border: none;
        margin-bottom: 15px;
        font-family: "Felidae", sans-serif;
    }

    legend {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
        font-family: "Felidae", sans-serif;
    }

    label {
        display: block;
        margin: 5px 0;
        font-family: "Felidae", sans-serif;
    }

    input[type="text"]
     {
        border: none;
        width: 100%;
        border-bottom: 1px solid black;
        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: black;
        border: 1px solid black;
        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 black;
        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: 50px 0 50px 0;
    background-color: #c4b39a;
    color: #f9f9f9;

}
.timout .container {
    border: 1px solid #f9f9f9;
    padding-bottom: 50px;
    padding-top: 50px;
}
.timout-svg {
    text-align: center;
}
.timout-svg svg {
    width: 120px;
    height: 100px;
}
.timout-title {
    font-size: 36px;
    color: #f9f9f9;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}
#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: #f9f9f9;
    text-align: center;
    position: relative;
    justify-content: center;

}
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
}
.time-box  svg {
    transform: rotate(-90deg);
}
 circle {
    fill: none;
}
.background {

}
.progress {
    stroke: #f9f9f9;
    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: #f9f9f9;
    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: #f9f9f9;
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
}
.photo-niz {
    background-color: #f9f9f9;
    padding-bottom: 50px;
}

.photo-niz .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* расстояние между картинками */
}

.img1 img, .img2 img {
    width: 100%;
}
.img2 img {
    margin-top: 60px;
}