@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Share Tech Mono", monospace;
  background-color: rgb(255, 255, 255);
  color: #000;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#preloader .spinner-2 {
  width: 44.8px;
  height: 44.8px;
  animation: spinner-y0fdc1 2.8s infinite ease;
  transform-style: preserve-3d;
}

#preloader .spinner-2>div {
  background-color: rgba(173, 173, 173, 0.2);
  height: 100%;
  position: absolute;
  width: 100%;
  border: 2.2px solid #111111;
}

#preloader .spinner-2 div:nth-of-type(1) {
  transform: translateZ(-22.4px) rotateY(180deg);
}

#preloader .spinner-2 div:nth-of-type(2) {
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

#preloader .spinner-2 div:nth-of-type(3) {
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

#preloader .spinner-2 div:nth-of-type(4) {
  transform: rotateX(90deg) translateY(-50%);
  transform-origin: top center;
}

#preloader .spinner-2 div:nth-of-type(5) {
  transform: rotateX(-90deg) translateY(50%);
  transform-origin: bottom center;
}

#preloader .spinner-2 div:nth-of-type(6) {
  transform: translateZ(22.4px);
}

#preloader .loading-text {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #333;
  animation: blinkCharge 1s infinite;
}

.navbar {
  box-sizing: border-box;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #f2f2f2;
  position: fixed;
  width: 100%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent {
  background-color: transparent;
  box-shadow: none;
}

.navbar.solid {
  background-color: rgba(238, 238, 238, 0.5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbar .nav-left,
.navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .lang-btn,
.navbar .theme-btn {
  padding: 0.5rem;
  border: 1px solid black;
  background-color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: large;
}

.navbar .lang-btn svg,
.navbar .theme-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.navbar .nav-logo {
  text-align: center;
}

.navbar .nav-logo .logo {
  height: 4rem;
}

.navbar .nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.navbar .nav-list .nav-item a {
  text-decoration: none;
  color: #000;
  transition: color 0.2s ease;
  font-size: 1.2rem;
}

.navbar .nav-list .nav-item a:hover {
  color: black;
  font-weight: bold;
  font-size: 2rem;
}

.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  height: 100vh;
  overflow: hidden;
}

.hero-section #particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  /* paling belakang */
}

.hero-section .hero-content {
  max-width: 30%;
  justify-content: center;
  align-items: start;
  display: flex;
  padding-bottom: 2rem;
  flex-direction: column;
  padding-left: 7rem;
}

.hero-section .hero-content #strokeCanvas {
  display: block;
  background: transparent;
  position: relative;
  z-index: 2;
}

.hero-section .hero-content h1 {
  font-size: 8rem;
  margin-bottom: 0;
  color: white;
  text-shadow: -3px -3px 0 black, 3px -3px 0 black, -3px 3px 0 black, 3px 3px 0 black;
}

.hero-section .hero-content h2 {
  font-size: 3rem;
  margin-top: 0;
  padding-bottom: 1rem;
}

.hero-section .hero-content #typed-1,
.hero-section .hero-content #typed-2 {
  font-size: 1.2rem;
  margin-top: 0;
  /* Prevent the text from wrapping to the next line */
  margin-bottom: 30px;
}

.hero-section .hero-image {
  width: 55%;
  height: 100%;
  background-color: transparent;
}

.hero-section .hero-image canvas {
  margin-top: 10vh;
  display: flex;
  width: 100%;
  height: 90vh;
  transition: filter 1s ease-out;
  background-color: transparent;
}

.work-web {
  border-top: #000 solid 2px;
}

.work-web h1 {
  font-size: 6rem;
  margin-bottom: -30px;
  margin-left: 6rem;
  margin-top: 3rem;
  color: #fff;
  font-weight: 100;
  text-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black;
}

.work-web h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0rem;
  margin-left: 6rem;
}

.work-web .card-button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  align-items: center;
  justify-content: center;
}

