@font-face {
      font-family: 'maPolice';
      src: url('https://kotsopot.be/fonts/TT Hoves Pro Trial Medium.ttf') format('truetype');
    }

@font-face {
      font-family: 'goFundMe';
      src: url('https://kotsopot.be/fonts/gofundme.ttf') format('truetype');
    }
@font-face {
      font-family: 'guindaille';
      src: url('https://kotsopot.be/fonts/guindaille.otf') format('truetype');
    }


html, body { 
      overscroll-behavior-x: none;
      overflow: hidden; 
      overflow-x: hidden;
      touch-action: manipulation;
      font-family: Arial, sans-serif;
      height: 100%;
      margin: 0;
      padding: 0;
    }

body {
  touch-action: pan-x pan-y;
/*  background-image: linear-gradient(to bottom, #ffbf0d, #fcd366); /*#f8ecd3);*/
  background-image: linear-gradient(to bottom, #101010, #101010);
  background-size: 200% 100vh; /* Adjust size to cover viewport height */
  background-repeat: repeat-x;

    overflow: hidden;
}

.disable-text-selection{
   -ms-user-select:none;
   -moz-user-select:none;
   -webkit-user-select:none;
   -webkit-touch-callout: none;
   -khtml-user-select: none;
    user-select:none;
}

body.transition-bg::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--orientation), var(--gradient-start), var(--gradient-end));
  background-size: cover;
  opacity: var(--opacity);
  z-index: -1;
}

#action_text {
  font-size: 75%;
  transition: all 2s ease-in-out;
}


#zone_text {
  font-size: 75%;
  transition: all 2s ease-in-out;
}


h1 {
  font-size: 60px;
  text-align: center;
  margin-top: 30px;
}

p {
  font-family: 'maPolice', sans-serif;
}

.text-contrast {
  color: #333;
  visibility:visible;
/*  text-shadow: 0px 3px rgba(200, 200, 200, 0.7);*/
}


.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  background-image: url('https://kotsopot.be/imgs/backgrounds/light_background.gif'); 
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
  border: solid 6px #333;
  z-index: 9999;
  visibility: hidden;
  overflow: hidden; /* Hide any potential content overflow */
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  width: auto;
  max-height: 80vh; /* Limit the content height to 80% of the viewport height */
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px; /* Add some padding to the content */
  z-index:999;
}

.popup img {
  max-width: 100%;
  max-height:100%;
  height: auto;
  object-fit: contain;
}

div{
  touch-action: pan-x pan-y;
}

#ok{
  translateX(var(--translate));
}

div::-webkit-scrollbar {
  display: none; /* Hides the scrollbar on WebKit-based browsers */
}

div.scroll::-webkit-scrollbar {
    display: auto;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  overflow: auto;
}

.grid-container {
  width:100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal-width columns */
  grid-template-rows: repeat(10, 1fr); /* 2 equal-height rows */
  grid-gap: 1px; /* gap between items */
  overflow: auto; /* enable overflow with scrollbars */
  max-width: 100%; /* example width, adjust as needed */
  max-height: 100%; /* example height, adjust as needed */
  box-sizing: border-box;
}

.gif-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100; /* Ensure the container is placed below the other content */
  pointer-events: none; /* Allow clicks to pass through the GIF container */
  overflow:hidden;
  animation-name: run_then_disappear;	
  animation-duration: 25s;
  animation-iteration-count: infinite;
}

.gif-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gif-container-widthfit {
  width: auto;
  height:auto;
  z-index: 100; /* Ensure the container is placed below the other content */
  pointer-events: none; /* Allow clicks to pass through the GIF container */
  overflow:hidden;
}

.gif-container-widthfit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#menu, #game, #timer{
  touch-action: pan-x pan-y;
  font-family: 'maPolice', sans-serif;
  width: 90%;
  max-width:800px; 
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index:10;
}


#old_dices img {
  top: 50%;
  transform: translateY(-50%);
}



.arrow-container{
  overflow:hidden;
}

