@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&display=swap");

.certificate.a4.landscape {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.certificate-scale {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 77.2727%;
  overflow: hidden;
}

.certificate-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 1056px;
  height: 816px;
  transform-origin: 0 0;
}

.certificate-inner .cert-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.certificate-block {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  color: #000;
  font-family: Cinzel, Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  overflow: visible;
}

.block-name {
  top: 34.213%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 12.118%;
  font-size: 60em;
  z-index: 1;
}

.block-id {
  top: 70.2791%;
  left: 76.6497%;
  width: 18.9086%;
  font-size: 15em;
  z-index: 2;
}

.block-date {
  top: 78.6535%;
  left: 76.5228%;
  width: 18.7817%;
  font-size: 15em;
  z-index: 3;
}

.certificate.square {
  width: 100px;
  max-width: 100px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.certificate.square .certificate-scale {
  padding-bottom: 77.2727%;
}
