#pauseDisabled {
    background: #94a2a8;
    display: none;
    cursor: default;
    /*width: 10%;*/
}
#stepDisabled {
     background: #94a2a8;
     display: none;
     cursor: default;
}
#pause {
    /*width: 10%;*/
}
#speed {
    color: rgba(232, 230, 227, 0.75);
    border: 2px solid #ffffff;
    background: #1C1D1F;
    padding: 10px 14px;
    width: 25%;
    display: table;
    margin: 0 auto;
}

#switchWrapper {
    /* color: white; */
    border: 2px solid rgba(232, 230, 227, 0.75);/* #ffffff; */
    /* background: #084969; */
    color: rgba(232, 230, 227, 0.75);
    background-color: #1C1D1F;
    padding: 10px 14px;
    /*width: 9%;*/
    display:inline-block;
    margin-bottom: 5px;
}
#switchWrapper span {
    vertical-align: middle;
}

#rules {
    margin-left: 15px;
    color: rgba(232, 230, 227, 0.75);
    border: 2px solid rgba(232, 230, 227, 0.75);
    /*background: #084969;*/
    background: #1C1D1F;
    padding: 9px 14px;
    position: relative;
}

#rules span {
    background: #1C1D1F;
    position: absolute;
    top: 100%; /* Position the span just below the parent container */
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease; /* Add transitions for opacity and visibility */
    border-radius: 5%;
    margin-top: 10px;
}

#rules:hover span {
  opacity: 1;
  visibility: visible;
}


.switch { /*The switch css comes from w3schools.com*/
    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; */ #4d4d4d;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    /* background-color: white; */
    background-color: rgba(232, 230, 227, 0.75);
    -webkit-transition: .4s;
    transition: .4s;
    }
input:checked + .slider {
    /* background-color: #0e7ab0; */ /*The interesting color*/
    background-color: #1C1D1F;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}