#page_404 {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #f1f5ec 0%, #bed3be 100%);
	background: radial-gradient(circle at center, #f1f5ec 0%, #b8e0b8 100%);
    position: relative;
}


.page_404_container {
    width: 88%;
    max-width: 1366px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error_code_box {
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    margin-bottom: 30px;
    /* gap: 10px; */
    position: relative;
}

span.error_code {
    font-size: 180px;
    color: #0A400C;
    font-weight: bold;
    font-family: 'Playfair Display';
    position: relative;
    margin: 0 10px;
}

/* Add floaty positioning */
.error_code_1 {
    top: -20px;
}

.error_code_2 {
    top: -15px;
}

.error_code_box img {
    width: 300px;
    position: relative;
    top: 0;
}


@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.error_code_box img {
    animation: floatY 2s ease-in-out infinite;
}



h1.error_message {
    font-size: 60px;
    line-height: 70px;
    color: #0A400C;
    font-weight: 600;
    font-family: 'Playfair Display';
    margin-bottom: 30px;
}


p.error_description {
    font-size: 18px;
    color: #819067;
    font-family: 'Inter 18pt';
    margin-bottom: 30px;
}


a.btn_go_home {
    width: fit-content;
    text-decoration: none;
    font-size: 16px;
    color: #0A400C;
    text-align: center;
    font-family: 'Inter 18pt';
    padding: 14px 30px;
    border: 2px solid #0A400C;
    border-radius: 100px;
    transition: 0.2s ease-in-out;
}

a.btn_go_home:hover {
    color: #FEFAE0;
    background-color: #0A400C;
}



/* 💻 Larger tablets / small desktops: 769px - 1024px */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  span.error_code {
    font-size: 160px;
  }

  .error_code_box img {
    width: 260px;
  }

  h1.error_message {
    font-size: 50px;
    line-height: 60px;
  }

  p.error_description {
    font-size: 17px;
  }
}



/* 📲 Medium Devices: 481px - 768px */
@media screen and (min-width: 481px) and (max-width: 768px) {
  span.error_code {
    font-size: 120px;
    margin: 0 8px;
  }

  .error_code_1 {
    top: -10px;
  }

  .error_code_2 {
    top: -5px;
  }

  .error_code_box img {
    width: 180px;
    margin: 0 8px;
  }

  h1.error_message {
    font-size: 36px;
    line-height: 44px;
    text-align: center;
  }

  p.error_description {
    font-size: 16px;
    text-align: center;
  }

  a.btn_go_home {
    font-size: 15px;
    padding: 12px 26px;
  }
}



/* 📱 Small Devices: up to 480px */
@media screen and (max-width: 480px) {
  span.error_code {
    font-size: 80px;
    margin: 0 6px;
  }

  .error_code_1 {
    top: -6px;
  }

  .error_code_2 {
    top: -3px;
  }

  .error_code_box img {
    width: 120px;
    margin: 0 6px;
  }

  h1.error_message {
    font-size: 28px;
    line-height: 36px;
    text-align: center;
  }

  p.error_description {
    font-size: 15px;
    text-align: center;
    padding: 0 10px;
  }

  a.btn_go_home {
    font-size: 14px;
    padding: 10px 22px;
  }
}