*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

:root{
    --vh: calc(100vh / 100);
}

@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

#display{
    height: calc(var(--vh) * 20);
}

#title{
    display: flex;
    padding: 0.5rem 0;
    color: #fff;
}

#display{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #777;
}

#lastNumberSorted{
    font-size: 1.5rem;
    color: #333;
    font-weight: bold;
    margin: 0.8rem;
}

#numbers{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-height: calc(var(--vh) * 60);
}

.item{
    width: calc(100vw / 5);
    height: calc((var(--vh) * 60) / 15);
    border: 1px solid #efefef;
    display: flex;
    justify-content: center;
    align-items: center;
}

.numberSelect{
    animation: numberSelect 2s;
    background-color: rgb(16, 16, 129);
    color: white;
}

#button{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 1.2rem;
    background-color: #0ead68;
    border: none;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    position: fixed;
}

#options{
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}

.btnOpt{
    border: none;
    background-color: #eee;
    padding: 0.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    transition: 0.2s;
}

.btnOpt:hover{
    cursor: pointer;
    background-color: #ddd;
}

@keyframes numberSelect{
    from{
        background-color: rgb(128, 128, 221);
    }
    to{
        background-color: rgb(16, 16, 129);
    }
}

.d-none{
    display: none;
}