.robot-container {
    position: relative;
    height: 26vh;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease;
  }
  
  /* Head components */
  .robot-head {
    position: absolute;
    height: 15vh;
    aspect-ratio: 1/1;
    background-color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0 3%;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 10;
    transition: transform 0.5s ease;
  }
  
  .headphones {
    position: absolute;
    width: 120%;
    height: 60%;
    background: transparent;
    border-radius: 30%;
    border: 12px solid #444;
    border-bottom: none;
    top: -5%;
    z-index: -1;
  }
  .headphone-left, .headphone-right {
    position: absolute;
    width: 15%;
    height: 25%;
    background-color: #fff;
    border-radius: 10px;
    top: 30%;
  }
  
  .headphone-left {
    left: -8%;
  }
  
  .headphone-right {
    right: -8%;
  }
  
  .face-screen {
    width: 80%;
    height: 60%;
    background-color: #222;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden;
    position: relative;
    margin-top:15%;
  }
  
  .top-bar {
    position: absolute;
    top: 0;
    width: 100%;
    height: 15%;
    background-color: #444;
  }
  
  .eyes {
    width: 80%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10%;
  }
  
  .leftEye, .rightEye {
    width: 40%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #00b0ff;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: height 0.3s ease;
  }
  
  .leftPupil, .rightPupil {
    width: 60%;
    height: 60%;
    background-color: #000;
    border-radius: 50%;
    position: relative;
    transition: transform 0.2s ease;
  }
  
  .pupil-highlight {
    position: absolute;
    width: 40%;
    height: 40%;
    background-color: white;
    border-radius: 50%;
    top: 15%;
    left: 15%;
  }
  
  .mouth {
    width: 40%;
    height: 10%;
    background-color: #00b0ff;
    border-radius: 20px;
    margin-bottom: 10%;
    transition: all 0.3s ease;
  }
  
  .bottom-part {
    width: 100%;
    height: 20%;
    background-color: #ddd;
    border-radius: 0 0 100px 100px;
    margin-top: auto;
  }
  
  /* Body components */
  .robot-body {
    position: absolute;
    top: 12vh;
    width: 10vh;
    height: 15vh;
    background-color: white;
    border-radius: 20px 20px 200px 200px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
  }
  
  .body-detail {
    width: 60%;
    height: 40%;
    background: linear-gradient(180deg, #f2f2f2, #e6e6e6);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 10%;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #00b0ff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }
  
  .button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(0, 174, 255, 0.7);
  }
  
  .fly-button {
    background-color: #4caf50;
  }
  
  .power-button {
    background-color: #f44336;
    margin-top: 10px;
  }
  
  /* Arms */
  .left-arm, .right-arm {
    position: absolute;
    top: 15vh;
    width: 4vh;
    height: 10vh;
    background-color: white;
    border-radius: 10px;
    z-index: 4;
    transition: transform 0.5s ease, height 0.5s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .left-arm {
    left: calc(50% - 9vh);
    transform-origin: top right;
    transform: rotate(15deg);
    border-top-left-radius:10px;
     border-top-right-radius:50px;
     border-bottom-left-radius:10px;
     border-bottom-right-radius:200px;
     transition:.3s;
     
  }
  
  .right-arm {
    right: calc(50% - 9vh);
    transform-origin: top left;
    transform: rotate(-15deg);
    border-top-left-radius:50px;
     border-top-right-radius:10px;
     border-bottom-left-radius:200px;
     border-bottom-right-radius:10px;
     transition:.3s;
  }
  
  
  

  
  /* Flying effect */
  .flying .robot-container {
    animation: hover 3s ease-in-out infinite;
  }
  
  .flying .robot-head {
    animation: slight-tilt 5s ease-in-out infinite;
  }
  
  .flying .robot-body {
    animation: slight-tilt-opposite 5s ease-in-out infinite;
  }
  
  .flying .left-arm {
    transform: rotate(-20deg);
  }
  
  .flying .right-arm {
    transform: rotate(20deg);
  }
  
  .wave-container {
    position: absolute;
    bottom: -50%;
    left: 0;
    width: 100%;
    height: 20vh;
    display: none;
    z-index: 11;
  }
  
  .flying .wave-container {
    display: block;
  }
  
  .wavefly {
    position: absolute;
    height: 8px;
    width: 120px;
    background: rgba(0, 176, 255, 0.7);
    border-radius: 40px;
    bottom: 15vh;
    left: calc(50% - 60px);
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.5);
    animation: wave-out 2s infinite;
    opacity: 0;
  }
  
  .wavefly:nth-child(1) {
    animation-delay: 0s;
  }
  
  .wavefly:nth-child(2) {
    animation-delay: 0.4s;
  }
  
  .wavefly:nth-child(3) {
    animation-delay: 0.8s;
  }
  
  .wavefly:nth-child(4) {
    animation-delay: 1.2s;
  }
  
  .wavefly:nth-child(5) {
    animation-delay: 1.6s;
  }
  
  /* Animations */
  
  @keyframes shakehand {
    0%, 100% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(10deg);
    }
  }
  
  
  @keyframes hover {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }
  
  @keyframes slight-tilt {
    0%, 100% {
      transform: rotate(-2deg);
    }
    50% {
      transform: rotate(2deg);
    }
  }
  
  @keyframes slight-tilt-opposite {
    0%, 100% {
      transform: rotate(1deg);
    }
    50% {
      transform: rotate(-1deg);
    }
  }
  
  @keyframes wave-out {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    25% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.5) translateY(50px);
    }
  }
  
  @keyframes blink {
    0%, 100% {
      height: 100%;
    }
    45%, 55% {
      height: 10%;
    }
  }
  
  /* Power off state */
  .power-off .face-screen {
    background-color: #333;
  }
  
  .power-off .leftEye, 
  .power-off .rightEye,
  .power-off .mouth {
    background-color: #555;
  }
  
  .power-off .leftPupil, 
  .power-off .rightPupil {
    background-color: #555;
  }
  
  .power-off .pupil-highlight {
    display: none;
  }
  
  .power-off .left-arm {
    transform: rotate(0deg);
  }
  
  .power-off .right-arm {
    transform: rotate(0deg);
  }
  /* Controls */
  .controls {
    position: fixed;
    bottom: 20px;
    display: flex;
    gap: 20px;
    z-index: 100;
  }
  
  .control-button {
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    background-color: white;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .control-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
  
  .fly-control {
    background-color: #4caf50;
    color: white;
  }
  
  .power-control {
    background-color: #f44336;
    color: white;
  }

  /* Dance animations and styles */
  .dancing .robot-head {
    animation: dance-head 2s ease-in-out infinite;
  }

  .dancing .robot-body {
    animation: dance-body 0.5s ease-in-out infinite;
  }

  .dancing .left-arm {
    animation: dance-left-arm 1s ease-in-out infinite;
    transform-origin: top center;
  }

  .dancing .right-arm {
    animation: dance-right-arm 1s ease-in-out infinite;
    transform-origin: top center;
  }

  .dancing .mouth {
    animation: dance-mouth 1s ease-in-out infinite;
  }
  .dancing .wave-container {
    display: block;
  }
  @keyframes dance-head {
    0%, 100% {
      transform: rotate(-5deg);
    }
    25% {
      transform: translate(-2px, -2px) rotate(5deg);
    }
    50% {
      transform: translate(2px, 2px) rotate(-5deg);
    }
    75% {
      transform: translate(-2px, 2px) rotate(5deg);
    }
  }

  @keyframes dance-body {
    0%, 100% {
      transform: translateY(0) rotate(-2deg);
    }
    50% {
      transform: translateY(-5px) rotate(2deg);
    }
  }

  @keyframes dance-left-arm {
    0%, 100% {
      transform: rotate(15deg);
    }
    50% {
      transform: rotate(45deg);
    }
  }

  @keyframes dance-right-arm {
    0%, 100% {
      transform: rotate(-15deg);
    }
    50% {
      transform: rotate(-45deg);
    }
  }

  @keyframes dance-mouth {
    0%, 100% {
      height: 10%;
      width: 40%;
      border-radius: 10px 10px 50px 50px;
    }
    50% {
      height: 15%;
      width: 50%;
      border-radius: 10px 10px 50px 50px;
    }
  }

  /* Idle animations */
  .idle {
    animation: idle-float 3s ease-in-out infinite;
  }

  .idle .robot-head {
    animation: idle-head 4s ease-in-out infinite;
  }

  .idle .robot-body {
    animation: idle-body 4s ease-in-out infinite;
  }

  .idle .left-arm {
    animation: idle-left-arm 2s ease-in-out infinite;
    transform-origin: top center;
  }

  .idle .right-arm {
    animation: idle-right-arm 2s ease-in-out infinite;
    transform-origin: top center;
  }

  .idle .mouth {
    animation: idle-mouth 4s ease-in-out infinite;
  }

  @keyframes idle-float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  @keyframes idle-head {
    0%, 100% {
      transform: rotate(-2deg);
    }
    50% {
      transform: rotate(2deg) translateY(-2px);
    }
  }

  @keyframes idle-body {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
  }

  @keyframes idle-left-arm {
    0%, 100% {
      transform: rotate(15deg);
    }
    50% {
      transform: rotate(20deg);
    }
  }

  @keyframes idle-right-arm {
    0%, 100% {
      transform: rotate(-15deg);
    }
    50% {
      transform: rotate(-20deg);
    }
  }

  /*@keyframes idle-mouth {
    0%, 100% {
      height: 10%;
      width: 40%;
      border-radius: 20px;
    }
    50% {
      height: 12%;
      width: 42%;
      border-radius: 15px 15px 25px 25px;
    }
  }*/


