/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Courier New', monospace;
  background-color: #0d0d0d; /* Dark background */
  color: #3399ff; /* Blue text */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  padding: 20px 10px;
  background-color: #141414;
  border-bottom: 1px solid #3399ff;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.5);
}

header h1, header h2 {
  font-size: 2.5rem;
  color: #3399ff;
  margin-bottom: 10px;
  text-shadow: 0 0 8px #1a8cff;
}

header p {
  font-size: 1.2rem;
  color: #99ccff;
}

nav {
  background-color: #141414;
  padding: 10px;
  text-align: center;
}

nav a {
  color: #3399ff;
  margin: 0 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ff1aff;
}

main {
  flex: 1;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mod-list {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.mod-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 20px;
  background-color: #141414;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mod-item:hover {
  transform: scale(1.05) rotate(-0.5deg);
  box-shadow: 0 0 10px #3399ff;
}

.mod-item img {
  width: 80px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.tags {
  margin-top: 10px;
}

.tag {
  display: inline-block;
  background-color: #1a1a1a;
  color: #3399ff;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 5px;
}

input[type="text"] {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #333;
  border-radius: 5px;
  background-color: #121212;
  color: #3399ff;
}

.download-button {
  background-color: #141414;
  color: #3399ff;
  border: 1px solid #3399ff;
  border-radius: 5px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  margin: 10px 5px;
  display: inline-block;
}

.download-button:hover {
  background-color: #3399ff;
  color: #0d0d0d;
  transform: scale(1.1);
}

footer {
  padding: 20px;
  background-color: #141414;
  color: #3399ff;
  text-align: center;
  border-top: 1px solid #3399ff;
}
