/* General layout and typography */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
}

/* Header */
header {
  background: #383838;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

header h1 {
  margin: 0;
  font-size: 2rem;
}

header p {
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Section layout */
section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  border-top: 2px solid #383838;
}

section:first-of-type {
  border-top: none; /* Skip border for the first section */
}

/* Section titles */
h2 {
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid #383838;
}

/* Project cards */
.project {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  text-align: left;
}

.project:hover {
  transform: translateY(-4px);
}

.project img {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.project .round {
  border-radius: 50%;
}

/* Text content within project */
.project div {
  flex: 1;
  min-width: 200px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #777;
}

/* Links */
a {
  color: #383838;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Contact section */
.contact {
  text-align: center;
  padding-bottom: 2rem;
}

.contact .discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.contact img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

.contact button {
  background-color: #5865F2;
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 0.9rem;
  border-radius: 5px;
  cursor: pointer;
}

.contact button:hover {
  background-color: #404EED;
}

#copy-feedback {
  color: green;
  margin-top: 0.5rem;
  display: none;
}

/* Responsive design */
@media (max-width: 600px) {
  header img {
    width: 80px;
    height: 80px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  header p {
    font-size: 1rem;
  }

  .project {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .project img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .project .round {
    width: 100%;
    max-width: 150px;
    height: auto;
  }
}
