@font-face {
    font-family: 'KBO-Dia-Gothic_medium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Giants-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'KBO-Dia-Gothic_Bold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2307-1@1.1/Giants-Bold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ol {
    list-style-position: inside;
    padding-inline-start: 0px;

}

ol li, ul li {
    margin: 15px auto;
}

.nav li {
    display: inline-block;
    margin: 0 20px;
}

body {
    font-family: 'KBO-Dia-Gothic_medium', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0 20px;
    text-align: center;
}

a, a:visited {
    text-decoration: none;
    color: inherit;
}

input {
    font-family: 'KBO-Dia-Gothic_medium', Arial, sans-serif;
}

input[type="range"] {
    accent-color: #6799fa;
}

input[type="range"]::-webkit-slider-runnable-track, input[type="range"]::-moz-range-track {
    background-color: #333;
    border-radius: 0;
}

input[type=file] {
    color: #333;
}

h1 {
    font-size: 20px;
}

input[type=file]::file-selector-button{
    background-color: #6799fa;
    color: white;
    font-family: 'KBO-Dia-Gothic_medium', Arial, sans-serif;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
}

button {
    font-family: 'KBO-Dia-Gothic_medium', Arial, sans-serif;
    background-color: #6799fa;
    color: white;
}

select {
    font-family: 'KBO-Dia-Gothic_medium', Arial, sans-serif;
    padding: 6px 12px;
}

details > div {
    padding-bottom: 10px;
}

summary h1 {
    display: inline-block;
    font-size: 20px;
}

table {
  width: 100%;
  margin: 20px 0;
  table-layout: fixed;
  border-collapse: collapse; /* 테이블 셀 간의 간격 제거 */
}

th, td {
  border: 1px solid #ddd; /* 셀 테두리 */
  padding: 8px;
}

th {
  background-color: #f2f2f2; /* 헤더 배경색 */
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.container {
    background-color: #fff;
    padding: 10px 30px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 750px;
    text-align: center;
}

.input-section {
    margin-bottom: 20px;
    text-align: left;
}

#video-files {
    display: block;
    margin-top: 5px;
}

#file-list-info {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

#process-button {
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

#process-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#process-button:hover:not(:disabled) {
    background-color: #0056b3;
}

#status-section {
    margin-top: 20px;
}

#status-message {
    font-weight: bold;
}

#progress-bar-container {
    background-color: #e9ecef;
    border-radius: 5px;
    height: 10px;
    margin: 10px;
}

#progress-bar {
    background-color: #28a745;
    height: 100%;
    width: 0;
    border-radius: 5px;
    transition: width 0.3s ease;
}

#download-section {
    margin-top: 20px;
}

#download-link {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#download-link:hover {
    background-color: #218838;
}

.viewer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

#outputImage {
    background-color: black;
    width: 100%;
    height: 100%;
}

#outputChart {
    width: 100%;
    height: 50%;
}

#frameSlider {
    width: 100%;
}

#frameInfo {
    margin-top: 10px;
    font-size: 1.2em;
}