body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background: #f0f0f0;
    color: #3A3A3A;
    margin: 0;

    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-variation-settings: "wdth" 100;
    font-style: normal;

    font-size: 16px;
}


h1, h2, h3 {
    margin: .6rem auto;
}


.certificate {
    position: relative;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    width: 1000px;
    height: 715px;
    aspect-ratio: 1.4;
    background: white;
    border: 2px solid #f3f3f3;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.corner {
    position: absolute;
    width: 26px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../images/corner.png');
}

.corner.top-left {
    top: 13px;
    left: 13px;
}

.corner.top-right {
    top: 13px;
    right: 13px;
    transform: rotate(90deg);
}

.corner.bottom-left {
    bottom: 13px;
    left: 13px;
    transform: rotate(-90deg);
}

.corner.bottom-right {
    bottom: 13px;
    right: 13px;
    transform: rotate(180deg);
}

.border-line {
    position: absolute;
    border-color: #c3c3c3;
}

.border-line.top {
    top: 13px;
    left: 39px;
    right: 39px;
    border-top-style: solid;
    border-top-width: 1px;
}

.border-line.bottom {
    bottom: 13px;
    left: 39px;
    right: 39px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.border-line.left {
    left: 13px;
    top: 39px;
    bottom: 39px;
    border-left-style: solid;
    border-left-width: 1px;
}

.border-line.right {
    right: 13px;
    top: 39px;
    bottom: 39px;
    border-right-style: solid;
    border-right-width: 1px;
}


.logo-container {
    width: 200px;
    height: 100%;
    text-align: center;
}

.logo-container img {
    height: 100%;
    max-width: 100%;
}


header, footer {
    display: flex;
    justify-content: space-between;
    height: 80px;
    padding: 64px 80px;
    align-items: center;
}

footer .column {
    height: 100%;
    width: 33%;
}

.push-top {
    margin-top: auto;
}

.push-right {
    margin-left: auto;
}

.cert-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.cert-info-container {
    display: flex;
    justify-content: end;
    gap: 8px;
}

.cert-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    font-size: .7rem;
    font-family: monospace;
}

.cert-info div {
    display: flex;
    gap: 6px;
}

.cert-info-container .qr-code {
    height: 100%;
}

.signature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-self: end;
    margin-bottom: 18px;
}

.signature p {
    margin: 0 auto;
}

.signature img {
    height: 104px;
    margin-bottom: -20px;
}

.signature .signature-line {
    width: 240px;
    height: 10px;
    border-top-style: solid;
    border-top-color: #333;
    border-top-width: 1px;
}

#buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 32px;
    gap: 8px;
}

.linkedin-addtoprofile a {
    height: 35px;
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: .85rem;
    text-decoration: none;
    background-color: #0077b5;
    border-radius: 3px;
}

.linkedin-addtoprofile .linkedin-logo {
    height: 100%;
    width: 36px;
    border-radius: 3px;
    background-image: url('../images/ln.png');
    background-position: right;
    background-repeat: no-repeat;
}

.linkedin-addtoprofile .linkedin-text {
    margin: auto 15px;
}

@media print {
    @page { size: landscape; }
    .certificate {
        width: 100vw;
        height: 100vh;
        border: none;
        box-shadow: none;
    }
    .corner {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    #buttons {
        display: none;
    }
}
