@keyframes scale-up-hor-center{
    0%{
        transform:scaleX(.4)
    }
    100%{
        transform:scaleX(1)
    }
}

@keyframes scale-up-hor-left{
    0%{
        transform:scaleX(.4);
        transform-origin:0 0
    }
    100%{
        transform:scaleX(1);
        transform-origin:0 0
    }
}

@keyframes scale-up-hor-right{
    0%{
        transform:scaleX(.4);
        transform-origin:100% 100%
    }
    100%{
        transform:scaleX(1);
        transform-origin:100% 100%
    }
}

.scale-up-hor-center{
    animation:scale-up-hor-center 1s cubic-bezier(.39,.575,.565,1.000) both
}

.scale-up-hor-left{
    animation:scale-up-hor-left 1s cubic-bezier(.39,.575,.565,1.000) both
}

.scale-up-hor-right{
    animation:scale-up-hor-right 1s cubic-bezier(.39,.575,.565,1.000) both
}

.grille{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 40px;
    margin: auto;
}

.taille-ecran{
    display: none;
}

.game {
    grid-column: 2;
    grid-row: 1;
    width: 600px;
}

.instruction{
    grid-column: 1;
    grid-row: 1;
    margin: auto;
    border: 3px outset #1C6EA4;
    border-radius: 20px;
    padding: 20px;
}

.tableau-score{
    grid-column: 3;
    margin: auto;
}

.ScorePerso{
    margin: auto;
    text-align: center;
    margin-bottom: 20px;
}

#place_1 td{
    background-color: gold !important;
    --bs-table-striped-bg: gold  !important;
    color : #000;
}

#place_2 td{
    background-color: silver !important;
    --bs-table-striped-bg: silver  !important;
    color : #000;
}

#place_3 td{
    background-color: #ad8a56 !important;
    --bs-table-striped-bg: #ad8a56  !important;
    color : #000;
}

.text-affichee{
    display: none;
}


.soundBtn{
    display : block;
    grid-row: 1;
    grid-column: 1;
}

.soundModeBtn {
    border : solid black 1px;
    border-radius : 50%;
    outline: none;
    background: none;
    padding : 5px;
    width: 40px !important;
    height: 40px;
    float: right;
}

/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */


  
  .icon {
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
  }
  
  .icon-offline {
    content: -webkit-image-set( url(/images/trex/default_100_percent/100-error-offline.png) 1x, url(/images/trex/default_200_percent/200-error-offline.png) 2x);
    position: relative;
  }
  
  .hidden {
    display: none;
  }
  
  
  /* Offline page */
  
  .offline .interstitial-wrapper {
    color: #2b2b2b;
    font-size: 1em;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 600px;
    padding-top: 100px;
    width: 100%;
  }
  
  .offline .runner-container {
    height: 150px;
    max-width: 600px;
    overflow: hidden;
    position: absolute;
    top: 35px;
    width: 44px;
  }
  
  .offline .runner-canvas {
    height: 150px;
    max-width: 600px;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 2;
  }
  
  .offline .controller {
    background: rgba(247, 247, 247, .1);
    height: 100vh;
    left: 0;
    position: absolute;
    top: 0;
    width: 100vw;
    z-index: 1;
  }
  
  #offline-resources {
    display: none;
  }
  
  @media (max-width: 420px) {
    .suggested-left > #control-buttons, .suggested-right > #control-buttons {
      float: none;
    }
    .snackbar {
      left: 0;
      bottom: 0;
      width: 100%;
      border-radius: 0;
    }
  }
  
  @media (max-height: 350px) {
    h1 {
      margin: 0 0 15px;
    }
    .icon-offline {
      margin: 0 0 10px;
    }
    .interstitial-wrapper {
      margin-top: 5%;
    }
    .nav-wrapper {
      margin-top: 30px;
    }
  }
  
  @media (min-width: 600px) and (max-width: 736px) and (orientation: landscape) {
    .offline .interstitial-wrapper {
      margin-left: 0;
      margin-right: 0;
    }
  }
  
  @media (min-width: 420px) and (max-width: 736px) and (min-height: 240px) and (max-height: 420px) and (orientation:landscape) {
    .interstitial-wrapper {
      margin-bottom: 100px;
    }
  }
  
  @media (min-height: 240px) and (orientation: landscape) {
    .offline .interstitial-wrapper {
      margin-bottom: 90px;
    }
    .icon-offline {
      margin-bottom: 20px;
    }
  }
  
  @media (max-height: 320px) and (orientation: landscape) {
    .icon-offline {
      margin-bottom: 0;
    }
    .offline .runner-container {
      top: 10px;
    }
  }
  
  @media (max-width: 240px) {
    .interstitial-wrapper {
      overflow: inherit;
      padding: 0 8px;
    }
  }
  
  .arcade-mode,
  .arcade-mode .runner-container,
  .arcade-mode .runner-canvas {
    image-rendering: pixelated;
    max-width: 100%;
    overflow: hidden;
  }
  
  .arcade-mode #buttons,
  .arcade-mode #main-content {
    opacity: 0;
    overflow: hidden;
  }
  
  .arcade-mode .interstitial-wrapper {
    /*height: 100vh;*/
    max-width: 100%;
    overflow: hidden;
  }
  
  .arcade-mode .runner-container {
    left: 0;
    margin: auto;
    right: 0;
    transform-origin: top center;
    transition: transform 250ms cubic-bezier(0.4, 0, 1, 1) 400ms;
    z-index: 2;
  }
  

@media screen and (max-width: 932px) {
    .text-cache, .instruction, .tableau-score, #ScorePerso{
        display: none;
    }
    .container-game {
        width: auto;
        margin: 0 auto;
    }
    .text-affichee{
        display: block;
    }

    .main-container{
        max-width: none !important;
    }

    .grille{
        display: block;
    }
}