.arrow{
   position: fixed;
   top:300px; 
   left:7.5%;
   width: 85%;
   transform: rotateZ(270deg);
   transition: transform 1.5s ease;
}

/*#timer_zone{
  touch-action: pan-x pan-y;
  width: 90%;
  text-align:center;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.1);
}*/

#timer_zone{
  touch-action: pan-x pan-y;
  width: 90%;
  text-align:center;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.0);
  background-color: rgba(255, 255, 255, 0.0);
}

#timer_text{
  touch-action: manipulation;
  font-family: 'maPolice', sans-serif;
  color: #fff;
  font-size:60px;
  max-width:100wh !important;
}

#menu {
  touch-action: manipulation;
  font-family: 'maPolice', sans-serif;
  /*background-color: rgba(255, 255, 255, 0.5);
  height: calc(85vh - 300px);
  max-height: calc(85vh - 300px);*/
  /*height:85vh;*/
  height:auto;
  display: none;
  overflow:auto;
  overflow-x:hidden;
  background-color:transparent;
  box-shadow: none;
  width: 90%;
  padding:0;
  padding-bottom:10px;
}


#profile_description_card{
  transition: transform 1.2s ease;
}

#profile_description{
  transition: transform 1.2s ease;
}


.restart_game{
  touch-action: manipulation;
  height:120px; 
  width:120px; 
  aspect-ratio:1/1;
  background-color:red; 
  border-radius:100px;
  font-size: 70px;
  padding: 10px;
  margin-left:calc(10% - 120px);
  margin-right:60%;
  margin-top: 2%;
  color: #fff;
  box-shadow: 0 9px #ffe6e6;
}

/*.restart_game_new{
  touch-action: manipulation;
  height:120px; 
  width:120px; 
  aspect-ratio:1/1;
  background-color:red; 
  border-radius:100px;
  font-size: 70px;
  padding: 10px;
  margin-top: 2%;
  margin-right:20%;
  color: #fff;
  box-shadow: 0 9px #ffe6e6;
}
*/

.restart_game_new{
  touch-action: manipulation;
  height:140px;  
  width:140px; 
  aspect-ratio:1/1;
  background-color:red; 
  border-radius:30px;
  font-size: 70px;
  padding: 10px;
  margin-top: 2%;
  margin-right:20%;
  margin-bottom:20px;
  color: #fff;
  box-shadow: 0 9px #ff9a9a;
/*  box-shadow: 0 9px rgba(0, 0, 0, 0.6), 0 15px rgba(75, 75, 75, 0.15);*/
}

.close_parameters{
  touch-action: manipulation;
  height:120px;  
  position: absolute; 
  text-align:left;
  right: 20px; 
  width: 30%;
  background-color:#48ab1e; 
  border: solid;
  border-radius:100px 0px 0px 100px;
  border-width:0px; 
  outline: 0px solid white;
  border-color:black;
  font-size: 70px;
  padding: 10px;
  padding-left:20px;
  margin-top: 2%;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 9px #effbe9;
}

button:disabled,
button[disabled]{
  opacity:0.2;
  filter: saturate(0%);
}

/*.close_parameters_new{
  touch-action: manipulation;
  display: flex;
  right:0px;
  align-items: center;
  justify-content: center;
  height:120px;  
  position: sticky; 
  width:60%;
  background-color:#48ab1e; 
  border-radius: 100px 100px 100px 100px;
  font-size: 70px;
  padding: 10px;
  padding-left:20px;
  padding-right:20px;
  margin-top: 2%;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 9px #effbe9;
}*/

.close_parameters_new{
  touch-action: manipulation;
  display: flex;
  right:0px;
  align-items: center;
  justify-content: center;
  height:140px;  
  position: sticky; 
  width:60%;
  background-color:#48ab1e; 
  border-radius: 30px;
  font-size: 70px;
  padding: 10px;
  padding-left:20px;
  padding-right:20px;
  margin-top: 2%;
  margin-bottom:20px;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 9px #9be77a;
  transition: transform 0.3s ease;
/*  box-shadow: 0 9px rgba(0, 0, 0, 0.6), 0 15px rgba(75, 75, 75, 0.15);*/
}

