/* Load custom OTF font */
@font-face {
    font-family: 'GTFont';
    src: url('fonts/font.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Apply font to entire body */
body {
    background-color: #1e1e1e;
    color: #fff;
    font-family: 'GTFont', 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Keep the rest of your CSS for sliders, buttons, preview, etc. */
.container {
    text-align: center;
    background: #2b2b2b;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

h1 {
    margin-bottom: 20px;
    font-family: 'GTFont', 'Segoe UI', sans-serif; /* Ensure header uses font */
}

.sliders {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.slider {
    -webkit-appearance: slider-vertical;
    appearance: slider-vertical;
    width: 12px;
    height: 150px;
    background: #444;
    border-radius: 6px;
    outline: none;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

#r { accent-color: #ff3b3b; }
#g { accent-color: #39ff3b; }
#b { accent-color: #393bff; }

button {
    background: #444;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: 0.2s;
    font-family: 'GTFont', 'Segoe UI', sans-serif; /* Ensure button uses font */
}

button:hover {
    background: #555;
}

.outputs {
    margin-bottom: 20px;
}

.output {
    margin: 5px 0;
}

.color-preview {
    width: 200px;
    height: 100px;
    margin: 0 auto 20px auto;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    border: 2px solid #fff;
}
