/* styles.css */

/* Global Styles */
.page_404 {
  padding: 40px 0;
  background: #fff;
  font-family: 'Arvo', serif;
}

.page_404 img {
  width: 100%;
}

.four_zero_four_bg {
  background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
  background-position: center;
  background-size: cover; /* Pastikan gambar latar belakang menutupi area dengan proporsi yang tepat */
  height: 60vh; /* Atur tinggi elemen menjadi 60% dari tinggi viewport */
  overflow: hidden; /* Sembunyikan bagian gambar yang terpotong */
}

.four_zero_four_bg h1 {
  font-size: 80px;
}

.four_zero_four_bg h3 {
  font-size: 80px;
}

.link_404 {
  color: #fff!important;
  padding: 10px 20px;
  background: #39ac31;
  margin: 20px 0;
  display: inline-block;
}

.contant_box_404 {
  margin-top: -50px;
  padding: 0 15px;
}

/* Responsif untuk ukuran layar besar */
@media (max-width: 992px) {
  .four_zero_four_bg h1 {
    font-size: 60px;
  }

  .four_zero_four_bg h3 {
    font-size: 60px;
  }

  .four_zero_four_bg {
    height: 50vh; /* Sesuaikan tinggi elemen untuk layar lebih kecil */
  }
}

/* Responsif untuk ukuran layar tablet */
@media (max-width: 768px) {
  .four_zero_four_bg h1 {
    font-size: 40px;
  }

  .four_zero_four_bg h3 {
    font-size: 40px;
  }

  .four_zero_four_bg {
    height: 40vh; /* Sesuaikan lagi tinggi untuk tablet */
  }
}

/* Responsif untuk ukuran layar smartphone */
@media (max-width: 576px) {
  .four_zero_four_bg h1 {
    font-size: 30px;
  }

  .four_zero_four_bg h3 {
    font-size: 30px;
  }

  .four_zero_four_bg {
    height: 30vh; /* Sesuaikan tinggi untuk smartphone */
  }

  .contant_box_404 h3 {
    font-size: 20px;
  }
}

.footer-text {
  font-size: 8px;
  margin-top: 20px;
  color: #666;
}

/* Ukuran layar sedang ke atas (tablet & desktop) */
@media (min-width: 768px) {
  .footer-text {
    font-size: 8px;
  }
}

/* Ukuran layar besar (desktop lebar) */
@media (min-width: 1200px) {
  .footer-text {
    font-size: 10px;
  }
}

/* Untuk ponsel (max-width: 480px) */
@media (max-width: 480px) {
  .msg {
    font-size: 10px; /* Ukuran font lebih kecil untuk ponsel */
  }
}