.close_parameters_new:active {
  transform: scale(0.8);
}

#game {
  background-size: 100% 100vh; /* Adjust size to cover viewport height */
  background-repeat: no-repeat;
  touch-action: manipulation;
  height:40%;
  height:48%;
  width:90%;
  padding-left:30px; 
  padding-right:30px;
  margin-top: -20px;
  display: none;
}

#scroll{
  touch-action: pan-x pan-y;
  overflow: auto;/*
  height: calc(100% - 120px - 102px);
  max-height: calc(100% - 120px - 95px);*/
  height: calc(100% - 120px);
  max-height: calc(100% - 120px);
}
/*.bulle{
  touch-action: pan-x pan-y;
  font-size:40px;
  text-align:center;
  background-color:#4068e1;
  color:white;
  width:50%;
  height:auto;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); 
  background-clip: padding-box;
  transform-origin: center;
  animation-name: bloom;	
  animation-duration: 2s;
  animation-iteration-count: infinite;
}*/

.bulle{
  touch-action: pan-x pan-y;
  font-size:40px;
  text-align:center;
  background-color:rgba(127, 153, 232, 0.5)
  color:white;
  width:100%;
  height:auto;
  border-radius: 0px 0px 3px 3px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5); 
  background-clip: padding-box;
  transform-origin: center;
}

#intro{
  position:fixed;
  top: 40px;
  left:7.5%;
  width: 85%;
  touch-action: pan-x pan-y;
  font-family: 'maPolice', sans-serif;
  
  height: 100vh;
  margin: 0 auto;
  background-color: transparent;
  color: black;
  padding: 0px;
  margin-top: 20px;
  overflow:auto;
  overflow-x: hidden;
}


#old_intro{
  touch-action: manipulation;
  font-family: 'maPolice', sans-serif;
  width: 85%;
  max-height: calc(75vh - 200px);
  height: calc(75vh - 200px);
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 30px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-height: 80vh;
  overflow:auto;
  overflow-x: hidden;
  display: block;
}

#intro-update{
  touch-action: manipulation;
  font-family: 'maPolice', sans-serif;
  width: 90%;
  max-height: calc(75vh - 200px);
  height: calc(75vh - 200px);
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-height: 80vh;
  overflow:auto;
  overflow-x: hidden;
  display: block;
}

#help{
  touch-action: manipulation;
  font-family: 'maPolice', sans-serif;
  width: 85%;
  height: 75vh;
  left:7.5%;
  background-color: rgba(255, 255, 255, 1.0);
  border-radius: 10px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);
  overflow:auto;
  overflow-x: hidden;
  display:none;
  z-index:1;
}

.plus{
  touch-action: manipulation;
  position:absolute;
  top:-50px;
/*  left:calc(100% - 100px);*/
  border-radius:50%;
  background-color: rgba(0,0,0,0); 
  color:#333333;
  font-size:100px;
  transition: all 0.3s ease;
}

.bug{
  touch-action: manipulation;
  height:120px;
  width:120px;
  padding:15px;
  margin:0px;
  position:fixed; 
  left:15px; 
  bottom:15px;
  border-radius:120px;
  background-color: rgba(255, 255, 255, 0.5);
  color:#5e0303; /*#333333;*/
  font-size:40px;
  z-index:999;
  text-align: center;
}

/*.bug::before{
  touch-action: manipulation;
  content: "";   width: 300px;
  height: 300px;
  position: fixed;
  left: -150px;
  bottom: -150px;
  border-radius: 50%; 
  background-color: rgba(255, 255, 255, 0.5);
  z-index:1;
}
*/
.cross{
  touch-action: manipulation;
  position:fixed;
  top:5px;
  right:5px;
  color:rgba(255,255,255, 0.6); 
  font-size:55px;
  background-color:rgba(155,155,155, 0.5);
  border-radius:15px;
  padding:0px 10px 0px 10px;
  margin:0;
}

