
html {
    background-color: #211f22;
    height: 100%;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #211f22;
    color: #ddd;
    padding: 2rem 1rem;
    min-height: 100vh;
    height: 100%;
}

.section {
    padding: 3rem 0;
}

.container {
    background: #242424;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 2px 5px 13px -3px rgba(0, 0, 0, 1);
    -webkit-box-shadow: 2px 5px 13px -3px rgba(0, 0, 0, 1);
    -moz-box-shadow: 2px 5px 13px -3px rgba(0, 0, 0, 1);
}

a {
    color: #00d1b2;
    cursor: pointer;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #00a28a;
}

label {
    color: #fff !important;
}

.footer {
    background-color: transparent;
    padding: 0 0 1rem 0;
    font-size: 14px;
}

.color-preview {
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    margin-top: 0.5rem;
    border-radius: 4px;
}

/* Slider spacing */
.rgb-slider {
    margin-bottom: 1.5rem;
}

.color-palette {
    display: flex;
    gap: 10px;
    margin-top: 0.5rem;
}

.color-swatch {
    width: 30px;
    height: 30px;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    margin-right: 5px;
}

.color-swatch.selected {
    border-color: #fff;
    box-shadow: 0 0 5px white;
}

.color-preview {
    width: 100px;
    height: 30px;
    margin-top: 10px;
    border: 1px solid #ccc;
}

.button-group {
    margin-top: 0;
}

.jump-binds input.input {
    width: 30%;
    display: block;
    margin-bottom: 1rem;
}

/* Slider Container */
.slider-container {
    position: relative;
    max-width: 930px;
    width: 100%;
    height: 180px;
    margin: 2rem auto;
    overflow: hidden;
    border: 1px solid #4a4a4a;
    box-shadow: -5px 5px 5px #00000054;
    border-radius: 5px;
}

/* Slider Image Wrapper */
.slider-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slider Image */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Canvas (Crosshair) */
#crosshairCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 20;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.slider-dots span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots span.active {
    background-color: #fff;
}

.input {
    width: 30%;
}

.textarea:not([rows]) {
    min-height: 15em;
}

.info-text {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

input[type="range"] {
    width: 100%;
    max-width: 400px;
}

@media (max-width: 768px) {
    .button-group {
        margin-top: 3rem;
    }

    .radio-group label.radio {
        display: block;
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .slider-container {
        height: 150px;
    }

    .input {
        width: 100%;
    }

    .jump-binds input.input {
        width: 100%;
    }

    .field.button-group > .control:not(:last-child) {
        margin-right: 0rem;
    }
     
    .actions {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 120px;
    }
}