body {
    font-family: monospace;
}

:root {
    --button-color: lightgray;
    --button-active-color: black;
    --button-active-text-color: white;
    --button-hover-background-color: grey;
    --button-hover-text-color: black;
}
#theButton {
    width: 100%;
    display: block;
    font-size: 12em;
    font: monospace;
    user-select: none;
}
.button:hover {
    background-color: grey;
    color: black;
}
.button:active {
    background-color: black;
    color: white;
}
#clickCount {
    font-size: 6em;
}
.buttonactive {
    background-color: black;
    color: white;
}
.invis {
    visibility: hidden;
}
.separator {
    height: 20px;
    background-color: inherit;
}

#numberdiv {
    display: flex;
    border: 1px solid black;
    background-color: lightgray;
    justify-content: center;
}
.built {
    display: flex;
    border: 1px solid black;
    width: 90%;
    justify-content: center;
    margin: 0 auto;
}
.feedback {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-size: inherit;
}
#feedbackdiv {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    background: #888888;
    width: 250px;
    min-height: 60px;
    max-height: 60px;
    align-items: center;
    border-radius: 8px;
    font-size: 1.5em;
    border: 3px solid white;
}
.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    height: 90vh;
}

.col {
    border: 1px solid #333;
    padding: 10px;
}
#floatingnumber {
    position: fixed;
    font-size: 2em;
    top: 20px;
    left: 20px;
    background-color: #4b4b4b;
    color: white;
    text-align: center;
    line-height: 60px;
    vertical-align: middle;
    width: 250px;
    min-height: 60px;
    max-height: 60px;
    border-radius: 8px;
    border: 3px solid red;
}
#statsmodal {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#settingsicon:hover {
    rotate: 120deg;
    transition: rotate 0.5s ease-in-out;
}

#settingsicon {
    transition: rotate 0.5s ease-in-out;
    width: 2em;
    height: 2em;
}

#statsicon:hover {
    transform: scale(1.08);
    transition: transform 0.5s;
}
#statsicon {
    transition: transform 0.5s;
    width: 2em;
    height: 2em;
}

#mainicon {
    width: 2em;
    height: 2em;
}

/* code from w3 schools */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.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: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

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

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

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

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}