* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: url("assets/retro.png") no-repeat center top;
  background-size: auto auto;
  font: 14px/1.5 "Comfortaa";
  color: #654321;
  font-weight: 750;
}
a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: #ffffff;
}

/* Kontainer Utama: Menggunakan Flexbox agar pas di layar */
#main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 400px;
  padding: 20px;
  background-color: #bd956d4d;
  border-radius: 30px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px #af8965a2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) translateY(100%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

/* When the container is activated, it slides up into place */
#main-container.slide-in {
  transform: translate(-50%, -50%) translateY(0);
  opacity: 1;
}

/* When exiting, the container slides down (back to starting state) */
#main-container.slide-out {
  transform: translate(-50%, -50%) translateY(100%);
  opacity: 0;
}


/* Bagian Logo */
#logo-container {
  text-align: center;
  margin-bottom: 20px;
}
#text-logo, #slogan {
  display: inline-block;
  color: transparent;
  background: linear-gradient(45deg, #e6b585, #bea082);
  -webkit-background-clip: text;
  background-clip: text;
}
#text-logo {
  font-size: 40px;
  line-height: 60px;
}
#slogan-container {
  padding: 1% 12%;
}
#slogan {
  font-size: 22px;
  line-height: 28px;
}

/* Bagian Download */
#download-container {
  text-align: center;
}
.buttons {
  transition: 0.35s ease;
  width: 150px;
  height: 50px;
  margin: 10px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(145deg, #ECBA884d, #8E70524d);
  box-shadow: 1.5px 1.5px 3px #B48E684d, -1.5px -1.5px 3px #C69C724d;
  color: #fff;
  font: 20px/1.5 "Comfortaa";
  cursor: pointer;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.buttons:hover {

  background: linear-gradient(145deg, #8e7052a1, #ECBA88a1);
  box-shadow: 1.5px 1.5px 10px #9273544d, -1.5px -1.5px 10px #E8B7864d;
}

/* Navbar Mengambang (Floating) di Bagian Tengah Bawah */
.floating-nav {
  position: fixed;
  bottom: 6.5%;
  left: 50%;
  transform: translateX(-50%);
  background: #bd956d4d;
  border-radius: 20px;
  padding: 10px 12px;
  display: flex;
  gap: 20px;
  z-index: 100;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 5px #c4ae98c7;
}
.floating-nav a {
  display: inline-block;
  padding: 3px 8px;
  font: 14px/1.2 "Comfortaa";
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: 0.25s ease;
}
.floating-nav a:hover, .floating-nav a.active {
  background: linear-gradient(145deg, #FFD3A36c, #9C7F636c);
  border-radius: 10px;
  box-shadow: 1px 1px 3px #C5A17C33, -1px -1px 3px #D9B18A33;
}

/* Responsif */
@media screen and (max-width: 600px) {
  #main-container {
    padding: 0 20px;
  }
  .floating-nav a {
    padding: 3px 8px;
    font-size: 10px;
    font: 14px/1.2 "Comfortaa";
    font-weight: 500;
  }
}

/* Untuk Aboutme */
/* Menata kontainer about-left dan about-right berdampingan */
.about-wrapper {
  display: flex;
  width: 100%;
  gap: 15px;
}

/* Setiap sisi akan mengisi ruang yang tersedia */
.about-left,
.about-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Styling konten sebelah kiri */
.about-left-content {
  width: 100%;
  max-width: 22vw;
  text-align: center;
  padding: 0.5rem;
  display: flex;
  justify-content: center;
}

/* Kotak latar belakang gambar */
.about-left-content > div {
  background: #af7a4625;
  border-radius: 25px; /* Mengurangi bulatan agar tetap terlihat kotak */
  padding: 1rem; /* Padding lebih tebal */
  backdrop-filter: blur(5px);
  box-shadow: 0 0 8px #2c2116f3;
  
  /* Bikin kotak sempurna */
  width: 15vw;
  height: 15vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Foto di dalam kotak */
.about-img {
  width: 85%; /* Ukuran lebih kecil untuk padding lebih tebal */
  height: 85%;
  overflow: hidden;
  border-radius: 10%;
  transition: all 0.25s ease-in-out;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shadow {
  margin-left: auto;
  margin-right: auto;
  border-radius: 100%;
  position: relative;
}

.shadow::after {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  left: 50%;
  transform: translateX(-50%);
  bottom: 15px;
  height: 5px;
  width: 150px;
  filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shadow:hover .about-img {
  transform: translateY(-10px);
}

.shadow:hover::after {
  opacity: 1;
}

.name {
  padding: 0.5rem;
  text-align: center;
  margin-top: 15px;
  background: #af7a4625;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 8px #2c2116f3;
  width: 100%;
  max-width: 20vw;
}

/* Styling ikon */
.icons {
  display: flex;
  justify-content: center;
  padding: 0.8rem 0;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  background: #af7a4625;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 8px #2c2116f3;
  width: 150px;
}

.icons li {
  list-style: none;
  background: #3a2c1fbe;
  color: #ebc7a3;
  width: 40px;
  height: 40px;
  margin: 0 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.icons li:hover {
  box-shadow: 0 0 5px #2c2012d5;
  background-color: #ebc7a3;
  color: #5c4835;
}

/* Styling konten sebelah kanan */
.about-right {
  text-align: center;
  color: #fff;
  background: #af7a4625;
  border-radius: 20px;
  padding: 0.5rem;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 8px #2c2116f3;
  width: 100%;
  max-width: 22vw;
  margin-right: 11px;
  margin-top: 7px;
  margin-bottom: 7px;
}

.about-right h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
}

.about-right h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1rem 0;
}

.about-btns {
  margin: 2rem 0;
}