.not-found {
  height: calc(100vh - 450px);
  min-height: 650px;
  margin-bottom: 50px;
  padding-top: 100px;
}

.not-found .container {
  align-items: center;
  width: 100%;
  display: flex;
}

.not-found .section-head {
  margin-bottom: 20px;
}

@media (width <=700px) {
  .not-found .section-head .section-title {
    text-align: center;
  }
}

.not-found__content-wrapper {
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  display: flex;
}

.not-found__content-wrapper img {
  object-fit: cover;
  width: 100%;
  max-width: 740px;
}

@media (width <=1400px) {
  .not-found__content-wrapper img {
    max-width: 460px;
  }
}

@media (width <=1000px) {
  .not-found__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}

.not-found__row {
  align-items: center;
  gap: 20px;
  display: flex;
}

.not-found__row p {
  letter-spacing: .02em;
  color: rgba(30, 28, 28, 0.6);
  opacity: .6;
  font-family: Lato, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 125%;
}

@media (width <=1000px) {
  .not-found__row p {
    font-size: 16px;
  }
}

@media (width <=700px) {
  .not-found__row p {
    text-align: center;
  }

  .not-found__row {
    flex-direction: column;
    align-items: center;
  }
}

.thanks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 100px 0;
    height: 100vh;
}

.thanks h1 {
  font-size: 50px;
  margin-bottom: 20px;
  text-align: center;
}

.thanks h2 {
  font-size: 25px;
  margin-bottom: 15px;
  text-align: center;
}

.thanks a{
	font-size: 18px;
	margin-top: 10px;
}

@media (max-width: 600px) {
  .thanks h1 {
    font-size: 40px;
    margin-bottom: 20px;
  }

  .thanks h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
}