/* In Safari werden Elementen schon gleich ein Stil zugeordnet, dies setzt das zurück */

input[type="text"],
input[type="button"] {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
}

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


/* for chrome */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* for mozilla */

input[type=number] {
    -moz-appearance: textfield;
}


/***********************
     ***********************
     ****** Buttons ********
     ***********************
     ***********************/

.toggleButton {
    width: 100%;
    height: 7vh;
    background-color: lightgray;
    color: black;
    text-align: left;
    font-size: clamp(1rem, 3vw, 2rem);
    padding-left: 1vw;
    border-radius: var(--radius);
    font-weight: bold;
}

.submitButton {
    height: 5vh;
    background-color: var(--accentColor);
    color: white;
    border-radius: var(--radius);
    width: 100%;
    margin-top: 2vh;
    font-weight: bold;
    font-size: clamp(1rem, 3vw, 2rem);
}

.submitButton:disabled {
    background-color: lightgray;
}

.freigabeButton {
    height: 4vw;
    width: 50%;
    border-radius: var(--radius) !important;
    background-color: white;
    color: var(--accentColor);
    font-weight: bold;
    font-size: 2vh;
    margin-top: 1vh;
}

.logInButton {
    height: 3vw;
    width: 50%;
    padding-left: 1vw;
    padding-right: 1vw;
    border-radius: var(--radius) !important;
    background-color: white;
    font-weight: bold;
    margin-top: 1vh;
}

.logInButton:visited {
    color: var(--accentColor);
}

.logInButton:link {
    color: var(--accentColor);
}

.submitArena {
    height: 5vh;
    background-color: var(--accentColor);
    color: white;
    border-radius: var(--radius);
    width: 100%;
    margin-top: 2vh;
    margin-bottom: 2vh;
    font-weight: bold;
    font-size: 3vh;
}

input[type="file"] {
    width: 100%;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
}

.delete {
    border-radius: var(--radius);
    background-color: lightsalmon;
    color: white !important;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: bold;
    padding-left: 2vw;
    padding-right: 2vw;
    margin-top: 2vh;
}

.clickHere {
    /*the boxes*/
    width: clamp(4rem, 50%, 50rem);
    margin-right: auto;
    margin-left: auto;
    height: 15vh;
    margin-top: 1vh;
    margin-bottom: 3vh;
    border-radius: 50px;
    font-weight: 900;
    font-size: clamp(1.5rem, 1vw, 1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--accentColor);
    text-align: center;
}


/***********************
     ***********************
     ****** Select *********
     ***********************
     ***********************/

select {
    width: 100%;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    border-radius: var(--radius);
    border: thin var(--accentColor) solid;
    color: black;
    padding-left: 1vw;
}

#runde {
    width: 100%;
}

#schiedsrichtername {
    width: 25vw;
}


/***********************
     ***********************
     ******** Text *********
     ***********************
     ***********************/

#arenaName {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    width: 100%;
    padding-left: 0.5vw;
}

.arenaAnzahl {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    text-align: center;
    background-color: rgb(250, 248, 248);
    width: 100%;
}

.multInput {
    height: 3vh;
}

#teamName {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    width: 100%;
    padding-left: 0.5vw;
}


/***********************
     ***********************
     *** Eigene Elemente ***
     ***********************
     ***********************/


/* PlusMinus Element */

.incDecElement {
    display: grid;
    width: clamp(2.5rem, 10vw, 10rem);
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    margin-left: auto;
    margin-right: auto;
}

.incDecElementTop {
    grid-column-end: span 2;
    border-top-right-radius: var(--radius);
    border-top-left-radius: var(--radius);
}

.valueFields {
    font-size: clamp(1rem, 3vw, 2rem);
    width: clamp(2.5rem, 10vw, 10rem);
    height: clamp(1.25rem, 5vw, 5rem);
    text-align: center;
    border-left: 2px var(--accentColor) solid;
    border-right: 2px var(--accentColor) solid;
    border-radius: 0px;
}

.incDecElementRight {
    border-bottom-right-radius: var(--radius);
    width: clamp(1.25rem, 5vw, 5rem);
    height: clamp(1.25rem, 5vw, 5rem);
    font-size: clamp(1rem, 3vw, 2rem);
    text-align: normal;
    color: black;
    -webkit-border-radius: 0px;
    border: 2px var(--accentColor) solid;
    padding: 0px;
    margin: 0px;
    /*TODO deprecated?*/
    -webkit-appearance: none;
    background-color: rgb(240, 238, 238);
    color: var(--textColor);
}

.incDecElementLeft {
    border-bottom-left-radius: var(--radius);
    width: clamp(1.25rem, 5vw, 5rem);
    height: clamp(1.25rem, 5vw, 5rem);
    font-size: clamp(1rem, 3vw, 2rem);
    text-align: normal;
    color: black;
    -webkit-border-radius: 0px;
    border: 2px var(--accentColor) solid;
    padding: 0px;
    margin: 0px;
    /*TODO deprecated?*/
    -webkit-appearance: none;
    background-color: rgb(240, 238, 238);
    color: var(--textColor);
}

.incDecElementLeft:disabled {
    color: lightgray;
}

.incDecElementRight:disabled {
    color: lightgray;
}


/***********************
     ******** Misc *********
     ***********************/

#bemerkungen {
    width: 25vw;
    border-radius: var(--radius);
    padding-top: 5px !important;
    padding-left: 2px;
    padding-bottom: 100%;
    overflow-wrap: normal;
    font-size: clamp(1.25rem, 2vw, 2rem);
}

.time {
    width: 8vw;
    height: 100%;
    vertical-align: middle;
    text-align: center;
    height: 5vh;
    font-size: clamp(1rem, 3vw, 2rem);
}

input[type="checkbox"] {
    width: clamp(2.5rem, 5vw, 3rem);
    height: clamp(2.5rem, 5vw, 3rem);
    vertical-align: middle;
}