@media (min-width: 768px) {
    .desktop-message {
        display: block;
        padding-bottom: 200px;
        margin-top: 150px;
        text-align: center;
    }

    #preloader, #content {
        display: none;
    }

}

/*@media (min-width: 486px) {*/
/*    .line-one svg {*/
/*        width: 800px;*/
/*    }*/
/*    .invite .line-one {*/
/*        top: -406px;*/
/*    }*/
/*    .love-svg svg {*/
/*        height: 50px;*/
/*        width: 1000px;*/
/*    }*/
/*    .location .love-svg, .presence .love-svg {*/
/*        left: 50%;*/
/*        transform: translateX(-50%);*/
/*        rotate: 0deg;*/
/*        bottom: 0px;*/
/*    }*/
/*    .dresscode-info-block {*/
/*        width: 80px;*/
/*        height: 80px;*/
/*    }*/
/*}*/
/*@media (min-width: 625px) {*/
/*    .name-h {*/
/*        margin-left: 200px;*/
/*    }*/
/*    .line-one svg {*/
/*        width: 1000px;*/
/*    }*/
/*    .invite .line-one {*/
/*        top: -363px;*/
/*        left: -55px;*/
/*    }*/
/*    .back {*/
/*        position: absolute;*/
/*        width: 800px;*/
/*        top: 35%;*/
/*        left: 55%;*/
/*        transform: translate(-50%, -50%);*/
/*    }*/
/*    .first-page {*/
/*        height: 580px;*/
/*    }*/

/*    .event-three, .event-one {*/
/*        left: 168px;*/
/*    }*/
/*    .event-two {*/
/*        right: 100px;*/
/*    }*/

/*}*/
/*@media (min-width: 679px) {*/
/*    body {*/
/*        overflow-x: hidden;*/
/*    }*/
/*    .first-page {*/
/*        height: 673px;*/
/*    }*/
/*    .line-top {*/
/*         margin-top: 0px;*/
/*    }*/
/*    .invite .line-one {*/
/*        top: -293px;*/
/*    }*/
/*    .invite {*/
/*        padding-top: 85px;*/
/*    }*/
/*    .back {*/
/*        width: 1000px;*/
/*        height: 450px;*/
/*    }*/
/*}*/
/*@media (min-width: 730px) {*/
/*    body {*/
/*        overflow-x: hidden;*/
/*    }*/
/*    .name-h {*/
/*        position: relative;*/
/*        left: 40%;*/
/*        margin-left: 0;*/
/*        transform: translateX(-50%);*/
/*    }*/
/*    .first-page {*/
/*        height: 875px;*/
/*    }*/
/*    .line-top {*/
/*         margin-top: 0px;*/
/*    }*/
/*    .invite .line-one {*/
/*        top: -198px;*/
/*    }*/
/*    .invite {*/
/*        padding-top: 165px;*/
/*    }*/
/*    .back {*/
/*        width: 1200px;*/
/*        height: 650px;*/
/*    }*/
/*    .photo-first {*/
/*        width: 332px;*/
/*        margin-top: 30px;*/
/*    }*/
/*}*/
/*@media (min-width: 768px) {*/
/*    .event-three, .event-one {*/
/*        left: 257px;*/
/*    }*/
/*    .event-two {*/
/*        right: 185px;*/
/*    }*/
/*}*/
/*@media (min-width: 800px) {*/
/*    .event-three, .event-one {*/
/*        left: 58px;*/
/*    }*/
/*    .event-two {*/
/*        right: 68px;*/
/*    }*/
/*}*/
/*@media (min-width: 900px) {*/
/*    .name-h {*/
/*        position: relative;*/
/*        left: 40%;*/
/*        margin-left: 0;*/
/*        transform: translateX(-50%);*/
/*    }*/
/*    .first-page {*/
/*        height: 1128px;*/
/*    }*/
/*    .line-top {*/
/*         margin-top: 0px;*/
/*    }*/
/*    .invite .line-one {*/
/*        top: -308px;*/
/*        left: -778px;*/
/*    }*/
/*    .invite {*/
/*        padding-top: 355px;*/
/*    }*/
/*    .back {*/
/*        width: 1554px;*/
/*        height: 787px;*/
/*    }*/
/*    .photo-first {*/
/*        width: 450px;*/
/*        margin-top: 80px;*/
/*    }*/
/*    .date {*/
/*        font-size: 45px;*/
/*    }*/
/*    .line-one svg {*/
/*        width: 3000px;*/
/*        height: 2500px;*/
/*    }*/
/*}*/
@media (max-width: 1024px) {
    .container {
        max-width: 950px;

    }

    .photo-one img {
        width: 579px;
    }

    .back-clip {
        right: -142px;
    }

    .main img {
        right: -178px;
    }

    .organizer img {
        left: -251px;
    }

}

