@font-face {
  font-family: Dekko;
  src: url(Dekko-Regular.ttf);
}

/* Reset default styling */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #032048;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: Dekko;
  color: white;
  width: 100%;
}

/* Banner Section */
.banner {
  position: absolute;
  width: 100%;
  height: 80vh;
  max-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 0;
  z-index: -1;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 0;
  height: auto;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 100;
}

@media screen and (max-width: 768px) {
  .navbar {
    position: absolute;
    top: 0;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 0;
    height: auto;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 99;
  }

  .menu ul {
    flex-direction: column;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.menu ul li {
  margin: 0 10px;
  position: relative;
}

.menu ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  transition: color 0.3s;
}

.menu ul li a:hover {
  color: #ffddc1;
}

/* Hero Section */
.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 120px;
  height: auto;
  width: 100%;
}

.hero-img img {
  height: 40vh;
  width: auto;
  max-height: 400px;
  align-content: center;
  display: block;
}

/* Container utama untuk responsivitas */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* Download Section */
.download-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  position: relative;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.download-button img {
  height: 60px;
  width: auto;
  display: flex;
  z-index: 10;
  transition: transform 0.3s ease-in-out;
}

.download-button img:hover {
  transform: scale(1.1);
}

/* Slideshow */
.slide-center {
  display: flex;
  justify-content: center;
}

.slide-container {
  position: relative;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  border-radius: 3px;
  user-select: none;
  -webkit-user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
}

.next {
  right: 0;
}

.prev {
  left: 0;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 14px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  background-color: black;
}

/* Thumbnail image row */
.row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Six columns side by side */
.column {
  flex: 1 1 16%;
  padding: 5px;
  max-width: 16%;
}

.column img {
  width: 100%;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
}

.column img:hover,
.active {
  opacity: 1;
}

/* Responsive Styling */
@media screen and (max-width: 1024px) {
  .hero-img img {
      height: 30vh;
  }

  .download-button img {
      height: 50px;
  }

  .slide-container {
      max-width: 800px;
  }

  .column {
      max-width: 20%;
  }
}

@media screen and (max-width: 768px) {
  .hero-img img {
      height: 25vh;
  }

  .menu ul {
      flex-direction: column;
      align-items: center;
  }

  .menu ul li {
      margin: 5px 0;
  }

  .download-button img {
      height: 40px;
  }

  .slide-container {
      max-width: 600px;
  }

  .column {
      max-width: 25%;
  }
}

@media screen and (max-width: 480px) {
  .hero-img img {
      height: 20vh;
  }

  .download-button img {
      height: 35px;
  }

  .slide-container {
      max-width: 400px;
  }

  .column {
      max-width: 33%;
  }

  .prev,
  .next {
      font-size: 16px;
      padding: 10px;
  }
}

.merchandise-item-container {
  display: grid;
  margin-top: 70px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
  align-content: center;
  background-color:rgba(255, 255, 255, 0.1);
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 5%;
}
.merchandise-item-container img{
  width: 600px;
  height:auto;
  max-width: 80%;
  align-self: center;
}

.tentang-game-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
  align-content: center;
  background-color:rgba(255, 255, 255, 0.1);
  margin-left: 5%;
  margin-right: 5%;
  border-radius: 5%;
}

.tentang-game-image {
  width: 300px;
  height: auto;
  filter: drop-shadow(8px 8px 10px rgb(35, 35, 35));
}

.tentang-game-text {
  font-family: Dekko;
  font-size: 18px;
  color: white;
  text-align: justify;
  width: 1000px;
  max-width: 80%;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center; 
}

.judul-halaman-berita{
  margin-top: 70px;
  font-family: Dekko;
  color: white;
  line-height: 1.5;
  text-align: center;
  font-size: 2em;
  margin-bottom: 0px;
}

.tanggal-berita{
  font-family: Dekko;
  color: white;
  text-align: center;
  font-size: 1em;
  margin-top: 0px;
}

.ImagePath{
  margin-top: 50px;
  padding-bottom: 10px;
  justify-content: center;
  display: flex;
}
.ImagePath img {
  height: 60px;
  width: auto;
  max-width: 80%;
  left: 0;
  display: flex;
}

