

@font-face {
    font-family: "Felidae";
    src: url("./fonts/Felidae.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Znikomit";
    src: url("./fonts/ZnikomitNo25.otf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Viaoda";
    src: url("./fonts/ViaodaLibre-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "ekat";
    src: url("./fonts/ekaterinavelikayaone.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Actinia";
    src: url("./fonts/Actinia-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "kudry";
    src: url("./fonts/kudry_weird-headline.otf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Sac";
    src: url("./fonts/Sacramento.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Manrope";
    src: url("./fonts/Manrope.ttf");
    font-weight: normal;
    font-style: normal;
}



* {
    margin: 0;
    padding: 0;
}
body {
    /*background-color: #fff9fe;*/
    background-color: #fdfaf4;
    position: relative;
    overflow-x: hidden;
    color: #4b3935;

}
.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: 500px;
    margin: 0 auto;
}

#preloader {
    background-color: black;
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: white;
    font-size: 24px;
    font-family: Arial, sans-serif;
    flex-direction: column;
    opacity: 1;
    transition: opacity 1s ease;
    text-align: center;
    overflow: hidden;
    background-image: url("images/photo3.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
     max-width: 500px;
    left: 50%;
    transform: translateX(-50%);
}
#preloader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 0.6 = степень затемнения */
    z-index: 0;
}

.preloader-text {
    position: relative;
    z-index: 1;
    /*background: rgba(0, 0, 0, 0.3); !* Затемнённый фон для текста *!*/
    /*padding: 70px;*/
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

#content {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}

.open {
    margin-top: 0px;
}

.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;
    }
}
#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);
    }
}
.preloader-wed-day {
    font-size: 50px;
    font-family: "Betmo", sans-serif;
    animation-delay: 0.3s;
}

.preloader-name {
    font-size: 65px;
    font-family: "Felidae", sans-serif;
    animation-delay: 0.8s;
}

.preloader-name.fraza {
    text-align: left;
    font-size: 50px;
    margin-bottom: 0px;
    font-family: "Felidae", sans-serif;
    animation-delay: 0.6s;
}
.preloader-name.fraza.date {
    text-align: left;
    font-size: 30px;
    margin-bottom: 10px;
    font-family: "Felidae", sans-serif;
    animation-delay: 0.6s;
}
.preloader-name span {
    font-family: "Znikomit", sans-serif;
    font-size: 40px;
}
.razblock {
    font-family: "Felidae", sans-serif;
    animation-delay: 0.9s;
}

.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);
    }
}

.hidden {
    opacity: 0;
    transform: translateY(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-left {
    opacity: 0;
    transform: translateX(-50px);
    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);
}




/*.show {*/
/*    opacity: 1;*/
/*    transform: translateY(0);*/
/*}*/




@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 {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 95vh;
    overflow: hidden;
    margin: 0 auto;
}
.title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* регулируй прозрачность */
    pointer-events: none;
}
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.name {
    white-space: nowrap;
    display: inline-block;
    position: absolute;
    top: 10%;
    left: 50%;
    text-align: center;
    transform: translate(-50%);
    font-family: "Viaoda", sans-serif;
    color: #fdfaf4;
    font-size: 50px;
    z-index: 1;
}
.name .and {
    font-family: "Sac", sans-serif;
    font-size: 30px;
    margin: -20px 0;

}
.name2 {
    white-space: nowrap;
    display: inline-block;
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translate(-50%);
    font-family: "Viaoda", sans-serif;
    color: #fdfaf4;
    font-size: 32px;
    z-index: 1;
}
.name3 {
    white-space: nowrap;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    font-family: "kudry", sans-serif;
    color: #fdfaf4;
    font-size: 32px;
    z-index: 1;
}
.photo {
    width: 100%;
    padding: 50px 0;
}

.calendar-section {
    position: relative;
    text-align: center;
    background-color: #4b3935;
    color: #fdfaf4;
    border-radius: 50px 0;
}
.calendar {
    max-width: 100%;
    padding: 50px 0;
    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: 33px;
    font-family: "ekat", sans-serif;
    position: relative;
    line-height: 1;
}
.god {
    position: absolute;
    top: -23px;
    right: 75px;
    font-size: 26px;
    font-family: "Kudry", 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;
    z-index: 2;
    font-family: "Manrope", sans-serif;
}

.day.empty {
    background: transparent;
}
.day.special {
    color: #fdfaf4;
}

.heart {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 60px;
    height: 60px;
    pointer-events: none;
    z-index: -1;
}

.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-top: 50px;
    position: relative;
}
.main-title {
    font-size: 47px;
    text-align: center;
    position: relative;
    z-index: 2;
    font-family: "Actinia", sans-serif;

}
.title-two {
    white-space: nowrap;
    font-size: 50px;
    font-weight: normal;
    margin-top: -95px;
    color: rgba(128, 128, 128, 0.5);
    z-index: 1;
    font-family: "ekat", sans-serif;
}
.main .main-info {
    text-align: center;
}

.main .main-info p{
    font-size: 33px;

    font-family: "Manrope", sans-serif;

}


.location {
    padding-top: 50px;
    padding-bottom: 50px;
    text-align: center;
    overflow: hidden;
}


