html,
body {
    overscroll-behavior: none;
}

body {
    font-family: Titillium Web, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f4f4;
}

button {
    font-family: Titillium Web, sans-serif;
    font-weight: bold;
    border: none;
}

header {
    background-color: #ffffff;
    color: black;
    text-align: center;
    width: 100%;
    position: fixed;
    z-index: 1000;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #ffffff;
    color: black;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    color: gray;
    font-size: 1rem;
}

h2 {
    color: #007a7e;
    font-size: 1.5rem;
}

a {
    color: #007a7e;
}

header img {
    max-width: 60vw;
    height: auto;
}

main {
    margin-top: 78px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}

.quiz-container {
    max-width: 700px;
    width: 100%;
}

.question-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.question {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-wrapper {
    width: 100%;
}

input[type="range"] {
    touch-action: none;
}

.slider-container input[type="range"] {
    flex-grow: 1;
    appearance: none;
    height: 8px;
    background: linear-gradient(to right, red, orange, yellow, green);
    border-radius: 5px;
    outline: none;
    width: 100%;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #0099ff;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    width: 25px;
    text-align: center;
    font-weight: bold;
    position: relative;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007a7e;
    /* 👈 Change this color */
    border-radius: 50%;
    cursor: pointer;
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007a7e;
    /* 👈 Change this color */
    border-radius: 50%;
    cursor: pointer;
}

.slider-container input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #007a7e;
    /* 👈 Change this color */
    border-radius: 50%;
    cursor: pointer;
}


@media (max-width: 600px) {
    .question {
        font-size: 1rem;
    }
}

.ratingscheme {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: gray;
    text-align: center;
    font-size: 14px;

}

.ratingscheme>div:first-child {
    text-align: left;
}

.ratingscheme>div:last-child {
    text-align: right;
}

.slider-value-start,
.slider-value-end {
    background: #007a7e;
    color: white;
    border-radius: 10px;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 18px;
}

#getValuesBtn {
    transition: transform 0.2s ease;
    cursor: pointer;
    border-radius: 4px;
    background: #007a7e;
    color: white;
    padding: 15px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#getValuesBtn:hover {
    transform: scale(0.8);
}