body {
  font-family: 'Press Start 2P', cursive;
  background-image: url('img/background.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1e1e1e;
  text-align: center;
  padding: 20px;
  z-index: 1000;
}

header h1 {
  font-size: 2em;
  color: #ffcc00;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 1em;
}

main {
  flex: 1;
  width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

section {
  width: 80%;
  max-width: 50vw;
  background-color: #2e2e2e;
  margin: 4em 0 3em 0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h2 {
  color: #ffcc00;
  font-size: 1.5em;
}

p {
  font-size: 1em;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #1e1e1e;
  color: #777;
  font-size: 0.8em;
  width: 100%;
}

#projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.project-card {
  flex: 0 1 calc(25% - 20px);
  margin: 10px;
  background-color: #2e2e2e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card img {
  max-width: 100%;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}

.project-card h3 {
  color: #ffcc00;
  font-size: 1.2em;
  margin-top: 10px;
}

.project-card p {
  font-size: 1em;
  line-height: 1.6;
  margin-top: 10px;
}

.tags {
  margin-top: 10px;
}

.tag {
  display: inline-block;
  background-color: #ffcc00;
  color: #2e2e2e;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 5px;
  font-size: 0.8em;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 10px;
  background-color: #ffcc00;
  color: #2e2e2e;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #ffa500;
}