* {
    margin: 0;
    padding: 0;
    font-family: monospace;
}

.container{
    max-width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
}

.title{
    font-size: 3em;
    font-weight: bold;
    color: white;
}

.navbar{
    display: flex;
    flex-direction: column;
    padding: 2em;
    align-items: center;
    justify-content: center;
}

.buttons{
    display: flex;
    width: 100%;
    padding: 1em;
    align-items: center;
    justify-content: space-between;
}

.sorting-algos-button{
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.algo-button{
    width: 8em;
    height: 3em;
    border: none;
    border-radius: 12px;
    background-color: brown;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0.2em;
}


.algo-button:disabled{
    cursor: not-allowed;
    background: rgb(212, 126, 126);
}

.bars{
    width: 80%;
    margin: 0 10%;
    height: 50%;
    display: flex;
}

.bar{
    background-color: cyan;
    box-sizing: border-box;
    border: 1px solid black;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    max-height: 100%;
    transition: height 0.3s ease-in-out;
}

.info{
    margin: 2em;
}

.colored-box{
    margin: 0 1.2em;
    width: 1em;
    height: 1em;
    border-radius: 50%;
}

.pivot{
    background: black;
    box-sizing: border-box;
}

.swap-node{
    background: orange;
}

.swap-node2{
    margin-left: 0;
    background: red;
}

.sorted{
    background: green;
}

.part-sorted{
    background: limegreen;
}

.colors{
    display: flex;
    margin: 0.8em;
    font-weight: bold;
}

#pivot{
    display: none;

}

.algo-speed{
    display: flex;
    flex-direction: column;
    width: 10%;
    position: relative;
    margin-left: 4em;
    margin-bottom: 1em;
    background-color: purple;
    padding: 0.5em;
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 8px;
}

.new-array{
    background-color: transparent;
    width: 6em;
    height: 3em;
    border-radius: 8px;
    border: 1px solid yellowgreen;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s cubic-bezier(0.67, 0.82, 0, 0.96);
}

.new-array:hover{
    background-color: yellowgreen;
}

.new-array-buttons{
    display: flex;
    justify-content: space-between;
    width: 15%;
}

.show{
    display: block;
}


.array-box{
    display: none;
    position: absolute;
    margin-top: 4em;
    height: 2.5em;
    width: 20%;
    left: 10%;
}

.new-input-array-box{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-direction: column;
    margin-bottom: 1em;
}

.skip{
    position: absolute;
    right: 2em;
    width: 5em;
    height: 2.5em;
    border-radius: 8px;
    background: lime;
    font-weight: bold;
}