body {
    margin: 0;
    padding: 0;
    background-color: #1c1c1c;
  }
.button-container {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 20px;
}

.button-container button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-radius: 5px;
  background-color: #ffc401;
  color: #000000;
  border: none;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 18vh;
}

.button-container button:hover {
  color: #ffffff;
  background-color: #f5b200;
}

.discord-btn {
  background-color: #7289da;
  color: #ffffff;
  margin-right: 10px;
}

.discord-btn:hover {
  background-color: #677bc4;
}

.discord-btn i {
  margin-right: 5px;
}

.submit-btn {
  background-color: #ffc401;
  color: #000000;
}

.submit-btn:hover {
  background-color: #f5b200;
}

.submit-btn i {
  margin-right: 5px;
}

.search-container {
    position: relative;
  }

  #search-form {
    position: relative;
  }
  
  #search-input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    width: 200px;
  }
  
  #search-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
  }

  #search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 50vh;
    overflow-y: hidden;
    background-color: #1c1c1c;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    border-radius: 5px;
    border: white solid 1px;
  }

  #search-dropdown li {
    padding: 10px;
    cursor: pointer;
  }
  
  #search-dropdown li:hover {
    background-color: #3a3a3a;
  }
  
  #search-dropdown li a {
    text-decoration: none;
  }
  
  #search-dropdown li.selected {
    background-color: #3a3a3a;
  }
  
  #search-results {
    position: fixed;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
  }
  
  #search-results li {
    padding: 10px;
    cursor: pointer;
  }
  
  #search-results li:hover {
    background-color: #eee;
  }
  
  #search-results li a {
    color: #333;
    text-decoration: none;
  }
  
  #search-results li.selected {
    background-color: #eee;
  }
  
  .more-results-link {
    font-weight: bold;
    color: #ffc401;
  }


.index-title {
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
    font-size: 3rem;
    text-align: center;
}

.index-title2 {
    margin-top: 30px;
    margin-bottom: 10px;
    color: white;
    font-size: 3rem;
    text-align: center;
}
  
  .content {
    background-color: #1c1c1c;
  }

  .content2 {
    background-color: #1c1c1c;
    margin-bottom: 60px;
  }
  
  .box, .box2 {
    width: calc((90% - 40px) / 5); /* update width to fit 5 boxes in a row */
    margin: 10px;
    text-align: center;
    background-color: #232323;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding-bottom: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  
  .box img, .box2 img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
  }
  
  .box h2, .box2 h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    flex: 1;
    font-weight: bold;
  }
  
  .box button, .box2 button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #ffc401;
    color: #000;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    flex-shrink: 0;
    font-weight: bold;
  }
  
  .box button:hover, .box2 button:hover {
    color: #fff;
    background-color: #ffa500;
  }
  
  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #232323;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
  }
  

  #mod-container {
    margin-bottom: 100px;
  }

  .box2 p2 {
    margin-left: 10px;
    margin-right: 10px;
    flex: 2;
  }

  .container-popular {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }


  
  .owl-carousel .owl-item img {
    width: 100%;
    height: auto;
  }
  
  .owl-carousel {
    position: relative;
    height: 0;
    padding-bottom: 20%;
  }
  
  .owl-carousel .owl-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  @media screen and (max-width: 768px) {
    .box, .box2 {
      width: calc((100% - 40px) / 2); /* update width to fit 2 boxes in a row on smaller screens */
    }

    .owl-carousel {
      padding-bottom: 40%;
    }
  }