
@font-face {
  font-family: 'LacyTheThree';

  src: url('https://file.garden/arkcYFq0FjI2TvF7/lacythethree.ttf')
    format('truetype');
}

body {
  margin: 0;

  min-height: 100vh;

  display: flex;

  justify-content: center;
  align-items: center;

  font-family: 'LacyTheThree', sans-serif;

  background-image:
    url("https://file.garden/arkcYFq0FjI2TvF7/k02-bg-cloth.gif");

  background-color: #cccccc;

  color: #52493c;
}

.container {
  box-sizing: border-box;

  width: 800px;

  min-height: 500px;

  padding: 20px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  background-color: #fffaf4;

  border-image:
    url("https://file.garden/arkcYFq0FjI2TvF7/border.png")
    5 fill round;

  border-style: solid;

  border-width: 5px;

  border-top: 0;

  border-bottom: 0;

  border-radius: 10px;
}

.error-page {
  width: 100%;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;
}

.error-image {
  display: flex;

  justify-content: center;

  align-items: center;

  margin-bottom: 15px;
}


.error-image img {
  display: block;

  max-width: 280px;

  max-height: 180px;

  object-fit: contain;
}


.error-text h1 {
  margin: 0;

  color: #94a9ba;

  font-size: 48px;

  font-weight: normal;

  line-height: 1;
}


.error-text h2 {
  margin: 10px 0 8px 0;

  color: #52493c;

  font-size: 20px;

  font-weight: normal;
}


.error-text p {
  margin: 7px 0;

  font-size: 14px;

  line-height: 1.5;
}


.home-link {
  display: inline-block;

  margin-top: 15px;

  padding: 4px 8px;

  color: #94a9ba;

  font-size: 14px;

  text-decoration: none;

  border: 1px solid #E9E2D8;

  border-radius: 4px;

  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}


.home-link:hover {
  color: #52493c;

  background-color: #f5efe8;
}


/* =========================
   FOOTER
========================= */

.footer-decoration {
  margin-top: 35px;

  color: #94a9ba;

  font-size: 13px;

  text-align: center;
}


/* =========================
   SELECTION
========================= */

::selection {
  background: #94a9ba;

  color: #FFFFFF;
}


::-webkit-scrollbar {
  width: 10px;
}


::-webkit-scrollbar-track {
  background: #fffaf4;
}


::-webkit-scrollbar-thumb {
  background: #E9E2D8;
}
 /*mobile*/

@media (max-width: 650px) {

  .container {
    width: 100%;

    min-height: 100vh;

    padding: 15px;

    border-radius: 0;
  }


  .error-text h1 {
    font-size: 40px;
  }


  .error-text h2 {
    font-size: 17px;
  }


  .error-image img {
    max-width: 220px;
  }

}
