@font-face {
    font-family: globalFont;
    src: url("../fonts/ArbFONTS-GE-Snd-Book.ttf");
}

@font-face {
  font-family: 'tajawal';
  src: url('../fonts/Tajawal-Regular.ttf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: globalFont, sans-serif;
}

body {
    direction: rtl;
    width: 100%;
}



.header-image {
  margin-right: 10px;
}

.main {
    padding: 20px;
    position:relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    width: 100%;
    margin-bottom: 100px;
}

.typewriter {
    display: flex;
    align-items: center;
    font-size: 35px;
    font-weight: 900;
}

.title {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 900;
}

.typewriter-title {
  font-size: 45px;
  font-weight: 900;
}

.show-signaling {
    
    animation: blinker 0.7s linear infinite;
  }
  
@keyframes blinker {
  50% {
    opacity: 0.1;
  }
}

.title {
    font-size: 25px;
    margin-top: 100px;
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 600px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
}

.search-container input[type="text"] {
  flex: 1;
  border: none;
  padding: 15px;
  font-size: 24px;
  outline: none;
}

.search-container button[type="submit"] {
  border: none;
  background-color: transparent;
  color: #ccc;
  padding: 15px;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.search-container button[type="submit"]:hover {
  color: #000;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 22px;
  max-width: 850px;
}

.filter-container label {
  margin-right: 10px;
  width: calc(33.33% - 10px);
  text-align: right;
}

.filter-container input[type="checkbox"] {
  margin: 10px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  padding: 20px;
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: relative;
  margin-top: 40px;
  display: none;
  animation: rotate 1s linear infinite
}
.loader::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  inset: 0px;
  border-radius: 50%;
  border: 5px solid #FF3D00;
  animation: prixClipFix 2s linear infinite ;
}

@keyframes rotate {
  100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

.result-container {
  max-width: 900px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cert_big_container {
  margin: 5px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
}

.download_container {
  padding: 20px;
  width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 22px;
}

.download_section {
  margin: 30px;
}

.download_section button {
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}

#PNG_button:hover {
  background-color: white; 
  color: black; 
}

#PNG_button {
  background-color: #4CAF50;
  color: white;
  border: 2px solid #4CAF50;
}

#PDF_button:hover {
  background-color: white; 
  color: black; 
}

#PDF_button {
  background-color: #008CBA;
  border: 2px solid #008CBA;
  color: white;
}

.cert_container {
  background-color: #f2f2f2;
  padding: 15px;
  max-width: 800px;
  position: relative;
}

.cert_table table {
  border-collapse: collapse;
  width: 500px;
  display: block;
  position: relative;
}

.cert_table th, td {
  padding: 8px;
  text-align: right;
  font-family: tajawal, sans-serif;
}

.cert_table tr {
  background-color: #fff;
}
.cert_table tr:nth-child(even) {
  background-color: #f2f2f2
}


.cert_table th {
  background-color: #0876ba;
  color: white;
  width: 200px;
}

.certContainerfooter {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-size: 18px;
}

.certContainerfooter p {
  width: 100%;
  margin: 10px;
  font-family: tajawal, sans-serif;
}

.no_data {
  font-size: 28px;
}

.footer {
  width: 100%;
  /* height: 200px; */
  display: flex;
  background-color: #eeeeee;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0px -2.98256px 7.4564px rgba(0, 0, 0, 0.1);
}

.divider {
  width: 1px;
  height: 80px;
  background-color: #ccc;
}

.footer-title {
  font-size: 32px;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
  align-items: center;
  width: calc(33.33% - 5px);
}

.page-selector {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.page-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ccc;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin-right: 5px;
  font-size: 20px;
  cursor: pointer;
  margin: 5px;
}

/* .active {
  background-color: #4CAF50;
  color: white;
} */

.linkedin-button {
  cursor: pointer;
  border: none;
  color: white;
  padding: 15px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top: 10px;
  background-color: #1da1f3;
}

.linkedin-button:hover {
  background-color: #126ba2;
}

.beta {
  background-color: #242424;
  color: #fff;
  border-radius: 15px;
  padding: 5px;
  font-size: 15px 18px;
  margin: 10px;
  cursor: pointer;
}

.beta:hover {
  background-color: #161616;
}

@media only screen and (max-width: 900px) {


.footer {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 12px;
  box-shadow: 0px -2.98256px 7.4564px rgba(0, 0, 0, 0.1);
}

.divider {
  width: 1px;
  height: 80px;
  background-color: #ccc;
  margin: 15px;
}

.footer-title {
  font-size: 16px;
}

.filter-container input[type="checkbox"] {
  margin: 10px;
  width: 13px;
  height: 13px;
  cursor: pointer;
  padding: 13px;
}

}

@media only screen and (max-width: 600px) {

  .cert_table td, th {
    font-size: 12px;
  }

  .cert_table th {
    width: 100px;
  }

  .linkedin-button {
    cursor: pointer;
    border: none;
    color: white;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-top: 10px;
    background-color: #1da1f3;
  }
  

  .certContainerfooter {
    font-size: 14px;
  }

  .footer {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 8px;
    box-shadow: 0px -2.98256px 7.4564px rgba(0, 0, 0, 0.1);
  }
  
  .divider {
    width: 1px;
    height: 80px;
    background-color: #ccc;
    margin: 12px;
  }
  
  .footer-title {
    font-size: 12px;
  }

  .result-container {
    max-width: 500px;
  }

  .typewriter-title {
    font-size: 36px;
    font-weight: 900;
  }
  
  .show-signaling {
      
      animation: blinker 0.7s linear infinite;
    }
    
  @keyframes blinker {
    50% {
      opacity: 0.1;
    }
  }
  
  .title {
      font-size: 28px;
      margin-top: 100px;
  }
  
  .search-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 10px;
  }
  
  .search-container input[type="text"] {
    flex: 1;
    border: none;
    padding: 12px;
    font-size: 18px;
    outline: none;
  }
  
  .search-container button[type="submit"] {
    border: none;
    background-color: transparent;
    color: #ccc;
    padding: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  
  .filter-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 14px;
    max-width: 600px;
  }
  
  .filter-container label {
    margin-right: 10px;
    width: calc(33.33% - 10px);
    text-align: right;
  }
  
  .filter-container input[type="checkbox"] {
    margin: 10px;
    width: 11px;
    height: 11px;
    cursor: pointer;
  }

  .section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    padding-left: 10px;
  padding-right: 10px;
  }
  
  }

  .header .fa {
    padding: 5px;
    font-size: 13px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    width: 25px;
  }
  
  .header .fa:hover {
      opacity: 0.7;
  }

  .header .fa-facebook {
    background: #3B5998;
    color: white;
  }
  
  .header .fa-twitter {
    background: #55ACEE;
    color: white;
  }

 .header .fa-linkedin {
    background: #007bb5;
    color: white;
  }

  .header .fa-whatsapp {
    background: #2ea100;
    color: white;
  }
  