/* =================================== */
/* АДАПТАЦИЯ ДЛЯ ВСЕХ РАЗРЕШЕНИЙ      */
/* =================================== */

/* 1300px и меньше */
@media screen and (max-width: 1300px) {
    .container {
        max-width: 1100px;
        /* padding: 0 20px; */
    }
    .title {
        font-size: 58px;
    }
    .caledar-block_wrapper {
        gap: 30px;
    }
    .text-digit {
        font-size: 86px;
    }

    .dress-code_color{
        max-width: 400px;
    }

    .dress-code_wrapper{
        gap: 40px;
    }

    .timer-digit-text .timer-digit{
        font-size: 84px;
    }

    .timer-count{
        gap: 10px;
    }
    .timer-block_img img {
        max-width: 380px;
    }

    .timer-block .star-block {
    left: -5%;
    }

    .us-wishes_text{
        max-width: 640px;
    }
    .more-width .us-wishes_text {
        max-width: 800px;
        display: flex;
        flex-direction: column;
    }

    .timer-count {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding-bottom: 247px;
}

    .us-wishes_text .button-green{
        max-width: 290px;
        text-align: center;
    }

    .us-wishes_text{
        font-size: 20px;
    }
    .us-wihes_number{
        font-size: 110px;
    }

    .us-wishes_img img {
    max-width: 400px;
    }

    .us-wishes_img {
    left: -5%;
    }

    .us-wishes_block:nth-child(3) {
    position: relative;
    left: 32%;
    margin-top: 40px;
    }


    .us-wishes_block:nth-child(4) {
    position: relative;
    left: 32%;
    margin-top: 40px;
    }

    .guest-profile_text{
        font-size: 20px;
    }

    .guest-profile_text .czB {
    font-size: 24px;
    }

    .guest-profile_img img{
        max-width: 400px;
    }
    .guest-profile_text{
        max-width: 700px;
    }

    .button-green.czB{
        font-size: 28px;
    }

    .main-pic img{
        max-width: 300px;
    }

    .guest-profile_img {
    position: absolute;
    bottom: -50%;
    right: -4%;
    }

    .name {
    font-size: 78px;
    }

    .left_name {
    width: 110%;
    color: #445844;
    }

    .number.czB {
    font-size: 64px;
    color: #F5F5F5;
    
    }

    .contact_name{
        margin-top: 20px;
    }

    .time-event{
        margin-top: 80px;
    }

    .place-adress .star-block {
    position: absolute;
    top: -70%;
    right: 10%;
    }
}

/* 1200px и меньше */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    .title_invite {
        font-size: 30px;
        max-width: 700px;
    }
    .name {
        font-size: 70px;
    }
    .names {
        width: 700px;
    }
    .title {
        font-size: 58px;
    }
    .text-digit {
        font-size: 76px;
    }
    .time-info_title {
        font-size: 52px;
    }
    .time-info_subtitle {
        font-size: 30px;
    }
    .dress-code_color-block svg {
        width: 180px;
        height: 180px;
    }
    .guest-profile_img img,
    .timer-block_img img {
        max-width: 350px;
    }

    
    .more-width .us-wishes_text {
        max-width: 700px;
        display: flex;
        flex-direction: column;
    }

    .time-event_photo {
    bottom: -41%;
    }
    .dress-code {
    margin-top: 300px;
    }

    .dress-code .star-block {
    right: 17%;
    }

    .place-adress .star-block {
        top: -190%;
       left: -15%;
    }

    .time-event .star-block {
    position: absolute;
    top: -190%;
    right: 3%;
}

    .time-event {
        margin-top: 120px;
    }

    .swiper-slide img{
        border-radius: 12px;
    }

    .time-event_photo {
        bottom: -24%;
    }

    .dress-code_text .subtitle{
        max-width: 450px;
    }

    .timer-count {
    padding-bottom: 235px;
    }
    .timer-block_img {
    bottom: -2%;
    }
    .us-wishes_text {
        max-width: 620px;
    }
    .more-width .us-wishes_text {
        max-width: 580px;
    }
    .us-wishes_block:nth-child(4){
        left: 34%;
    }
    .time-width-450 {
    max-width: 360px;
    }

    .place-adress .star-block {
        top: -50%;
        left: 50%;
    }

  
}

