@media (min-width: 768px) {
    /*.desktop-message {*/
    /*    display: block;*/
    /*    padding-bottom: 200px;*/
    /*    margin-top: 150px;*/
    /*    text-align: center;*/
    /*}*/

    /*#preloader, #content {*/
    /*    display: none;*/
    /*}*/
    .container {
        max-width: 500px;

    }
}
@media (max-width: 1024px) {


    .photo-one img {
        width: 579px;
    }

    .back-clip {
        right: -142px;
    }

    .main img {
        right: -178px;
    }


.svg-line2 {
    display: none;
}


}

@media (max-width: 768px) {
    .container {
        max-width: 500px;
    }

    .photo-one img {
        width: 451px;
    }

    .main img {
        right: -673px;
        top: -26px;
    }

    .dear {
        font-size: 90px;
    }
    .calendar {

    }
    .days {

    }
    .day {
        /*padding: 10px;*/
        /*width: 20px;*/
        /*height: 20px;*/
    }




}

@media (max-width: 625px) {
    .container {
        max-width: 392px;
    }
    .text-imena svg {
        right: 15px;
    }
    .invite .name {
    }
    .invite-name {
    }
    .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;
    }


    .location-info p {
        font-size: 28px;
    }

    .location-address p {
        font-size: 20px;
    }

    .program {
        padding-bottom: 50px;
    }

    .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: 26px;
    }

    .presence-text {
        font-size: 28px;
    }
    .wedding-form {
        font-size: 28px;
    }

}


@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 {

    }

    .days {

    }
    .day {
        padding: 10px;
        width: 20px;
        height: 20px;
    }
    .heart svg {
        width: 70px;
    }
    .heart {
        bottom: -35px;
        right: -20px;
    }
    .location-info p {
        font-size: 22px;
    }
    .location-address a {
        font-size: 18px;
    }


    .event {
        grid-template-columns: 129px 1fr;
        grid-template-rows: 110px;
    }
    .timeline {

    }
    .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: 60px;
        height: 60px;
    }

    .organizer-text {
        font-size: 22px;
    }

    .presence-text {
        font-size: 22px;
    }
    .presence-text {
        margin-bottom: 0px;
    }
    .wedding-form {
        font-size: 22px;
    }

    .wed-date-text-title, .location-text-title {

    }
    .location-text-info {
        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: 443px) {
    .name-his, .name-her {
        font-size: 65px;
    }
    .presence {
        padding-top: 35px;
    }
    .container {
        max-width: 380px;
    }
    .wed-date-image, .location-date-image {

    }


    .invite .name {
    }
    .photo-one img {
        width: 275px;
    }

    .back-clip {
        right: -45px;
    }
    .photo {
        padding-bottom: 50px;
    }
    .no-fonts {
        font-size: 24px;
    }
    .main h2 {
        font-size: 36px;
    }
    .dear {
        font-size: 46px;
    }


    .heart {
        bottom: -37px;
        right: -21px;
        animation: heartbeat 3s ease-in-out infinite;
    }
    @keyframes heartbeat {
        0%   { transform: scale(1); }
        25%  { transform: scale(1.15); }
        50%  { transform: scale(1); }
        75%  { transform: scale(1.1); }
        100% { transform: scale(1); }
    }
    .photo-table img {
        object-position: 0 -283px;
    }
    .location-info p {
        font-size: 24px;
    }
    .location-address a {
        font-size: 22px;
    }


    .event {
        grid-template-columns: 129px 1fr;
        grid-template-rows: 110px;
    }
    .timeline {

    }
    .description span {
        margin-right: 10px;
    }
    .program .container {
        text-align: left;
    }
    .program-title {
        text-align: center;
    }
    .dresscode-info-text {
        font-size: 24px;
    }
    .dresscode-info-block {
        width: 50px;
        height: 50px;
    }



    .phone span {
        font-size: 24px;
    }

    .presence-text {
        font-size: 24px;
    }
    .presence-text {
        margin-bottom: 0px;
    }
    .music-text {
        font-size: 24px;
    }
    .wedding-form {
        font-size: 18px;
    }


    .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: 24px;
    }





    .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;
    }
    .svg-line {
        top: 43%;
    }

}
@media (max-width: 403px) {
    .container {
        max-width: 350px;
    }
    .heart5 {
        right: 48px;
    }
    .container.dres-img {
        max-width: 380px;
    }
    .invite-text-two .zhemchug {
        top: -28px;
        right: -29px;
    }
    .timout-title {
        font-size: 38px;
    }
    .location-text-title {
    }
    .calendar-date .month, .calendar-date .year {
        font-size: 38px;
    }
    .program-title, .dresscode-title, .dress-title, .location-text-title, .wishes-title, .organizer-title, .location-title, .presence-title, .timout-title {
        font-size: 38px;
    }
    .location-text-info {
        font-size: 20px;
    }

    .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: 14px;
    }
    .back-clip {
        right: -45px;
        top: -52px;
    }

    .dear {
        font-size: 40px;
    }
    .no-fonts {
        font-size: 20px;
    }
    .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
    }

    .dresscode-info-text {
        font-size: 20px;
    }
    .phone span {
        font-size: 20px;
    }
    .organizer-text {
        font-size: 20px;
    }


    .organizer-name, .organizer-phone {
    }

    .presence-text {
        font-size: 18px;
    }
    .wedding-form {
        button {
            width: 104%;
        }
    }

    .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); } /* Движение вправо */
    }
    .name1 {
        font-size: 40px;
    }
    .name1 span {
        font-size: 50px;
    }
    .program .flow2 {
        /* bottom: 50px; */
        /* right: -9px; */
        /* width: 125px; */
        height: 155px;
    }
    .names {
        top: 30px;
    }
}


@media (max-width: 375px) {
    .container.dres-img {
        max-width: 350px;
    }
    .dress-img1 {
        top: -26px;
        left: -22px;
    }
    .svg-line {
        top: 44%;
        left: 66px;
    }
    .dress-img2 {
        top: -71px;
        left: 16px;
    }
    .dress-img3 {
        top: 0;
        left: 55px;
    }
    .dress-img .dress-img4 {
        width: 200px;
        height: 295px;
        top: -50px;
        left: 117px;
    }
    .dress-img5 {
        top: -8px;
        left: 157px;
    }
    .dress-img6 {
        left: 184px;
    }
    .dress-img7 {
        left: -28px;
    }
    .dress-img9 {
        top: -22px;
        left: 16px;
    }
    .dress-img .dress-img10 {
        top: -3px;
        left: 76px;
    }
    .dress-img .dress-img11 {
        width: 160px;
        height: 270px;
        top: 12px;
        left: 119px;
    }
    .dress-img .dress-img12 {
        width: 255px;
        height: 295px;
        top: -15px;
        left: 127px;
    }
    .dress-img13 {
        top: 0;
        left: 213px;
    }
}
@media (max-width: 333px) {
    .container {
        max-width: 280px;
    }

    .photo-one img {
        width: 207px;
    }

    .dear {
        font-size: 36px;
    }
    .no-fonts {
        font-size: 18px;
    }
    .main h2 {
        font-size: 30px;
    }
    .program-title, .dresscode-title, .dress-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;
    }

    .wedding-form {
        font-size: 18px;
    }
    .des {
        font-size: 15px;
    }
    .timout-title {
        font-size: 26px;
    }

}