*{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
  
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.title {
  text-align: center;
  font-size: 3em;
  font-weight: bold;
  color: #f67621;
  margin-bottom: 20px;
  text-decoration: underline;
  text-underline-offset: 8px;
}

/* Chrono component styles */
.chrono {
  margin: 0 auto;
  width: 100%;
}

.event-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event {
  background-color: #f67621;
  color: white;
  border-radius: 8px;
  margin: 20px 0;
  padding: 20px;
  max-width: 600px;
  text-align: center;
}

.event img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
}

.event figcaption {
  font-size: 2em;
  font-weight: bold;
  margin-top: 10px;
}

.event p {
  font-size: 1em;
  margin: 10px 0;
}

.event .link {
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #fff;
}

.event .link:hover {
  text-decoration: underline;
}

/* Dark mode styles */
body.theme-dark {
  background-color: #121212;
  color: #e0e0e0;
}

body.theme-dark .wrapper {
  background: #1e1e1e;
}

body.theme-dark .title {
  color: #f67621;
}

body.theme-dark .event {
  background-color: #474747;
}

body.theme-dark .event .link {
  color: #f67621;
  border-bottom: 2px solid #f67621;
}

body.theme-dark .container{
  background-color: black !important;
}
body.theme-dark .center {
  background-color: black !important;
}
body.dark-mode .themed-text {
  color: white;
}

body:not(.dark-mode) .themed-text {
  color: black;
}
body.dark-mode .themed-text {
  color: white;
}
/* Light Mode Styles */
.darkmodeimg {
  display: none;
}

/* Dark Mode Styles */
.dark-mode .darkmodeimg {
  display: block !important;
}
.lightmodeimg{
  display: block;
}
.dark-mode .lightmodeimg {
  display: none !important;
}
.dark-mode .container h1,.dark-mode .container h2{
  color: white !important;
}
.table-container {
    width: 100% !important; /* Set width to 90% of the viewport width */
    overflow-x: auto; /* Enable horizontal scrolling */
    margin: 0 auto; /* Center the container */
}

.header, .row {
    display: flex;

    flex-wrap: wrap; /* Prevent wrapping */
}

.cell {
    flex: auto; /* Allow cells to expand and fill the row */
    padding: 8px;
    border: 1px solid #ddd; /* Add border */
    text-align: left; /* Align text to the left */
    /* min-width: 100px; */
}

.header {
    background-color: #f2f2f2; /* Light gray background for header */
    font-weight: bold;
}

.inner-table {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.inner-table .header, .inner-table .rows {
    display: flex;
    flex-wrap: wrap; /* Prevent wrapping */
}

.inner-table .header .cell {
    flex: auto !important;
    background-color: #f2f2f2; /* Light gray background for inner table header */
}

.inner-table .rows {
    overflow-x: auto; /* Allow horizontal scrolling */
}

.inner-table .row {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.inner-table .row .cell {
    flex: 1;
    border: 1px solid #ddd; /* Add border */
}
.dark-mode .header,.dark-mode .cell{
  background-color: black !important;
}





.certificate{
  width: 100%;
  justify-content: center;
   display: flex;
   flex-wrap: wrap;
}
.certificate-left{
   width: 40%;
   display: flex;
   justify-content: center;
   flex-direction: column;
   align-items: center;
}

.ways{
   width: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
 
}
.ways-content{
   padding: 60px;
   padding-top: 30px;
}
.ways-content h1{
   font-size: 50px !important;
}
.ways-content p{
   font-size: 20px !important;
}
.ways img{
  object-fit: contain;
   border-radius: 20px;
}
.ways1{
   width: 80%;
   display: flex;
   /* flex-wrap: wrap; */
   margin-top: 20px;
   margin-bottom: 20px !important;
}
.ways2{
   width: 80%;
   display: flex;
   flex-direction: row-reverse;
   margin-top: 30px;
   /* flex-wrap: wrap; */
   margin-bottom: 30px !important;
}
@media only screen and (max-width:1300px){
   .certificate-left{
       width: 80%;
   }.certificate-right{
       width: 100%;
       height: auto;
   }
   .ways1,.ways2{
       justify-content: center;
       flex-direction: column;
   }
   .ways1,.ways2{
       padding: 0px !important;
       text-align: center;
   }
}
@media only screen and (max-width:500px) {
   .ways img{
       scale: 0.60 !important;}
}
.ways a:hover{
   text-decoration: underline;
}
.ways a{
   font-size: 30px;
   text-decoration: none;
   color: black ;
   font-weight: 600;
}
.certificate-left h1{
   font-size: 30px;
   text-align: start;
}
.certificate-left p{
   font-size: 20px;    text-align: start;

}
.certificate-right{
   width: 40%;
   height: 400px;
}