body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 253, 250);
}
* {
    -webkit-user-select: none; /* Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}
*:focus {
    outline: none;
}
#inf {
    font-family: 'Courier New', Courier, monospace;
    font-size: smaller;
}
#wooddiv {
    position: absolute;
    z-index: -2;
    width: 100%;
}
#woodtexture {
    width: 2900px;
}

#stickerdiv {
    position: absolute;
    transform: scale(0.5) translate(1200px, 500px);
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#stickerdiv::after{
    position: absolute;
    content: 'go back';
    font-size: xx-large;
    pointer-events: none;
        user-select: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -o-user-select: none;

}




/* tone-content {
    position: absolute;
    width: 10px;
    height: 10px;
    transform: translate(-28px, -45px) scale(0.8);
    opacity: 0;
}
tone-play-toggle {
    width: 10px;
    height: 10px;
} */

/*desk elements*/
#notes{
    position: absolute;
    transform: translate(330px) rotate(5deg);
    width: 250px;
    height: 350px;
    background-color: rgb(255, 254, 252);
    z-index: 0;
    transition: 1s ease;
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.541);
}
#lines {
    margin-top: 10px;
    height: 100%;
    width: 100%;
    z-index: 0;
    background-image: repeating-linear-gradient(rgb(255, 254, 252) 0px, rgb(255, 254, 252) 24px, steelblue 25px, rgb(255, 254, 252) 26px);
}
#notesTxt {
    position: absolute;
    top: 10px;
    left: 55px;
    bottom: 10px;
    right: 10px;
    line-height: 25px;
    font-family: 'Zeyada', cursive;
    font-size: large;
    overflow: hidden;
    overflow-wrap: break-word;
    outline: none;
  }
#notes::before {
    content: '';
    position: absolute;
    left: 45px;
    height: 100%;
    width: 2px;
    background: rgba(255,0,0,0.4);
  }
#penshadow {
    cursor: pointer;
    position: absolute;
    width: 20px;
    height: 250px;
    transform: translate(-520px) rotate(-7deg);
    background-color: rgba(0, 0, 0, 0.541);
    box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.541);
    border-radius: 50%;
}
#pen {
    transform: translate(-55px, -9px);
    width: 120px;
}
#lamp {
    position: absolute;
    transform: translate(-520px, -300px) rotate(-15deg) scale(0.8);
    filter: hue-rotate(100deg);
    z-index: 7;
}
#lampshadow {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.541);
    transform: translate(-520px, -300px);
    border-radius: 50%;
    filter: blur(10px);
}
#lamplightdirect {
    display: none;
    position: absolute;
    width: 150px;
    height: 120px;
    border-radius: 50%;
    background-color: rgb(255, 240, 180);
    z-index: 5;
    transform: translate(-480px, -250px) rotate(-40deg);
    filter: blur(15px);
    opacity: 0.3;
}
#lamplight {
    display: none;
    position: absolute;
    width: 500px;
    height: 700px;
    border-radius: 50%;
    background-color: cornsilk;
    z-index: 5;
    transform: translate(-270px, 0px) rotate(-40deg);
    opacity: 0.05;
    filter: blur(10px);
}
/*desk elements end*/

.gridcontainer {
    background: linear-gradient(107.83deg, #dfe0e9 1.91%, #d1d2dd 97.76%);
  box-sizing: border-box;
  box-shadow: inset 2px 2px 4px #ededf4, inset -2px -2px 4px #bfc1d484, 0px 15px 0px 0px #b9bbc7,  20px 37px 10px rgba(0, 0, 0, 0.352);
  border-radius: 20px;
  padding: 25px;
  border: 2px solid #bdbfce;
  display: flex;
  justify-content: space-around;
  margin: 5%;
  transform: scale(0.8);
  z-index: 1;
}

.grid {
    background-color: black;
    display: grid;

    /*justify-content: space-between;
    align-content: space-between;*/
    grid-template-columns: repeat(15, 68px);
    grid-template-rows: repeat(7, 68px);
    border-radius: 10px;
    padding: 1px;
}
.base {
    border: 2px solid black;
    border-radius: 8px;
    background-color: #dfe0e9;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 7px;
}
.screen {
    border: 2px solid black;
    border-radius: 8px;
    background-color: rgb(26, 26, 26);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: inset -1px -1px 20px #dbdceb03, inset 1px 1px 20px #dbdceb03;
}
/* .screen:after {
    content: '';
    width: 37%;
    height: 60px;
    border-radius: 5px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.086) 0%, rgba(255, 255, 255, 0) 55%);
    position: absolute;
    overflow: hidden; 
  } */

/*.sq {
    width: 65px;
    height: 65px;
}*/

/*VOLUME VOLUME VOLUME VOLUME VOLUME*/
/*faire un mini ecran qui precise la value de la range*/
.ranges {
    -webkit-appearance: none;
    background: transparent;
    appearance: none;
    position: relative;
    width: 280px;
    transform: rotate(-90deg);
    margin: -125px;
}
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
  }
