body {
  background: linear-gradient(to bottom, #0b0c10, #1f2833);
  color: white;
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
}

body,
      a:hover {
        cursor: url(http://cur.cursors-4u.net/symbols/sym-1/sym46.cur), progress !important;
      }

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  box-sizing: border-box;
}

h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

p {
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.slider {
  overflow: hidden;
  position: relative;
  height: 400px;
  margin-bottom: 30px;
}

.slider img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slider img:first-child {
  opacity: 1;
  left: 0;
}

.slider img:nth-child(2) {
  left: 100%;
}

.slider img:nth-child(3) {
  left: 200%;
}

/* dan seterusnya untuk setiap gambar berikutnya */


.slider input {
display: none;
}

.slider label {
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
font-size: 18px;
font-weight: bold;
color: white;
cursor: pointer;
transition: all 0.3s ease;
}

.slider label:hover {
color: #ffd700;
}

.slider input:checked + label {
color: #ffd700;
}

#slide1:checked ~ img:nth-of-type(1),
#slide2:checked ~ img:nth-of-type(2),
#slide3:checked ~ img:nth-of-type(3),
#slide4:checked ~ img:nth-of-type(4),
#slide5:checked ~ img:nth-of-type(5),
#slide6:checked ~ img:nth-of-type(6) {
opacity: 1;
z-index: 1;
}

.slider img:not(:first-of-type) {
opacity: 0;
z-index: -1;
}
/* CSS khusus perangkat seluler */
@media screen and (max-width: 767px) {
  /* Slider */
  .slider {
    height: 200px;
  }

  .slider img {
    height: 200px;
  }

  .slider label {
    bottom: -20px;
    font-size: 14px;
  }
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 50px; /* jarak vertikal menu dropdown */
  z-index: 1;
  background-color: #2e2e2e;
  background-image: linear-gradient(#2e2e2e, #4c4c4c);
  min-width: 150px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  pointer-events: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transform: translateY(0px);
  pointer-events: auto;
}

.dropdown-content a {
  color: #f5f5f5;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1
}

.menu {
  width: 150px;
  height: 50px;
  border-radius: 5px;
  border: none;
  transition: all 0.5s ease-in-out;
  font-size: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  background: #040f16;
  color: #f5f5f5;
}

.menu:hover {
  box-shadow: 0 0 20px 0px #2e2e2e3a;
}

.menu .icon {
  position: absolute;
  height: 40px;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

.menu .teks {
  transform: translateX(50px);
}

.menu.active {
  display: block;
}

.menu:hover .icon {
  width: 175px;
}

.menu:hover .text {
  transition: all 0.5s;
  opacity: 0;
}

.menu:focus {
  outline: none;
}

.menu:active .icon {
  transform: scale(0.85);
}

.avatar {
    /* Rounded border */
    border-radius: 50%;

    /* Center the content */
    align-items: center;
    display: flex;
    justify-content: center;

    /* Size */
    height: 4rem;
    width: 4rem;
}

.avatar__image {
    /* Size */
    height: 50%;
    width: 50%;
}

/* Footer */
footer {
  background: linear-gradient(to bottom, #0b0c10, #1f2833);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

footer a {
  color: white;
  text-decoration: none;
}
