@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@300&family=Noto+Serif+Georgian:wght@100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Italianno&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans&display=swap');



*{
    margin: 0;
    padding: 0;
}

html,body{
    width:100%;
    height:100%;
}

form{
    margin-top: 5%;
}
button{
    display: block;
}
.save{
    width: 100%;
}
.container{
    height:100%;
    margin-top: 20px;
    margin-bottom: 5%;
    transition: all 3s;
}
/*#certificate{*/
/*    background-color: pink;*/
/*    display: inline-block;*/
/*    width: 1122px;*/
/*    height: 793px; */
/*    margin:3%;*/
/*    background-image: url('./choices_certificate.png');*/
/*    background-size: cover;*/
/*    text-align: center;*/
/*}*/

#certificate {
    width: 297mm;
    height: 210mm;
    position: relative;
    background: url('../images/RScertificate.png') no-repeat center center;
    background-size: cover;
    font-family: 'Georgia', serif;
    margin:3%;
    display:inline-block;
}

.cert-name{
    text-align:center;
    /*font-family:'Italianno', cursive;*/
    /*font-family: "Montserrat", sans-serif;*/
    font-family:'BlackMango';
    font-size:56px;
    font-weight:bold;
    margin-top:285px;
    /*color:#0C1741;*/
    color:#5F7DDD;
}

.cert-chapter{
    text-align:center;
    font-family:"Montserrat", sans-serif;
    font-size:20px;
    font-weight:600;
    color:black;
    margin-top:0;
}

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

.cert-id{
    position:absolute;
    bottom:6px;
    left:20px;
    color:black;
    font-size:16px;
    font-weight:500;
    font-family: "Montserrat", sans-serif;
}

.heading1{
    font-size: 60px;
    font-family: Arial, Helvetica, sans-serif;

}
/*.heading2{*/
/*    font-size: 33px;*/
/*    position: relative;*/
/*    font-family: 'Noto Serif Georgian', 'serif', arial;*/
    /* font-family: Arial, Helvetica, sans-serif; */
/*    margin-bottom: 40px;*/
/*    top: 242px;*/
/*    left: 0.5%;*/
/*    color: #000;*/
/*    letter-spacing: 3px;*/
/*    text-transform: uppercase;*/
/*}*/
.app1{
    margin-bottom:15px;
    font-family: Arial;
    color: #04747F;
    font-size: 30px;
    position: relative;
    top: 36%;
    letter-spacing: 3px;
}
/*.name{*/
/*    position:relative;*/
/*    top: 35%;*/
/*    font-family: 'Italianno', cursive;*/
/*    font-size: 65px;*/
/*    color:#000;*/
/*    letter-spacing: 5px;*/

/*}*/
/*.certificateNo{*/
/*    font-family: 'Noto Serif Georgian', 'serif', arial;*/
/*    background-color: white;*/
/*	font-size: 20px;*/
/*    position: relative;*/
/*    top: 74.75%;*/
/*    margin-left: -35%;*/
/*    color: #000;*/
/*    display: inline-block;*/
/*}*/

hr{
    margin-bottom:0;
}

hr{
    width: 90%;
    /*margin-bottom: 20px;*/
    border: 0;
    max-width: 100%;
    background-position: 50%;
    box-sizing: border-box;
}
/*.ending1{*/
/*    position: relative;*/
/*    top: 31%;*/
/*    text-align: center; */
/*    color: #000;*/
/*    font-family: 'Noto Serif Georgian', 'serif', arial;*/
/*    letter-spacing:1.5px;*/
/*    font-size: 26px;*/
/*    width: 80%;*/
/*    margin-left: 10%;*/
/*}*/
.accessory {
    height: 6px;
    background-image: radial-gradient(
      closest-side,
      rgb(22, 196, 129),
      hsla(0, 0%, 50%, 0) 100%);
    position: relative;
  }
  .accessory:after {
    position: absolute;
    top:  50%;
    left: 50%;
    display:block;
    background-color: hsl(0, 0%, 75%);
    height: 12px;
    width:  12px;
    transform: rotate(45deg);
    border-radius: 4px 0;
    border: 4px solid hsla(0, 0%, 100%, 0.35);
    background-clip: padding-box;
    box-shadow: -10px 10px 0 hsla(0, 0%, 100%, 0.15), 10px -10px 0 hsla(0, 0%, 100%, 0.15);
}
.loader{
      display: none;
}

.date{
    font-size: 22px;
    position: relative;
    top: 44%;
    right: 240px;
}


@media only screen and (min-width: 970px){
    .container{
        padding-left: 10%;
        padding-right: 10%;
    }
}
@media only screen and (min-width: 1175px){
    .container{
        padding-left: 18%;
        padding-right: 18%;
    }
}


#generatedMessageBox {
    background-color: #f9f9f9;
    border: 2px solid #ccc;
    color: #222;
    padding: 40px 60px;
    margin: 100px auto;
    max-width: 800px;
    border-radius: 12px;
    text-align: center;
    font-family: 'Noto Serif Georgian', serif;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: none; /* Show only after message is generated */
}
#generatedMessageBox h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
#generatedMessageBox p {
    margin: 12px 0;
}