input[type="range"]:active {
    cursor: grabbing;
}

.ranges::-webkit-slider-thumb {
    -webkit-appearance: none;
    cursor: ns-resize;
    width: 20px;
    height:10px;
    transform: translateY(-2px);
    border: 1px solid #ffffff30;
    border-radius: 7px;
    background: linear-gradient(45deg, #c9cad2, #eff0f9);
    box-shadow:  -1px 1px 2px #bebec6, -1px 1px 2px #ffffff76, -5px 0px 5px -3px rgba(0,0,0,0.46);
}
/* Firefox */
.ranges::-moz-range-thumb {
    cursor: ns-resize;
    width: 20px;
    height:10px;
    transform: translateY(-2px);
    border: 1px solid #ffffff30;
    border-radius: 7px;
    background: linear-gradient(45deg, #c9cad2, #eff0f9);
    box-shadow:  -1px 1px 2px #bebec6, -1px 1px 2px #ffffff76, -5px 0px 5px -3px rgba(0,0,0,0.46);
}

.ranges::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 7px;
    border-radius: 5px;
    background: #dfe0e9;
    box-shadow: inset 4px 4px 10px #ababb4,inset -4px -4px 10px #ffffff, 5px 5px 14px #c0c1c86a,
    -5px -5px 14px #feffff7c;
}
/* Firefox */

.ranges::-moz-range-track {
    height: 7px;
    border-radius: 5px;
    background: #dfe0e9;
    box-shadow: inset 4px 4px 10px #ababb4,inset -4px -4px 10px #ffffff, 5px 5px 14px #c0c1c8,
    -5px -5px 14px #feffff;
}

[id^=volindicator] {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: grey;
    margin: 3px;
    transition: 0.3s ease;
}
.volindicatorlight {
    background-color: rgb(137, 255, 82)!important;
    box-shadow: 0px 0px 12px rgb(143, 255, 91);
}
.volindicatorlightred {
    background-color: rgb(255, 82, 82)!important;
    box-shadow: 0px 0px 12px rgb(255, 91, 91);
}
/*VOLUME VOLUME VOLUME VOLUME VOLUME end*/
/*PROGRESS BAR*/
[id$=Time] {
    margin: 12px;
    font-family: 'Courier New', Courier, monospace;
}
#progress {
    appearance: none;
    background: transparent;
    width: 260px;
}
#progress::-moz-range-thumb {
    transform: translateY(10px);
    width: 2px;
    height: 30px;
    border: none;
    cursor: ew-resize;
}
#progress::-webkit-slider-thumb {
-webkit-appearance: none;
    cursor: ew-resize;
    transform: translateY(-2px);
    width: 2px;
    height: 30px;
    background-color: #FFFFFF;
}
#progress::-moz-range-track {
    background-color: #FFFFFF;
}
#progress::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 2px;
    background-color: #FFFFFF;
}
#progress::-moz-range-progress {
    background-color: rgb(0, 255, 110);
}

/*PROGRESS BAR*/
#cutoffBtn {
    color: blue;
}
#qBtn {
    color: blueviolet;
}
#pitchBtn {
    color: orangered;
}

