body {
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: rgb(255, 255, 255); 
    transition: background-color 0.3s ease; 
}

.container {
    width: 80%;
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

#myMenu {
    list-style: none;
    padding: 10px;
    margin-top: 10px;
    border: 2px solid #007bff; 
    border-radius: 5px;
    background-color: #f9f9f9; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    transition: opacity 0.3s ease; 
}

#myMenu.hidden {
    display: none; 
    opacity: 0; 
}

#myMenu li {
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #ddd; 
    border-radius: 3px;
    background-color: #fff;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

#myMenu li:hover {
    background-color: #007bff;
    color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); 
}

#mySlider {
    width: 100%;
    height: 15px;
    border-radius: 10px;
    appearance: none;
    margin: 20px 0;
    background: linear-gradient(to right, red, orange, yellow, green, blue, violet); 
    transition: background 0.2s ease;
}

#mySlider::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: red; 
    border: 2px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#mySlider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: red;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
