* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Work Sans", sans-serif;
  background-color: #ebebeb;
  color: #333333;
  letter-spacing: -0.4px;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center;
}

.section-error {
  margin: 0 auto;
  width: 100%;
  display: block;
}



.header-nav {
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 64px;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 38.45px;
  height: 38.43px;
  background-color: #ffffff;
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}

.logo-icon-orange {
  position: absolute;
  width: 18.65px;
  height: 37.25px;
  background-color: #f28e24;
  left: 0;
  top: 0;
}

.logo-icon-green {
  position: absolute;
  width: 23.1px;
  height: 35.26px;
  background-color: #43a734;
  left: 15.35px;
  top: 3.17px;
}

.logo-text {
  margin-left: 8px;
}

.logo-text-main img {
  height: 28.83px;
}

.logo-text-sub {
  font-size: 10px;
  color: #333333;
}

.nav-menu {
  display: flex;
  gap: 16px;
}

.dark {
  color: var(--text-invert) !important;
}

.dark:hover {
  color: var(--text-pressed) !important;
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  gap: 32px;
  padding: 0 64px 64px 64px;

}

.error-image {
  width: 100%;
  max-width: 539px;
  height: auto;
}

.error-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.error-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 39px;
  color: #333333;
}

.error-description {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #333333;
}

.home-button {
  background-color: #00AB11;
  color: #ffffff;
  border-radius: 99px;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 22px;
  gap: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.home-button:hover {
  background-color: #00980f;
  transform: translateY(-1px);
}

.home-button:focus-visible {
  outline: 3px solid rgba(0, 171, 17, 0.4);
  outline-offset: 3px;
}

@media (max-width: 1280px) {
  .header-nav {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }

  .nav-menu {
    width: 100%;
    justify-content: space-between;
  }

  .nav-item {
    font-size: 16px;
    padding: 12px;
  }

  .error-title {
    font-size: 32px;
  }

  .error-description {
    font-size: 18px;
  }

  .home-button {
    width: 100%;
    max-width: 320px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .error-title {
    font-size: 28px;
  }

  .error-description {
    font-size: 16px;
  }
}
