#elem {
    background:radial-gradient(#19141b, #514755);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 500ms linear; 
    position: absolute;
    z-index: 100;
  }


  #wrapper{
      width:200px;
      height:60px;
      transform: translate(0%, -50%);
  }
  .circle{
      width:20px;
      height:20px;
      position: absolute;
      border-radius: 50%;
      background-color: #fff;
      left:15%;
      transform-origin: 50%;
      animation: circle .5s alternate infinite ease;
  }

  @keyframes circle{
      0%{
          top:60px;
          height:5px;
          border-radius: 50px 50px 25px 25px;
          transform: scaleX(1.7);
      }
      40%{
          height:20px;
          border-radius: 50%;
          transform: scaleX(1);
      }
      100%{
          top:0%;
      }
  }
  .circle:nth-child(2){
      left:45%;
      animation-delay: .2s;
  }
  .circle:nth-child(3){
      left:auto;
      right:15%;
      animation-delay: .3s;
  }
  .shadow{
      width:20px;
      height:4px;
      border-radius: 50%;
      background-color: rgba(0,0,0,.5);
      position: absolute;
      top:62px;
      transform-origin: 50%;
      z-index: -1;
      left:15%;
      filter: blur(1px);
      animation: shadow .5s alternate infinite ease;
  }

  @keyframes shadow{
      0%{
          transform: scaleX(1.5);
      }
      40%{
          transform: scaleX(1);
          opacity: .7;
      }
      100%{
          transform: scaleX(.2);
          opacity: .4;
      }
  }
  .shadow:nth-child(4){
      left: 45%;
      animation-delay: .2s
  }
  .shadow:nth-child(5){
      left:auto;
      right:15%;
      animation-delay: .3s;
  }
  #wrapper span{
      position: absolute;
      top:75px;
      font-family: 'Lato';
      font-size: 20px;
      letter-spacing: 12px;
      color: #fff;
  }

  #textelongloading{
    position: absolute;
    top: 60%;
    color: #FF1717;
    font-weight: bold;
    font-family: 'Lato';
    font-size: 20px;
    display: none;
  }

  #clickme{
    filter: invert();
    object-fit: contain;
    position: absolute;
    width: 10%;
    height: 10%;
    top: 20%;
    left: 35%;
    display: none;
  }

  #textebienvenue{
    display: none;
    color: #fff;
    z-index: 99;
    font-size: 120px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 900;
    margin-bottom: 50px;
    pointer-events: none;
    transform: scale(0.7);
    transition: transform .5s ease;
  }

  #textebienvenue2{
    display: none;
    color: #fff;
    z-index: 99;
    font-size: 120px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 900;
    margin-bottom: 50px;
    pointer-events: none;
    transform: scale(1);
    transition: transform 20s ease;
  }
  
  #loadingready{
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(0.01);
    transition: transform .5s ease;
    display: none;
  }

  #loadingready2{
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(0.3);
    transition: transform .5s ease;
    display: none;
  }

  
    @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
        #loadingready2, #loadingready{
            height: 40%;
            width: 120%;
        }

        #clickme{
          width: 20%;
          height: 20%;
          top:25%;
        }

        #textebienvenue, #textebienvenue2{
            font-size: 30px;
            margin-bottom: 50px;
        }
        
    }

  #loadingready2:hover{
    transform: scale(0.5);
  }

  #loadingready2:hover ~ #textebienvenue2{
    transform: scale(1.4);
  }

  @keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }

  /* width */
::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #888;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