input[type="text"] {
  font-family: 'maPolice', sans-serif;
  width: 97%;
  font-size: 45px;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius:15px;
}

input[type="text"][disabled] {
    opacity:1.0;
    color: #000000;
    background: 
        linear-gradient(45deg, #ffffff 25%, rgba(255,255,255,1.0) 25%, rgba(255,255,255,1.0) 50%, #ffffff 50%, #ffffff 75%, rgba(255,255,255,1.0) 75%, rgba(255,255,255,1.0));
    background-size: 100px 100px; /* Adjust the size of the pattern */


}


button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255,255,255, 0.5);
  -webkit-touch-callout: none;
  font-family: 'maPolice', sans-serif;
  text-align:center;
  font-size: 40px;
  padding: 20px;
  margin: 0px;
  background-color: #555555;
  color: #fff;
  border-radius: 10px;
  border: none;
}

.light{
  touch-action: none;
  font-family: 'maPolice', sans-serif;
  text-align:center;
  font-size: 40px;
  padding: 20px;
  margin: 20px;
  background-color: transparent;
  color:  black;
  border-radius: 100px;
  border: solid;
  border-width:5px;
  border-color:black;
}

.filter-butt{
  touch-action: manipulation;
  justify-content: center;
  align-items: center;
  display:flex;
  width: 25%;
  color:white;
  font-size:30px;
  padding-left:0px;
  padding-right:0px;
  padding-top:17px;
  padding-bottom:17px;
  margin:0px;
  margin-bottom:10px;
  background-color: #5ede28;
  border: 3px solid #50ff2d;
  border-radius: 40px 8% 40px 8%;
  z-index: 9;
}

.info-butt{
  touch-action: manipulation;
position:fixed;
top:90px;
right:7.5%;
margin:10px;
padding:0px;
/*color:#4068e1;*/
color:white;
min-width:70px;
aspect-ratio:1/1 !important;
/*background-color:#e6e6e6;*/
background-color: #4068e1;
border: none;
border-radius: 35px;
/*box-shadow: 0 1px #e6e6e6;*/
}

.insta-butt{
  touch-action: manipulation;
position:fixed;
top:100px;
left:7.5%;
margin:10px;
margin-top:-4px;
padding:0px;
padding-top:5.5px;
padding-left:8.5px;
padding-right:8.5px;
color:white;
/*background-color:black;*/
background: linear-gradient(45deg, #ffd10e, #fd1651, #ea0ed8);
border: none;
border-radius: 20px;
/*box-shadow: 0 3px #e6e6e6;*/
}

#next_gage {
  touch-action: manipulation;
  margin: 0 auto;
  width: 60%;
  height: 100px; 
  height: 168px; 
  font-size: 60px;
  font-weight:bolder;
  padding: 10px;
  margin:0px;
  margin-top: 10px;
  background-color: #ffbf0d;
  color: #fff;
  border: none;
/*  border-radius: 100px;*/
  border-radius:30px 30px 27px 27px ;
  border-radius:100px 100px 5px 5px ;
  outline: solid 10px #ebebeb;
}

#parameters {
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 70px;
  padding: 10px;
  margin-left:7%;
  margin-right:10px;
  background-color: lightgrey;
  color: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 9px #e6e6e6;
}

#show_compass{
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 70px;
  padding: 10px;
  margin: 10px;
  background-color: lightgrey;
  color: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 9px #e6e6e6;
}


#share_kot_so_pot {
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 70px;
  padding: 10px;
  margin: 10px;
  background-color: lightgrey;
  color: #fff;
  border: none;
  border-radius: 5px;
}


#show_timers{
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 70px;
  padding: 10px;
  margin: 10px;
  background-color: lightgrey;
  color: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 9px #e6e6e6;
}

#close_timers{
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 40px;
  padding: 10px;
  margin: 10px;
  margin-left:7%;
  background-color: lightgrey;
  color: black;
  border: none;
  border-radius: 20px;
  box-shadow: 0 9px #e6e6e6;
}