/* 1100px и меньше */
@media screen and (max-width: 1100px) {
    .container {
        max-width: 900px;
    }
    .title_invite {
        font-size: 28px;
        max-width: 600px;
    }
    .name {
        font-size: 60px;
    }
    .names {
        width: 550px;
    }
    .main-pic img {
        max-width: 280px;
    }
    .st-pic {
        top: -5%;
    }
    .calendar {
        width: 380px;
    }
    .weekday {
        font-size: 18px;
        padding: 10px 5px;
    }
    .day {
        font-size: 18px;
    }
    .place-adress_swiper_wrapper {
        gap: 20px;
    }
    .place-swiper {
        max-width: 400px;
    }
    .time-left_block {
        gap: 60px;
    }
    .time-right_block {
        gap: 60px;
        margin-top: 100px;
    }
    .all-time_block svg {
        height: 600px;
    }
    .dress-code_wrapper {
        gap: 40px;
    }
    .dress-code_color-block svg {
        width: 150px;
        height: 150px;
    }
    .us-wishes_text {
        font-size: 20px;
        max-width: 550px;
    }
    .us-wihes_number {
        font-size: 110px;
    }
    .us-wishes_img img {
        max-width: 300px;
    }
    .guest-profile_text {
        font-size: 22px;
        max-width: 700px;
    }
    .timer-digit-text .timer-digit {
        font-size: 80px;
        width: 120px;
    }
    .timer-digit-text .timer-text {
        font-size: 28px;
    }
    .timer-count {
        gap: 20px;
    }
    .contact-info {
        max-width: 700px;
        font-size: 18px;
    }
    .number.czB {
        font-size: 58px;
    }

}