.work-web .card-button-container .grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1300px;
  width: 100%;
}

@media (max-width: 600px) {
  .work-web .card-button-container .grid-container {
    grid-template-columns: 1fr;
  }
}

.work-web .card-button-container .grid-container .tool-box {
  border: 1px solid #333;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  transition: background-color 0.3s;
  opacity: 0;
  transform: scale(0.95);
  animation: fadeScaleIn 0.5s forwards;
}

.work-web .card-button-container .grid-container .tool-box .tool-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 6px;
  text-decoration: none;
  color: #000;
}

.work-web .card-button-container .grid-container .tool-box .tool-desc {
  font-size: 14px;
  color: #555;
}

.work-web .card-button-container .grid-container .tool-box:hover {
  background-color: rgba(240, 240, 240, 0.8);
  cursor: pointer;
}

.work-web .card-button-container .grid-container .tool-box.fade-out {
  animation: fadeOut 0.4s forwards;
}

.work-web .card-button-container .load-more-box {
  grid-column: span 2;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .work-web .card-button-container .load-more-box {
    grid-column: span 1;
  }
}

.work-web .card-button-container .load-more-box button {
  padding: 1rem 5rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border: 1px solid #111;
  background-color: rgba(255, 255, 255, 0.7);
  color: #111;
  transition: background-color 0.3s, color 0.3s;
  font-family: "Share Tech Mono", monospace;
  font-weight: bold;
}

.work-web .card-button-container .load-more-box button:hover {
  background-color: rgba(240, 240, 240, 0.8);
  cursor: pointer;
}

.work-web .card-button-container .load-more-box.animate-up {
  animation: moveUp 0.4s ease forwards;
}

.work-project {
  border-top: #000 solid 2px;
}

.work-project h1 {
  font-size: 6rem;
  margin-bottom: -30px;
  margin-left: 6rem;
  margin-top: 2rem;
  color: #fff;
  font-weight: 100;
  text-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black;
}

.work-project h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0rem;
  margin-left: 6rem;
}

.work-project .card-project-container {
  padding: 1rem;
  width: 100%;
}

.work-project .card-project-container .flex-container {
  display: flex;
  flex-wrap: wrap;
  /* Pastikan elemen bisa turun ke baris berikutnya */
  gap: 1rem;
  justify-content: center;
  /* agar kartu disusun dengan rapi */
  width: 100%;
}

.work-project .card-project-container .flex-container .blink-card {
  opacity: 0;
  animation: blink 0.2s ease forwards;
}

