body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: rgb(141, 126, 44);
  background-image: url('img/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  padding-top: 100px;
  min-height: 10vh; 
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 18, 18, 0.75);
  z-index: -1;
}

header {
  padding: 2px;
  background: rgba(31, 31, 31, 0.85);
  font-size: 32px;
  border-bottom: 2px solid #444;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  min-height: 8vh;
}

.header-logo {
  height: 12vh;
  width: auto;
  margin: 3px;
}

.header-title {
  text-align: center;
  flex-grow: 1;
  margin: 0 auto;
  font-size: 70px;
  font-family: Papyrus, Tahoma, Geneva, Verdana, sans-serif;
}

#searchInput {
  background-color: #444;
  color: lightslategrey;
  display: block;
  padding: 7px;
  width: 300px;
  font-size: 14px;
  border-radius: 5px;
  border: none;
  outline: none;
  margin-right: 3vh;
}

.category {
  margin: 40px auto;
  max-width: 1200px;
  padding: 20px;
}

.category-title {
  font-size: 24px;
  margin-bottom: 20px;
  border-left: 5px solid #006d05;
  padding-left: 10px;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 5px;
}

.dashboard-button {
  background: linear-gradient(145deg, #1e1e1e, #2c2c2c);
  border: 1px solid #333;
  padding: 10px;
  color: rgb(141, 126, 44);
  font-size: 13px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 10vh;
  width: 10vh;
}

.dashboard-button img {
  width: 7.5vh;
  height: 7.5vh;
  margin-bottom: 1vh;
}

.dashboard-button:hover {
  background: rgb(26, 26, 26);
  color: #42bb29;
  transform: scale(1.05);
  border-color: rgb(141, 126, 44);
}

/* Media Queries for Mobile Devices */
@media (max-width: 850px) {
  header {
    padding: 5px;
  }

  .header-logo {
    height: 9vh;
  }

  .header-title {
    margin-bottom: 2px;
    text-align: center;
    font-size: 32px;
  }
}

@media (max-width: 700px) {

  .header-title {
    font-size: 25px;
  }

  #searchInput {
  padding: 7px;
  width: 200px;
  font-size: 12px;
  border-radius: 5px;
  border: none;
  outline: none;
  margin-right: 2vh;
  }
}