.button-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.btn {
    margin: 10px;
    /* margin-bottom: 30px; */
    /* max-width: 130px; */
}

.div-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 30vh;
    max-width: 75%;
    margin: auto;
    width: 260px;
    height: 260px;
        /* margin-bottom: 90px; */
        /* cursor: grab; */
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 90vh;
    margin: 0;
    background-color: #ffffff;
    flex-direction: column;
    margin-top: 30px;
    /* background: linear-gradient(to right, #faa1a1, #82a6f5); */
    background: radial-gradient(#faa1a1, #82a6f5);
}

#array-container {
    display: flex;
    margin-bottom: 20px;
    max-width: 75%;
    align-items: flex-end;

    
}

.array-bar {
    width: 20px;
    margin-right: 5px;
    background-color: #00ac14;
    max-height: 60vh;
    transform: scaleY(-1);
}

#sizeSliderContainer {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

#sizeSlider {
    width: 300px;
    margin-right: 10px;
}

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    60% {
        transform: translateY(-15px);
    }
}

.wavy {
    position: relative;
    font-size: 60px;
}

.wavy span {
    position: relative;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    animation: wavy 1.5s infinite, bounce 2s infinite;
    animation-delay: calc(.1s * var(--i));
    -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(255, 255, 255, 0.4));
}

@keyframes wavy {

    0%,
    40%,
    100% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-20px);
    }
}
#sortingMessage {
    display: none;
    /* Initially hide the message */
    position: relative;
    /* Ensure correct positioning for animation */
}
/* Add this style to animate the range slider */
.form-range {
    background-color: #fcadff;
    border-radius: 13px;
    cursor:grab;
}
input[type="range"]::-webkit-slider-runnable-track {
    background-color: #fcadff;
    cursor: grab;
}
.form-range::-webkit-slider-thumb {
    background-color: #fbfbfb;
    border: 2px solid #cdb4db;
    width: 20px;
    height: 20px;
}

.form-range::-moz-range-thumb {
    background-color: red;
    /* border: 2px solid rgb(248, 11, 11); */
    width: 30px;
    height: 20px;
    cursor: grab;
}

.form-range::-ms-thumb {
    background-color: red;
    /* border: 2px solid rgb(255, 0, 0); */
    width: 30px;
    height: 20px;
    cursor: grab;

}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.6);
    transition: transform 0.3s ease-in-out;
    cursor: grab;
}

#sliderValue{
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 30px;

}
#sliderValue:hover{
    transform: scale(1.4);
    /* transition: transform 1s ease-in-out; */
    animation: wavy 1.5s infinite, bounce 2s infinite;
    animation-delay: calc(.1s * var(--i));
}