.work-project .card-project-container .flex-container .flex-card {
  display: flex;
  flex-direction: column;
  border: 2px solid #111;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  max-width: 1320px;
  /* Tambahkan max-width agar kartu tidak terlalu besar */
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.work-project .card-project-container .flex-container .flex-card.show {
  opacity: 1;
  transform: translateY(0);
}

.work-project .card-project-container .flex-container .flex-card.show .flex-card-link {
  opacity: 1;
}

.work-project .card-project-container .flex-container .flex-card.hide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.work-project .card-project-container .flex-container .flex-card:hover {
  background-color: rgba(240, 240, 240, 0.8);
  cursor: pointer;
}

@media (min-width: 640px) {
  .work-project .card-project-container .flex-container .flex-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.work-project .card-project-container .flex-container .flex-card .flex-card-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .work-project .card-project-container .flex-container .flex-card .flex-card-content {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.work-project .card-project-container .flex-container .flex-card .flex-card-content img {
  width: 100%;
  height: 160px;
  -o-object-fit: cover;
  object-fit: cover;
  border-right: 2px solid #111;
}

@media (min-width: 640px) {
  .work-project .card-project-container .flex-container .flex-card .flex-card-content img {
    width: 128px;
    height: 128px;
  }
}

.work-project .card-project-container .flex-container .flex-card .flex-card-content .flex-card-text {
  padding-left: 1rem;
}

.work-project .card-project-container .flex-container .flex-card .flex-card-content .flex-card-text .flex-card-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0;
  margin-left: 0;
}

.work-project .card-project-container .flex-container .flex-card .flex-card-content .flex-card-text .flex-card-description {
  font-size: 0.9rem;
  color: #555;
  max-width: 720px;
  margin-top: 4px;
}

@media (min-width: 640px) {
  .work-project .card-project-container .flex-container .flex-card .flex-card-content .flex-card-text .flex-card-description {
    display: block;
  }
}

.work-project .card-project-container .flex-container .flex-card .flex-card-link {
  font-size: 1.4rem;
  padding-left: 0.5rem;
  color: black;
  text-decoration: none;
  margin-top: 0.5rem;
  padding-right: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-project .card-project-container .flex-container .flex-card .flex-card-link:hover {
  text-decoration: underline;
}

.work-project .card-project-container .load-project-box {
  grid-column: span 2;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

.work-project .card-project-container .load-project-box #load-project-button {
  padding: 1rem 5rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border: 1px solid #111;
  background-color: rgba(255, 255, 255, 0.7);
  color: #111;
  transition: transform 0.3s ease-in-out;
  font-family: "Share Tech Mono", monospace;
  font-weight: bold;
}

.work-project .card-project-container .load-project-box #load-project-button.animate {
  animation: buttonSlide 0.3s ease-out;
}

.work-project .card-project-container .load-project-box #load-project-button:hover {
  background-color: rgba(240, 240, 240, 0.8);
  cursor: pointer;
}

.work-creative {
  margin: 0;
  display: flex;
  border-top: #000 solid 2px;
}

.work-creative .left-section {
  width: 40%;
}

.work-creative .left-section h1 {
  font-size: 6rem;
  margin-bottom: -30px;
  margin-left: 6rem;
  margin-top: 2rem;
  color: #fff;
  font-weight: 100;
  text-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black;
}

.work-creative .left-section h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 0rem;
  margin-left: 6rem;
}

.work-creative .left-section p {
  margin-left: 6rem;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.work-creative .left-section .logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 6rem;
}

.work-creative .left-section .logo-grid .logo-card {
  position: relative;
  width: 150px;
  height: 200px;
  background: rgba(240, 240, 240, 0.8);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.work-creative .left-section .logo-grid .logo-card .logo-img {
  width: 70px;
  margin: 60px auto;
  transition: transform 0.3s ease;
  filter: brightness(0);
  /* membuat gambar menjadi gelap */
}

.work-creative .left-section .logo-grid .logo-card .logo-name {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-weight: bold;
  color: #333;
}

.work-creative .left-section .logo-grid .logo-card .logo-name a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.work-creative .left-section .logo-grid .logo-card .logo-name a:hover {
  color: #007acc;
}

.work-creative .left-section .logo-grid .logo-card:hover .logo-img {
  transform: translateY(-20px);
  filter: brightness(1);
}

.work-creative .left-section .logo-grid .logo-card:hover .logo-name {
  opacity: 1;
  transform: translateY(0);
}

.right-section {
  width: 60%;
}

.right-section p {
  margin-left: 2.5rem;
  font-size: 1.5rem;
  margin-top: 13.25rem;
  margin-bottom: 1rem;
}

.right-section .article-container {
  max-height: 100vh;
  overflow-y: auto;
  padding: 0 40px 40px;
  margin-right: 5rem;
}

.right-section .article-container .article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.7);
}

.right-section .article-container .article:hover {
  background-color: rgba(240, 240, 240, 0.8);
}

.right-section .article-container .article .article-text {
  flex: 1;
}

.right-section .article-container .article .article-text .platform {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  margin-bottom: 8px;
}

.right-section .article-container .article .article-text .title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 10px;
}

.right-section .article-container .article .article-text .title:hover {
  color: #007acc;
}