.timer_start{
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 40px;
  padding: 10px;
  margin: 10px;
  background-color: lightgrey;
  color: black;
  border: none;
  border-radius: 20px;
  box-shadow: 0 9px #e6e6e6;
}

#timer_stop{
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 40px;
  padding: 10px;
  margin: 10px;
  background-color: lightgrey;
  color: black;
  border: none;
  border-radius: 20px;
  box-shadow: 0 9px #e6e6e6;
}

#show_dices{
  width: 15%;
  max-width: 150px;
  aspect-ratio: 1/1;
  font-size: 70px;
  padding: 10px;
  margin: 10px;
  background-color: lightgrey;
  color: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 9px #e6e6e6;
}

.dice {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  width: 300px;
  height: 300px;
  font-size: 55px;
  text-align: center;
  margin-left: 25px;
  margin-right: 25px;
  background-color: white !important;
  background: url('https://kotsopot.be/imgs/compressed/dice_background_compressed.jpg');
  background-size:contain;
  background-repeat:no-repeat;
  background-position: center center;
  color: black;
  border: none;
  border-radius: 25px;
  box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.1);
}

.dice img{
  border-radius: 25px;
  max-width:100%;
}


.profile {
  font-family: 'maPolice', sans-serif;
  position: relative;
  height: calc(200px * 1.1);
  aspect-ratio: 1/1;
  min-width: calc(200px * 1.1);
  font-size: calc(40px * 1.1);
  padding: calc(10px * 1.1);
  margin: calc(10px * 1.1);
  background-color: #f7f7f7;
  background: url('https://kotsopot.be/imgs/compressed/profile_background_compressed.jpg');
  background-size:contain;
  background-repeat:no-repeat;
  background-position: center center;
  color: black;
  border-radius: calc(30px* 1.1);
  outline: solid -10px transparent;
  box-shadow: 0 calc(9px* 1.1) #e6e6e6;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/*.profile::after {
  content: "";
  text-align: center;
  opacity: 1;
  background-color: red;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: var(--animation-name) 3s ease-in-out infinite; 
}*/
.profile::after {
  content: "";
  text-align: center;
  opacity: 0;
  background-color: #F5F5F5;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
/*  animation: var(--imclicked) 3s ease-in-out infinite; */
}

.profile::before {
  content: "";
  display:block;
  text-align: center;
  opacity: 1;
  background-color: #F5F5F5;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
/*  animation: var(--imclicked) 3s ease-in-out infinite; */
}

.profile:focus, .profile:active{
  outline: 5px solid rgba(255, 255, 255, 0.5);
}