@media (max-width: 768px) {
    .container {
        max-width: 600px;
    }

    .photo-one img {
        width: 451px;
    }

    .main img {
        right: -673px;
        top: -26px;
    }

    .dear {
        font-size: 90px;
    }
    .calendar {
        width: 200px;
    }
    .days {
        font-size: 18px;
    }
    .day {
        padding: 10px;
        width: 20px;
        height: 20px;
    }
    .heart svg {
        width: 70px;
    }
    .heart {
        bottom: -30px;
        right: -15px;
    }
    .map {
        grid-template-columns: repeat(2, 1fr);
    }
    .map > :nth-child(3) {
        grid-column: span 2;
    }



}

@media (max-width: 625px) {
    .container {
        max-width: 392px;
    }

    .dresscode-info-blocks {
        display: flex;

        align-items: center; /* Выравнивание по центру */
    }
    .invite {
        /*padding: 203px 0 190px 0;*/
    }


    .time-info {
        grid-template-columns: 100px 50px 300px;
        grid-template-rows: 190px;
    }





        .photo-one img {
            width: 378px;
        }

    .back-clip {
        right: -90px;
        top: -70px;
    }
    .dear {
        font-size: 56px;
    }
    .no-fonts {
        font-size: 28px;
        text-align: center;
    }

    .main {
        padding: 0 0 50px 0;
    }
    .main h2 {
        font-size: 46px;
    }

    .program-title, .dresscode-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
        font-size: 60px;
    }
    .location-info p {
        font-size: 28px;
    }

    .location-address p {
        font-size: 20px;
    }

    .dresscode-info-text {
        font-size: 23px;
    }
    .organizer-text {
        font-size: 23px;
    }
    .organizer-name {
        font-size: 23px;
    }
    .phone span {
        font-size: 23px;
    }
    .organizer a {
        font-size: 23px;
    }
        .organizer img {
        left: -461px;
        top: 287px;
    }
    .presence-text {
        font-size: 28px;
    }
    .wedding-form {
        font-size: 28px;
    }

    .wedding-form {
        button {
            width: 102%;
        }
    }
    .timout-title {
        font-size: 36px;
    }
    .timout-title {
        margin-bottom: 0px;
    }

}


