*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    color: #000000;
}

body{
    background-color: #f4f4f4 !important;
}

#certificate{
    position: relative;
    width: 1200px;
    height: 900px;
    margin: 0px auto;
    padding: 30px;
    background-color: #ffffff;
}

#water-mark{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: .1;
    z-index: 1;
}

#certificate-inner{
    position: relative;
    width: 100%;
    height: 100%;
    border: 4px solid #000000;
    padding: 20px 20px 0px;
}

#header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo{
    width: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#logo img{
    width: 80%;
}

#cert-title{
    width: 70%;
    text-align: center;
}

#cert-title h2{
    font-family: 'unifrakturMaguntia';
    font-size: 60px;
}

#cert-number{
    width: 15%;
}

#cert-number h6{
    font-size: 14px;
    font-weight: 700;
}

#cert-body{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#cert-body h5{
    font-weight: 400;
}

#cert-body #candidate-name{
    font-size: 35px;
}

.divider{
    width: 60%;
    height: 1px;
    background-color: #004387;
}

#cert-body #clt{
    margin-bottom: 6px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2em;
    word-spacing: 2px;
}

#cert-body #course-name{
    font-size: 35px;
}

#cert-footer{
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    padding: 20px 20px;
}

#cert-footer #director-qr{
    width: 27%;
}

#qr p{
    font-size: 14px;
    font-weight: 500;
    color: #ff0000;
    margin-bottom: 4px;
}

#cert-footer #seal-issueDate-sID{
    width: 30%;
}

#cert-footer #trainder-accreditation{
    width: 27%;
}

#trainder, #director{
    display: flex;
    flex-direction: column;
}

#trainder img, #director img{
    margin: auto;
    width: 70%;
    margin-bottom: 10px;
}

#trainder .divider, #director .divider{
    width: 100%;
}

#trainder h5, #director h5{
    text-align: left;
    font-size: 18px;
    line-height: 1.3em;
    font-weight: 400;
}

#seal{
    display: flex;
    flex-direction: column;
}

#seal img{
    margin: auto;
    width: 65%;
}

#issueDate{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#issueDate h5{
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

#issueDate p{
    margin-bottom: 5px;
}

#sId{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#sId h5{
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

#accreditation{
    display: flex;
    flex-direction: column;
}

#accreditation img{
    margin-top: 28px;
    margin-left: auto;
    width: 50%;
}

#footer-text{
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    bottom: 5px;
    font-size: 12px;
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
}

#download-pdf{
    display: block;
    margin: 20px auto 0px;
}

@font-face {
    font-family: 'unifrakturMaguntia';
    src: url('../fonts/unifrakturMaguntia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