#songtitle {
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
    transform: translateY(150px);
}
#fade {
    position: absolute;
    transform: translateY(120px);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.673) 0%, rgba(255,255,255,0) 100%);
    width: 340px;
    height: 100px;
}
#prevcontrol {
    transform: scaleX(-1); 
}
#leftcontrol {
    transform: scaleX(-1);
}
button {
    cursor: pointer;
}
.button {
    border: 1px solid #ffffff30;
    border-radius: 100%;
    background: #dfe0e9;
    box-shadow:  7px 7px 15px #bebec6, -4px -4px 10px #ffffff76;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.button:active, .active {
    border: 1px solid #ffffff30;
    border-radius: 100%;
    background: #dfe0e9;
    box-shadow:  4px 3px 12px #bebec6, -4px -4px 10px #ffffff76, inset 7px 7px 15px #bebec6aa, inset -4px -4px 10px #ffffff76;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.likeBtn {
    position: absolute;
    transform: translate(-50px, -8px);
    width: 45px;
    height: 120%;
    font-size: x-large;
    z-index: 5;
    opacity: 0;
    cursor: cell;
}
.likeLabel {
    position: absolute;
    transform: translate(165px, -48px);
    width: 30px;
    height: 100%;
    font-size: xx-large;
    color: white;
    background-color: transparent;
    border: none;
}
#videb {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: stretch;
}
.playlistmanager {
    background-color: rgba(0, 0, 0, 0.482);
    object-fit: cover;
    width: 161px;
    height: 0px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    transform: translateY(-16px);
    transition: 1s ease;
    margin-bottom: -18px;
}
.show {
    height: 400px;
}
.playlistbtn {
    width: 100%;
    height: 100%;
    background-color: inherit;
    border: none;
    color: white;
}

ul {
    list-style: none;
    width: 190px;
    overflow:hidden; 
    overflow-y:scroll;
}
li {
    color: white;
    width: 206px;
    height: 50px;
    transform: translateX(-45px);
    text-align: center;
    border: none;
}
li:hover {
    border: none;
    background-color: rgba(0, 0, 0, 0.36);
}
/* scrollbar width */
::-webkit-scrollbar {
    width: 8px;
  }
  
  /* scrollbar Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* scrollbar Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  /* scrollbar Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
canvas {
    width: 400px;
    height: 150px;
    color: white;
}

#speaker {
    background-color: grey;
    background-image: url(imgs/speaker_woofer.jpg);
    background-size: cover;
    transform: scale(1.2);
    width: 150px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.02s;
}
#speakerflat {
    width: 70px;
    height: 70px;
    background-color: rgb(105, 105, 105);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.02s;
}
#speakercenter {
    width: 30px;
    height: 30px;
    background-color: rgb(55, 55, 55);
    border-radius: 50%;
    transition: 0.02s;
}
.fltr { 
    width: 150%;
    transform: rotate(-90deg);
}
#pitchrange {
    width: 363%; 
}

#burgercont {
    grid-area: 1 / 7 / 1 / 10;
}
#videb {
    grid-area: 2 / 7 / 6 / 10;
    /* background-image: url(imgs/fire2.gif); */
    background-size: cover;
    background-position: 50%;
}
#volcont {
    grid-area: 1 / 1 / 7 / 1;
}
#album {
    grid-area: 1 / 2 / 6 / 7;
}
#albumimg{
    max-width:100%;
    max-width:100%;
}
#prev {
    grid-area: 6 / 2 / 7 / 2;
}
#left {
    grid-area: 6 / 3 / 7 / 3;
}
#play {
    grid-area: 6 / 4 / 7 / 4;
}
#right {
    grid-area: 6 / 5 / 7 / 5;
}
#next {
    grid-area: 6 / 6 / 7 / 6;
}
#videc {
    grid-area: 7 / 1 / 8 / 1;
}
#barcont {
    grid-area: 7 / 2 / 8 / 7;
}
#shuffle {
    grid-area: 6 / 7 / 7 / 7;
}
#loop {
    grid-area: 6 / 8 / 7 / 8;
}
#muteall {
    grid-area: 6 / 9 / 7 / 9;
}
#vided {
    grid-area: 7 / 7 / 8 / 7;
}
#videe {
    grid-area: 7 / 8 / 8 / 8;
}
#videf {
    grid-area: 7 / 9 / 8 / 9;
}
#infos {
    grid-area: 6 / 10 / 7 / 16;
}