.right-section .article-container .article .article-text .excerpt {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

.right-section .article-container .article .article-img {
  width: 180px;
  height: 120px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .right-section .article-container .article {
    flex-direction: column;
  }

  .right-section .article-container .article .article-img {
    width: 100%;
    height: auto;
  }
}

.tiling-container {
  border-top: #000 solid 2px;
}

.tiling-container .header-tiling {
  font-size: 2rem;
  margin-top: 5rem;
  margin-bottom: 0rem;
  margin-left: 2rem;
}

.tiling-container .dashboard {
  display: grid;
  grid-template-areas: "profile clock clock clock" "profile weather error ether" "profile weather music ether" "profile media media media";
  /* "media media"; */
  grid-template-columns: 4fr 1fr 0.5fr 0.5fr;
  grid-auto-rows: min-content;
  gap: 10px;
  padding: 20px;
}

.tiling-container .dashboard .box {
  background: rgba(255, 255, 255, 0.7);
  border: 2px solid #111;
  padding: 1rem;
}

.tiling-container .dashboard .box:hover {
  background-color: rgba(240, 240, 240, 0.8);
}

.tiling-container .dashboard .profile {
  grid-area: profile;
  height: 91vh;
  overflow: auto;
}

.tiling-container .dashboard .profile .terminal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 8px 8px 0 0;
}

.tiling-container .dashboard .profile .terminal-header #psuedoTerminal {
  max-width: 800px;
  margin: auto;
}

.tiling-container .dashboard .profile .terminal-header #psuedoTerminal #outputTerminal {
  white-space: pre-wrap;
  margin-top: 10px;
}

.tiling-container .dashboard .profile .terminal-header #psuedoTerminal #outputTerminal .line {
  display: flex;
  align-items: center;
}

.tiling-container .dashboard .profile .terminal-header #psuedoTerminal #outputTerminal .line .main-prompt {
  margin-right: 5px;
}

.tiling-container .dashboard .clock {
  grid-area: clock;
  text-align: right;
}

.tiling-container .dashboard .weather {
  grid-area: weather;
}

.tiling-container .dashboard .ether {
  grid-area: ether;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.tiling-container .dashboard .ether .spinner {
  width: 44.8px;
  height: 44.8px;
  animation: spinner-y0fdc1 2.8s infinite ease;
  transform-style: preserve-3d;
}

.tiling-container .dashboard .ether .spinner>div {
  background-color: rgba(173, 173, 173, 0.2);
  height: 100%;
  position: absolute;
  width: 100%;
  border: 2.2px solid #111111;
}

.tiling-container .dashboard .ether .spinner div:nth-of-type(1) {
  transform: translateZ(-22.4px) rotateY(180deg);
}

.tiling-container .dashboard .ether .spinner div:nth-of-type(2) {
  transform: rotateY(-270deg) translateX(50%);
  transform-origin: top right;
}

.tiling-container .dashboard .ether .spinner div:nth-of-type(3) {
  transform: rotateY(270deg) translateX(-50%);
  transform-origin: center left;
}

.tiling-container .dashboard .ether .spinner div:nth-of-type(4) {
  transform: rotateX(90deg) translateY(-50%);
  transform-origin: top center;
}

.tiling-container .dashboard .ether .spinner div:nth-of-type(5) {
  transform: rotateX(-90deg) translateY(50%);
  transform-origin: bottom center;
}

.tiling-container .dashboard .ether .spinner div:nth-of-type(6) {
  transform: translateZ(22.4px);
}

.tiling-container .dashboard .media {
  grid-area: media;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.tiling-container .dashboard .media .media-header {
  justify-content: start;
  font-size: 1.2rem;
  font-weight: bold;
}

.tiling-container .dashboard .media .logo-media {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  padding: 1rem;
}

.tiling-container .dashboard .media .logo-media a img {
  width: 40px;
}

.tiling-container .dashboard .media .logo-media a img:hover {
  filter: invert(20%);
  transform: scale(1.2);
}

.tiling-container .dashboard .music {
  grid-area: music;
}

.tiling-container .dashboard .music #controls {
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  width: 160px;
}

.tiling-container .dashboard .music #controls button {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  background: #ffffff;
  color: #000000;
  font-weight: bold;
  border: none;
  text-align: center;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  border: #000 solid 2px;
  transition: background 0.3s;
}

