* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #f5f6f8;
  font-family: "Nunito Sans", Arial, sans-serif;
  color: #263850;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  padding: 58px 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.certificate-card {
  width: 100%;
  max-width: 1088px;
  background: #ffffff;
  border: 1px solid #dce3eb;
  padding: 66px 38px 38px;
  box-shadow:
    0 2px 3px rgba(15, 23, 42, 0.03),
    0 18px 42px rgba(15, 23, 42, 0.085);
}

.logo-area {
  display: flex;
  justify-content: center;
  margin-bottom: 47px;
}

.main-logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}

h1 {
  margin: 0 0 28px;
  text-align: center;
  color: #006fae;
  font-size: 31px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.25px;
}

.certificate-text {
  max-width: 980px;
  margin: 0 auto;
  color: #263850;
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  min-height: 118px;
}

.certificate-text p {
  margin: 0 0 28px;
}

.certificate-text strong {
  color: #21334a;
  font-weight: 800;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  padding: 0 13px;
  margin-left: 6px;
  background: #dff5e5;
  color: #126f44;
  font-size: 13px;
  font-weight: 800;
  vertical-align: middle;
}

.seal-area {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.seal-img {
  width: 138px;
  height: auto;
  display: block;
}

.footer {
  margin-top: auto;
  padding: 78px 0 8px;
  text-align: center;
}

.footer p {
  margin: 0 0 8px;
  color: #58708d;
  font-size: 14px;
  font-weight: 400;
}

.footer a,
.footer span {
  color: #006fae;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.loading-line {
  height: 13px;
  width: 100%;
  background: #e8edf3;
  border-radius: 999px;
  margin-bottom: 13px !important;
  animation: pulse 1.15s infinite ease-in-out;
}

.loading-line-lg {
  height: 16px;
}

.loading-line.short {
  width: 62%;
}

.loading-line.medium {
  width: 46%;
}

@keyframes pulse {
  0% {
    opacity: .55;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: .55;
  }
}

@media (max-width: 900px) {
  .page {
    padding-top: 34px;
  }

  .certificate-card {
    padding: 44px 24px 32px;
  }

  .logo-area {
    margin-bottom: 34px;
  }

  .main-logo {
    width: 250px;
  }

  h1 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .certificate-text {
    font-size: 16px;
    line-height: 1.68;
  }

  .seal-img {
    width: 126px;
  }

  .footer {
    padding-top: 56px;
  }
}

@media (max-width: 520px) {
  .page {
    padding: 18px 10px 0;
  }

  .certificate-card {
    padding: 30px 16px 26px;
  }

  .main-logo {
    width: 210px;
  }

  h1 {
    font-size: 24px;
  }

  .certificate-text {
    font-size: 15px;
    line-height: 1.7;
    min-height: 136px;
  }

  .certificate-text p {
    margin-bottom: 22px;
  }

  .status {
    height: 25px;
    font-size: 12px;
    margin-left: 4px;
  }

  .seal-img {
    width: 112px;
  }

  .footer {
    padding-top: 42px;
  }

  .footer p,
  .footer a,
  .footer span {
    font-size: 13px;
  }
}
