@keyframes idle-animation {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(8px);
    }
    100% {
      transform: translateY(0);
    }
  }


.containerQuest {
    position: absolute;
    z-index:100;
    top: 50%;
    left: 50%;
    background-image: url('backgroundAnim1.png');
    transform: translate(-50%, -50%);
    height: 600px;
    width: 600px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  }

  .img{
   
    animation-name: idle-animation;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    margin-top: 200px;
    margin-left: -150px;
    position: fixed;
    top: -471px;
    left: -128px;

  }
  
  .character {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .speech-bubble {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 273px;
    min-height: 200px;
    height: 400px;
    overflow: auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    transform: translate(50%, -200%);
    bottom: -1000px;
    left: -119px;
  }




  .desactive {
    display: none;
  }
  
  .active {
    animation-name: aparecer;
    animation-duration: 1s;
  }
  
  @keyframes aparecer {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  
  @keyframes desaparecer {
    0% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
  

  
  label {
    display: flex;
    align-items: center;
    margin: 5px 0;
  }

  .choice {
    list-style-type: none;
    margin-left: -40px;
    width: 200px;
    text-align: center;
    text-transform: initial;
    min-height: 25px;
    height: auto;
    word-wrap: break-word;
    margin-top: 10px;
    transition: background-color 0.2s ease;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
  }

  .choice:hover {
    background-color: #f2f2f2;
  }
  
  .Res{
    position: relative;
    z-index: 2;
    background: url(./respawn.png);
    border: 3px solid black;
    width: 777px;
    height: 75px;
    top: 506px;
    box-shadow: 15px 15px 15px;
  }
  
  
  .Res:Active{
    transform:translateY(4px);
    box-shadow:none;

  }
  .Tit{
    position: relative;
    z-index: 2;
    top: 527px;
    background: url(./title.png);
    border: 3px solid black;
    width: 777px;
    height: 75px;
    box-shadow: 15px 15px 15px;
    
  }
    .Tit:Active{
    transform:translateY(4px);
    box-shadow:none;

  }
  .eldiv2{
     display: grid;
    width: 100%;
    justify-content: center;
  }
  
  
  .correct {
    background-color: #41fc03;
  }
  


  .incorrect {
  background-color:#eb4034;
   
  }
  
  .tmp{
          position: relative;
    margin:0;
    padding:0;
    z-index: 1;
    background: url(./die2.png);
    background-position: top center;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
  }
  
  @media(min-width:1729px){
    .Tit{
    top: 600px;
  }  
  
    .Res{
    top: 580px;
  }
  }


  