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

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

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

}
#nezhnost {
    /*--primary-color: #333;
    --secondary-color: #eee;*/
    --background-color: #ffffff;
    --header-color: #ed0707;
    --text-color: #0d0d0d;
    --main-font: 'RALEWAY', sans-serif; /* Основной шрифт */
    --beauty-font: 'HELLO-JANUARY', sans-serif; /* Шрифт для заголовков */
    --secondary-font: 'ALETHIANEXT', sans-serif; /* Второй шрифт */
}

#nezhnost{
    font-family: var(--main-font);
    font-size: 20px;
    line-height: 120%;
    color: var(--text-color);
    overflow: hidden;
        max-width: 450px;
    margin: auto;
    border-left: 1px solid black;
    border-right: 1px solid black;
}
 #nezhnost nezhnost .title_text{
    font-family: var(--beauty-font);
    font-size: 64px;
    line-height: 120%;
    color: var(--text-color);
}
#nezhnost .descr_text{
    font-family: var(--main-font);
    font-size: 20px;
    line-height: 120%;
    color: var(--text-color);
            text-align: center;
}
 #nezhnost p{
    margin: 0;
}
#nezhnost .header-blocks{
    display: flex;
    flex-direction: column;
    max-width: 450px;
    width: 100%;
}
#nezhnost .header-block-up{
    background-color: var(--background-color);
    padding-top: 20px;
    padding-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    border-bottom-left-radius: 120px;
    border-bottom-right-radius: 120px;
}
#nezhnost .p-uppercase{
    text-transform: uppercase;
}
#nezhnost #date-main-small{
    color: var(--header-color);
    font-family: var(--beauty-font);
    font-size: 52px;
    line-height: 100%;
}
#nezhnost .header-block-mid{
    width: 100%;
    /*height: 600px;*/
    position: relative;
    z-index: 1;
    margin-top: -120px;
    margin-bottom: -120px;
    overflow: hidden;
}
#nezhnost .header-block-bottom{
    background-color: var(--background-color);
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    flex-grow: 1;
}
#nezhnost #groom-bride{
    font-size: 40px;
    font-family: var(--beauty-font);
    line-height: 100%;
}
#nezhnost .header-block-bottom .header-img img{
        margin: auto;
    width: 15px;
    padding-top: 35px;
}
#nezhnost #playButton{
        max-width: 50px;
    margin: auto;
}
#nezhnost #music{
    padding: 50px 0;
}
#nezhnost .welcome_title_text{
    font-size: 40px;
    font-family: var(--beauty-font);
    line-height: 100%;
}
#nezhnost .info-date{
    
    max-width: 450px;
    margin: auto;
    text-align: center;
}
#nezhnost #welcome-text{
        padding: 20px 0;
    width: 80%;
    margin: auto;
}
#nezhnost  .calendar-grid{
   display: flex;
    justify-content: center;
    border-top: 1px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    position: relative;
}
#nezhnost  .cal-col{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
#nezhnost .day-name{
    padding: 8px 0 5px 0;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 100%;
}
#nezhnost .day-num{
        padding: 10px 0 20px;
    font-size: 57px;
    line-height: 100%;
    border-top: 1px solid var(--text-color);
    width: 100%;
}
#nezhnost .cal-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0px;
    bottom: 0px;
    width: 1px;
    background-color: var(--text-color);
}
#nezhnost .calendar-header{
   font-size: 44px;
    font-family: var(--beauty-font);
    color: var(--header-color);
    line-height: 100%;
    padding-bottom: 50px; 
}
#nezhnost  .heart-png {
    position: absolute;
    width: 160px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    animation: popIn 0.8s ease-out forwards 0.5s;
}
#nezhnost .date-calendar{
        position: relative;
        width: 90%;
    margin: auto;
}
#nezhnost #banquet-time, #nezhnost #registration-time{
        color: var(--header-color);
    font-size: 24px;
    padding-top: 20px;
        padding-bottom: 20px;
    text-transform: uppercase;
}
#nezhnost .timetable-block-top-text{
    font-family: var(--beauty-font);
    font-size: 60px;
    color: var(--header-color);
    transform: rotate(-12deg);
    white-space: nowrap;
    position: absolute;
    overflow: hidden;
    left: -50%;
    line-height: 100%;
    background-color: var(--background-color);
    top: -8%;
}

