/*======================
    404 page
=======================*/

body {
  margin: 0;
  font-family: 'Arvo', serif;
}

.page_404 {
  padding: 40px 20px;
  background: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.four_zero_four_bg {
  background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
  height: 300px;
  background-position: center;
  background-size: cover;
  margin-bottom: 20px;
}

.four_zero_four_bg h1 {
  font-size: 100px;
  color: #000;
  font-weight: bold;
}

.contant_box_404 {
  margin-top: -20px;
}

.contant_box_404 h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contant_box_404 p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.link_404 {
  color: #fff !important;
  padding: 12px 30px;
  background: #39ac31;
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
  transition: 0.3s ease;
}

.link_404:hover {
  background: #2d8626;
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .four_zero_four_bg {
    height: 200px;
  }

  .four_zero_four_bg h1 {
    font-size: 60px;
  }

  .contant_box_404 h3 {
    font-size: 20px;
  }

  .contant_box_404 p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .four_zero_four_bg {
    height: 180px;
  }

  .four_zero_four_bg h1 {
    font-size: 50px;
  }

  .contant_box_404 h3 {
    font-size: 18px;
  }

  .link_404 {
    padding: 10px 20px;
    font-size: 14px;
  }
}
