* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   outline: none;
   font-family: 'Poppins', sans-serif;
}

body {
   background-color: #390f4e;
   overflow: hidden;
}

#logo {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   animation: fill-anim 0.5s ease forwards 5s;
   margin-top: 20px;
   display: none;
}

#top_line{
   width: 100%;
   justify-content: center;
   display: flex;
}

#line{
   top: -50px !important;
   width: 325px !important;
   height: 50px !important;
   /* transform: translateX(50%) !important;
   margin-left: 22%; */
}

@keyframes line-anim {
   to {
      stroke-dashoffset: 0;
   }
}

@keyframes fill-anim {
   from {
      fill: transparent;
   }
   to {
      fill: white;
   }
}

#nav-bar {
   display: flex;
   justify-content: flex-end;
   height: 8vh;
   opacity: 0;
}

#nav-links {
   display: flex;
   justify-content: space-around;
   align-items: center;
   width: 30%;
}

#nav-links li {
   list-style: none;
}

#nav-links a {
   text-decoration: none;
   color: #f0d245;
   text-transform: uppercase;
   font-size: 1.2rem;
}

#nav-links li:hover {
   transform: scale(1.1);
}

/* Play Button */

#button {
   position: absolute;
   top: 85%;
   /* left: 46%; */
   transform: translateY(200px);
   width: 100%;
   justify-content: center;
   display: flex;
}

#button button {
   background: none;
   border: 3px solid #f0d245;
   font-size: 2rem;
   padding: 0.4rem 1.2rem;
   border-top-right-radius: 10px;
   border-bottom-left-radius: 10px;
   text-transform: capitalize;
   color: #f0d245;
}

#button button:hover {
   background: #f0d245;
   color: #390f4e;
}

#upperEdge {
   border: 3px inset #f0d245;
   border-top-right-radius: 10px;
   border-left: none;
   border-bottom: none;
}

/* Amitabh image */

#amitabh-img {
   position: absolute;
   bottom: 0;
   transform: translateX(-100%);
   height: 600px;
   width: 313px;
}

/* Logo image  */

#logo-img-shadow {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50.5%, -50%);
   height: 390px;
   width: 390px;
   border-radius: 195px;
   box-shadow: 0px 0px 5px 5px #33c7ff;
   opacity: 0;
}

#logo-img {
   position: absolute;
   top: 45%;
   left: 50%;
   transform: translate(-50%, -50%);
   height: 420px;
   width: 420px;
   opacity: 0;
   display: none;
}

#logo-video {
   position: absolute;
   top: 45%;
   left: 50%;
   transform: translate(-50%, -50%);
   height: 350px;
   width: 350px;
}

/* Powered by  */

#powered-by {
   position: absolute;
   top: 37%;
   right: 10%;
   transform: translateX(500px);
}

#powered-by h3 {
   color: white;
   padding: 2px;
   text-transform: capitalize;
}

#powered-by img {
   width: 150px;
   height: 150px;
}





@media (max-width: 768px) {
   /* Ensure html and body take full height and hide overflow */
   html, body {
     overflow-x: hidden;
     height: 100%;
     margin: 0;
     padding: 0;
   }

   /* #button {
      left: 35%;
   } */
 
   /* Example: Fix a main container if one exists */
   #main-container {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     overflow-x: hidden;
   }
 
   /* Your existing styles for mobile */
   #logo-img {
      width: 300px;
      height: 300px;
      transform: translateX(-50%);
      top: 30%;
   }

   #logo-video {
      width: 300px;
      height: 300px;
      transform: translateX(-50%);
      top: 30%;
   }
   
   #amitabh-img {
     max-width: 40%;
     height: auto;
     /* margin-top: 30px; */
     top: 100%;
     transform: translateX(-50%);
   }
   
   #powered-by {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     margin-top: 20px;
     top: 100%;
     left: 100%;
     /* transform: translateX(-50%); */
     transform: matrix(1, 0, 0, 1, 0, 100);
   }
   
   #powered-by h3 {
     font-size: 20px;
     text-transform: uppercase;
     color: #ffd700;
     transform: translateX(-50%);
   }
   
   #powered-by img {
     max-width: 100px;
     height: auto;
     border-radius: 8px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
     transform: translateX(-50%);
   }
   
   #logo {
     transform: none !important;
     width: 300px !important;
     height: 100px !important;
     top: 20px !important;
     /* left: 15% !important; */
     transform: translateX(-50%) !important;
   }
   #line{
      margin-top: 20%;
   }
   #button {
      top: 80%;
   }
   #svg-logo {
     width: 300px !important;
     height: 100px !important;
     transform: none !important;
   }
   
   #logo-img-shadow {
     position: absolute;
     height: 56%;
     width: 90%;
     top: 22%;
     border-radius: 100%;
     box-shadow: 0px 0px 5px 5px #33c7ff;
     opacity: 1;
     transform: translateX(-50%);
   }
 }
 

 /* Landscape with max-height and max-width */
@media screen and (orientation: landscape) and (max-height: 600px) and (max-width: 800px) {
   #logo-img {
     width: 225px;
     height: 225px;
     left: 50%;
     top: 15% !important;
   }
   #line{
      margin-top: 0%;
   }
   
   #logo-video {
      width: 225px;
      height: 225px;
      left: 50%;
      top: 15% !important;
   }
 
 }

 /* Landscape Mode */
@media screen and (orientation: landscape) {
   @media (max-height: 600px) {
      #logo-img {
         width: 225px;
         height: 225px;
         left: 50%;
         /* margin-top: 4rem; */
         top: 48%;
      }
      #logo-video {
         width: 225px;
         height: 225px;
         left: 50%;
         top: 48%;
      }
      /* #button {
         left: 45%;
      } */
      #logo{
         top: -40px !important;
         transform: none !important;
         width: 300px !important;
         height: 100px !important;
         transform: translateX(-50%) !important;
      }
      #svg-logo {
         width: 300px !important;
         height: 100px !important;
         transform: none !important;
      }
      #button button {
         font-size: 1rem;
      }
      
   }
}