/* Reset dan box-sizing */
* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: #000000;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: white;
}

header {
  background-color: #ffffff;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: clamp(14px, 1.8vw, 16px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1800px;
  margin: auto;
  flex-wrap: wrap;
  font-size: clamp(14px, 1.8vw, 16px);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.menu-items {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 20px;
  list-style: none;
  justify-content: flex-end;
  font-size: clamp(14px, 1.8vw, 16px);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-width: 50px;
}

.menu-items a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: background 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(14px, 1.8vw, 16px);
}

.menu-items a:hover,
.menu-items a:focus {
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

.main-title {
  max-width: 3000px;
  margin: auto;
  display: grid;
  gap: 0px;
  background: white;
  padding: 0px;
  height: 150px;
  overflow: hidden;
}

.main-title .content-item {
  position: relative;
  display: inline-block;
}

.main-title img {
  display: block;
  width: 100%;
  height: auto;
}

.main-title p {
  font-size: clamp(24px, 3.5vw, 56px) !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000000 !important;
  font-weight: 800;
  padding: 12px 28px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.main-title1 {
  width: 100%;
  padding: 0px;
  background-color: #000000;
  text-align: center;
}

.main-title1 .content-item {
  max-width: 3000px;
  margin: auto;
  display: grid;
  gap: 0px;
  background: white;
  padding: 0px;
  height: 20px;
  overflow: hidden;
}

.main-title1 p {
  margin: 0;
  font-weight: bold;
  color: #000000 !important;
  font-size: clamp(12px, 1vw, 16px) !important;
}

main {
  padding: 10px 20px;
  max-width: 1200px;
  margin: auto;
  font-size: clamp(14px, 1.8vw, 18px);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.content-item, .content-item:link, .content-item:visited {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  font-size: clamp(14px, 1.8vw, 16px);
}

.content-item:hover {
  transform: scale(1.05);
}

.content-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.content-item p {
  margin: 0;
  font-weight: bold;
  color: #ffffff;
  font-size: clamp(14px, 1.8vw, 16px);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 768px) {
  .navbar {
    justify-content: center;
  }

  .menu-items {
    justify-content: center;
    gap: 10px;
  }

  body {
    font-size: clamp(12px, 3vw, 16px);
  }

  .main-title p {
    font-size: clamp(18px, 5vw, 32px) !important;
  }

  .main-title1 p {
    font-size: clamp(10px, 3vw, 14px) !important;
  }
}

.Tittle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.Tittle p {
  font-size: clamp(18px, 3vw, 32px);
  font-weight: bold;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
}

.running-text-container {
  width: 100%;
  overflow: hidden;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  margin-top: 0px;
}

.running-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 35s linear infinite;
  font-size: 24px;
  font-weight: bold;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

  /* Kontainer Grid */
.filter-controls {
  display: grid;
  background-color: #ffffff;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  max-width: 1800px;
  /* margin: 20px auto; */
  padding:5px;
  box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Input Pencarian */
#searchInput {
  grid-column: span 4;
  padding: 5px 15px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: 0.3s;
  

}

#searchInput:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Tombol Filter */
.filter-button {
  padding: 10px 12px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filter-button:hover {
  background-color: #ccc;
}

.filter-button.active {
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
}

  
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