.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: 33px;
    font-family: "Manrope", sans-serif;
    margin-bottom: 30px;
    color: #4b3935;
}
.location-info a {
    text-decoration: none;
    outline: none;
    color: #4b3935;
    border: 3px solid #4b3935;
    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: #4b3935;
    text-align: center;
    position: relative;
}
.timeline {
    display: grid;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    align-items: center;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    width: 2px;
    height: 78%;
    background-color: #4b3935;
    transform: translateX(-50%);
}
.event {
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 20px;
}
.time {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    font-size: 55px;
    font-family: "Viaoda", sans-serif;
    font-weight: bold;
    color: #4b3935;
}
.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: #4b3935;
    border-radius: 50%;
    position: absolute;
    left: 42%;
    transform: translateX(-50%);
}
.description {
    font-family: "Viaoda", sans-serif;
    font-size: 40px;
    margin-left: 120px;
    color: #4b3935;
    text-align: right;
}

.description.four{
    margin-left: 120px;
}


.dresscode {
    padding-top: 150px;
    padding-bottom: 100px;
}

.slider {
    margin: 50px auto;
    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: -30px;
}


.dressdot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dressdot.active {
    background: #4b3935;
    transform: scale(1.2);
}
.dresscode-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #4b3935;
    text-align: center;
    position: relative;
}
.dresscode-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;

}
.dresscode-info-text {
    font-family: "Manrope", sans-serif;
    font-size: 33px;
    max-width: 555px;
    color: #4b3935;
    text-align: center;
}
.dresscode-info-image {
    display: flex;
    gap: 20px;
}

.heart1, .heart2, .heart3, .heart4, .heart5 {
    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 #4b3935;
}
.heart-wrapper2 {
    border: 1px solid #4b3935;
    background-color: #dcc6aa;
}
.heart-wrapper3 {
    background-color: #f6cd44;
    border: 1px solid #4b3935;
}
.heart-wrapper4 {
    background-color: #c3890b;
    border: 1px solid #4b3935;
}
.heart-wrapper5 {
    background-color: #4b3935;
    border: 1px solid #4b3935;
}

.organizer {
    padding-top: 0px;
    text-align: center;
}

/*.organizerandwishes {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/
/*.bg-image {*/
/*    position: absolute;*/
/*    top: 40px;*/
/*    left: -60px;*/
/*    width: 500px;*/
/*    height: 550px;*/
/*    opacity: 0.5;*/
/*    background: url("images/photo2.png") center/contain no-repeat;*/

/*    z-index: -1;*/
/*}*/
.organizer-text {
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 33px;
    color: #4b3935;
    margin-bottom: 50px;
}
.organizer-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #4b3935;
    text-align: center;
    position: relative;
}

.organizer-name {
    font-family: "Actinia", sans-serif;
    font-size: 33px;
    margin-bottom: 50px;
    color: #4b3935;
    text-align: center;
}
.organizer a {
    text-decoration: none;
    outline: none;
    color: #4b3935;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 36px;
    cursor: pointer;

}
.organizer a:hover {
    text-decoration: none;
    outline: none;
    color: white;
    border: 1px solid #4b3935;
    background-color: #4b3935;
}
.wishes {
    padding-bottom: 50px;
    overflow: hidden;
    padding-top: 50px;
}
.wishes-img img{
    z-index: 1;
    opacity: 0.4 !important;
}
.wishes-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #4b3935;
    text-align: center;
    position: relative;
}

.wishes-text {
    font-family: "Manrope", sans-serif;
    font-size: 33px;
    color: #4b3935;
    text-align: center;
    z-index: 33;
    position: relative;
}

.presence {
    padding-bottom: 100px;
}
.presence-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #4b3935;
    text-align: center;
    position: relative;
}
.presence-text {
    font-family: "Manrope", sans-serif;
    font-size: 33px;
    color: #4b3935;
    text-align: center;
    margin-bottom: 50px;
}


.wedding-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    font-size: 30px;
    font-family: "Manrope", sans-serif;

    fieldset {
        border: none;
        margin-bottom: 15px;
    }

    legend {
        font-weight: bold;
        margin-bottom: 5px;
        color: #4b3935;
    }

    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: #4b3935;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;

        &:hover {
            background: #a0040c;
        }
    }
}
.timout {
    padding-top: 20px;
}
.timout-title {
    font-family: "Actinia", sans-serif;
    font-size: 55px;
    color: #4b3935;
    position: relative;
    text-align: center;
}
#countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: "Kudry", sans-serif;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #4b3935;
    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;
    font-family: "Manrope", sans-serif;
    text-transform: uppercase;
    opacity: 0.8;
}
.invite {
    background-image: url("images/photo3.jpg");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    max-width: 500px;
    position: relative;
    text-align: center;
    overflow: hidden;
    height: 450px;
    padding-top: 50px;
    margin: 0 auto;


}
.invite-one {
    position: absolute;
    top: 25px;
    right: 5%;
}


.wed-date-text-info {
    text-align: right;
    font-family: "Manrope", sans-serif;
}
.wed-date-text-info.wed-date-text-info-two {
    margin-top: -45px;
    font-size: 20px;
}

