/* Kotak Promo dengan Latar Belakang Hitam Transparan */
.promo-box {
  background: rgba(0, 0, 0, 0.7); /* Hitam transparan */
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  margin: auto;
}

/* Teks Promosi */
.promo-text {
  color: white;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Tombol Gambar */
.promo-image-btn {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.promo-image-btn img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.promo-image-btn:hover img {
  transform: scale(1.1);
}

/* Overlay Teks di Atas Gambar */
.promo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  transition: opacity 0.3s ease-in-out;
}

.promo-image-btn:hover .promo-overlay {
  opacity: 1;
}


/* Tombol buka sidebar */
.open-sidebar-btn {
  position: fixed;
  top: 20px;
  right: 40px;
  background-color: #00cc00;
  color: white;
  border: none;
  padding: 12px 18px;
  font-size: 1.2rem;
  border-radius: 8px;
  z-index: 1001;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,255,0,0.4);

}

/* Sidebar */
.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    right: -260px; /* SEMBUNYI dulu di sisi kanan */
    background-color: #111;
    overflow-x: hidden;
    padding: 60px 15px 15px 15px;
    transition: 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0,255,0,0.3); /* bayangan ke kiri */
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 10px;
  }

/* Link sidebar */
.sidebar a {
  padding: 15px 25px;
  text-decoration: none;
  font-size: 1.1rem;
  color: #00ff00;
  display: block;
  transition: 0.2s;
}

.sidebar a:hover {
  background-color: #00aa00;
  color: white;
}

/* Tombol tutup */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: #f4f4f4;
  text-align: center;
  padding-top: 150px; 
}


.main-header {
    position: fixed; /* Bikin nempel di atas */
    top: 0;
    left: 0;
    width: 100%;
    height: 10%;
    z-index: 999; /* Biar di atas elemen lain */
    background-color: rgba(0, 0, 0, 0.7); /* Hitam transparan */
    backdrop-filter: blur(5px); /* efek blur elegan */
  }
  
.logo {
  position: absolute;       /* Biar bisa nempel di pojok */
  top: 0,1px;                /* Jarak dari atas */
  left: 20px;               /* Jarak dari kiri */
  width: 50px;              /* Ukuran logo */
  height: 50px;             /* Biar jadi bulet juga */
  border-radius: 50%;       /* Ini yang bikin jadi lingkaran */
  object-fit: cover;        /* Biar isi gambar nggak gepeng */
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);  /* Efek glow hijau opsional */
  z-index: 1002;            /* Biar selalu di atas elemen lain */
}
.welcome-heading {
  position: absolute;
  top: 0,1%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: greenyellow;
  text-align: center;
}


.highlight {
  color: #007bff;
  font-weight: bold;
}

.sidebar-container {
  padding: 10px;
  background-color: #fff;
}

.open-sidebar-btn {
  top: 0,01px;
  left: 0,1px;
  font-size: 18px;
  padding: 10px 15px;
  margin-bottom: 10px;
  cursor: pointer;
}

.sidebar a {
  text-decoration: none;
  color: #222;
  font-size: 16px;
  padding: 8px 0;
}

.close-btn {
  align-self: flex-end;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Biar sidebar bisa muncul pas tombol diklik */
.sidebar.active {
  left: 0;
}

/* 🔥 Media query untuk layar kecil (HP) */
@media (max-width: 768px) {
  .welcome-heading {
    font-size: 18px;
  }

  .logo {
    width: 80px;
  }

  .sidebar a {
    font-size: 14px;
  }

  .open-sidebar-btn {
    font-size: 16px;
  }
}
.t {
  background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;

    margin-top: -20px;


} /* tombol yaang digunakan untuk halaman artikel pencetan yang menuju ke halaman inti*/

.blogger{
  width: 40%;
  height: 40%;

} /*styling untuk gambar bloog*/

.s{
  background-color: rgba(0, 0, 0, 0.7);
  height: 100%;
  width: 100%;
}

.style-paragraft{
  color: #f4f4f4;
  text-transform: capitalize;
  font-family: fantasy;
  font-size: 100%;
}

.multy-0{
  color: #f4f4f4;
  font-size: 50px;
  width: 100px;
  height: 100px;

}