@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Tangerine:wght@400;700&display=swap');

@font-face {
    font-family: droid-serif-bold;
    src: url(font/DroidSerif-Bold.ttf);
}

@font-face {
    font-family: droid-serif-normal;
    src: url(font/DroidSerif.ttf);
}

/* FONTS */
.alegreya {
    font-family: "Alegreya", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.open-sans {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.tangerine-regular {
    font-family: "Tangerine", cursive;
    font-weight: 400;
    font-style: normal;
}

.tangerine-bold {
    font-family: "Tangerine", cursive;
    font-weight: 700;
    font-style: normal;
}

.droid-serif-bold {
    font-family: droid-serif-bold;
}

.droid-serif-normal {
    font-family: droid-serif-normal;

}

body {
    margin: 0;
    overflow-x: hidden;
}

/*Cert 1 CSS*/
.section-cert1 {
    height: 100vh;
    overflow-y: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0px 0px 0px 0px;
    padding: 10px 150px;
}

.bg-cert1 {
    background-image: url(graphic.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.layer-cert1 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.border-thin-cert1 {
    height: auto;
    z-index: 2;
    padding: 10px;
    border: 2px solid #20443B;
}

.border-thick-cert1 {
    height: auto;
    z-index: 2;
    padding: 10px 30px;
    border: 5px solid #20443B;
}

.logo-cert {
    height: 200px;
}

.mid-table-cert1 {
    width: auto;
}

.side-table-cert1 {
    width: 200px;
}

th {
    text-align: center;
    vertical-align: top;
}

.schoolName-cert1 {
    color: #095D40;
    font-size: 35px;
    line-height: 1px;
}

.schoolDep-cert1 {
    color: #095D40;
    font-size: 28px;
    line-height: 1px;
    font-weight: normal;
}

.small-text-cert1 {
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 21px;
    margin: 15px 0px;
}

.achievement-award-cert1 {
    margin: 0;
    color: #095D40;
    text-transform: uppercase;
    line-height: 45px;
    font-size: 45px;
}

.mid-section-cert1 {
    margin-bottom: 60px;
}

.name-awardee-cert1 {
    margin: 0;
    color: #095D40;
    font-size: 100px;
    line-height: 100px;
}

.award-desc-cert1 {
    font-style: italic;
    font-size: 25px;
}

.underline-cert1 {
    border-bottom: 1px solid black;
    padding: 0px 25px;
}

.signatories-cert1 {
    margin-bottom: 20px;
}

.signature-line-cert1 {
    padding: 0;
    margin: 0 auto;
    border-bottom: 1px solid black;
    line-height: 1px;
}

.signatories-name-cert1 {
    margin: auto;
    text-align: center;
    width: 55%;
    padding-top: 10px;
    border-top: 1px solid black;
    font-size: 20px;
    font-style: italic;
    line-height: 10px;
}

.signatories-pos-cert1 {
    font-style: italic;
    font-size: 16px;
    line-height: 10px;
}

.signature {
    margin-bottom: -25px;
    width: 220px;
    height: 50px;
}

/*CERT 2 CSS*/
.section-cert2 {
    height: 100vh;
    overflow-y: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.layer-cert2 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.container-cert2 {
    padding: 0px 100px 0px 100px;
}

.badge {
    background-image: url(badge.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

}

.badge-award {
    text-transform: uppercase;
    color: #6B5501;
    font-weight: bold;
    font-size: 14px;
    margin-top: 130px;
}

.mid-table-cert2 {
    width: auto;
}

.side-table-cert2 {
    width: 400px;
}

.section-cert2 td {
    text-align: center;
}

.schoolName-cert2 {
    color: #095D40;
    font-size: 35px;
    line-height: 1px;
}

.schoolDep-cert2 {
    color: #095D40;
    font-size: 28px;
    line-height: 1px;
    font-weight: normal;
    margin-bottom: 50px;
}

.small-text-cert2 {
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 21px;
    margin: 10px 0px 10px 0px;
}

.achievement-award-cert2 {
    margin: 0;
    color: #095D40;
    text-transform: uppercase;
    line-height: 45px;
    font-size: 45px;
}

.name-awardee-cert2 {
    margin: 0;
    text-align: center;
    color: #095D40;
    font-size: 100px;
    line-height: 100px;
}

.award-desc-cert2 {
    font-style: italic;
    font-size: 21px;
    margin: 10px 0;
}

.dateDesc-cert2 {
    margin-bottom: 50px;
}

.underline-cert2 {
    border-bottom: 1px solid black;
    padding: 0 20px;
}

.signatories-name-cert2 {
    margin: auto;
    text-align: center;
    width: 55%;
    padding-top: 10px;
    border-top: 1px solid black;
    font-size: 20px;
    font-style: italic;
    line-height: 10px;
}

.signatories-pos-cert2 {
    font-weight: lighter;
    font-style: italic;
    font-size: 16px;
    line-height: 10px;
}

/*CERT 3 CSS */
.section-cert3 {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background-image: url('graphic-3.png');
    background-repeat: no-repeat;
    background-size: cover;

    padding: 35px;
}

.layer-cert3 {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.container-cert3 {
    background-color: white;
    color: black;
    height: auto;
    width: 100%;
    padding: 15px;
}

.border-thin-cert3 {
    height: auto;
    z-index: 2;
    padding: 10px;
    border: 4px solid #20443B;
}

.schoolName-cert3 {
    color: #095D40;
    font-size: 35px;
    line-height: 1px;
}

.schoolDep-cert3 {
    color: #095D40;
    font-size: 28px;
    line-height: 1px;
    font-weight: normal;
}

.padding-t {
    padding-top: 25px;
}

.small-text-cert3 {
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 21px;
    margin: 15px 0px;
}

.achievement-award-cert3 {
    margin: 0;
    color: #095D40;
    text-transform: uppercase;
    line-height: 45px;
    font-size: 45px;
}

.mid-section-cert3 {
    margin-bottom: 40px;
}

.name-awardee-cert3 {
    margin: 15px 0px;
    color: #095D40;
    font-size: 100px;
    line-height: 100px;
}

.award-desc-cert3 {
    font-style: italic;
    font-size: 23px;
    margin: 0;
}

.underline-cert3 {
    border-bottom: 1px solid black;
    padding: 0px 25px;
    font-size: 20px;
}

.signatories-cert3 {
    margin-bottom: 10px;
}

.signatories-name-cert3 {
    margin: auto;
    text-align: center;
    width: 60%;
    padding-top: 10px;
    border-top: 1px solid black;
    font-size: 20px;
    font-style: italic;
    line-height: 10px;
}

.signatories-pos-cert3 {
    font-style: italic;
    font-size: 16px;
    line-height: 10px;
}

.bold {
    font-weight: bold;
}

.uppercase {
    text-transform: uppercase;
}


@media print {
    @page {
        size: Landscape;
        margin: 0px;
    }

    .logo-cert {
        height: 150px;
    }


    /*Cert 1 css*/
    .section-cert1 {
        height: 100vh;
        overflow-y: visible;
        padding: 0 8vh;
        position: relative;
    }

    .layer-cert1 {
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
    }

    .side-table-cert1 {
        width: 100px;
    }

    .schoolName-cert1 {
        color: #095D40;
        font-size: 35px;
        line-height: 1px;
    }

    .schoolDep-cert1 {
        margin-bottom: 20px;
        color: #095D40;
        font-size: 28px;
    }

    .small-text-cert1 {
        font-size: 21px;
        margin: 15px 0px;
    }

    .achievement-award-cert1 {
        line-height: 40px;
        font-size: 40px;
    }

    .mid-table-cert1 {
        width: auto;
    }

    .mid-section-cert1 {
        margin-bottom: 45px;
    }

    .name-awardee-cert1 {
        font-size: 80px;
        line-height: 80px;
    }

    .award-desc-cert1 {
        font-size: 20px;
    }

    .underline-cert1 {
        border-bottom: 1px solid black;
        padding: 0px 25px;
    }

    .signatories-cert1 {
        margin: 0px 20px 20px 20px;
    }

    .signatories-name-cert1 {
        width: 65%;
        font-size: 18px;
        line-height: 5px;
    }

    .signatories-pos-cert1 {
        font-size: 16px;
        line-height: 1px;
    }

    /*Cert 2 CSS*/
    .section-cert2 {
        padding: 23px 0px 23px 0px;
        height: 100%;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;

    }

    .layer-cert2 {
        position: absolute;
        width: 100%;
        height: 100%;
    }

    .container-cert2 {
        padding: 0px 15px 0px 15px;
    }

    .badge-award {
        text-transform: uppercase;
        color: #6B5501;
        font-size: 14px;
        font-weight: bold;
        margin-top: 120px;
    }

    .mid-table-cert2 {
        width: auto;
    }

    .side-table-cert2 {
        width: 250px;
    }

    .schoolName-cert2 {
        line-height: 1px;
    }

    .name-awardee-cert2 {
        font-size: 120px;
        line-height: 120px;
    }

    .award-desc-cert2 {
        font-size: 22px;
        margin: 10 0 5 0;
    }

    .dateDesc-cert2 {
        margin-bottom: 80px;
    }

    .underline-cert2 {
        border-bottom: 1px solid black;
        padding: 0 10px;
    }

    .signatories-name-cert2 {
        width: 50%;
    }

    /*CERT 3 CSS */
    .section-cert3 {
        height: 100%;
        padding: 31px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        page-break-inside: avoid;
    }

    .signatories-name-cert3 {
        width: 80%;
    }

    .signature {
        margin-bottom: -25px;
    }

}
