:root{
    background-color: rgb(6, 11, 20);
    color: white;
    --bar-color: #2196F3;
}
body{
    padding:10px 200px;
    font-weight: bold;
}

h1 span{
    color: #2196F3;
}
p{
    color: #5e5d5d;
}

.navbar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background-color: rgb(19, 24, 33);
    border-radius: 10px;
}
#generate-array{
    padding: 10px 20px;
    background-color: #2196F3;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.slider{
    display: flex;
    flex-direction: column;
    align-items: center;
}
#bubble-sort{
    padding: 10px 20px;
    background-color: #14c567;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#selection-sort{
    padding: 10px 20px;
    background-color: #ec1919;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* main container */
.main-container{
    background-color: rgb(19, 24, 33);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2px;
    height: 500px;
    margin-top: 20px;
    border-radius: 10px;
}
.bar{
    border: 1px solid white; /* Taaki outline dikhe */
    min-width: 2px; 
    background-color: var(--bar-color);
    transition: height 0.1s ease;
}
.comparing{
    background-color: #ff5722;
} 
.swapping{
    background-color: #9c27b0;
}
.sorted{
    background-color: #4caf50;
}
.scanning{
    background-color: #ffeb3b;
}