* {
    text-align: center;
    font-family: monospace;
}

body {
    background-color: #000;
}

p {
    color:white;
}

.slidecontainer {
    width: 20%;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1;
    background-color: rgba(51, 51, 51, 0.5);
    padding-bottom: 20px;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 90%;
    height: 8px;
    background: white;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    cursor: pointer;
    border-radius: 10px;
}
  
.slider:hover {
    opacity: 1;
}
  
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%; 
    background: #ffffff;
    cursor: pointer;
}
  
.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    opacity: 1;
}

.switch {
    opacity: 0.7;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 20px;
}

.switch:hover {
    opacity: 1;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

  /* The slider */
.slide-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
}

.slide-switch:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 0px;
    bottom: 0px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slide-switch:before {
    -webkit-transform: translateX(40px);
    -ms-transform: translateX(40px);
    transform: translateX(40px);
}

.slide-switch.round {
    border-radius: 20px;
}
  
.slide-switch.round:before {
    border-radius: 50%;
}

input:checked + .slide-switch {
    background: #FF416C;
    background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
    background: linear-gradient(to right, #FF4B2B, #FF416C);   
}
