@charset "UTF-8";

.thanks-page {
    text-align: center;
    padding: 120px 0 200px 0;
}

.thanks-page h1 {
    font-size: 1.5em;
    font-weight: 700;
    line-height: 160%;
    margin: 0 0 15px 0;
}

.thanks-page figure {
    width: 250px;
    margin: 0 auto 15px auto;
}

.thanks-page .first-para {
    margin: 0 0 30px 0;
}

.thanks-page .second-para {
    margin: 0 0 80px 0;
}

.thanks-page .btn-to-toppage {
  display: grid;
  place-items: center;
  width: 520px;
  height: 50px;
  color: var(--sakrea-accent-color);
  font-weight: 500;
  background: #D6A9B480;
  border-radius: 40px;
  margin: 0 auto 0 auto;
  box-shadow: var(--pink-box-shadow);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.17,0.84,0.44,1);
}

@media (hover: hover) {
  .thanks-page .btn-to-toppage:hover {
    background: #D6A9B460;
    transform: translate(1px, 2px);
    box-shadow: 0 4px 8px #1F1F1F10;
  }
}

@media screen and (max-width:768px) {
    .thanks-page {
        padding: 120px 0 100px 0;
    }
    .thanks-page .first-para {
        text-align: left;
        margin: 0 0 15px 0;
    }
    .thanks-page .second-para {
        text-align: left;
        margin: 0 0 60px 0;
    }
    .thanks-page .btn-to-toppage {
        width: 65%;
    }
}