
.lengths {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.2em 0em;
    margin: 0.3em auto;
    background-color: var(--bg-b);
    border-radius: 0.2em;
}

.lengths input{
    transition: all 0.2s;
    width: 4em;
    margin: 0.4em 0.4em 0.2em 0.4em;
    background-color: var(--clear);
    border: none;
    border-bottom: solid 0.09em var(--fg-a);
    text-align: center;
    color: var(--fg-a);
    outline: none;
    font-size: 100%;
}

.lengths input:focus{
    border-bottom: solid 0.09em var(--accent);
}

.lengths .removebutton{
    color: var(--fg-a);
    display: flex;
    position: relative;
    top: -0.7em;
    right: -0.5em;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    background-color: var(--bg2-a);
    width: 1.2em;
    height: 1.2em;
    padding: 0.4em 0.4em 0.4em .4em;
    border-radius: 3em;
    font-size: 0.75em;
    font-weight: 700;
}

#lengthsinner {
    display: flex;
    flex-direction: column;
}

.lengths .removebutton:active{
    transform: scale(1.2);
}

.lengths select{
    transition: all 0.2s;
    background: transparent;
    color: var(--fg-a);
    background-color: var(--bg2-a);
    border: none;
    border-radius: 0.2em;
    font-size: 80%;
    padding: 0em;
    margin: auto;
    width: auto;
    height: 2em;
    text-align: center;
}

.lengths select:focus{
    border-color: var(--accent);
}

.addlength {
    margin: 1.5vh auto auto auto;    
}