.tiling-container .dashboard .music #controls button:hover {
  background: #717171;
  color: #fff;
}

.tiling-container .dashboard .music #controls #upload {
  display: none;
  /* hide actual file input */
}

.tiling-container .dashboard .error {
  grid-area: error;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.tiling-container .dashboard .error .upper {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 5px;
}

.tiling-container .dashboard .error .upper .charge {
  animation: blinkCharge 1s ease-in-out infinite;
  animation-delay: 0.75s;
  /* Beri jeda agar tidak bersamaan dengan svg */
}

.tiling-container .dashboard .error .lower {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.tiling-container .dashboard .error .lower .progress {
  width: 64px;
  height: 32px;
  border: 2px solid #353535;
  border-right-color: transparent;
  padding: 2.4px;
  background: repeating-linear-gradient(90deg, #353535 0 8px, rgba(0, 0, 0, 0) 0 12px) left/0% 100% no-repeat content-box content-box;
  position: relative;
  animation: p5 2.8s infinite steps(6);
}

.tiling-container .dashboard .error .lower .progress::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 100%;
  width: 8px;
  background: linear-gradient(rgba(0, 0, 0, 0) calc(50% - 7px), #353535 0 calc(50% - 5px), rgba(0, 0, 0, 0) 0 calc(50% + 5px), #353535 0 calc(50% + 7px), rgba(0, 0, 0, 0) 0) left/100% 100%, linear-gradient(#353535 calc(50% - 5px), rgba(0, 0, 0, 0) 0 calc(50% + 5px), #353535 0) left/2px 100%, linear-gradient(rgba(0, 0, 0, 0) calc(50% - 5px), #353535 0 calc(50% + 5px), rgba(0, 0, 0, 0) 0) right/2px 100%;
  background-repeat: no-repeat;
}

footer {
  border: #000 solid 2px;
  margin-top: 100px;
  display: flex;
  height: 25rem;
}

footer .left-footer {
  width: 60%;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.4);
}

footer .left-footer h1 {
  font-size: 6rem;
  margin-bottom: -30px;
  margin-top: 2rem;
  color: #fff;
  font-weight: 100;
  margin-left: 2rem;
  text-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black;
}

footer .left-footer h2 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-left: 2rem;
}

footer .left-footer p {
  margin-left: 2rem;
  width: 80%;
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

footer .right-footer {
  width: 40%;
  height: 25rem;
  border-left: #000 solid 2px;
  background-image: linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff), linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff), linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff), linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff), linear-gradient(60deg, rgba(255, 255, 255, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.5) 75%, rgba(255, 255, 255, 0.5)), linear-gradient(60deg, rgba(255, 255, 255, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.5) 75%, rgba(255, 255, 255, 0.5));
  background-size: 52px 91px;
  background-position: 0 0, 0 0, 26px 45.5px, 26px 45.5px, 0 0, 26px 45.5px;
  background-color: #1b1b1b;
}

@keyframes blinkCharge {

  0%,
  29% {
    opacity: 0;
  }

  30%,
  100% {
    opacity: 1;
  }
}

@keyframes p5 {
  100% {
    background-size: 120% 100%;
  }
}

@keyframes spinner-y0fdc1 {
  0% {
    transform: rotate(45deg) rotateX(-25deg) rotateY(25deg);
  }

  50% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(25deg);
  }

  100% {
    transform: rotate(45deg) rotateX(-385deg) rotateY(385deg);
  }
}