#nezhnost .rsvp__button {
    margin: 20px auto 0;
    background: var(--background-color);
    border: 1px solid var(--text-color);
    color: var(--text-color);
    border-radius: 50px;
    padding: 10px 50px;
    text-transform: uppercase;
    min-width: 250px;
}
 @keyframes popIn {
            from { opacity: 0; transform: translate(-50%, -50%) scale(0.5) rotate(-5deg); }
            to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-5deg); }
        }
       #nezhnost .welcome-img{
                margin: auto;
                background: var(--background-color);
                z-index: 10;
    position: relative;
        }
      #nezhnost  .location-block-bottom{
             background-color: var(--background-color);
    padding-top: 20px;
    padding-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    border-bottom-left-radius: 120px;
    border-bottom-right-radius: 120px;
    height: 120px;
    border: 1px solid var(--text-color);
    border-top: none;
    /* margin-top: 10px; */
    max-width: 450px;
        }
       #nezhnost  .places-block-top{
            font-family: var(--beauty-font);
    font-size: 60px;
    color: var(--header-color);
    line-height: 0.8;
    transform: rotate(-12deg);
    white-space: nowrap;
    /* position: absolute; */
    margin-top: -90px;
        }
       #nezhnost  .info-date__place{
                padding-top: 50px;
        }
       #nezhnost  .registration_title_text, #nezhnost .banquet_title_text{
                text-transform: uppercase;
    font-family: var(--main-font);
    font-size: 16px;
    padding-bottom: 10px;
        }
       #nezhnost  .timetable-block-img{
                max-height: 550px;
                width: 100%;
    height: 600px;
    position: relative;
    z-index: 1;
    margin-top: -120px;
    margin-bottom: -120px;
    overflow: hidden;
        }
       #nezhnost .info-timetable{
    padding-top: 30px;
    padding-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    overflow: hidden;

        }
       #nezhnost .dresscode .info-timetable,  #nezhnost .details .info-timetable, #nezhnost #linkblock .info-timetable,  #nezhnost .question .info-timetable{

    background: var(--background-color);
        }
       #nezhnost .timetable__block-name{
            color: var(--header-color);
    font-family: var(--beauty-font);
    font-size: 64px;
    line-height: 60%;
        padding-bottom: 25px;
        }
        #nezhnost .timetable__block{
            background-color: var(--background-color);
        }

        #nezhnost .timetable__block-stroke{
            padding: 30px 0 20px;
            width: 90%;
    max-width: 450px;
    margin: auto;
        }
        #nezhnost .timetable__block-line-start{
            height: 30px;
    border-right: 1px solid var(--text-color);
    margin: 0 auto 0px;
    width: 0px;
        }
       #nezhnost .timetable__block-time{
            font-size: 32px;
    line-height: 100%;
        }
        #nezhnost .dresscode .timetable-block-top-text{
            top: -15%;
        }
         #nezhnost .details .timetable-block-top-text{
            top: -30%;
        }
        #nezhnost .dresscode_common,  #nezhnost .dresscode_woman ,  #nezhnost .dresscode_man  {
            width: 90%;
    max-width: 450px;
    margin: auto;
        }