#visualizer {
    grid-area: 7 / 10 / 8 / 16;
}
#hpfreqcont {
    grid-area: 2 / 10 / 4 / 11;
}
#hpQcont {
    grid-area: 2 / 11 / 4 / 12;
}
#lpfreqcont {
    grid-area: 4 / 10 / 6 / 11;
}
#lpQcont {
    grid-area: 4 / 11 / 6 / 12;
}
#pitchcont {
    grid-area: 2 / 12 / 6 / 13;
}
#speakercont {
    grid-area: 1 / 13 / 4 / 16;
}
#gritcont {
    grid-area: 4 / 13 / 6 / 16;
}
@font-face {
    font-family: 'deadwax_demoregular';
    src: url('deadwax_demo-webfont.woff2') format('woff2'),
         url('deadwax_demo-webfont.woff') format('woff');

}
#gritmodescreen {
    grid-area: 6 / 10 / 7 / 16;
    width: 100%;
    height: 100%;
    z-index: 4;
    background-color: rgb(26, 26, 26);
    opacity: 0;
}
#gritmodetext {
    grid-area: 6 / 10 / 7 / 16;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 70px;
    z-index: 5;
    color: red;
    border-radius: 10px ;
    opacity: 0;
    font-family: 'deadwax_demoregular';
    font-size: xx-large;
    animation: tilt-shaking  0.35s infinite;
}
#overlay {
    position: absolute;
    margin-bottom: -9px ;
    width: 50px;
    height: 60px;
    z-index: 6;
}
@keyframes tilt-shaking {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    50% { transform: rotate(0eg); }
    75% { transform: rotate(-2deg); }
    100% { transform: rotate(0deg); }
  }
#switch {
    position: relative;
    transform: translate(-17px, -20px);
}
#gritmode {
    position: absolute;
    appearance: none;
    -webkit-appearance: none;
    margin: 10px;
    width: 15px;
    height: 15px;
    position: absolute;

    background: -webkit-radial-gradient(top, #919191, #242424);
    background: -moz-radial-gradient(top, #919191, #242424);
    background: radial-gradient(to bottom, #919191, #242424);
    z-index: 4;
    border-radius: 50%;
    transition: 0.15s ease;
    transform: translateY(23px);
}
.shadow {
    position: absolute;
    background-color: rgb(0, 0, 0);
    
    box-shadow: 0px 0px 5px 5px #000000;
    width: 3px;
    border-radius: 50%;
    height: 18px;
    z-index: 2;
    transform: translate(16px, 35px);
    opacity: 20%;
    transition: 0.15s ease;

}
#gritmode:checked {
    transform: translateY(-10px);
}
#gritmode:checked + .side{
    clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%);
    transform: translate(10px, 8px);
}
#gritmode:checked ~ .shadow {
    transform: translate(16px, 15px);
}
.side {
    position: absolute;
    background: -webkit-linear-gradient(left, #CACACA, #5B5B5B);
    background: -moz-linear-gradient(left, #CACACA, #5B5B5B);
    background: linear-gradient(to right, #CACACA, #5B5B5B);

    width: 15px;
    height: 17px;
    transform: translate(10px, 25px);
    
    z-index: 3;
    
    clip-path: polygon(0 100%, 100% 100%, 70% 0, 30% 0);
    transition: 0.15s ease;
    transform-origin: bottom;
    border-radius: 10px;
}
#bom {
    position: absolute;
    height: 17px;
    width: 17px;

    background: -webkit-radial-gradient(top, #CBCBCB, #5B5B5B);
    background: -moz-radial-gradient(top, #CBCBCB, #5B5B5B);
    background: radial-gradient(to bottom, #CBCBCB, #5B5B5B);
    transform: translate(9.2px, 16px);
    z-index: 1;
    border-radius: 50%;
}
.outer {
    z-index: 0;
    position: absolute;
    background-color: #191919;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 3px solid rgb(56, 56, 56);
    transform: translate(5.37px, 12px);
}