@media (max-width: 575px) {
    .container {
        max-width: 380px;
    }



    .photo-one img {
        width: 275px;
    }

    .back-clip {
        right: -45px;
    }
    .photo {
        padding-bottom: 50px;
    }
    .no-fonts {
        font-size: 22px;
    }
    .main h2 {
        font-size: 36px;
    }
    .dear {
        font-size: 46px;
    }
    .calendar {
        width: 150px;
    }
    .calendar-date .month, .calendar-date .year {
        font-size: 22px;
    }
    .days {
        /*font-size: 15px;*/
    }
    .day {
        /*padding: 10px;*/
        /*width: 20px;*/
        /*height: 20px;*/
    }
    .heart svg {
        width: 70px;
    }
    .heart {
        bottom: -30px;
        right: -15px;
    }
    .location-info p {
        font-size: 22px;
    }
    .location-address a {
        font-size: 18px;
    }
    .program-title, .dresscode-title, .map-title, .location-text-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
        font-size: 46px;
        margin-bottom: 20px;
    }
    .location {
        padding-bottom: 50px;
    }
    .event {
        grid-template-columns: 129px 1fr;
        grid-template-rows: 110px;
    }
    .timeline {
        max-width: 380px;
    }
    .description span {
        margin-right: 10px;
    }
    .program .container {
        text-align: left;
    }
    .program-title {
        text-align: center;
    }
    .dresscode-info-text {
        font-size: 18px;
    }
    .dresscode-info-block {
        width: 80px;
        height: 80px;
    }

    .organizer-text {
        font-size: 22px;
    }
    .organizer img {
        left: -133%;
        top: 209px;
    }
    .presence-text {
        font-size: 22px;
    }
    .presence-text {
        margin-bottom: 0px;
    }
    .wedding-form {
        font-size: 22px;
    }
    .timout-title {
        font-size: 30px;
    }
    .wed-date-text-title, .location-text-title {

    }
    .wed-date-text-info, .location-text-info, .wed-date-text-info span.red {
        font-size: 22px;
    }
    .wed-date-text-date {
        font-size: 36px;
    }
    .location-text-info {
    }
    .description {
        font-size: 18px;
    }
    .time-info {
        grid-template-columns: 100px 50px 250px;
        grid-template-rows: 190px;
    }


}
@media (max-width: 525px) {
    .dresscode-info-block {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
}
@media (max-width: 443px) {
    .name-his, .name-her {
        font-size: 65px;
    }

    .container {
        max-width: 380px;
    }
    .wed-date-image, .location-date-image {

    }
    .map {
        grid-template-columns: repeat(1, 1fr);
    }
    .map > :nth-child(3) {
        grid-column: span 1;
    }
    #swipe-area {
        width: 350px;
        margin: 0 auto;
    }

    #arrow {
        margin-left: -9px;
        visibility: hidden;
    }
    #arrow::before {
        content: "••••••••••••••••••••••••••";
        visibility: visible;
    }


    .photo-one img {
        width: 275px;
    }
    .invite {

    }
    .back-clip {
        right: -45px;
    }
    .photo {
        padding-bottom: 50px;
    }

    .main h2 {
        font-size: 36px;
    }
    .dear {
        font-size: 46px;
    }
    .calendar {
        width: 100px;
    }
    .calendar-date .month, .calendar-date .year {
        font-size: 18px;
    }
    .days {
        /*font-size: 15px;*/
    }
    .day {
        /*padding: 8px;*/
        /*width: 10px;*/
        /*height: 10px;*/
    }

    .heart {
        bottom: -35px;
        right: -14px;
    }
    .photo-table img {
        object-position: 0 -283px;
    }
    .location-info p {
        font-size: 22px;
    }
    .location-address a {
        font-size: 18px;
    }
    .program-title, .dresscode-title, .location-text-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
        font-size: 46px;
        margin-bottom: 20px;
    }
    .location-text-title {
        margin-bottom: 0;
    }

    .event {
        grid-template-columns: 129px 1fr;
        grid-template-rows: 110px;
    }
    .timeline {
        max-width: 380px;
    }
    .description span {
        margin-right: 10px;
    }
    .program .container {
        text-align: left;
    }
    .program-title {
        text-align: center;
    }
    .dresscode-info-text {
        font-size: 18px;
    }



    .organizer-text {
        font-size: 18px;
    }
    .organizer img {
        left: -133%;
        top: 209px;
    }
    .phone span {
        font-size: 18px;
    }
    .organizer a {
        font-size: 18px;
    }
    .presence-text {
        font-size: 18px;
    }
    .presence-text {
        margin-bottom: 0px;
    }
    .music-text {
        font-size: 22px;
    }
    .wedding-form {
        font-size: 18px;
    }
    .timout-title {
        font-size: 30px;
    }

    .location-text-map a {
        font-size: 18px;
    }
    .program .container {
        max-width: none;
    }
    .time-info {
        grid-template-columns: 60px 60px 200px;
        grid-template-rows: 190px;
    }
    .description span {
        font-size: 20px;
    }
    .time-info-time {
        font-size: 26px;
    }


    .dresscode-info-block {
        width: 60px;
        height: 60px;
    }

    .line {
        width: 35px;
        margin-left: 15px;
    }
    .organizer-name span {
        font-size: 16px;
    }


}


