
/* Close button */
.close-button {
  color: #ffffff;
  float: right;
  font-size: 55px;
  font-weight: bold;
  cursor: pointer;
  margin-top: -10px;
}

@font-face {
  font-family: 'SourceSansPro-Black';
  src: url('./fonts/SourceSansPro-Black.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Source Sans Pro';
  src: url('./fonts/SourceSansPro-Light.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CustomFont';
  src: url('./fonts/DINASTI-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Modal image */
#modalImage {
  max-width: 10%;
  max-height: 100%;
  display: block;
  margin: auto;
  padding-top: 7px;
}
#modalTexttitle{
  font-size: 24px;
  color: #fff;
  text-align: left;
  padding: 8px;
  font-weight: 400;
  font-family: 'Source Sans Pro','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#modalText{
  font-size: 20px;
  color: #fff;
  text-align: justify;
  padding: 8px;
  font-weight: 400;
  font-family: 'Source Sans Pro','Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
@media (max-width: 750px) {
  #modalImage {
    max-width: 40%;
  }
  .close-button {
    font-size: 35px;
  }
}
@media (max-width: 1050px) {
  #modalImage {
    max-width: 30%;
  }
  .close-button {
    font-size: 40px;
  }
}
.container{
    background: rgba(3, 22, 29, 0.71);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.9px);
    -webkit-backdrop-filter: blur(4.9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 99%;
    border-radius: 4px;
    margin-left: 6px;
    margin-right: 6px;
    display: flex;
}
.temdeginner:hover{
  background-color: #46574d;
}
.temdeginner{
  width: 100%;
  height: auto;
}
.topic-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 images per row */
    gap: 20px; /* Space between images */
    padding: 20px;
    justify-items: center; /* Center images in the grid cells */
    align-items: center; /* Vertically align images */
}
.topic-cards img {
    width: 100%;
    max-height: 250px;
    object-fit: contain; /* Ensure the entire image fits without stretching */
    cursor: pointer; /* Pointer cursor for clickable images */
}


#backbutton img {
  width: 36px;
}
.garchig{
    width: 99%;
    font-size: 35px;
    color: aliceblue;
    margin:auto;
    font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: center;  /* Centers the items horizontally */
    align-items: center;
}
.garch{
  margin-right: auto;
  font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 200;
}
.leftbutton {
  max-width: 0px;
  margin-right: auto;  
  margin-top: 8px;/* Pushes the left div to the left side */
}

#buttonb
{
  padding: 8px 5px;
    background-color: #4CAF50; /* Green background */
    color: rgb(255, 255, 255); /* White text */
    border: none; /* Remove borders */
    text-decoration: none; /* Remove underline */
    font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 19px; /* Font size */
    margin-top: 0px;
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 6px; /* Rounded corners */
    text-wrap: auto;
    margin-left: 5px;
    margin-bottom: 10px;
    min-width: 115px;
}
.exterimg {
    display: flex;
    flex-direction: column;
    border-radius: 6px;
    color:white;
    font-weight: 200;
    background: rgba(7, 59, 76, 0.65);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.9px);
    padding: 5px 15px 0;
    margin:5px;
    text-align: justify;
  }
  .shortname-text {
    min-height: 40px;
    font-family:"Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(89, 149, 253);
    margin-left: 6px;
    margin-bottom: 6px; /* Adds some space below the shortname */
    font-weight: 700;
  }
  
  .img-tailbar-container {
    display: flex;
   
  }
  
  .perimg{
    min-width: 90px;
  }
  .perimg img {
    width: 100%; /* Image will take up the full width of its container */
     /* max-width: 120px; Set a maximum width for the image */
  }
  
  .tailbar-text {
    font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-width: 200px;
    flex: 1; /* Ensures the text takes 1/2 of the available space */
    margin-left: 5px; /* Adds space between the image and the text */
  }
  .sub2{
    width: 100%;
    min-height: 500px;
  }
