﻿/* Контейнер для окна настроек */
.settings-window {
    position: absolute;
    top: calc(165 / 896 * 100%);
    left: calc(90 / 715 * 100%);
    width: calc(515 / 715 * 100%);
    height: calc(510 / 896 * 100%);
}


/* Заголовок окна выбора таблицы */
.choose-table-title {
    position: absolute;
    top: calc(50 / 896 * 100%);
    left: calc(100 / 715 * 100%);
    font-family: 'Maki Sans', sans-serif;
    font-size: calc(var(--font-size-factor) * 0.05);
    color: #fed75e;
    -webkit-text-stroke: 2px #192229;
}

/* Кнопки выбора таблицы */
.choose-table-buttons {
    position: absolute;
    top: calc(150 / 896 * 100%);
    left: calc(100 / 715 * 100%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5%;
    width: calc(515 / 715 * 100%);
    height: calc(510 / 896 * 100%);
}
.choose-table-btn {
    background: url('i/btn_choose_table.png') no-repeat center;
    background-size: contain;
    width: 100%;
    height: 100%;
    font-size: calc(var(--font-size-factor) * 0.08);
    -webkit-text-stroke: 2px #192229;
    color: #1bbfb3;
    font-family: 'Maki Sans', sans-serif;
    border: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Кнопка "Вся таблица" */
.choose-all-btn {
    position: absolute;
    top: calc(680 / 896* 100%);
    left: calc(203 / 715* 100%);
    background: url(i/btn_all_table.png) no-repeat center;
    background-size: contain;
    width: calc(232 / 515* 100%);
    height: calc(101 / 510* 100%);
    font-family: 'Maki Sans', sans-serif;
    font-size: calc(var(--font-size-factor)* 0.045);
    -webkit-text-stroke: 1px #192229;
    color: #1bbfb3;
    border: none;
    cursor: pointer;
    text-align: center;
}

/* Контейнер для блоков времени */
.time-settings-wrapper {
    position: absolute;
    top: calc(900 / 896* 100%);
    left: 0;
    width: 100%;
    height: 25%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.time-settings {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

/* Блоки для выбора времени */
.time-block {
    background: url("i/bg_choose_time_main.png") no-repeat center;
    background-size: contain;
    width: 100%;
    height: 100%;
    text-align: center;
}

.time-block h3 {
    font-size: calc(var(--font-size-factor) * 0.026);
    -webkit-text-stroke: 1px #192229;
    color: #fed75e;
    padding: 8% 0;
    height: 10%;
}

.time-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8% 0 5%;
    height: 50%;
}

.time-btn {
    width: 35%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    cursor: pointer;
}

.decrement-btn {
    background-image: url('i/btn_decrement.png');
    background-color: #1bbfb3;
}

.increment-btn {
    background-image: url('i/btn_increment.png');
    background-color: #1bbfb3;
}

.decrement-btn:hover,
.decrement-btn:active,
.increment-btn:active,
.increment-btn:hover,
.choose-all-btn:hover,
.choose-all-btn:active,
.choose-table-btn:hover,
.choose-table-btn:active {
    transform: scale(1.2); /* Увеличение на 20% при клике */
}

.time-value {
     background: url('i/bg_choose_time_value.png') no-repeat center;
     background-size: contain;
     width: 50%;
     height: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: calc(var(--font-size-factor) * 0.04);
     -webkit-text-stroke: 1px #192229;
     color: #fed75e;
 }

.mesure {
    font-size: calc(var(--font-size-factor) * 0.02);
    -webkit-text-stroke: 1px #192229;
    color: #fed75e;
}
