.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 2rem;
  background-color: #f5f5f7;
  text-align: center;
}

.error-content {
  max-width: 800px;
  margin: 0 auto;
}

.error-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1d1d1f;
  font-family: var(--regular-text);
}

.error-message {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #1d1d1f;
  font-family: var(--regular-text);
}

.error-image {
  width: 100%;
  max-width: 400px;
  margin: 2rem 0;
}

.home-button {
  font-family: var(--regular-text);
  font-size: 1rem;
  font-weight: 600;
  background-color: rgb(51, 51, 51);
  color: var(--primary-light);
  border: none;
  border-radius: 30px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-block;
  margin-top: 1.5rem;
}

.home-button:hover {
  background-color: rgb(40, 40, 40);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .error-title {
    font-size: 2.5rem;
  }

  .error-message {
    font-size: 1rem;
  }

  .error-image {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .error-title {
    font-size: 2rem;
  }

  .error-container {
    padding: 1.5rem;
  }
}
