.banner { 
    justify-content: center;
    background-color:lightgrey; 
  }

.banner-content { 
    padding: 10px; 
    padding-left: clamp(15px, 2vw, 50px);
    color:black;
    font-size: clamp(30px, 6vw, 60px);
}

.banner-link {
    color: black;
    padding-top: 30px;
    padding-right: clamp(15px, 2vw, 50px);
    font-size: clamp(20px, 4vw, 50px);
    text-decoration: none;
}

.left-text {
    text-align: left;
}

.right-text {
    text-align: right;
}

.center-text {
    text-align: center;
}

.inline {
    display: flex;
    justify-content: space-between;
}

.no-decoration a{
    text-decoration: none;
}

.no-padding {
    padding: 0px !important;
}

.black {
    color: black;
}

.white {
    color: ghostwhite;
}

/* About page */

.icon-white{
    color:ghostwhite;
    outline: none;
    box-shadow: none;
}

/* List of boxes + thumbnails */
.box {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
  width: calc(80vw - 15vh);
  height: calc(8vh + 3*4vw);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.5s;
  margin-left: 10vw;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.box-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.home {
  margin: 0 auto;
  position: relative;  /* keep for other absolute children if any */
  display: flex;
  justify-content: space-between;
  align-items: flex-end;  /* aligns items at bottom */
  padding: 10px;  /* add padding inside box */
  width: 80vw;
  height: calc(8vh + 3*5vw); /* keep your height */
  border-radius: 10px;
  cursor: pointer;
  margin-top: 3vh;
  transition: transform 0.2s, box-shadow 0.5s;
  /* remove margin-left temporarily to check */
}


.home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.home-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0px;
    padding: 0px;
    background-size: cover;
    background-position: center;
}

.bottom-left {
    position: absolute;
    white-space: nowrap;
    bottom: -10px;  /* move it up from bottom:0 */
    left: 0;
    padding: 10px;
    margin: 0;
    font-size: calc(2vw + 1.5vh);
}

.bottom-left-small {
    position: absolute;
    white-space: nowrap;
    bottom: 0;
    left: 0;
    font-size: calc(1vw + 1vh);
    padding-left: 10px; /* align horizontal padding */
    margin: 0;
}


.bottom-right {
    position: absolute;
    bottom: -0.5vh;
    right: 0;
    padding: 10px; /* Adjust as needed */
    margin: 0; /* Remove default margin */
    font-size: calc(1vw + 1vh);
}

.bottom-left-box {
    position: absolute;
    white-space: nowrap;
    bottom: -10px;  /* move it up from bottom:0 */
    left: 0;
    padding: 10px;
    margin: 0;
    font-size: calc(2vw + 1.5vh);
}

.bottom-left-small-box {
    position: absolute;
    white-space: nowrap;
    bottom: 0;
    left: 0;
    font-size: calc(1vw + 1vh);
    padding-left: 10px; /* align horizontal padding */
    margin: 0;
}

.bottom-right-box {
    position: absolute;
    bottom: -0.5vh;
    right: 0;
    padding: 10px; /* Adjust as needed */
    margin: 0; /* Remove default margin */
    font-size: calc(0.5vw + 1vh);
}

.img{
  width: 50vw; /* Adjust the width factor as needed */
  max-width: 100%; /* Ensure the image does not exceed its original size */
  height: auto; /* Maintain the aspect ratio */
}


/* Search and dropdown */
.category-filter {
    flex: 0 0 auto;
    margin-right: 20px;
    color: ghostwhite;
  }

  .clearfix::after {
    content: "";
    clear: both;
    display: table;
  }
  
  .category-list {
    list-style-type: none;
    padding: 0;
  }
  
  .category-list li {
    margin: 10px 0;
    cursor: pointer;
  }
  
  .category-list li .arrow {
    margin-right: 10px;
    transition: transform 0.3s;
  }
  
  .category-list li .arrow.down {
    transform: rotate(90deg);
  }
  
  .subcategory-list {
    list-style-type: none;
    padding-left: 40px;
    display: none; /* Ensure subcategories are collapsed initially */
  }
  
  .category-list a {
    text-decoration: none;
    color: ghostwhite;
    font-weight: bold;
  }

body {
    font-family: "Noto Sans";
    background-color:#3A3B3C;
    color:ghostwhite;
    padding: 1vw;
}

.center {
    text-align: center;
    max-width: 60vw;
    margin: 0 auto; /* Center the container */
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.video-container video {
  max-width: 100%;
  height: auto;
}

.code {
  background-color: #212121;
  color: #e0e0e0;
  font-family: Consolas, monospace;
  font-size: 14px;
  display: inline-block;
  padding: 1px 4px;
  white-space: nowrap;
  border-radius: 1vw;
}



h1, h2, h3, h4, h5, h6 { /*reset for mobile browsers */

font-weight: normal;

}

