
/* The my_modal (background) */
.my_modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}
/* my_modal Content */
.my_modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 8px;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.3);
}
/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.close:hover,
.close:focus {
    color: #ff5b5b;
}


/* id card */

.id-card{
    border: 1px solid #ddd;
    width: fit-content;
  }
  
  .id-header{
    display: flex;
    justify-content: center;
    position: relative;
    background-color: #19297E;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
  }
  
  .id-header .id-logo{
    position: absolute;
    top: 1rem;
    width: 120px;
  }
  
  .id-photo{
    border-radius: 50%;
    margin-top: 10rem;
    margin-bottom: -4rem;
    border: 5px solid #E5C232;
    width: 150px;
  }
  
  .id-details{
    padding: 1rem;
    margin-top: 3rem;
  }
  
  .id-details h1{
    text-align: center;
    font-size: 30px; 
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    color:  #19297E;
  
    padding-top: 30px;
  }
  
  .id-details h3{
    text-align: center;
    color: #ff0000;
    margin-top: 0;
    font-size: 1rem;
    text-transform: uppercase;
  }
  
  .id-details .m-info{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  
  .id-details .m-info-group{
    margin-bottom: 1rem;
    text-transform: uppercase;
  }
  
  .id-details .m-info-group .info-value{
    color: #8F6144;
    font-weight: 500;
  }
  
  .id-details .m-info-group .info-value.email{
    text-transform: lowercase;
  }
  
  
  .info-value{
  
    color: #1E1E1E !important;
    font-size: 13px;
    
  }
  
  .info-label{
    font-size: 15px;
    color: #1E1E1E !important;
  }
  
  .id-details .m-info-group h4{
    margin-bottom: 0;
    margin-top: 0.2rem
  }
  
  .id-details .m-qrcode{
    display: flex;
    justify-content: center;
    align-items: center
  }
  
  .id-details .m-qrcode img{
    width: 150px;
  }
  
  .id-footer{
    background-color: #19297E;
    color: #FFFFFF;
    text-align: center;
    padding: 0.3rem;
  }
  
  
  
  .certificate {
    border: 20px solid #E5C232;
    padding: 25px;
    height: 600px;
    position: relative;
  }
  
  .certificate:after {
    content: '';
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    position: absolute;
    /* background-image: url(../images/cwp.png); */
    background-size: 100%;
    z-index: -1;
  }
  
  .underline {
    border-bottom: 1px solid #777;
  
    margin-bottom: 15px !important;
  }
  
  .certificate-header > .logo {
    height: 80px;
  }
  
  .certificate-title {
    text-align: center;    
  }
  

  
  /*h1 {*/
  
  /*  font-weight: 400;*/
  /*  font-size: 48px;*/
  /*  color: #19297E;*/
  /*}*/
  
  .student-name {
    font-size: 24px;
  }
  
  
  
  .about-certificate {
    width: 380px;
    margin: 0 auto;
    padding-top: 30px;
    
  }
  
  .topic-description {
  
    margin-top: 30px;
  
    text-align: center;
  }
  
  
  .topic-title{
    background-color: #19297E;
    padding: 10px 30px;
    color: #fff;
    border-radius: 50px;
   
  }
  
  .text-nav{
    color: #19297E;
  }
  
  .ffc{
    font-family: "Crimson_Text variant0", Tofu !important;
  }

  /* media Quries */
  @media (max-width : 425px) {

    .certificate {
      border: 20px solid #E5C232;
      padding: 25px;
      height: auto !important;
      position: relative;
    }
    
    .about-certificate {
      width: auto !important;
      margin: 0 auto;
      padding-top: 30px;
  }
    
  }


  .ndbg{
    background-image: url("../images/Picture2.jpg");
    width: 100%;
    height: 680px;
    background-repeat: no-repeat;
    background-position: center;
  }


  .bb{
    border-bottom: solid #000 2px;
  }

  .fs-12{
    font-size: 15px;
  }


