:root {
    --size: 60%;
    --spin-duration: 7s;
    --white: #f0f0f0;
    --background: #0f162e;
    --lblue: #007bff;
}

body{
    background-color: var(--background);
    color: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    justify-content: center;
}



#inputs{
    width: 60%;
}

#wheel-container { position: relative; aspect-ratio: 1 / 1; width: var(--size); max-width: 100%; margin-inline: auto;
    margin-top: 3rem;
}

#input-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

canvas#wheel {
    width: 100%; height: 100%;
    transform: rotate(var(--deg, 0deg));
    transition: transform var(--spin-duration) cubic-bezier(.12,.65,.13,1.02);
    will-change: transform;
    border-radius: 50%;
}

.pointer {
    position: absolute;
    inset-inline: 0;
    top: -12px;
    margin-inline: auto;
    width: 0; height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 24px solid var(--white);
    transform: rotate(180deg);
    z-index: 2;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.8));
}

input{
    border: none;
    border-bottom: 1px outset var(--white);
    background: none;
    width: 50%;
    font-size: 1.25rem;
    line-height: 2rem;
    color: var(--white);
}

input:focus{
    border-bottom: 1px outset var(--lblue);
    outline: none;
}

.input {
    display: flex;
    justify-content: space-evenly;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.input:not(:last-child) {
    border-bottom: 1px outset rgba(240, 240, 240, 0.5);

}

button{
    border: none;
    border-radius: 0.5rem;
    background-color: var(--lblue);
    color: var(--white);
    min-width: min-content;

}


 #addButton, .removeButton{
    margin-top: 1rem;
    width: 15%;
    font-size: 1rem;
    line-height: 1.3rem;
    border-radius: 0.6rem;
}

 .removeButton{
     background-color: #980000;
 }

#spinButton{
    margin-top: auto;
    width: 25%;
    font-size: 1.3rem;
    line-height: 2rem;
    border-radius: 0.75rem;
}


@media screen and (max-width: 1280px) {
    body { grid-template-columns: 1fr;


}
    #spinButton{
        margin-top: 1rem;
    }

    :root {
        --size: 50%;
    }


}