body {
  background-color: #334155;
  color: #bdc5cf;
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------- HEADER --------- */
.header-logo {
  width: 50px;
  height: 50px;
}

header nav {
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #dee5ee;
  background-color: #1f2937;
  padding: 1rem;
}

header nav a img {
  width: 5rem;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 35vw;
  font-size: 2rem;
}

/* --------- MAIN --------- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

main h1 {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #dee5ee;
}

main img {
  display: flex;
}

main section {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}

main section h2 {
  color: #dee5ee;
  font-size: 1.2rem;
  padding-bottom: 0.5rem;
}

main section p {
  display: flex;
  flex-direction: column;
}

main section li a {
  color: rgb(24, 24, 86);
}

main section li a:hover {
  text-decoration: underline;
}

main section:nth-child(5) p {
  padding-bottom: 0.5rem;
}

main .intro {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

main .info {
  border-radius: 8px;
  border: #1f2937 4px solid;
  margin-top: 5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

main .info img {
  border: #1f2937 4px solid;
  border-radius: 100%;
  position: relative;
  top: -90px;
  margin-bottom: -5rem;
}

main .info div {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

/* --------- FOOTER --------- */
footer p {
  color: #768497;
  display: flex;
  justify-content: center;
}

/* --------- SITE-WIDE TWEAKS / REUSABLE COMPONENTS --------- */
html {
  scrollbar-gutter: stable;
}

section {
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

section:hover {
  background-color: rgb(58, 80, 98);
}

/* --------- PROJECT CARDS --------- */
.projects-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.projects-list .project-card {
  width: 400px;
  min-height: 300px;
  background-color: #1f2937;
  border-radius: 12px;
  padding: 1rem;
  color: #dee5ee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  margin-left: 5rem;
  margin-right: 5rem;
}
.project-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 25px rgba(244, 241, 241, 0.3);
}
