* {
    font-family: Verdana
}

@media screen and (max-width:400px) {
    /* Bei jedem größeren Monitor kommen neue Regeln hinzu */
    

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

h1 {
    padding: 40px;
}

body {
    padding: 10px;
    background-color: #ffffff;
    background-image: radial-gradient(#d3d3d3 1.1px, #ffffff 1.1px);
    background-size: 22px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main {
    width: 90%;
    max-width: 500px;
}

#start #level {
    display: flex;
    justify-content:space-evenly;
    padding-top: 15px;
    padding-bottom: 15px;
}

#randomColor {
    width: 100%;
    height: 50px;
    display: none;
    border-radius: 2px;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.9) 0px 0px 0px 1px;
}
.difficulty {
    display: flex;
    justify-content: space-around;
    margin: 15px;
}

.colorDiv {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin: 5px;
    width: 120px;
    height: 90px;
    background-color: white;
    border-radius: 2px;
    box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.9) 0px 0px 0px 1px;
}

.colorDiv p {
    font-size: 0.45rem;
    margin: 0;
}

#status {
    display: flex;
    text-align: center;
    justify-content: space-between;
}

#game {
    max-width: 500px;
    min-width: 200px;
    display: none;
    margin: auto;
}

#results {
    width: 90%;
    margin: auto;
}

#level1div, #level2div, #level3div, #status, #results {
    display: none;
}

#status #time, #status #points {
    display: flex;
}

#status #time p, #status #points p {
    padding: 5px;
    font-weight: bold;
}

#level2div {
    padding: 10px 10px;
}

#level3div {
    flex-direction: row;
    align-items: center;
}

#level3div div {
    margin: 0px;
    display: flex;
    align-items: center;
}

#nextButton {
    margin: 15px;
}
#colorpicker {
    display: flex;
    align-items: center;
    justify-content:center
 }

td, tr {
    text-align: center;
}

button {

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    border-radius: 6px;
    border: none;
    background: #e4e4e4;
    box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.5), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.12);
    color: #8d8d8d;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

button:hover {
  box-shadow: inset 0px 0.8px 0px -0.25px rgba(255, 255, 255, 0.2), 0px 0.5px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 3.5px rgba(58, 108, 217, 0.5);
  outline: 0;
}

button:disabled {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    border-radius: 6px;
    border: none;

    background: #6E6D70;
    box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), inset 0px 0.5px 0.5px rgba(255, 255, 255, 0.5), 0px 0px 0px 0.5px rgba(0, 0, 0, 0.12);
    color: #DFDEDF;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}