
section.error__page__section  {
   margin:0;
}

section.error__page__section .center {
  height: 69.7vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap:2rem;
}

section.error__page__section .error {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
}

section.error__page__section .number {
  font-weight: 900;
  font-size: 15rem;
  color:var(--primary-color);
  line-height: 1;
}

@media(max-width:768px) {
   section.error__page__section .number {
      font-size:10rem;
   }
}

section.error__page__section .number__zero {
   display:none;
}

@media(max-width:768px) {
   section.error__page__section .number__zero {
      display: block;
   }
}

section.error__page__section .illustration {
  position: relative;
  width: 12.2rem;
  margin: 0 2.1rem;
}

@media(max-width:768px) {
   section.error__page__section .illustration {
      display:none;
   }
}

section.error__page__section .circle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 12.2rem;
  height: 11.4rem;
  border-radius: 50%;
  background-color: var(--primary-color);
}

section.error__page__section .clip {
  position: absolute;
  bottom: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  width: 12.5rem;
  height: 13rem;
  border-radius: 0 0 50% 50%;
}

section.error__page__section .paper {
  position: absolute;
  bottom: -0.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 9.2rem;
  height: 12.4rem;
  border: 0.3rem solid var(--primary-color);
  background-color: white;
  border-radius: 0.8rem;
}

section.error__page__section .paper::before {
    content: "";
    position: absolute;
    top: -0.7rem;
    right: -0.7rem;
    width: 1.4rem;
    height: 1rem;
    background-color: white;
    border-bottom: 0.3rem solid var(--primary-color);
    transform: rotate(45deg);
  }

  section.error__page__section .face {
  position: relative;
  margin-top: 2.3rem;
}

section.error__page__section .eyes {
  position: absolute;
  top: 0;
  left: 2.4rem;
  width: 4.6rem;
  height: 0.8rem;
}

section.error__page__section .eye {
  position: absolute;
  bottom: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  animation-name: eye;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

section.error__page__section .eye-left {
    left: 0;
  }

  section.error__page__section .eye-right {
    right: 0;
  }

@keyframes eye {
  0% {
    height: 0.8rem;
  }
  50% {
    height: 0.8rem;
  }
  52% {
    height: 0.1rem;
  }
  54% {
    height: 0.8rem;
  }
  100% {
    height: 0.8rem;
  }
}

section.error__page__section .rosyCheeks {
  position: absolute;
  top: 1.6rem;
  width: 1rem;
  height: 0.2rem;
  border-radius: 50%;
  background-color: #fdabaf;
}

section.error__page__section .rosyCheeks-left {
    left: 1.4rem;
  }

  section.error__page__section .rosyCheeks-right {
    right: 1.4rem;
  }

  section.error__page__section .mouth {
  position: absolute;
  top: 3.1rem;
  left: 50%;
  width: 1.6rem;
  height: 0.2rem;
  border-radius: 0.1rem;
  transform: translateX(-50%);
  background-color: var(--primary-color);
}

section.error__page__section .text {
  font-weight: 500;
  font-size:20px;
  text-transform:uppercase;
}

@media(max-width:768px) {
   section.error__page__section .text {
      text-align:center;
   }
}

section.error__page__section .button {
  font-size:20px;
  font-weight:500;
  border-radius:5px;
  padding: 10px 40px;
  color: var(--white);
  background:var(--background-gold);
  transition: all 0.2s;
}

section.error__page__section .button:hover {
    background:var(--secondary-color);
    tranform:scale(1.05);
    transition: all 0.2s;
  }