@media screen and (max-width: 1000px) {
    .title{
        font-size: 32px;
    }
    .contact-info{
        font-size: 16px;
    }

    .contact{
        margin-top: 60px;
    }
    .number.czB {
        font-size: 32px;
    }

    .guest-profile_text{
        font-size: 16px;
    }

    .container{
        max-width: 568px
    }

    .guest-profile .star-block.star_le-block {
    position: absolute;
    right: 4%;
    top: 5%;
    height: max-content;
    }

    .guest-profile .star-block.star_st-block{
        position: absolute;
        left: 6%;
        top: 0%;
    }

    .guest-profile_wrapper{
        gap: 15px;
    }

    .button-green{
        font-size: 20px;
        padding: 8px 28px 8px 28px;
    }

    .guest-profile_img{
        position: static;
    }

    .us-wishes_block:nth-child(2){
        order: 1;
    }
    .us-wishes_block:nth-child(3){
        position: static;
        margin-top: 20px;
        order: 2;
    }
    .us-wishes_block:nth-child(4){
        position: static;
        margin-bottom: 20px;
        margin-top: 20px;
        order: 4;
    }

    .us-wishes_block:nth-child(5){
        position: static;
        order: 5;
    }
    .us-wishes_text{
        font-size: 16px;
    }
    .us-wihes_number{
        font-size: 40px;
        line-height: 40px;
    }
    .us-wishes_block{
        gap: 5px;
    }
    .button-green.czB {
        font-size: 20px;
        padding: 8px 28px 8px 28px;
    }
    .us-wishes_text .button-green{
        padding: 8px 0px 8px 0px;
    }

    .us-wishes_wrapper{
        display: flex;
        flex-direction: column;
    }
    .us-wishes_img{
        position: static;
        order: 3;

        display: flex;
        justify-content: center;
    }
    .us-wishes .title{
        text-align: center;
    }

    .us-wishes{
        margin-top: 60px;
    }

    .us-wishes_block{
        padding-left: 10px;
        padding-right: 10px;
    }

    .timer-block_wrapper .title{
        padding-top: 60px;
    }

    .timer-digit-text .timer-text{
        font-size: 14px;
    }
    .timer-digit-text .timer-digit{
        font-size: 36px;
        width: 60px;
    }
    .timer-count{
        margin-top: 20px;

        padding-bottom: 20px;
    }

    .timer-block_img{
        position: relative;
        display: flex;
        justify-content: center;
    }

    .timer-block_wrapper  .title .star-block{
        display: none;
    }
   
    .timer-block_img .star-block svg {

    width: 100px;
    height: 100px;

    position: absolute;
    right: 0;
    top: 0%;

    display: block; /* Убираем лишние отступы */
    }


    .timer-block_img .star-block {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    }

    .dress-code {
        margin-top: 120px;
    }



.dress-code_wrapper {
        display: flex;
        flex-direction: column;
    }
    
.block-color svg {
        width: clamp(120px, 15vw, 150px);
        height: auto;
    }

/* .block-color:nth-child(2) {
    position: absolute;
    left: 30%;
}

.block-color:nth-child(3) {
    position: absolute;
    left: 60%;
}


.block-color:nth-child(4) {
    position: absolute;
    left: 90%;
}

.block-color:nth-child(5) {
    position: absolute;
    left: 120%;
} */


.dress-code_color{
    margin: 0; /* Сбрасываем отступы */
    padding: 0; /* Сбрасываем padding */
}
 .dress-code_color-block {
        position: relative; 
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 150px; 
    }

.block-color {
        position: static !important;
        left: auto !important;
        flex: 0 0 auto;
        width: 22%;
        margin: 0% 4% 0% -9%;
    }


.dress-code_text .subtitle{
    font-size: 16px;
    line-height: 26px;
    text-align: center;
}
.dress-code_wrapper{
    gap: 0px;
}
.timer-block{
    margin-top: 40px;
}


.dress-code_text .title{
    text-align: center;
}

.dress-code_text{
    gap: 10px;
}

.dress-code .star-block svg{
    width: 43px;
    height: 43px;
}
.dress-code .star-block{
    top: -40%;
    right: 21%;
}

.time-info_title{
    font-size: 32px;
}
.time-info_subtitle{
    font-size: 16px;
}
.time-right_block .time-info{
    padding-left: 10px;
}

.time-right_block{
    max-width: 48%;
}
.time-left_block .time-info{
    padding-right: 10px;
}


.time-left_block .time-info_title{
    text-align: end;
}

.time-right_block{
margin-top: 45px;
}

.all-time_block{
    margin-top: 40px;
    
}

.all-time_block svg {
        height: 430px;
    }


.time-event_wrapper .star-block svg{
    width: 90px;
    height: 90px;
}
    .time-event .star-block {
        top: -165%;
        right: 0%;
    }

.time-event_photo img{
    max-width: 200px;
}

.time-event_photo{
    bottom: -25%;
}

.desk-block{
    display: none;
}

.mobile-block{
    display: block;
}
.place-adress .star-block svg{
    width: 90px;
    height: 90px;
}

.place-adress  .title{
    position: relative;
    text-align: center;
}

.place-adress_swiper_wrapper{
    display: block;
}
.place-adress{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.place-swiper {
        max-width: 100%;
}

.place-adress .button-green{
    margin-top: 0;
}
.place-adress .star-block{
    top: -140%;
    left: unset;
    right: 8%;
}
.place-event{
    margin-top: 20px;
}
.caledar-block_wrapper{
    flex-direction: column;
}
.text-digit{
    font-size: 48px;
    margin-top: 25px;
}
.block-calendar {
    position: relative;
    display: flex;
    justify-content: center;
}

.caledar-block_wrapper .title{
    color: #F5F5F5;
    text-align: center;
    font-size: 32px;
}
.caledar-block_wrapper{
    padding-top: 60px;
}
.calendar {
        max-width: 320px;
    }

.star-block.star_st-block {
    position: absolute;
    top: -15%;
    left: 0;
}

.star-block.star_le-block {
    position: absolute;
    bottom: -15%;
    left: 8%;
    max-width: max-content;
    
}

.calendar-header span{
    font-size: 16px;
}
.weekday{
    font-size: 16px;
}
.day{
    font-size: 16px;
}
.place-adress {
    padding-top: 20px;
}
.time-event{
    margin-top: 60px;
}

.st-pic{
    position: static;
}
.le-pic{
    position: static;
}

.title_invite h1{
    font-size: 32px;
}

.wrapper_main .star-block svg{
    width: 96px;
    height: 96px;
}


.title_invite .star-block {
    top: -80%;
}
.names{
    width: 100%;
    max-width: 100%;
    gap: 0px;
}
.name{
    font-size: 46px;
}
.heart_svg{
    position: static;
}

.left_name{
    width: 100%;
    text-align: start;
}

.right_name{
    width: 100%;
    display: block;
    text-align: end;
}
.subtitle_invite h2{
    font-size: 16px;
    text-align: center;
}
.text-info p{
    font-size: 18px;
    text-align: center;
    line-height: 28px;
}

.main-window{
    padding-top: 40px;
}

.main-pic img{
    max-width: 350px;
}

.main-pic{
    display: flex;
    justify-content: center;
}

  .guest-profile .star-block.star_st-block {
        left: 13%;
    }

        .guest-profile .star-block.star_le-block {
        top: -8%;
        left: 70%;
    }

        .us-wishes_img img {
        max-width: 330px;
    }

    .text-info{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .modal-block_title{
        font-size:26px;
        margin-bottom: 20px;
    }

    .input-block_title{
        font-size: 20px;
    }

    .input-block input{
        font-size: 18px;
    }
    .radio-group_title{
        font-size: 20px;
    }

    .custom-radio-label{
        font-size: 18px;
    }
    .modal-content-scroll{
        padding-right: 0px;
    }

    .custom-checkbox-label{
        font-size: 18px;
    }
    .group-checkbox_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
    }

    .input-block input {
    width: 94.5%;
    }
    .modal-block .button-green.czB{
        width: 98.8%;
    }

    .modal-block .block-closed svg{
        width: 36px;
        height: 36px;
    }

    .input-block input{
        padding: 8px 0px 8px 15px;
    }

    .modal-block{
        max-width: 90%;
        width: 100%;
        padding: 40px 15px 15px 15px;
    }
    .block-closed{
    top: 10px;
    right: 10px;
    }

    .contact-form{
        gap: 10px;
    }

    .custom-radio-label.more-people::before{
    top: 20%;
  }

      .envelope-block_svg svg {
        width: 330px;
        height: 330px;
    }

    .envelope-bloc_text{
        font-size: 21px;
    }

    .bck-envelope_info_text{
        font-size: 20px;
        letter-spacing: 16.71px;
        bottom: 90px;

        line-height: 30px;
    }

    .custom-radio-label.more-people::after{
        top: 20%;
    }
} 

@media screen and (max-width:576px) {
    .container{
        max-width: 96%;
    }  

    .envelope-block_svg{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    }
}

@media screen and (max-width:376px) {

    .envelope-block_svg{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    }
}
