/* 404 page styles */
.x-404__container {
  margin-bottom: 24px;
}

.x-404__image {
  object-fit: contain;
  overflow: hidden;
  max-width: 208px;
  max-height: 185px;
  margin: 0 auto;
  display: block;
  margin-bottom: 16px;
}

.x-404__title {
  color: #E12528;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 16px;
}

.x-404__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: #314052;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 16px;
}

.x-404__btn {
  margin: 0 auto;
  display: block;
  width: fit-content;
}

.x-404__related-boxes p {
  text-align: center;
  margin-bottom: 24px;
}

@media screen and (min-width: 480px) {
  .x-404__image {
    max-width: 356px;
    max-height: 317px;
    margin-bottom: 32px;
  }
}

@media screen and (min-width: 768px) {
  .x-404__container {
    margin-bottom: 32px;
  }

  .x-404__title {
    margin-bottom: 24px;
  }

  .x-404__description, 
  .x-404__related-boxes p,
  .x-404__favourite-cards .x-cards__section-description {
    font-size: 18px;
  }
  
  .x-404__description {
    margin-bottom: 32px;
  }
}

@media screen and (min-width: 1200px) {
  .x-404__favourite-cards .x-cards {
    margin-top: 64px;
  }
}

@media screen and (min-width: 1280px) {
  .x-404__container {
    margin-bottom: 56px;
  }

  .x-404__image {
    max-width: 436px;
    max-height: 389px;
  }

  .x-404__description {
    max-width: 636px;
  }

  .x-404__related-boxes p {
    text-align: left;
  }
}

.x-404__free-games {
  margin-top: 48px;
}

.x-404__free-games h2 {
  font-weight: bold;
  color: #E12528;
  text-align: center;
  margin-top: 0;
}

.x-404__free-games p {
  font-weight: normal;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 28px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .x-404__free-games {
    margin-top: 64px;
  }

  .x-404__free-games h2 {
    margin-bottom: 24px;
  }

  .x-404__free-games p {
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) {
  /* .x-404__free-games {
    margin-top: 80px;
  } */

  .x-404__free-games h2 {
    text-align: left;
  }

  .x-404__free-games p {
    text-align: left;
  }
}
/* 404 page styles end */