@keyframes buttonSlide {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

@keyframes moveUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  25% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  62% {
    opacity: 0;
  }

  75% {
    opacity: 1;
  }

  87% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.blink-item {
  opacity: 0;
  animation: blink 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.5s;
}

.delay-3 {
  animation-delay: 0.8s;
}

.blue-font {
  color: #003B72;
}

.disable-font {
  color: #888;
}

canvas#visualizer {
  position: fixed;
  /* 👈 ini yang bikin selalu terlihat */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -15;
  background: white;
  /* supaya elemen lain tetap di atas */
}

.input-class {
  background: transparent;
  border: none;
  color: #003B72;
  outline: none;
  font-family: inherit;
  font-size: 1em;
  flex: 1;
}

.input-class:focus {
  outline: none;
  /* pastikan ini ada */
  border: none;
  /* hapus border saat fokus */
}

.neofetch-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  white-space: pre;
  overflow-x: auto;
}

.neofetch-container #ascii-result {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre;
}

.neofetch-container .result-data .label {
  color: rgb(0, 34, 121);
}

/* ===================== DARK MODE ===================== */
body.dark {
  background-color: #0d0d0d;
  color: #e0e0e0;
}

/* Preloader */
body.dark #preloader {
  background: #0d0d0d;
}

body.dark #preloader .loading-text {
  color: #aaa;
}

body.dark #preloader .spinner-2>div {
  border-color: #aaa;
}

/* Navbar */
body.dark .navbar {
  background-color: #111;
}

body.dark .navbar.solid {
  background-color: rgba(17, 17, 17, 0.85);
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.05);
}

body.dark .navbar .theme-btn,
body.dark .navbar .lang-btn {
  background-color: #1e1e1e;
  border-color: #555;
  color: #e0e0e0;
}

body.dark .navbar .nav-list .nav-item a {
  color: #ccc;
}

body.dark .navbar .nav-list .nav-item a:hover {
  color: #fff;
}

/* Visualizer canvas background */
body.dark canvas#visualizer {
  background: #0d0d0d;
}

/* Work sections borders */
body.dark .work-web,
body.dark .work-project,
body.dark .work-creative,
body.dark .tiling-container {
  border-top-color: #444;
}

/* Work Web cards */
body.dark .work-web .card-button-container .grid-container .tool-box {
  background: rgba(30, 30, 30, 0.85);
  border-color: #444;
  color: #e0e0e0;
}

body.dark .work-web .card-button-container .grid-container .tool-box .tool-title {
  color: #e0e0e0;
}

body.dark .work-web .card-button-container .grid-container .tool-box .tool-desc {
  color: #999;
}

body.dark .work-web .card-button-container .grid-container .tool-box:hover {
  background-color: rgba(50, 50, 50, 0.9);
}

body.dark .work-web .card-button-container .load-more-box button {
  background-color: rgba(30, 30, 30, 0.85);
  border-color: #555;
  color: #ccc;
}

body.dark .work-web .card-button-container .load-more-box button:hover {
  background-color: rgba(60, 60, 60, 0.9);
  color: #fff;
}

/* Work Project cards */
body.dark .work-project .card-project-container .flex-container .flex-card {
  background-color: rgba(30, 30, 30, 0.85);
  border-color: #444;
}

body.dark .work-project .card-project-container .flex-container .flex-card:hover {
  background-color: rgba(50, 50, 50, 0.9);
}

body.dark .work-project .card-project-container .flex-container .flex-card .flex-card-content img {
  border-right-color: #444;
}

body.dark .work-project .card-project-container .flex-container .flex-card .flex-card-content .flex-card-text .flex-card-description {
  color: #888;
}

body.dark .work-project .card-project-container .flex-container .flex-card .flex-card-link {
  color: #ccc;
}

body.dark .work-project .card-project-container .load-project-box #load-project-button {
  background-color: rgba(30, 30, 30, 0.85);
  border-color: #555;
  color: #ccc;
}

body.dark .work-project .card-project-container .load-project-box #load-project-button:hover {
  background-color: rgba(60, 60, 60, 0.9);
  color: #fff;
}