@media (max-width: 407px) {
    .wed-date-text-title {
        font-size: 36px;
    }
    @keyframes slide {
        0% { transform: translateX(-30px); }
        100% { transform: translateX(-10px); } /* Движение вправо */
    }
    .dresscode .container {
        max-width: 350px;
    }


}
@media (max-width: 403px) {
    .container {
        max-width: 300px;
    }
    .calendar-grid svg {
        left: 9px;
    }
    .location-text-title {
    }
    .calendar-grid img {
        left: 11px;
    }
    .photo-one img {
        width: 242px;
    }
    .program .container {
        max-width: none;
        padding: 0 10px;
    }
    .time-info {
        grid-template-rows: 190px;
        margin-left: 20px;
        margin-right: 20px;
    }



    .wed-date-text-title {
    }
    .description {
        font-size: 18px;
    }
    .back-clip {
        right: -45px;
        top: -52px;
    }

    .dear {
        font-size: 40px;
    }

    .main img {
        right: -673px;
        top: -87px;
    }

    .location-info p {
        font-size: 18px;
    }
    .location-address p {
        font-size: 15px;
    }
    .no-fonts span {
        font-size: 38px;
    }
    .location-address a {
        font-size: 15px;
        padding: 15px
    }
    .program-title, .dresscode-title, .location-text-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
        font-size: 40px;
    }
    .dresscode-info-text {
        font-size: 18px;
    }

    .organizer-text {
        font-size: 18px;
    }
    .organizer-name, .organizer-phone {
    }
    .organizer img {
        left: -159%;
        top: 147px;
    }
    .presence-text {
        font-size: 18px;
    }
    .wedding-form {
        button {
            width: 104%;
        }
    }
     .timout-title {
        font-size: 30px;
    }
    .time-box span {
        font-size: 28px;
    }
    .time-box p {
        margin: 5px 0 0;
        font-size: 12px;
    }
    @keyframes slide {
        0% { transform: translateX(-40px); }
        100% { transform: translateX(0px); } /* Движение вправо */
    }
    .event-one {
        position: absolute;
        top: 115px;
        left: 70px;
    }
    .event-three {
        position: absolute;
        bottom: 15px;
        left: 70px;
    }
}

@media (max-width: 390px) {

    .invite-photo {
        padding-bottom: 10px;
    }
    .image-one .polaroid, .image-two .polaroid-two {
        width: 220px;
    }
    .foto img, .foto-two img {
        width: 157px;
    }
}
@media (max-width: 333px) {
    .container {
        max-width: 280px;
    }
    .no-fonts span {
        font-size: 43px;
    }
    .photo-one img {
        width: 207px;
    }

    .dear {
        font-size: 36px;
    }
    .no-fonts {
        font-size: 18px;
    }
    .main h2 {
        font-size: 30px;
    }
    .program-title, .dresscode-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
        font-size: 36px;
        margin-bottom: 10px;
    }
    .location-address p {
        margin: 10px 0;
    }
    .location-address a {
        font-size: 14px;
        padding: 13px;
    }
    .organizer-name, .organizer-phone {
        font-size: 30px;
    }
    .organizer img {
        left: -199%;
        top: 147px;
    }
    .wedding-form {
        font-size: 18px;
    }
    .des {
        font-size: 15px;
    }
    .timout-title {
        font-size: 26px;
    }

}