.w3-theme-l6 {
    color: #000 !important;
    background-color: #999999 !important;
    border-radius: 10px;
}

.w3-theme-l4 {
    color: #fff !important;
    background-color: #666666 !important;
    border-radius: 10px;
}

.w3-theme-l1 {
    color: #fff !important;
    background-color: #333333 !important;
    border-radius: 10px;
}

button {
    padding: 10px;
    border: #333333 3px solid;
    border-radius: 10px;
    background: #333333;
    color: #fff
}

button:hover {
    background: #444444;
}

button:active {
    background: #222222;
}

#install {
    padding: 10px;
    border: #666666 3px solid;
    border-radius: 10px;
    background: #666666;
    color: #fff
}

#install:hover {
    background: #444444;
}

#install:active {
    background: #222222;
}

input {
    margin: 10px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 25px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #333333;
}

input:focus + .slider {
    box-shadow: 0 0 1px #333333;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.tooltip {
    position: fixed;
    border-radius: 0.5rem;
    padding: 15px;
    color: #fff !important;
    background-color: #333333dd !important
}

#app {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

#preview {
    position: relative;
    cursor: pointer;
    z-index: 2;
}

#dice-box {
    position: relative;
    justify-self: center;
    box-sizing: border-box;
    width: 640px;
    height: 300px;
    background: transparent;
    background-size: cover;
}

#dice-box canvas {
    width: 100%;
    height: 100%;
}

.checkbox {
    position: relative;
    padding-left: 50px;
    margin-bottom: 12px;
    margin-left: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    margin-left: 25px;
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: #eee;
}

.checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
    background-color: #333333;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#snackbar-container {
    visibility: hidden;
    position: fixed;
    width: 100%;
    z-index: 1;
    bottom: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#snackbar {
    visibility: hidden;
    text-align: center;
    border-radius: 0.5rem;
    padding: 15px;
    color: #fff !important;
    border: #fff 5px solid;
    background-color: #333333dd !important
}

#snackbar-container.show {
    visibility: visible;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
