 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     text-decoration: none;
     border: none;
     outline: none;
     scroll-behavior: smooth;
     font-family: "Poppins", sans-serif;
 }
 
 html {
     font-size: 60%;
     overflow-x: hidden;
     overflow: hidden;
 }
 
 :root {
     --bg-color: #080808;
     --second-bg-color: #001005;
     --text-color: white;
     --main-color: #00ff51;
 }
 
 body {
     background: var(--bg-color);
     color: var(--text-color);
 }
 
 .header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     padding: 4rem 12%;
     background: rgba(0, 0, 0, 0.3);
     backdrop-filter: blur(10px);
     display: flex;
     justify-content: space-between;
     align-items: center;
     z-index: 100;
 }
 
 #menu-icon {
     font-size: 3.6rem;
     color: var(--text-color);
     display: none;
 }
 
 .logo {
     font-size: 3rem;
     color: var(--text-color);
     font-weight: 800;
     cursor: pointer;
     transition: 0.3s ease;
 }
 
 .logo:hover {
     transform: scale(1.1);
 }
 
 span {
     color: var(--main-color);
 }
 
 .navbar a {
     font-size: 1.8rem;
     color: var(--text-color);
     font-weight: 500;
     margin-left: 4rem;
     border-bottom: 3px solid transparent;
     transition: 0.3s ease;
 }
 
 .navbar a:hover {
     border-bottom: 3px solid var(--main-color);
     color: var(--main-color);
 }
 
 section {
     min-height: 100vh;
     padding: 10rem 12%;
 }
 
 .home {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 15rem;
     margin-top: 6rem;
 }
 
 .home-content {
     display: flex;
     flex-direction: column;
     align-items: flex-end;
     text-align: right;
 }
 
 .home-content h1 {
     font-size: 8rem;
     font-weight: 700;
     margin-top: 1.5rem;
     line-height: 1;
 }
 
 .home-content h3 {
     font-size: 4rem;
     margin: 1rem 0;
 }
 
 .home-content p {
     font-size: 1.5rem;
     font-weight: 500;
     line-height: 1.8;
 }
 
 .home-img img {
     width: 32vw;
     border-radius: 50%;
     box-shadow: 0 0 25px var(--main-color);
     transition: 0.4s ease-in-out;
     animation: floatImage 4s ease-in-out infinite;
 }
 
 .home-img img:hover {
     box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
 }
 
 .social-icons a {
     display: inline-flex;
     justify-content: center;
     align-items: center;
     font-size: 3rem;
     padding: 1rem;
     background: transparent;
     border: 2px solid var(--main-color);
     border-radius: 50%;
     color: var(--main-color);
     margin: 3rem 0.5rem;
     transition: 0.53s ease;
 }
 
 .social-icons a:hover {
     color: var(--text-color);
     background-color: var(--main-color);
     transform: scale(1.2)translateY(-5px);
     box-shadow: 0 0 25px var(--main-color);
 }
 
 .btn-group {
     display: flex;
     gap: 1.5rem;
 }
 
 .btn {
     display: inline-block;
     padding: 1rem 3rem;
     background: var(--main-color);
     box-shadow: 0 0 25px var(--main-color);
     border-radius: 3rem;
     font-size: 1.8rem;
     color: black;
     border: 2px solid transparent;
     font-weight: 600;
     transition: 0.3s ease-in-out;
 }
 
 .btn:hover {
     transform: scale(1.05);
     box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color);
 }
 
 .btn-group a:nth-of-type(2) {
     background-color: black;
     color: var(--main-color);
     border: 2px solid var(--main-color);
     box-shadow: 0 0 25px transparent;
 }
 
 .btn-group a:nth-of-type(2):hover {
     box-shadow: 0 0 25px var(--main-color);
     background-color: var(--main-color);
     color: black;
 }
 
 .about {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 10rem;
     background-color: var(--second-bg-color);
 }
 
 .about-img img {
     width: 32vw;
     border-radius: 50%;
     box-shadow: 0 0 25px var(--main-color);
     transition: 0.4s ease-in-out;
 }
 
 .about-img img:hover {
     box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
 }
 
 .about-content h2 {
     text-align: left;
     font-size: 7rem;
 }
 
 .about-content p {
     font-size: 1.8rem;
 }
 
 .about-content .btn {
     margin: 3rem 0;
 }
 
 ::-webkit-scrollbar {
     width: 20px;
 }
 
 ::-webkit-scrollbar-thumb {
     background-color: var(--main-color);
 }
 
 ::-webkit-scrollbar-track {
     background-color: var(--bg-color);
 }
 
 .heading {
     text-align: center;
     font-size: 7rem;
     margin: 5rem 0;
 }
 
 .services {
     background-color: var(--bg-color);
     color: black;
 }
 
 .services h2 {
     color: var(--text-color);
 }
 
 .services-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     align-items: center;
     gap: 2.5rem;
 }
 
 .service-box {
     display: flex;
     justify-content: center;
     align-items: center;
     background-color: var(--main-color);
     height: 600px;
     border-radius: 3rem;
     cursor: pointer;
     border: 5px solid transparent;
     transition: 0.4s ease-in-out;
 }
 
 .service-box:hover {
     background-color: var(--second-bg-color);
     color: var(--main-color);
     border: 5px solid var(--main-color);
     transform: scale(1.03);
 }
 
 .service-info {
     display: flex;
     flex-direction: column;
     text-align: center;
     justify-content: center;
     align-items: center;
     padding: 5rem;
 }
 
 .service-info i {
     font-size: 8rem;
 }
 
 .service-info h4 {
     font-size: 4rem;
     margin: 2rem 0;
     font-weight: 800;
 }
 
 .service-info p {
     font-size: 1.4rem;
     font-weight: 600;
     line-height: 1.7;
 }
 
 .footer {
     background-color: var(--bg-color);
     padding: 50px 0;
 }
 
 .footer .social-icons {
     text-align: center;
 }
 
 .footer ul {
     text-align: center;
     font-size: 1.8rem;
 }
 
 .footer ul li {
     display: inline-block;
     margin-left: 20px;
 }
 
 .footer ul li a {
     color: white;
     border-bottom: 3px solid transparent;
     transition: 0.3s ease-in-out;
 }
 
 .footer ul li a:hover {
     border-bottom: 3px solid var(--main-color);
 }
 
 .footer .copyright {
     text-align: center;
     margin-top: 40px;
     font-size: 16px;
 }
 
 .portfolio {
     background: var(--second-bg-color);
     padding: 7rem 12%;
     /* Added horizontal padding for better spacing */
 }
 
 .portfolio h2 {
     margin-bottom: 4rem;
 }
 
 .portfolio-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     overflow-x: auto;
     gap: 2.5rem;
     position: relative;
 }
 
 .portfolio-box {
     position: relative;
     border-radius: 2rem;
     box-shadow: 0 0 1rem var(--bg-color);
     overflow: hidden;
     flex: 1 1 300px;
     /* Flex item with base width and allow to grow/shrink */
     max-width: 500px;
     /* Maximum width of each box */
     height: 300px;
     /* Fixed height for uniformity */
     margin: 0 1rem;
     /* Horizontal spacing */
 }
 
 .portfolio-box img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease;
     backface-visibility: hidden;
 }
 
 .portfolio-box:hover img {
     transform: scale(1.1);
     /* Slight zoom effect on hover */
 }
 
 .portfolio-layer {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color));
     display: flex;
     justify-content: center;
     align-items: center;
     flex-direction: column;
     text-align: center;
     padding: 0 4rem;
     transform: translateY(100%);
     transition: transform 0.5s ease;
 }
 
 .portfolio-box:hover .portfolio-layer {
     transform: translateY(0);
 }
 
 .portfolio-layer h4 {
     font-size: 3rem;
 }
 
 .portfolio-layer p {
     font-size: 1.6rem;
     margin: .3rem 0 1rem;
 }
 
 .portfolio-layer a {
     display: inline-flex;
     justify-content: center;
     align-items: center;
     width: 5rem;
     height: 5rem;
     background: var(--text-color);
     border-radius: 50%;
 }
 
 .portfolio-layer a i {
     font-size: 2rem;
     color: var(--second-bg-color);
 }
 
 @keyframes floatImage {
     0% {
         transform: translateY(0);
     }
     50% {
         transform: translateY(-2.4rem);
     }
     100% {
         transform: translateY(0);
     }
 }
 
 @media(max-width:1024px) {
     #menu-icon {
         display: block;
     }
     .navbar {
         position: absolute;
         top: 100%;
         right: 0;
         width: 50%;
         padding: 1rem 3rem;
         background-color: rgba(0, 0, 0, 0.8);
         border-left: 2px solid var(--main-color);
         border-bottom: 2px solid var(--main-color);
         border-bottom-left-radius: 2rem;
         display: none;
     }
     .navbar a {
         display: block;
         font-size: 2rem;
         margin: 3rem 0;
         color: var(--text-color);
     }
     .navbar.active {
         display: block;
     }
     .home {
         flex-direction: column-reverse;
         margin: 5rem 0;
         gap: 5rem;
     }
     .home-content {
         align-items: center;
         text-align: center;
     }
     .home-img img {
         width: 52vw;
     }
     .about {
         flex-direction: column-reverse;
         text-align: center;
     }
     .about h2 {
         text-align: center;
         margin: 2rem 0;
     }
     .about img {
         width: 52vw;
     }
     .portfolio-container {
         display: flex;
         flex-wrap: wrap;
         justify-content: space-around;
     }
     .portfolio-box {
         flex: 1 1 30%;
         height: 25rem;
         max-width: 30%;
     }
     .portfolio-box img {
         width: 100%;
         height: 100%;
         object-fit: cover;
     }
 }
 
 @media (max-width: 991px) {
     .portfolio {
         padding-bottom: 7rem;
     }
 }
 
 @media (max-width: 768px) {
     .portfolio h2 {
         margin-bottom: 3rem;
     }
     .portfolio-container {
         display: flex;
         flex-wrap: wrap;
         justify-content: center;
         gap: 2rem;
     }
     .portfolio-box {
         flex: 1 1 55%;
         /* Menyesuaikan ukuran agar lebih proporsional */
         height: 30rem;
         /* Mengatur tinggi yang konsisten */
         max-width: 55%;
         /* Pastikan item tidak lebih lebar dari 45% */
     }
     .portfolio-box img {
         width: 100%;
         height: 100%;
         object-fit: cover;
     }
 }
 
 @media (max-width: 617px) {
     .portfolio-container {
         grid-template-columns: 1fr;
     }
 }
 
 @media (max-width: 450px) {
     html {
         font-size: 50%;
     }
 }

.hidden {
    display: none;
}

.loading-page {
  position: fixed;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #2c5364, #203a43, #0f2027);

  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  color: #191654;
  z-index: 9999;
}

.loading-page svg{
  height: 350px;
  width: 350px;
  stroke: white;
  fill-opacity: 0;
  stroke-width: 1px;
  stroke-dasharray: 1500;
  animation: draw 8s ease;
}

@keyframes draw {
  0% {
    stroke-dashoffset: 1500;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.name-container {
  height: 150px;
  overflow: hidden;
  text-align: center;
  font-size: 20rem;   
}

.logo-name {
  color: #fff;
  font-size: 20px;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-left: 20px;
  font-weight: bolder;
}

body.loading {
    overflow: hidden;
}
.music-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: transparent; /* Latar belakang transparan */
    color: #fff;
    border: 2px solid #00ff00; /* Garis lingkaran berwarna hijau */
    border-radius: 50%;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    display: none; /* Sembunyikan tombol awalnya */
    box-shadow: 0 0 25px var(--main-color);
    transition: 0.4s ease-in-out;
}

.music-button:hover {
     box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
}

.music-button.show {
    display: block; /* Tampilkan tombol jika diperlukan */
}

.music-button i {
    margin: 0;
}