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

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

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

}
#shelk {
    /*--primary-color: #333;
    --secondary-color: #eee;*/
    --background-color: #ffffff;
    --header-color: #07111a;
    --text-color: #07111a;
    --main-font: 'EBGARAMOND', sans-serif; /* Основной шрифт */
    --beauty-font: 'UnivrstyRoman', sans-serif; /* Шрифт для заголовков */
    --secondary-font: 'Hagin', sans-serif; /* Второй шрифт */
}
#shelk .bg-img {
    margin: 0;
    background-image: url(../../../../images/sites/shelk/bg-pc.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: -10;
}
#shelk  .all-section{
    width: 100%;
    margin: auto;
    max-width: 600px;
}
#shelk  .timer-title{
padding-bottom: 20px;
}
@media screen and (max-width: 800px) {
    #shelk .bg-img {
        background-image: url(../../../../images/sites/shelk/bg.png);
    }
}

#shelk{
    font-family: var(--main-font);
    font-size: 24px;
    line-height: 120%;
        overflow: hidden;
    color: var(--text-color);
}
#shelk .title_text{
    font-family: var(--beauty-font);
       text-transform: uppercase;
    font-size: 42px;
    line-height: 120%;
    color: var(--header-color);
    padding-bottom: 20px;
}
#shelk .descr_text{
    font-family: var(--main-font);
   text-transform: uppercase;
        font-size: 14px;
    line-height: 120%;
    color: var(--text-color);
}
#shelk  .welcome_title_text{
    font-size: 36px;
 }
#shelk .header-blocks-title {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
    max-width: 500px;
    margin: auto;
}
#shelk .date-main-small{
        font-size: 104px;
    font-family: var(--beauty-font);
    color: var(--header-color);
    line-height: 120%;
    padding-bottom: 20px;
}
#shelk  table{
        margin: auto;
}
#shelk  th{
        text-transform: uppercase;
    font-weight: 200;
}
#shelk tbody, #shelk td, #shelk tfoot, #shelk th, #shelk thead, #shelk tr {
        font-size: 18px;
    padding: 6px 10px;
}
#shelk .counter {
    width: 90%;
    margin: 0 auto;
    max-width: 600px;
}
#shelk .timer-title {
    color: var(--header-color);
    text-transform: uppercase;
    font-size: 22px;
}
#shelk  #clockdiv {
    display: flex;
    width: 90%;
    margin: auto;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text-color);
}
#shelk  .timer__number {
    font-size: 30px;
    line-height: 100%;
    padding: 18px 0;
        background: var(--background-color);
    border: 1px solid var(--header-color);
    width: 70px;
    height: 70px;
}
#shelk  .header-block-up2{
        font-family: var(--beauty-font);
    font-size: 62px;
    text-transform: uppercase;
    line-height: 120%;
    color: var(--header-color);
}
#shelk  .header-name-and{
    font-size: 54px;
    text-transform: lowercase;
}
#shelk #music {
    padding: 30px 50px;
}
#shelk #playButton {
    cursor: pointer;
    width: 50px;
    margin: auto;
    padding: 10px 0;
}
#shelk .info-date, #shelk .dresscode,  #shelk .question{
    background: var(--background-color);
    border-radius: 20px;
}
#shelk  .info-invitation, #shelk .dresscode_common, #shelk .question__bloks {
    padding: 50px 5%;
}
#shelk  .wedding-day {
    position: relative;
    z-index: 2;
}
#shelk  .wedding-day::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    width: 45px;
    height: 40px;
    background-image: url(../../../../images/sites/shelk/heart-empty.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}