.sub1{
    color: rgb(255, 255, 255);
    width: 100px;
    height: 950px;
    overflow-y: auto;  /* Enables vertical scrollbar */
    overflow-x: hidden;
    margin-left: 6px;
    margin-top: 6px;
    font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-right: 10px;
}.sub1::-webkit-scrollbar {
    width: 12px; /* Set the width of the scrollbar */
}

.sub1::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the scrollbar track */
}

.sub1::-webkit-scrollbar-thumb {
    background-color: #000000; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the scrollbar thumb */
    border: 3px solid #f1f1f1; /* Optional: to add padding around the thumb */
}

.sub1::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Color of the thumb on hover */
}

        .sedew {
            display: none;
        }
.selectiondiv{
  width: 99%;
  margin-top: 8px;
  margin-left: 10px;
  margin-right: 10px;
  text-align: center;
  
}
#sectionSelector{
  font-size: 16pt;
  background-color: rgb(55, 53, 51);
  padding-top: 8px;
  color: rgb(219, 219, 219);
  font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  padding-left: 8px;
  padding-bottom: 8px;
}
.sedew{
  color: white;
  font-size: 14pt;
  font-weight: 200;
  font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding: 10px;
  line-height: 0.68cm;
  text-align: justify;
}




.a-68 {
  appearance: none;
  backface-visibility: hidden;
  background-color: #27ae60;
  border-radius: 8px;
  border-style: none;
  box-shadow: rgba(39, 174, 96, .15) 0 4px 9px;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: "Source Sans Pro",'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 0.5;
  outline: none;
  min-width: 220px;
  height: 50px;
  vertical-align: middle;
  margin-left: 10px;
  overflow: hidden;
  padding: 10px 20px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transform: translate3d(0, 0, 0);
  transition: all .3s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: top;
  white-space: nowrap;
}

.a-68:hover {
  background-color: #1e8449;
  opacity: 1;
  transform: translateY(0);
  transition-duration: .35s;
}

.a-68:active {
  transform: translateY(2px);
  transition-duration: .35s;
}

.a-68:hover {
  box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
}

  @media (max-width: 1400px) {
    #sectionSelector{
      max-width: 660px;
    }
    .selectiondiv{
      margin-left: 0px;
    }
  }
  @media (max-width: 1200px) {
    #sectionSelector{
      max-width: 460px;
    }
    .selectiondiv{
      margin-left: 0px;
    }
    .topic-cards {
      grid-template-columns: repeat(4,1fr);
    }
  }

  @media (max-width: 992px) {
    #sectionSelector{
      max-width: 360px;
      font-size: 12pt;
    }
    .selectiondiv{
      margin-left: 0px;
    }
    .topic-cards {
      grid-template-columns: repeat(4,1fr);
    }
  }
  @media (max-width: 792px) {
    .leftbutton {
      max-width:50px;
    }
    #buttonb
      {
        padding: 4px 3px;
        font-size: 17px;
        min-width: 100px;
      }
    .a-68 {
      margin-right: 10px;
      font-size:13pt;
      padding-left: 4px;
      padding-right: 4px;
    }
    .inside{
      width: 100%;
    }
    .garchig{
      font-size: 16px;
     
    }
    .topic-cards {
      grid-template-columns: repeat(4,1fr);
      gap: 5px; /* Space between images */
      padding: 5px;
    }
    .topic-cards img{
      max-height: 100px;
    }
  }
  body .background {
    background-image: url('img/car1.jpg');
    background-size: auto; /* Keeps the original size of the image */
    background-repeat: repeat; /* Repeats the image */
    filter: blur(4px); /* Adjust the blur intensity */
    -webkit-filter: blur(4px); /* For Safari */
    height: 260%;
    width: 100%; /* Full width */
    position: absolute; /* Make sure it covers the entire body */
    z-index: -1; /* Place it behind other content */
}

.sub1 a img{
    width: 95%;
    height: auto;
}
.sub1 a img:hover{
    background-color: rgb(141, 143, 145);
    border-radius: 10px;
}

