/*
* Contributors:       FixBD
* Author URI:         http://fixbd.net
* Source:             https://fixbd.net/educare/add-ons/certificate/default-certificate-template
* License:            Commercial License (based on plugin)
* version:            1.0.0
*/

@font-face {
  font-family: 'Great Vibes';
  src: url('font/GreatVibes-Regular.ttf') format('woff2')
}

@font-face {
  font-family: 'Alice';
  src: url('font/Alice-Regular.ttf') format('woff2')
}

.modern-certificate .cert-container {
  font-family: "Alice", Georgia, serif;
}

.modern-certificate .cert-content {
	padding-top: 55px !important;
}

.modern-certificate #cert-body h1 {
  font-size: 52px !important;
}

.modern-certificate .student-name {
  font-family: "Alice", Georgia, serif !important;
}

.modern-certificate .exam-name {
  font-size: 28px !important;
  text-transform: uppercase;
}

.modern-certificate .cert-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media print {
  @page {
    size: landscape !important;
    margin: 8mm;
  }

  .modern-certificate {
    padding: 0 12mm !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .modern-certificate .cert-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  .modern-certificate .cert-bg {
    max-width: 100% !important;
  }

  .modern-certificate .cert-container {
    transform: scale(1) !important; /* scale(1.5); Adjust the scale value as needed */
    transform-origin: top; /* Set the origin to the top left to keep it centered */
  }
}