/* Work Creative - article */
body.dark .right-section .article-container .article {
  background: rgba(25, 25, 25, 0.85);
  border-bottom-color: #333;
}

body.dark .right-section .article-container .article:hover {
  background-color: rgba(45, 45, 45, 0.9);
}

body.dark .right-section .article-container .article .article-text .platform {
  color: #777;
}

body.dark .right-section .article-container .article .article-text .excerpt {
  color: #999;
}

/* Work Creative - logo card */
body.dark .work-creative .left-section .logo-grid .logo-card {
  background: rgba(35, 35, 35, 0.9);
}

body.dark .work-creative .left-section .logo-grid .logo-card .logo-name {
  color: #bbb;
}

body.dark .work-creative .left-section .logo-grid .logo-card .logo-name a {
  color: #bbb;
}

body.dark .work-creative .left-section .logo-grid .logo-card .logo-img {
  filter: brightness(0) invert(1);
}

body.dark .work-creative .left-section .logo-grid .logo-card:hover .logo-img {
  filter: brightness(1) invert(0);
}

/* Dashboard / tiling boxes */
body.dark .tiling-container .dashboard .box {
  background: rgba(20, 20, 20, 0.9);
  border-color: #444;
  color: #e0e0e0;
}

body.dark .tiling-container .dashboard .box:hover {
  background-color: rgba(35, 35, 35, 0.95);
}

body.dark .tiling-container .dashboard .ether .spinner>div {
  border-color: #888;
}

/* Music buttons */
body.dark .tiling-container .dashboard .music #controls button {
  background: #1e1e1e;
  color: #e0e0e0;
  border-color: #555;
}

body.dark .tiling-container .dashboard .music #controls button:hover {
  background: #444;
  color: #fff;
}

/* Error / charging box */
body.dark .tiling-container .dashboard .error .lower .progress {
  border-color: #888;
  border-right-color: transparent;
  background-image: repeating-linear-gradient(90deg, #888 0 8px, rgba(0, 0, 0, 0) 0 12px);
}

body.dark .tiling-container .dashboard .error path {
  fill: #e0e0e0;
  stroke: #e0e0e0;
}

/* Social media icons */
body.dark .tiling-container .dashboard .media .logo-media a img {
  filter: invert(1);
}

body.dark .tiling-container .dashboard .media .logo-media a img:hover {
  filter: invert(0.7);
}

/* Footer */
body.dark footer {
  border-color: #444;
}

body.dark footer .left-footer {
  background-color: rgba(20, 20, 20, 0.6);
}

body.dark footer .right-footer {
  background-color: #111;
  background-image:
    linear-gradient(30deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
    linear-gradient(150deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
    linear-gradient(30deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
    linear-gradient(150deg, #1a1a1a 12%, transparent 12.5%, transparent 87%, #1a1a1a 87.5%, #1a1a1a),
    linear-gradient(60deg, rgba(40, 40, 40, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(40, 40, 40, 0.5) 75%, rgba(40, 40, 40, 0.5)),
    linear-gradient(60deg, rgba(40, 40, 40, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(40, 40, 40, 0.5) 75%, rgba(40, 40, 40, 0.5));
  border-left-color: #444;
}

/* Input terminal */
body.dark .input-class {
  color: #4da6ff;
}

/* Blue font override for dark mode */
body.dark .blue-font {
  color: #4da6ff;
}

/* Disable font */
body.dark .disable-font {
  color: #666;
}

/* Theme button icon flipped in dark mode - moon icon feel */
body.dark .navbar .theme-btn svg {
  transform: rotate(220deg);
}

/* Smooth color transitions globally */
body,
.navbar,
.tiling-container .dashboard .box,
.work-web .card-button-container .grid-container .tool-box,
.work-project .card-project-container .flex-container .flex-card,
.right-section .article-container .article,
footer {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

/*# sourceMappingURL=style.css.map */