@font-face { font-family: 'Sax Mono'; src: url('/fonts/saxmono.ttf') format('truetype'); } .certification-namespace * { margin: 0; padding: 0; } .certification-namespace h1 { margin: 12px 0; } .certification-namespace.container { max-width: 1500px; width: 100%; padding: 30px; border: darkgreen 15px solid; border-radius: 3px; } .certification-namespace .row { margin: 0; } .certification-namespace .col-sm-12 { padding: 0; } .certification-namespace.certificate-wrapper { top: calc(100vh / 20); position: relative; font-family: 'Sax Mono', monospace; } .certification-namespace header { width: 100%; height: 140px; background-color: darkgreen; position: relative; } .certification-namespace .logo { display: flex; align-items: center; height: 140px; margin-left: 100px; } .certification-namespace .logo img { max-width: 500px; width: 100%; } .certification-namespace .issue-date { line-height: 140px; font-size: 20px; text-align: right; margin-right: 100px; color: #fff; } .certification-namespace .information { margin-top: -20px; height: 380px; text-align: center; background-color: #efefef; } .certification-namespace .information-container { position: relative; top: 50%; transform: translateY(-50%); margin: 0px 100px; } .certification-namespace p { margin: 0; } .certification-namespace h3 { font-size: 30px; } .certification-namespace h4 { margin-top: 25px; font-size: 20px; } .certification-namespace h1 { font-size: 40px; color: #006400; } .certification-namespace .signatures { text-align: center; margin: 0 auto; background-color: #efefef; } .certification-namespace .signatures img { max-width: 300px; width: 100%; margin: 0 auto; } .certification-namespace .signatures p { font-size: 18px; padding-top: 10px; } .certification-namespace .verify { padding: 30px 0; font-size: 15px; text-align: center; word-wrap: break-word; background-color: #efefef; } /*adds vertical alignment when the height is bigger than required to display everything*/ @media screen and (min-height: 700px) { .certification-namespace body { display: flex; flex-direction: column; justify-content: center; height: 100vh; } } /*mobile media queries*/ @media screen and (max-width: 992px) { .certification-namespace header { height: 160px; } .certification-namespace .logo { margin-left: 0; padding: 20px; justify-content: center; height: 80px; } .certification-namespace .logo img { margin-top: 20px; } .certification-namespace .issue-date { margin-top: 10px; margin-right: 0; text-align: center; line-height: 0px; word-wrap: break-word; } .certification-namespace .issue-date strong { display: block; margin-top: 15px; line-height: 25px; } .certification-namespace .information { height: 300px; } .certification-namespace .information-container { margin: 0px 15px; text-align: center; word-wrap: break-word; } .certification-namespace h3 { font-size: 25px; } .certification-namespace h1 { font-size: 28px; } } @media screen and (max-width: 675px) { .certification-namespaces.issue-date { padding: 0; border: 0; } .certification-namespace header { height: 190px; } .certification-namespace h3 { font-size: 15px; } .certification-namespace h1 { font-size: 17px; } .certification-namespace h4 { font-size: 15px; margin-top: 20px; } }