.profile-back {
  font-family: 'maPolice', sans-serif;
  position: relative;
  height: calc(200px * 1.1);
  aspect-ratio: 1/1;
  min-width: calc(200px * 1.1);
  font-size: calc(40px * 1.1);
  padding: calc(10px * 1.1);
  margin: calc(10px * 1.1);
  background-color: transparent;
  color: #F5F5F5;
  border-radius: calc(30px* 1.1);
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.green-dot {
  position: absolute;
  justify-content: center;
  align-items: center;
  bottom: 0px;
  right: 0px;
  width: 140px; /* Increase the width */
  height: 40px; /* Increase the height */
  color:white;
  font-size:22px;
  background-color: #a6e22b;
  border-radius: 30px 0 30px 0;
  z-index: 9;
  display: flex;
}
.green-dot::before {
  content: "Sans-alcool";
  line-height: normal;
  
}
.yellow-dot {
  position: absolute;
  justify-content: center;
  align-items: center;
  bottom: 0px;
  right: 0px;
  width: 140px; /* Increase the width */
  height: 40px; /* Increase the height */
  color:white;
  font-size:22px;
  background-color: #ee6055;
  border-radius: 30px 0 30px 0;
  z-index: 9;
  display: flex;
}
.yellow-dot::before {
  content: "Jeu d'alcool";
  line-height: normal;
}

.new-dot {
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 0px;
  left:50%;
  transform: translateX(-50%);
  width: 100%; /* Increase the width */
  height: 30px; /* Increase the height */
  color:white;
  font-size:20px;
  font-weight: bold;
  background-color: red;
  border-radius: 30px 30px 5px 5px;
  z-index: 9;
  display: flex;
}
.new-dot::before {
  content: "Nouvelles cartes";
  line-height: normal;
}

.info-dot {
  position: absolute;
  justify-content: center;
  align-items: center;
  bottom: 0px;
  right: 0px;
  width: 100px; /* Increase the width */
  height: 40px; /* Increase the height */
  color:#f33467;
  font-size:22px;
  background-color: white;
  border-radius: 30px 0 30px 0;
  z-index: 9;
  display: flex;
}
.infom-dot::before {
  color:#f33467;
  content: "APP";
  line-height: normal;
}

.level{
  width: 20%;
  aspect-ratio: 1/1;
  font-size: 100px;
  padding: 10px;
  margin-top: 10px;
  color: #fff;
  border: none;
  border-radius: 0px;
}

.level:focus{
  width: 21%;
  aspect-ratio: 1/1;
  border: 10px;
  border-color: lightgrey;
  border-radius: 3px;
}

.level:hover{
  width: 21%;
  aspect-ratio: 1/1;
  border: 10px;
  border-color: lightgrey;
  border-radius: 3px;
}

.big-button{
  touch-action: none;
  height: 120px; 
  font-size: 40px;
  padding: 10px;
  background-color: #ffbf0d;
  color: #fff;
  border: none;
  border-radius: 30px 30px 28px 28px;
  box-shadow: 0 9px #e6e6e6;
}

.big-button-static{
  width: auto;
  height: 100px; 
  font-size: 40px;
  padding: 10px;
  padding-left : 20px;
  padding-right: 20px;
  margin-top: 10px;
  background-color: #ffbf0d;
  color: #fff;
  border: none;
  border-radius: 100px;
}

.close-intro-button{
  position:fixed;
  bottom: 170px;
  left: 20%;
  font-size: 80px;
  padding: 30px;
/*  background-color: #ffbf0d;*/
/*background: linear-gradient(to right, #cc980a, #cc980a 50%, #ffbf0d 50%, #ffbf0d); */
background: linear-gradient(to right, #FFD86E, #FFD86E 50%, #ffbf0e  50%, #ffbf0e);
background-size: 200% 100%; 
transition: background-position 17s ease-in-out; 
  color: #fff; 
  border: none;
/*  border-radius: 100px;*/
  border-radius:30px;
  box-shadow: 0 9px  #B28509;
  text-shadow: 0px 0px #ccc;
}

.close-help-button{
  touch-action: manipulation;
  margin: 0 auto;
  width: 60%;
  height: 100px; 
  font-size: 40px;
  padding: 10px;
  margin:0px;
  margin-top: 10px;
  background-color: #4068e1;
  color: #fff;
  border: none;
  border-radius: 30px;
  bottom: 170px;
  left: 20%;
  box-shadow: 0 9px #e6e6e6;
}


.sponsoring{
  width: 100%
  height: 80px; 
  font-size: 40px;
  margin-top: 10px;
  background-color: #ffbf0d;
  color: #fff;
  border: none;
  border-radius: 0px;
  box-sizing: border-box;
  max-width: 800px;
}

#close_introduction {
}

#close_dices {
  position: fixed; 
  left: 50px; 
  bottom: calc(180px); 
  color:#333;
  justify-content: left;
  min-width: 200px;
  height:100px;
  font-size: 60px;
  padding: 10px;
  padding-left:25px;
  padding-right:50px;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 100px;
  box-shadow: 0 9px #e6e6e6;
}

#close_compass {
  position: fixed; 
  left: 50px; 
  bottom: calc(180px); 
  color:#333;
  justify-content: left;
  min-width: 200px;
  height:100px;
  font-size: 60px;
  padding: 10px;
  padding-left:25px;
  padding-right:50px;
  margin-top: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 100px;
  box-shadow: 0 9px #e6e6e6;
}

