body {
  background-color: white;
  margin: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropdown {
  transition: all 0.9s ease;
}

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

.button-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 30px;
}

.welcome {
  margin-top: 3px;
  width: 100%;
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  padding: 10px;
}

.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  width: 100%;
}

.search-container input {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 60%;
  max-width: 400px;
  min-width: 180px;
  box-sizing: border-box;
}

.search-container button {
  padding: 5px 10px;
  border: none;
  background-color: #007BFF;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.highlight {
  opacity: 25.0%;
  background-color: blue;
  font-weight: bold;
}

body.dark {
  background-color: #121212;
  color: white;
}

body.dark .slide-menu {
  background: #1e1e1e;
  color: white;
}

body, .slide-menu, .box-button {
  transition: background-color 0.9s ease, 
              color 0.9s ease, 
              box-shadow 0.9s ease,
              transform 0.9s ease;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 200%;
  overflow-x: hidden;
}

.text-section {
  background: #fff;
  padding: 30px 20px;
  text-align: left;
  margin-top: 0;
  transition: background-color 0.9s ease, color 0.9s ease;
}

.text-section p,
.text-section li {
  font-size: 16px;
  line-height: 1.6;
  max-width: 470px;
  margin: 10px auto;
  color: black;
}

body.dark .text-section {
  background: #000;
}

body.dark .text-section p,
body.dark .text-section li {
  color: white;
}

footer {
  text-align: center;
  padding: 10px;
  font-size: 14px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 100%;
  margin-top: 20px;
}

footer a {
  color: #4da6ff;
  text-decoration: none;
  margin-left: 5px;
}

footer a:hover {
  text-decoration: underline;
}

/* Container Slider */
.slider-container {
  display: flex;
  flex-direction: row;
  gap: 15px;
  padding: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  box-sizing: border-box;
  justify-content: flex-start;
}
.slider-container::-webkit-scrollbar {
  display: none;
}

.slider-container .slider-btn:hover,
.slider-container .box-button:hover {
  background: #666;
  transform: translateY(-3px);
}

/* Dark Mode Support untuk Tombol */
body.dark .slider-container .box-button,
body.dark .slider-container .slider-btn {
  background: #222;
  color: #fff;
  box-shadow: 4px 4px 8px rgba(255, 255, 255, 0.15),
              -2px -2px 4px rgba(0, 0, 0, 0.7);
}

body.dark .slider-container .box-button:hover,
body.dark .slider-container .slider-btn:hover {
  background: #333;
}

/* Kalau di dalam slider cuma ada 1 item, otomatis center */
.slider-container > *:only-child {
  margin: 0 auto;
}