body{width:100%;    background-color: #151515;font-family:Arial}
div#main_bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1000;
    background-color: #151515;
    background-image: url("/images/main_bg3.png");
background-position: center center;
background-repeat: no-repeat;
background-size:contain;
}

div#main_1 {
    height: 100%;
    position: relative;
display:none;
}

body {
    height: 100%;
    overflow-y: hidden;
}

html {
    height: 100%;
    overflow-y: hidden;
}

div#main_1 h3 {
    margin: 0;
    font-size: 16px;
    line-height: 32px;
}

div#main_1_text {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    color: #fff;

}

.main_1_text_in {
    padding-top: 40px;
}

#main_1_text ol {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-inline-start: 20px;
}

#main_1_text li {
    line-height: 32px;
    font-size: 16px;
    margin-bottom: 10px;
}

div#main_1_footer {
    position: absolute;
    bottom: 10px;
    left: 0;
    height: 50px;
    width: 100%;
}

div#main_1_ok_btn {
    cursor: pointer;
    width: 90%;
    max-width: 350px;
    background-color: #C8F636;
    text-align: center;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 16px;
}
div#main_2_in {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    color: #fff;
    overflow: auto;
    padding-top: 40px;
}

.main_2_btn {
    height: 140px;
    line-height: 136px;
    border-radius: 8px;
    border: 2px solid #C8F636;
    padding: 0 10px;
cursor:pointer;
}

div#nfc_go {
    margin-bottom: 40px;
    display:none;
}
div#main_nfc,#main_qr {
   display: none;
    position: relative;
    height: 100%;
}

div#main_nfc_in,#main_qr_in {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    color: #fff;
    overflow: auto;
}

div#main_nfc_in h3,div#main_qr_in h3{
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    line-height: 50px;
}

div#main_nfc_pic {
    margin-top: 60px;
    text-align: center;
}

div#main_nfc_pic img {
    width: 140px;
}

div#main_nfc_footer {
    position: absolute;
    bottom: 10px;
    left: 0;
    height: 50px;
    width: 100%;
}

div#main_nfc_restart {
    cursor: pointer;
    width: 90%;
    max-width: 350px;
    background-color: #C8F636;
    text-align: center;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 16px;
}
div#main_nfc_in,#main_qr_in {
    position: relative;
}

div#back_nfc,#back_qr {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 50px;
    font-size: 32px;
    width: 50px;
    text-align: left;
    cursor: pointer;
}
.blink {
    animation: blink 1s smooth-blink infinite; 
   }
div#main_qr_window {
border: 4px solid #C8F636
}
   @keyframes blink {
    0%,100% { opacity: 1; /* Непрозрачный текст */ }
    50% { opacity: 0.2; /* Прозрачный текст */ }
   }
 
div#main_qr_window {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    margin-top: 40px;
    overflow: hidden;
}
div#main_qr_window {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
div#main_item {
    position: relative;
    height: 100%;
}

div#main_item_in {
    width: 90%;
    max-width: 350px;
    margin: 0 auto;
    color: #fff;
    overflow: auto;
    position: relative;
}

div#main_item_in_text h1 {
    color: #C8F636;
    font-size: 20px;
    text-align: center;
    line-height: 30px;
    margin-bottom: 10px;
    margin-top: 0;
}

div#main_item_in_pic {
    width: 200px;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: center;
}

div#main_item_in_pic img {
    width: 100%;
    border-radius: 50%;
}

div#main_item_in_text p {
    font-size: 16px;
    text-align: center;
    margin: 0;
    margin-bottom: 5px;
}

p.green_text {
    font-weight: bold;
    color: #C8F636;
}

div#main_item_in h3 {
    font-size: 16px;
    margin: 0;
    margin-bottom: 10px;
    font-weight: bold;
}

div#main_item_in_text {
    margin-bottom: 20px;
}

div#main_item_desc {
    font-size: 16px;
}

div#item_footer {
    position: absolute;
    bottom: 10px;
    left: 0;
    height: 50px;
    width: 100%;
}

div#play {
    cursor: pointer;
    width: 90%;
    max-width: 350px;
    background-color: #C8F636;
    text-align: center;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 16px;
}

div#pause {
    cursor: pointer;
    width: 90%;
    max-width: 350px;
    background-color: #C8F636;
    text-align: center;
    height: 50px;
    line-height: 50px;
    margin: 0 auto;
    border-radius: 8px;
    font-size: 16px;
    display: none;
}

div#back_item {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 50px;
    font-size: 32px;
    width: 50px;
    height:50px;
    text-align: left;
    cursor: pointer;
}

div#back_item a {
    color: #fff;
}
div#main_item_in_pic {
    padding-top: 20px;
}

div#main_item_in {
    padding-bottom: 60px;
    height: 100%;
    overflow: auto;
}
#obj_block{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:10;
    background-color: #151515;
    display:none;
}

div#back_nfc, #back_qr {
    z-index: 10;
}
div#main_1_footer {
    position: fixed;
    bottom: 0;
    padding: 20px 0;
    background-color: #151515;
}

div#main_1_text_in_out {
    padding-bottom: 100px;
}

div#main_1 {
    overflow: auto;
}
body {
    margin: 0;
}
body {
    margin: 0;
}

div#main_nfc_in {
    height: 100%;
}

div#main_qr_in {
    height: 100%;
}
div#qr_go svg {
    fill: #c8f635;
    max-height: 100%;
    margin:0 auto;
    display: block;
}
div#nfc_go svg {
    fill: #c8f635;
    max-height: 100%;
    margin:0 auto;
    display: block;
}

.main_2_btn {
    width: 140px;
    padding: 0;
    margin: 0 auto;
}

div#nfc_go {
    margin-bottom: 30px;
}
.invis{display:none;}
div#main_item_desc {
    padding-bottom: 80px;
}
div#main_item_desc {
    padding-bottom: 80px;
}

.control-group label {
    font-weight: normal;
    font-size: 14px;
}

.buttons-group {
    display: block;
}

.buttons-group button {
    width: 100%;
    height: 40px;
}

button#play-pause-btn {
    background-color: #c8f637;
    margin-bottom: 10px;
}
button#stop-btn {
    background-color: #000;
    color: #fff;
}
/* Стили для слайдера скорости воспроизведения */
#speed-slider {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #000;
    outline: none;
    margin: 10px 0;
}

/* Стили для трека в разных браузерах */
#speed-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #000;
    border: none;
}

#speed-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #000;
    border: none;
}

/* Стили для ползунка */
#speed-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c8f637;
    border: 2px solid #000;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    margin-top: -8px;
}

#speed-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #c8f637;
    border: 2px solid #000;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

/* Фокус состояния */
#speed-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(200, 246, 55, 0.3);
    outline: 2px solid #c8f637;
    outline-offset: 2px;
}

#speed-slider:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(200, 246, 55, 0.3);
    outline: 2px solid #c8f637;
    outline-offset: 2px;
}

/* Активное состояние */
#speed-slider:active::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

#speed-slider:active::-moz-range-thumb {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

/* Прогресс для WebKit браузеров */
#speed-slider::-webkit-slider-runnable-track {
    background: linear-gradient(to right, #c8f637 0%, #c8f637 var(--progress-percent), #000 var(--progress-percent), #000 100%);
}

/* Прогресс для Firefox */
#speed-slider::-moz-range-track {
    background: linear-gradient(to right, #c8f637 0%, #c8f637 var(--progress-percent), #000 var(--progress-percent), #000 100%);
}

/* JavaScript для обновления прогресса */
#speed-slider {
    --progress-percent: 40%; /* Это будет обновляться через JS */
}