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

body {
  font-family: "DM Sans", sans-serif;
  background: #f7f7f5;
  color: #292b31;
}

.error-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;

  background-image: url("../img/404.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-color: #fff;
}
@media (max-width: 768px) {
  .error-page {
    background-position: 65% center;
  }
}

/* CONTAINER */

.error-container {
  width: 90%;
  max-width: 1500px;
  min-height: 100vh;

  margin: auto;

  display: flex;
  align-items: center;
}

/* LEFT AREA */

.error-content {
  width: 52%;
  position: relative;
  z-index: 5;
  padding: 80px 0;
}

/* BRAND */

.brand-small {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.brand-small span {
  display: inline-block;

  width: 40px;
  height: 3px;

  background: #ff5a00;
}

/* 404 */

.error-number {
  font-family: "Oswald", sans-serif;

  font-size: 175px;

  line-height: 0.85;

  display: flex;
  align-items: center;

  font-weight: 700;

  color: #292c33;

  margin-bottom: 40px;
}

.error-number span {
  display: inline-block;
}

/* LAST 4 EFFECT */

.broken-four {
  position: relative;

  background: linear-gradient(
    90deg,
    #292c33 0%,
    #292c33 55%,
    rgba(41, 44, 51, 0.3) 75%,
    transparent 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
}

/* HEADING */

.error-content h2 {
  font-size: 36px;

  line-height: 1.15;

  font-weight: 600;

  margin-bottom: 20px;
}

.error-content h2 strong {
  color: #ff5a00;
}

/* DESCRIPTION */

.error-description {
  max-width: 620px;

  font-size: 16px;
  line-height: 1.7;

  color: #585b61;

  margin-bottom: 21px;
}

/* BUTTONS */

.error-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 15px;

  margin-bottom: 42px;
}

.error-buttons a {
  min-width: 220px;

  padding: 18px 26px;

  border-radius: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  text-decoration: none;

  text-transform: uppercase;

  font-size: 14px;
  font-weight: 700;

  transition: 0.3s ease;
}

/* HOME BUTTON */

.btn-home {
  background: #ff5a00;
  color: white;

  border: 2px solid #ff5a00;
}

.btn-home:hover {
  background: #25272c;
  border-color: #25272c;

  transform: translateY(-3px);
}

/* SERVICES BUTTON */

.btn-services {
  background: transparent;

  color: #292b31;

  border: 2px solid #ff5a00;
}

.btn-services:hover {
  background: #ff5a00;
  color: white;

  transform: translateY(-3px);
}

/* FUN TEXT */

.fun-text {
  position: relative;

  display: inline-block;

  font-size: 19px;
  line-height: 1.4;

  font-weight: 600;

  font-style: italic;

  transform: rotate(-4deg);

  color: #25272c;
}

.fun-text::after {
  content: "";
  position: absolute;
  left: 35px;
  bottom: -10px;
  width: 133px;
  height: 4px;
  background: #ff5a00;
  transform: rotate(-6deg);
  border-radius: 10px;
}

.fun-text span {
  color: #ff5a00;

  font-size: 30px;

  margin-left: 15px;
}

/* RIGHT IMAGE */

.error-image {
  width: 48%;

  min-height: 700px;

  display: flex;
  justify-content: center;
  align-items: flex-end;

  position: relative;
}

/* CLEANER */

.error-image img {
  position: relative;

  max-width: 670px;
  width: 100%;

  object-fit: contain;

  z-index: 3;

  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.12));
}

/* BACKGROUND CIRCLE */

.cleaner-circle {
  position: absolute;

  width: 550px;
  height: 550px;

  border-radius: 50%;

  background: rgba(255, 90, 0, 0.07);

  right: -70px;
  bottom: 80px;

  z-index: 1;
}

/* RIGHT SMALL TEXT */

.side-text {
  position: absolute;

  right: -80px;
  top: 38%;

  color: #979797;

  font-size: 17px;

  line-height: 1.65;

  font-weight: 600;

  z-index: 5;
}

.side-text span {
  display: block;

  width: 45px;
  height: 3px;

  background: #ff5a00;

  margin-top: 18px;
}

/* DECORATIVE ORANGE CIRCLE */

.orange-circle {
  position: absolute;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  background: rgba(255, 90, 0, 0.025);

  top: -180px;
  right: -180px;
}

/* =================================
   TABLET
================================= */

@media (max-width: 1200px) {
  .error-container {
    width: 92%;
  }

  .side-text {
    display: none;
  }

  .error-number {
    letter-spacing: -10px;
  }
}

/* =================================
   MOBILE
================================= */

@media (max-width: 991px) {
  .error-page {
    min-height: auto;
  }

  .error-container {
    min-height: auto;

    flex-direction: column;

    padding: 70px 0 0;

    text-align: center;
  }

  .error-content {
    width: 100%;

    padding: 20px 0;
  }

  .brand-small {
    justify-content: center;
  }

  .error-number {
    justify-content: center;

    font-size: 200px;

    margin-bottom: 35px;
  }

  .error-description {
    margin-left: auto;
    margin-right: auto;
  }

  .error-buttons {
    justify-content: center;
  }

  .error-image {
    width: 100%;

    min-height: auto;

    margin-top: 25px;
  }

  .error-image img {
    max-width: 550px;
  }

  .cleaner-circle {
    width: 420px;
    height: 420px;

    right: 50%;
    transform: translateX(50%);
  }
}

/* =================================
   SMALL MOBILE
================================= */

@media (max-width: 576px) {
  .error-container {
    width: 90%;

    padding-top: 45px;
  }

  .brand-small {
    font-size: 11px;

    letter-spacing: 2px;
  }

  .brand-small span {
    width: 30px;
  }

  .error-number {
    font-size: 140px;

    letter-spacing: -8px;

    margin-bottom: 30px;
  }

  .error-content h2 {
    font-size: 31px;
  }

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

  .error-buttons {
    flex-direction: column;
  }

  .error-buttons a {
    width: 100%;
  }

  .fun-text {
    font-size: 19px;
  }

  .error-image img {
    max-width: 100%;
  }
}