#nezhnost .dresscode__colors-wrap{
    padding-top: 20px;
}
#nezhnost .dresscode_woman , #nezhnost .dresscode_man {
    padding-top: 50px;
}
#nezhnost .dresscode_woman .dresscode_title_text , #nezhnost .dresscode_man .dresscode_title_text{
    font-family: var(--beauty-font);
    font-size: 64px;
        padding-bottom: 10px;
}
#nezhnost .details-block .separator-image img{
        width: 20px;
    margin: auto;
    padding: 20px 0;
}
#nezhnost  .details-block{
        width: 90%;
    margin: auto;
    max-width: 450px;
    padding-top: 20px;
}
#nezhnost .counter {
    background-image: url(../../../../images/sites/nezhnost/timer.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    /* height: 600px; */
    position: relative;
    z-index: 1;
    margin-top: -120px;
    margin-bottom: -120px;
}
#nezhnost .timer {
       padding: 150px 0 180px;
}
#nezhnost #linkblock_descr{
   width: 70%;
    margin: auto;
    max-width: 450px;
    padding: 20px 0;
}
#nezhnost #clockdiv {
    display: flex;
    width: 90%;
    margin: auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
#nezhnost .timer-title{
        color: var(--background-color);
    font-size: 50px;
    padding-bottom: 20px;
}
#nezhnost  .timer__block-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#nezhnost  .timer__number {
    background: #ffffff8f;
    border-radius: 50%;
    width: 50px;
    height: 50px;
        color: var(--text-color);
    line-height: 50px;
    font-size: 18px;
}
#nezhnost  .timer__text {
        text-transform: uppercase;
        font-size: 12px;
        padding-top: 8px;
        color: var(--background-color);
    }

    #mig #question{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
#nezhnost  #question p.question__string{
    width: 100%;
}
#nezhnost  #question .question__string input[type="text"] {
   border: 0px;
    border-bottom: 1px solid var(--text-color);
    border-radius: 0;
    width: 100%;
    font-size: 14px;
    line-height: 14px;
    text-align: right;
    text-transform: uppercase;
}
#nezhnost  .question__string{
    text-align: right;
}
#nezhnost  .question__label{
    display: flex;
    flex-direction: row-reverse;
        line-height: 14px;
    margin-bottom: 10px;
    align-items: center;
}
#nezhnost  .question__text-mini{
    font-size: 14px;
        padding-top: 10px;
    padding-bottom: 30px;
}

#nezhnost  #question .question__string input[type="radio"], #nezhnost  #question .question__string input[type="checkbox"]{
    margin-right: 0px;
    margin-left: 5px;
}
#nezhnost .question .timetable-block-top-text{
    top: -20%;
}
#nezhnost .opros-inside{
        width: 90%;
    margin: auto;
    max-width: 450px;
}
#nezhnost .footer__text{
        font-size: 54px;
    padding-bottom: 20px;
}
#nezhnost  .footer{
        padding-top: 50px;
}
#nezhnost .header .info-date__img-heart, #nezhnost .timetable .info-date__img-heart, #nezhnost .dresscode .info-date__img-heart, #nezhnost  .details .info-date__img-heart, #nezhnost  #linkblock .info-date__img-heart, #nezhnost .footer .footer_img {
        width: 100%;
}
 #nezhnost  .timetable_title_text{
                   margin: 20px auto 0;
        background: var(--background-color);
        border: 1px solid var(--text-color);
        color: var(--text-color);
        border-radius: 50px;
        z-index: 10;
        position: relative;
        padding: 20px 50px;
        text-transform: uppercase;
        /* min-width: 100px; */
        font-family: var(--main-font);
        font-size: 20px;
        width: fit-content;
        min-width: 300px;
        }
         #nezhnost   #place_img-separate img {
        width: 20px;
        margin: auto;
        padding: 50px 0;
    }
        #nezhnost .timetable__place-right {
        padding-top: 90px;
        background-color: var(--background-color);
    }
        #nezhnost .timer-title {
            color: var(--background-color);
    font-size: 54px;
    padding-bottom: 20px;
    font-family: var(--beauty-font);
    }
        #nezhnost .footer__text {
       font-size: 64px;
    padding-bottom: 20px;
    font-family: var(--beauty-font);
    line-height: 120%;
    }
