@font-face{font-family:'starwars';src:url('lib/SpaceNova-6Rpd1.otf')}


body{
  padding: 0;
  margin: 0;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: none;
  font-family: starwars;
    }
    
    #full-area {
      position: absolute;
        width: 100%;
        height: 100vh;
        user-select: none;
        background-size: cover;
        overflow: hidden;
        background: white;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        touch-action: none;
      }
      #game-area {
        
        width: 1000px;
        height: 1000px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 0px;
        overflow: hidden;
        background: url('./media/bg.webp');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
      }

      #full-area:focus {
        outline: none !important;
      }

      #grid-container {
        position: absolute;
        display: flex;
        flex-direction: column;
        margin-left: 73px;
        top: 36.2%;
      }

      .grid-row {
        display: flex;
      }

      .grid-cell {
        width: 106px;
        height: 52px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .grid-cell img {
        width: auto;
        height: 51.5px;
      }

      #hermes{
        position: absolute;
        top: 22.5%;
        left: 49.3%;
        transform: translate(-50%,-50%);
        width: 113px;
        height: auto;
        z-index: 1;
        border-radius: 14px;
      }

      .music-box{
        position: absolute;
        top: 13.5%;
        width: 97px;
        height: 150px;
        overflow: hidden;
      }

      #music-box1{
        left: 25.5%;
      }
      #music-box2{
        left: 63.8%;
      }

      .music-note {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 42px;
        animation: floatUp 2s ease-in-out forwards;
      }

      @keyframes floatUp {
        0% {
          transform: translate(-50%, 90px) scale(1);
          opacity: 1;
        }
        100% {
          transform: translate(-50%, -160px) scale(0.8);
          opacity: 0;
        }
      }

      .glow {
        filter: drop-shadow(0 0 10px white);
        transition: filter 0.3s ease;
      }


      .glow-effect {
        animation: glowFlash 0.6s ease-out;
      }

      @keyframes glowFlash {
        0% {
          box-shadow: 0 0 0px rgba(0, 255, 0, 0.5);
          transform: scale(1);
        }
        50% {
          box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
          transform: scale(1.05);
        }
        100% {
          box-shadow: 0 0 0px rgba(0, 255, 0, 0);
          transform: scale(1);
        }
      }

      .container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        height: 10vmin;
        width: auto;
      }

      .container span {
        display: inline-block;
        font-size: 3em;
        margin-left: 2vmin;
        color: #6000A2;
      }

      .container span:after {
        width: 2vmin;
        height: 2vmin;
        background-color: red;
      }

      .container span:nth-child(1) {
        animation: first 4s linear infinite;
      }

      .container span:nth-child(2) {
        animation: second 4s linear infinite;
      }

      .container span:nth-child(3) {
        animation: first 4s linear infinite;
      }

      .container span:nth-child(4) {
        animation: second 4s linear infinite;
      }

      @keyframes first {
        0%,15%,30%,45%,60%,75%,100% {
          transform: rotate(0deg) translateY(6vmin);
        }
        5%,20%,35%,50%,65%,80%,95% {
          transform: rotate(15deg) translateY(-6vmin);
        }
        10%,25%,40%,55%,70%,85%,90% {
          transform: rotate(-15deg) translateY(6vmin);
        }
      }

      @keyframes second {
        0%,15%,30%,45%,60%,75%,100% {
          transform: rotate(0deg) translateY(-6mvin);
        }
        5%,20%,35%,50%,65%,80%,95% {
          transform: rotate(15deg) translateY(6vmin);
        }
        10%,25%,40%,55%,70%,85%,90% {
          transform: rotate(-15deg) translateY(-6vmin);
        }
      }

         #confetti-container {
            position: absolute;
            top: 13%;
            left: 40px;
            width: 90%;
            height: 0;
            pointer-events: none;
            z-index: 9999;
            background: url("./media/confetti.gif");
            background-repeat: no-repeat;
            background-size: cover;
            transition: height 1.5s ease-out;
            overflow: hidden;

          }

          #playBtn {
            position: absolute;
            width: auto;
            height: 85px;
            top: 16.5%;
            left: 3%;
            transition: transform 0.2s ease;
            cursor: pointer;
          }

          #playBtn.clicked {
            animation: clickBounce 0.3s ease;
          }

          @keyframes clickBounce {
            0%   { transform: scale(1); }
            30%  { transform: scale(1.15); }
            60%  { transform: scale(0.95); }
            100% { transform: scale(1); }
          }

          #submitBtn{
            position: absolute;
            width: auto;
            height: 85px;
            top: 16.5%;
            left: 80%;
            cursor: pointer;
            opacity: 0.8;
          }

          #submitBtn.clicked {
            animation: clickBounce 0.3s ease;
          }

          .disabled-img {
            /* filter: grayscale(70%); */
            pointer-events: none;
            transition: all 0.3s ease;
          }

          #end-screen {
            width: 1000px;
            height: 1000px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 0px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            animation: fadeInCenter 0.7s ease-out forwards;
          }

          #end-screen .content {
            background-color: rgba(255, 255, 255, 0.734);
            height: 365px;
            width: 845px;
            margin-left: -9px;
            margin-top: 88px;
            display: flex;
            flex-direction: column;
            text-align: center;
            justify-content: center;
            align-items: center;
            font-size: 85px;
            text-transform: uppercase;
            padding-bottom: 20px;
            animation: scaleText 0.6s ease-out 0.6s forwards;
            opacity: 0;
          }


          @keyframes fadeInCenter {
          0% {
            opacity: 0;
            transform: translate(-50%, -50%) scale(0.6);
          }
          100% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
          }
        }

        @keyframes scaleText {
          0% {
            transform: scale(0.5);
            opacity: 0;
          }
          100% {
            transform: scale(1);
            opacity: 1;
          }
        }