#shelk .info-date__place, #shelk .details-block, #shelk .linkblock__bloks {
width: 90%;
    margin: auto;
    background: #ffffffa8;
    padding: 80px 5% 50px;
    border-radius: 20px;
}
#shelk  .places, #shelk .details, #shelk #linkblock{
    position: relative;
    padding: 100px 0 70px;
}
#shelk  .img-wax{
        position: absolute;
    width: 120px;
    left: 50%;
    top: 100px;
    transform: translate(-50%, -50%);
}
#shelk .timetable__block{
  width: 90%;
    margin: auto;
    position: relative;
    z-index: 2;
}
#shelk p{
    margin: 0;
}
#shelk .timetable__block-time{
  background: var(--header-color);
    padding: 10px 30px 15px;
    border-radius: 100px;
    color: var(--background-color);
    font-family: var(--main-font);
    font-size: 28px;
    line-height: 100%;
}
#shelk  .timetable__block-texts {
    display: flex;
    margin: 15px auto 15px;
    flex-direction: row;
    justify-content: flex-start;
    border: 1px solid var(--header-color);
    border-radius: 100px;
    align-items: center;
    background: white;
}
#shelk .timetable__block-name{
    text-align: left;
    width: stretch;
    text-transform: uppercase;
    color: var(--header-color);
    padding-left: 15px;
    font-size: 14px;
        line-height: 100%;

}
#shelk .separator-image{
        width: 30px;
    padding: 30px 0;
    margin: auto;
}
#shelk  .question__text-mini{
  font-size: 16px;
    padding: 10px;
}
#shelk  #question{
        display: flex
;
    text-align: left;
    flex-direction: column;
}
#shelk  .question__label {
    display: flex
;
    align-items: center;
    gap: 5px;
}
#shelk .rsvp__button{
   background: none;
    display: flex;
    border: 1px solid var(--text-color);
    width: 200px;
    color: var(--header-color);
    margin: 20px auto 0px;
    text-align: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 10px;
}
#shelk .question__string input[type="text"]::placeholder {
    color: var(--text-color);
    opacity: 1; /* Обязательно, чтобы Firefox и Safari не делали текст полупрозрачным */
}
#shelk .registration_title_text, #shelk .banquet_title_text  {
        font-size: 20px;
        padding-bottom: 10px;

}
#shelk  .place-right, #shelk  .place-left{
        padding-bottom: 20px;
}
#shelk  .question__string{
    margin-bottom: 10px;
    font-size: 18px;
}
#shelk .question__label{
        margin-bottom: 0px;
}
#shelk .question__unvisible {
    display: none;
}
#shelk .question__visible-radio {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
   
    vertical-align: middle;
    box-sizing: border-box;
    border: 1px solid var(--text-color);
    border-radius: 50%;
}
#shelk  .question__unvisible:checked + .question__visible-radio::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: var(--text-color);
    border-radius: 50%;
}
#shelk  .question__visible-checkbox {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
   
    vertical-align: middle;
    box-sizing: border-box;
    border: 1px solid var(--text-color);
}
#shelk .question__unvisible:checked + .question__visible-checkbox::before {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color:var(--text-color);
}
#shelk .question__string input[type="text"]{
    border: 0;
       background: none;
    border-bottom: 1px solid var(--text-color);
    border-radius: 0;
    font-size: 14px;
    text-transform: uppercase;
    padding: 5px 0 !important;
    color: var(--text-color);
}
#shelk #answ_good, #shelk #answ_null{
   color: var(--header-color);
}
#shelk .question__label-input{
      color: var(--text-color);
    text-transform: uppercase;
       font-size: 14px;
           line-height: 120%;

}
#shelk  #question label{
   color: var(--text-color);
}
#shelk  .timetable {
        padding: 50px 0;
}
#shelk  .text-footer{
    text-transform: uppercase;
    font-size: 14;
    font-size: 16px;
}
#shelk .names-footer{
    font-family: var(--beauty-font);
    text-transform: uppercase;
    font-size: 48px;
    line-height: 120%;
    padding: 20px 0 50px;
    color: var(--header-color);
}
@media screen and (max-width: 1700px) {
 
}

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

@media screen and (max-width: 800px) {
#shelk{
}#shelk
#shelk .title_text{
}
 #shelk .descr_text{
}
}


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

#shelk .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 */
}

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

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

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

/* Кнопки навигации */
#shelk .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%;
}

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

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

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

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