* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f3f8fe;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

.container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

h1 {
    color: #89f85e;
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    color: #666;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group label {
    font-weight: bold;
    color: #5ee459;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
}

input, select, textarea {
    padding: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9em;
}

input[type="radio"], input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
}

.radio-group, .checkbox-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

textarea {
    resize: vertical;
}

button {
    background-color: #7edc56;
    color: #ffffff;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

button:hover {
    background-color:aquamarine;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
}

input[type="color"] {
    padding: 0;
    height: 40px;
    width: 100%;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.9em;
    }

    button {
        font-size: 0.9em;
    }
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.slider-container .emoji {
    font-size: 1.5em;
}


input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, red, orange, green);
    outline: none;
    border-radius: 5px;
    transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #2b67f6;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border: 2px solid #2b67f6;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