.launch_element {
  position: fixed; 
  left: 30%; 
  width:40%;
  bottom: calc(300px + 130px); 
}

#sentence {
  font-size: 60px;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom:15px;
}

.modal {
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position:fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  max-width: 600px;
  height: auto; /* Adjust the height to your preference */
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

#reflect {
  pointer-events: none;
  opacity: 0.2;
  z-index:999;
  position: fixed;
  top: -20%;
  left: -200%; /* Initial position */
  height:150%;
  width:auto;

  transition: left 0.2s linear;
}

/*@media (max-width: 480px) {
  #menu, #game {
    width: 100%;
    border-radius: 0;
    margin-top: 0;
    box-shadow: none;
  }
}*/

@keyframes rollAnimation {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50%{
    transform: scale(0.5) rotate(900deg) translate(10px, 10px);
  }
  100% {
    transform: scale(1) rotate(1800deg) translate(0,0);
  }
}

@keyframes blinkAnimation {
  /*0% {
  background-color: rgba(255, 255, 255, 0.1);
  }
  20%{
    background-color: rgba(255, 0, 0, 0.5);
  }
  40% {
    background-color: rgba(255, 255, 255, 0.1);
  }
  60%{
    background-color: rgba(255, 0, 0, 1.0);
  }
  80% {
    background-color: rgba(255, 255, 255, 1.0);
  }
  100%{
    background-color: rgba(255, 0, 0, 1.0);
  }*/
}

.roll-animation #zone_text {
  font-size: 50%;
  padding-top: 15%;
}

@keyframes pulse {
 0% {
    box-shadow: 0 9px #e6e6e6;
  }
 50%{
  box-shadow: 0 9px #999;
  }
 100% {
    box-shadow: 0 9px #e6e6e6;
  }
}

@keyframes pulse0 {
  0% {
    border:7px solid var(--pulsecolor);
    box-shadow: 0 calc(9px* 1.1) #e6e6e6, 0 0 20px rgba(225, 245, 245, 0.9);
  }
 50%{
    border:7px solid var(--pulsecolor);
    box-shadow: 0 calc(9px* 1.1) #e6e6e6, 0 0 20px rgba(245, 245, 245, 0.9);
  }
 100% {
    border:7px solid var(--pulsecolor);
    box-shadow: 0 calc(9px* 1.1) #e6e6e6, 0 0 20px rgba(225, 245, 245, 0.9);
  }
}

@keyframes pulse2 {
  0% {
    opacity:0.0;
  }
 50%{
    opacity:0.3;
  }
 100% {
    opacity:0.0;
  }
}

.pulse {
  animation-name: pulse;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}
