html {
    background: rgb(0,100,145);
}
#cover {
    background: rgba(0,0,0,0.57);
    margin: 0;
    position: absolute;
    top:0;
    left: 0;
    width: 100vw;
    height: 100vh;
}
#com {
    display: none;
}
body {
    margin: 0;
    display: none;
    width: 100vw;
    height: 100vh;
    text-align: center;
    user-select: none;
    background-image: linear-gradient(to top right,rgb(0,100,145) 0%, rgb(0,100,145) 25%, rgb(227,24,55) 75%, rgb(227,24,25) 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}
main {
    display: flex;
    width: 100vw;
    min-height: 30vh;
    max-height: 40vh;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
}
#hidden {
    display: none;
}
h1 {
    color: white;
}
.skuter {
    align-self: center;
    cursor: pointer;
    padding: 20px;
    box-sizing: border-box;
    border:4px solid black;
    background: #2a215e;
    transition: 0.2s ease-in-out;
    user-select: none;
    margin: 5px;
    color: rgb(220,220,220);
}
.skuter:active {
    transform: scale(1.1,1.1);
}
input[type=number] {
    min-width: 100px;
}
.selected {
    background: darkgreen;
  color:white;
  font-weight: 500;
}
#komunikatError {
    color: rgb(227,24,55);
    margin-bottom: 20px;
}
#komunikatWait {
    color: gray;
    margin-bottom: 20px;
}
#komunikatPositive {
    color: gray;
    margin-bottom: 20px;
}
.disabled, .offDisabled {
    position: relative;
}
.disabled::after, .offDisabled::after {
    opacity:0;
    display: flex;
    justify-content: center;
    position: absolute;
    padding: 1%;
    box-sizing: border-box;
    padding-top: 30px;
    box-sizing: border-box;
    top: 0px;
    left: 0px;
    width: 100%;
    height:100%;
    text-align: center;
    font-weight: 500;
    transition: 0.2s ease-in-out;
    }
.disabled::after {
    content: "W użytku";
    background-color: orange;
    color: white;
}
.offDisabled::after {
    content: "Wyłączony";
    background-color: rgb(0,0,0);
    color: white;
}
.disabled:hover::after, .offDisabled:hover:after {
    opacity: 0.8;
}
input {
    text-align: center;
}
.com {
    margin-top: 10vh;
    width: 100vw;
    display: none;
    font-family:system-ui;color: white;
    font-size:25px;
    z-index: 2;
}
.button {
    cursor: pointer;
    border: 2px solid white;
    color: white;
    font-weight: 700;
    font-size: 0.6em;
    transition: 0.3s ease-in-out;
}
.button p {
    transition: 0.3s ease-in-out;
} 
.button:hover p {
    transform:scale(0.9,0.9);
}
.button:hover{
    background: rgb(0,100,145);
    font-weight:800;
}
.button:active {
    background:rgb(227,24,55);
}
@media all and (min-width: 1150px) {
    .button {
        position: absolute;
        top:10px;
        width: 70px;
    }
    #main {
        right: 435px;
    }
    #root {
        right: 180px;
    }
    #settings {
        right: 95px;
    }
    #logout {
        right: 10px;
    }
    #manager {
        right: 265px;
    }
    #tankowanie {
        right: 350px;
    }
}
@media all and (max-width: 1150px) {
    .button {
        width: 50vw;
        margin-left: auto;
        margin-right:auto;
        margin-top: 3px;
        min-width: 200px;
    }
}
input {
    text-align: center;
    margin: 3px;
    font-size: 15px;
    font-weight: 700;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
}