body {
    margin: 0;
    background-color: #0F080B;
    color: #fff;
    font-family: Monospace;
    font-size: 13px;
    line-height: 24px;
    overscroll-behavior: none;
}



/* Sidenav menu */
.sidenav {
  height: 100%;
  width: 250px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: -250px;
  background-color: pink;
  padding-top: 60px;
  transition: left 0.5s ease;
}

/* Sidenav menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: black;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: white;
}

.sidenav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* Active class */
.sidenav.active {
  left: 0;
  color: black;
}

/* Close btn */
.sidenav .close {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
}

/* Icône burger */
.burger-icon span {
  display: block;
  width: 35px;
  height: 5px;
  background-color: white;
  margin: 6px 0;
}










.cursor {
  width: 20px;
  height: 20px;
  border: 1px solid white;
  border-radius: 50%;
  position: absolute;
  transition-duration: 200ms;
  transition-timing-function: ease-out;
  animation: containerAnim .5s infinite alternate;
}


.cursor::after {
    content: "";
    width: 20px;
    height: 20px;
    position: absolute;
    border: 8px solid red;
    border-radius: 50%;
    opacity: .5;
    top: -1px;
    left: -1px;
    animation: cursorAnim2 .5s infinite alternate;
}


@keyframes cursorAnim {
    from {
        transform: scale(1);
    }
    to
    {
        transform: scale(.7);
    }
}

@keyframes cursorAnim2 {
    from {
        transform: scale(1);
    }
    to
    {
        transform: scale(.4);
    }
}


@keyframes cursorAnim2 {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(3);
    }
    100% {
           transform: scale(1);
           opacity: 0;
       }
}


.expand {
    animation: cursorAnim3 .5s forwards;
    border: 1px solid blue;
}







#logo {
    position:absolute;
    margin: 10em auto 0 auto;
    left: 0;
    right: 0;
    width: 35%;
    background: none;
    border: 0px solid blue;
    border-radius: 0px;
    padding: 15px;
    color: purple;
    font-size: 1.5em;
    cursor:pointer;
    outline:0;
}
@media screen and (max-width: 554px)
{
    #logo
    {
    position:absolute;
    margin: 11em auto 0 auto;
    left: 0;
    right: 0;
    width: 60%;
    background: none;
    border: 0px solid blue;
    border-radius: 0px;
    padding: 15px;
    color: purple;
    font-size: 1.5em;
    cursor:pointer;
    outline:0;
    }
}
@media screen and (max-height: 493px)
{
    #logo
    {
    position:absolute;
    margin: 2em auto 0 auto;
    left: 0;
    right: 0;
    width: 30%;
    background: none;
    border: 0px solid blue;
    border-radius: 0px;
    padding: 15px;
    color: purple;
    font-size: 1.5em;
    cursor:pointer;
    outline:0;
    }
}














a {
    color: #ff0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    text-transform: uppercase;
}



#info {
    position: absolute;
    top: 0px;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
    pointer-events: auto;
}

.lil-gui {
    z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
    .lil-gui.root {
        right: auto;
        top: auto;
        max-height: 50%;
        max-width: 80%;
        bottom: 0;
        left: 0;
    }
}

#overlay {
    position: absolute;
    font-size: 16px;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0,0,0,0.7);
}

    #overlay button {
        background: transparent;
        border: 0;
        border: 1px solid rgb(255, 255, 255);
        border-radius: 4px;
        color: #ffffff;
        padding: 12px 18px;
        text-transform: uppercase;
        cursor: pointer;
    }

#notSupported {
    width: 50%;
    margin: auto;
    background-color: #f00;
    margin-top: 20px;
    padding: 10px;
}



#player {
   position:absolute;
   cursor:pointer;
   z-index:1;
}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  #player {
      margin: 16em;
      margin-left: 10em;
      margin-top: 10.8em;
      background-color: none;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  #player {margin: 3em;
      margin-left: 0em;
      margin-top: 0.8em;
      background-color: none;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  #player {margin: 2em;
      margin-left: 0em;
      margin-top: 1em;
      background-color: none;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  #player { margin: 12em;
              margin-left: 10em;
              margin-top: 11em;
    background-color: none;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  #player {margin: 12em;
      margin-left: 13em;
      margin-top: 11em;
      background-color: none;
  }
}