.pulse0 {
  animation-name: pulse0;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

.pulse2 {
  animation-name: pulse2;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

/*@keyframes look-at-me {
  0% {
      transform: scale(1) rotate(0deg);
  }
1.5% {
      transform: scale(1.2) rotate(20deg);
  }
  3% {transform: scale(1) rotate(-20deg);}
  4.5% {transform: scale(1.2) rotate(20deg);}
  6% {
      transform: scale(1) rotate(0deg);
  }
  100% {transform: scale(1) rotate(0deg);}
}
*/

@keyframes look-at-me {
  0% {
      /* initial state*/
     box-shadow: 0 9px #dbffc9;
     color: #dbffc9;
  }
  50% {
     box-shadow: 0 9px #66ab49;
     color: #dbffc9;
     opacity:0.0.8;
     }
  100% {
      /* initial state*/
     box-shadow: 0 9px #dbffc9;
     color: #dbffc9;
  }
}

.look-at-me {
  animation-name: look-at-me;
  animation-duration: 3.5s;
  animation-iteration-count: infinite;
}

@keyframes slide {
  0% {
      transform: scale(1) translateX(0px);
  }
  3% {
      transform: scale(1) translateX(200%);
  }
  6% {
      transform: scale(1) translateX(0px);
  }
  100% {transform: scale(1) translateX(0px);}
}

.slide {
  animation-name: slide;
  animation-duration: 14s;
  animation-iteration-count: infinite;
}

@keyframes sliding {
  0% {
      transform: scale(1) translateX(0px);
  }
  100% {
      transform: scale(1) translateX(400%);
  }
}

.sliding {
  animation-name: sliding;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}


@keyframes run_then_disappear {
  0% {
      opacity:0;
  } 
  2% {
      opacity:1;
  }
  11%{
      opacity:0;
  }
  100% {
      opacity:0;
  }
}

@keyframes bloom{
  0%{ }
  50%{transform:translateY(0px); }
  52%{transform:translateY(-15px); }
  54%{transform:translateY(-5px); }
  56%{transform:translateY(-15px); }
  58%{transform:translateY(0px); }
  100%{transform:translateY(0px); }
}

@keyframes scroll-me {
  0% {
      transform:translateY(0px);
  }
  50% {
      transform:translateY(10px);
  }
  100% {
      transform:translateY(0px);

  }
}

.scroll-me {
  animation-name: scroll-me;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.animate-backcard {
    animation: animateBackCard 0.3s ease-in-out;
}

/*@keyframes animateBackCard {
    0% {
        transform: translateY(0px) rotateZ(0deg) rotateX(0deg);
        opacity:1.0;
    }
    50% {
        transform: translateY(40px) rotateZ(0deg) rotateX(10deg);
        opacity:0.50;
    }
    100% {
        transform: translateY(0px) rotateZ(0deg) rotateX(0deg);
        opacity:1.0;
    }
  }
*/

@keyframes animateBackCard {
    0% {
        transform: translateY(0px) rotateX(0deg) rotateX(0deg);
        opacity:1.0;
    }
    50% {
        transform: translateY(40px) rotateX(-80deg) rotateX(10deg);
        opacity:0.50;
    }
    100% {
        transform: translateY(0px) rotateX(0deg) rotateX(0deg);
        opacity:1.0;
    }
  }

  .animate-card {
    animation: animateCard 0.2s ease-in-out;
}

@keyframes animateCard {
    0% {
        transform: scale(1) translateX(0px) rotateZ(0deg) rotateX(0deg);
    }
    50% {
        transform: scale(0.98) translateX(-20px) rotateZ(1deg) rotateX(5deg);
    }
    100% {
        transform: scale(1) translateX(0px) rotateZ(0deg) rotateX(0deg);
    }
  }


  .suggest-card{
 font-family: 'maPolice', sans-serif;
    position:relative;
    background-color:white;
    color:black;
    border:solid #eee 11px;
    border-radius:10px;
    touch-action: manipulation;
    min-height:30vh;
    height:40vh;
    max-height:40vh;
    width:90%;
    min-width:90%;
    margin:20px;
    margin-top:30px;
    margin-bottom:30px;
    padding:50px;
    padding-top:100px;
    padding-left:25px; 
    padding-right:25px;
    text-align: center;
    font-size: 65px;
  /*  flex-direction: column; fait de la merde avec les strongs*/ 
    justify-content: center; /* Vertically center the content */
  /*  */
    outline: none; /* Remove the outline */
    caret-color: black; 
    z-index:1;
}

.suggest-button{
  position: absolute;
  right:10px;
  bottom:22px;
  width:15%;
  max-width:15%;
  font-size:70px;
  color:black;
  background-color:transparent;
  border:none; 
  padding:0;
  margin:0;

}

.suggest-input{
 font-family: 'maPolice', sans-serif;
  position: absolute;
  left:20px;
  bottom:20px;
  width:calc(85% - 40px);
  max-width:calc(85% - 40px);
  background-color:transparent;
  border:none;
  font-size:65px;
 border-radius:15px;
 background-color:rgba(200,200,200,0.3);
 border-color:rgba(150,150,150,0.3);
 padding:10px;
 margin:0;
}