.tentang-pembuat-container {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-content: center;
  background-color:rgba(255, 255, 255, 0.1);
  margin-left: 5%;
  margin-right: 5%;
}

.tentang-pembuat-container img{
  width: 500px;
  max-width: 50%;
  height: auto;
}

.requirement{
  display: grid;
  gap: 2px;
}

.requirement h2{
  margin: 0px;
  padding: 0px;
  margin-block-start: 0px;
  margin-block-end: 0px;
}

.merchandise-container-home {
  width: 80%;
  max-width: 1200px;
  margin: 50px auto;
  margin-top: -2px;
  text-align: center;
}

.merchandise-title {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.merchandise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  justify-items: center;
}

.merch-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 15px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.merch-item img {
  width: auto;
  height: 30vh;
  max-height: 200px;
  border-radius: 10px;
}

.merch-item:hover {
  transform: scale(1.05);
}

.merch-item p {
  color: white;
  font-size: 16px;
  margin-top: 10px;
}

.merch-button {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: #ff6600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.merch-button:hover {
  background: #8d3b00;
}

/* Popup Button */
.comment-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.comment-button {
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}
.comment-button img{
  max-height: 30px;
  height: auto;
  width: auto;
}
.comment-button:hover {
  background: #cc5500;
}

/* Modal Style */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);

}

.modal-content {
  background:   #6591c3;
  width: 600px;
  max-width: 80%;
  max-height: 100%;
  padding-left: 14px;
  padding-right: 14px;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.alert {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

/* Form Style */
form label {
  font-weight: bold;
}

form input, form textarea {
  resize: vertical;
  width: 95%;
  padding: 8px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.submit-btn {
  background-color: #ff6600;
  color: white;
  padding: 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #cc5500;
}

/* Komentar List */
.comment-list {
  max-height: 800px;
  height: 50vh;
  overflow-y: auto;
}

.comment-item {
  border-bottom: 1px solid #ddd;
  padding: 5px 0;
  color : #fff;  
  text-align: left;
}

.comment-item small {
  display: block;
  color: rgb(222, 250, 255);
  font-size: 12px;
  text-align: left;
}

/* Container utama untuk daftar berita */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: white;
}

/* Judul halaman */
.news-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Grid layout untuk berita */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

/* Kartu berita */
.news-item {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: scale(1.05);
}

/* Gambar berita */
.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

/* Judul berita */
.news-item h3 {
    font-size: 1.5em;
    margin: 10px 0;
}

/* Detail berita */
.news-meta {
    font-size: 0.9em;
    color: #ccc;
}

/* Tombol baca selengkapnya */
.news-button {
    display: inline-block;
    background-color: #1e90ff;
    color: white;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.news-button:hover {
    background-color: #0073e6;
}
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  min-height: 90vh;
}

.section-title {
  font-size: 2em;
  color: white;
  margin-bottom: 20px;
}

.berita-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.berita-item {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 15px;
  border-radius: 10px;
  width: 300px;
  text-align: left;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.berita-img {
  width: 100%;
  border-radius: 8px;
}

.berita-content {
  margin-top: 10px;
}

.berita-title {
  font-size: 1.5em;
  color: white;
}

.berita-meta {
  font-size: 0.9em;
  color: gray;
}

.berita-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background-color: #ff9900;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.berita-link:hover {
  background-color: #cc7700;
}

.content-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

.section-title {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

.merchandise-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 10px;
}

.merch-item {
  background-color: #222;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  width: 250px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.merch-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.merch-content {
  margin-top: 10px;
}

.merch-title {
  font-size: 1.2rem;
  color: white;
}

.merch-meta {
  font-size: 0.9rem;
  color: #ccc;
}

.merch-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.merch-link:hover {
  background-color: #218838;
}

.image-berita img{
  height: 80vh;
  width: auto;
  max-height: 600px;
  border-radius: 10px;
}



.site-footer {
  background-color: #6591c3;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  bottom: 0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo img {
  max-width: 120px;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer-links a:hover {
  color: #f1c40f;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-social img {
  width: 30px;
  height: 30px;
}

.footer-text {
  font-size: 14px;
  opacity: 0.8;
}
