body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.selectlevel, .selectspeed, .select_accuracy{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.errorbtn, .startbtn{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.startbtn, .selectlevel button, .selectspeed button, .errorbtn button, .select_accuracybtn button{
    width: 10rem;
    height: 10rem;
    font-size: 2rem;
    border-radius: 10px;
    transition: 0.5s;
}

.startbtn:hover, .selectlevel button:hover, .selectspeed button:hover, .selectoperation button:hover, .end button:hover, .errorbtn button:hover, .select_accuracy button:hover{
    background-color: #555555;
    color: #ffffff;
    border-color: #00ff00;
    cursor:pointer;
}

.selectoperation{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 25rem;
    width: 25rem;
    gap: 2rem;
}

.selectoperation button{
    width: 11.5rem;
    height: 7rem;
    font-size: 5rem;
    border-radius: 10px;
    transition: 0.5s;
}

.battle_sol{
    display: grid;
    grid-template-columns: 3fr 1fr;
    width: 60vw;
    height: 8vh;
    gap: 1vw;
}

.battle_sol input{
    text-align: center;
    max-width: 50vw;
    font-size: 3rem;
    border-radius: 10px;
}

.battle_sol button{
    border-radius: 10px;
    transition: 0.5s;
    background-color: #4a4adc;
    color: white
}

.battle_sol button:hover{
    background-color: #0000aa;
}

.battle_ai progress {
    width: 30vw;
    height: 5vh;
    appearance: none; /*deaktivates standart design*/
    -webkit-appearance: none;
    border: none;
}

/* background */
.battle_ai progress::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 10px;
}

/* color of progress (Chromium/Safari) */
.battle_ai progress::-webkit-progress-value {
    background-color: var(--dynamic-color, #00ff00);
    border-radius: 10px;
    transition: 
        width var(--speed, 0s) linear, 
        background-color var(--speed, 0s) linear;
}

.end{
    color:#00ff00; /*TODO*/
    text-align: center;
}

.end button{
    height: 40vh;
    width: 40vw;
    border-radius: 10px;
}

.row{
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 5vw;
}



input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}