body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white; /* Background abu-abu */
}

.navbar {
  background-color: gray;
  color: white;
  border-bottom: 2px solid #ccc; /* Garis antara navbar dan background */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.brand {
  margin-left: 20px;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 20px; /* Mengatur posisi ke kanan */
}

.bar {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-right: 20px;
}

.nav-links li {
  margin-right: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.slide {
  display: none;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Memastikan gambar selalu memenuhi container */
}


.buttons {
  height: 150px;
  display: flex;
  justify-content: center; /* Mengatur tombol berada di tengah */
  margin-top: 10px;
  gap: 10px; /* Jarak antar tombol */
}

button {
  width: 150px; /* Lebar button */
  height: 50px; /* Tinggi button */
}

.social-media {
  background-image:url(backgroufoote.jpg);
  background-size: cover;
  image-rendering: auto;
  height: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.social-media img {
  height: 30px;
  width: 30px;
}

.social-icons {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 10px 0;
}

.social-icons li {
  margin: 0 10px;
}

.text-center {
  text-align: center;
}

/* Tombol navigasi slider */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  background-color: rgba(0,0,0,0.5);
  border: none;
  font-weight: bold;
  transition: 0.6s ease;
  user-select: none;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Efek transisi untuk slider */
.slide {
  transition: opacity 1s ease-in-out;
}

.arel{
  border-color: green;
  background-color: green;
  color: white;

}

.aril {
   border-color: red;
   background-color: red;
   color: white;
}

.aral{
  border-color: orangered;
  background-color: orangered;
   color: white;

}

/* Responsive Design untuk lebar 500px ke bawah */
@media screen and (max-width: 500px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: black;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .hamburger-menu {
    display: flex;
  }

  .buttons {
    height: 170px;
    flex-direction: column;
    align-items: center; /* Mengatur tombol berada di tengah secara vertikal */
    padding-bottom: 40px;
  }

  button {
    height: 50px;
    width: 200px; /* Lebar button menjadi 100% */
  }
}

/* Responsive Design untuk lebar 300px ke bawah */
@media screen and (max-width: 300px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger-menu {
    align-self: flex-end;
    margin-right: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: black;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .buttons {
    height: 180px;
    flex-direction: column;
    align-items: center;
  }

  button {
    width: 190px; /* Lebar button menjadi 50px */
    height: 50px; /* Tinggi button menjadi 50px */
  }

  
}

/* 1920x1080 */
@media screen and (min-width: 1900px) and (max-width: 1920px) {
  .slide img {
    height: 600px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 2560x1440 */
@media screen and (min-width: 2560px) and (max-width: 2560px) {
  .slide img {
    height: 800px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 3840x2160 */
@media screen and (min-width: 3840px) and (max-width: 3840px) {
  .slide img {
    height: 1200px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 768x1024 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .slide img {
    height: 500px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 800x1280 */
@media screen and (min-width: 800px) and (max-width: 1280px) {
  .slide img {
    height: 600px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 1200x1920 */
@media screen and (min-width: 1200px) and (max-width: 1920px) {
  .slide img {
    height: 800px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 360x640 */
@media screen and (min-width: 360px) and (max-width: 640px) {
  .slide img {
    height: 250px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 375x667 */
@media screen and (min-width: 375px) and (max-width: 667px) {
  .slide img {
    height: 300px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 414x896 */
@media screen and (min-width: 414px) and (max-width: 896px) {
  .slide img {
    height: 400px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}

/* 412x915 */
@media screen and (min-width: 412px) and (max-width: 915px) {
  .slide img {
    height: 300px;
    object-fit: cover; /* Memastikan gambar selalu memenuhi containe
  }
}