@media screen and (max-width: 1700px) {
 
}

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

@media screen and (max-width: 800px) {
#nezhnost{
    font-family: var(--main-font);
    font-size: 16px;
    line-height: 120%;
    color: var(--text-color);
}

 #nezhnost .title_text{
    font-family: var(--beauty-font);
    font-size: 36px;
    line-height: 130%;
    color: var(--text-color);
}
 #nezhnost .descr_text{
    font-family: var(--main-font);
    font-size: 14px;
    line-height: 120%;
    color: var(--text-color);
            text-align: center;
}
#nezhnost .welcome_title_text{
    font-size: 40px;
    font-family: var(--beauty-font);
    line-height: 100%;
}
#nezhnost .timetable__place-right{
   padding-top: 90px;
    background-color: var(--background-color);
}
 #nezhnost  .registration_title_text, #nezhnost .banquet_title_text{
                text-transform: uppercase;
    font-family: var(--main-font);
    font-size: 16px;
    padding-bottom: 10px;
        }
         #nezhnost  .timetable_title_text{
                   margin: 20px auto 0;
        background: var(--background-color);
        border: 1px solid var(--text-color);
        color: var(--text-color);
        border-radius: 50px;
        z-index: 10;
        position: relative;
        padding: 20px 50px;
        text-transform: uppercase;
        /* min-width: 100px; */
        font-family: var(--main-font);
        font-size: 20px;
        width: fit-content;
        min-width: 300px;
        }
       #nezhnost  #clockdiv {
        gap: 15px;
    }
#nezhnost .timer-title{
        color: var(--background-color);
    font-size: 50px;
    padding-bottom: 20px;
}
#nezhnost .footer__text{
        font-size: 54px;
    padding-bottom: 20px;
}
}

/* Стили для галереи Dress Code */
#nezhnost .gallery-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* Ограничение ширины */
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nezhnost .gallery-track {
    display: flex;
    gap: 15px; /* Расстояние между фото */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    width: 90%;
    
    /* Скрытие скроллбара для красоты */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

#nezhnost .gallery-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

#nezhnost .gallery-item {
    flex: 0 0 auto;
    /* Высота картинок. На мобильных можно меньше, на ПК больше */
    height: 400px; 
    width: auto;
    border-radius: 4px; /* Легкое скругление, если нужно */
    transition: transform 0.3s ease;
}

#nezhnost .gallery-item:hover {
    transform: scale(1.02);
}

/* Кнопки навигации */
#nezhnost .gallery-btn {
    background: transparent;
    border: none;
    color: var(--header-color); /* Ваш красный цвет */
    font-size: 40px;
    cursor: pointer;
    padding: 0 10px;
    z-index: 10;
    transition: opacity 0.3s, transform 0.2s;
    font-family: var(--main-font); /* Основной шрифт */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#nezhnost .gallery-btn:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

#nezhnost .gallery-btn:active {
    transform: scale(0.9);
}

/* Адаптивность */
@media screen and (max-width: 800px) {
    #nezhnost .gallery-item {
        height: 300px; /* Уменьшаем высоту на планшетах */
    }
   #nezhnost .gallery-btn {
        font-size: 30px;
        padding: 0 5px;
        display: none;
    }
}

@media screen and (max-width: 500px) {
   #nezhnost .gallery-container {
        width: 100%;
    }
   #nezhnost .gallery-track {
        width: 100%;
        padding: 0 15px; /* Отступы по краям */
    }
   #nezhnost .gallery-item {
        height: 250px; /* Уменьшаем высоту на телефонах */
    }
    /* На мобильных часто удобнее свайпать пальцем, стрелки можно скрыть или оставить маленькими */
  #nezhnost .gallery-btn {
      display: none; 
    }
}
#nezhnost label.opros-grup-title{
font-weight: 600;
}