html {
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #202023;
  color: #EDEDED;
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.625rem;
  background-color: rgba(32, 32, 35, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  text-align: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #EDEDED;
  font-size: 1.5rem;
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  z-index: 1100;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  height: 100%;
}

nav a {
  display: inline-flex;
  align-items: center;
  color: #EDEDED;
  padding: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  height: 100%;
}

nav a.active {
  color: #B6F758;
}

nav a:not(.bold):hover {
  text-decoration: underline;
}

main {
  margin-top: 6.25rem;
}

.container {
  max-width: 600px;
  margin: 3.75rem auto;
  padding: 0 1.25rem;
}

h1 {
  font-size: 1.25rem;
  margin-bottom: 0.625rem;
}

.page-title {
  display: none;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  font-size: 0.9375rem;
  color: #EDEDED;
  text-align: justify;
  line-height: 1.8;
}

a .house {
  font-size: 1.25rem;
  display: inline-block;
  transition: transform 0.3s ease;
  margin-right: 0.3rem;
  vertical-align: middle;
}

a:hover .house {
  transform: rotate(20deg);
}

.bold {
  font-weight: bold;
}

p.footer {
  font-size: 0.625rem;
  margin: 1.875rem;
  text-align: center;
}

a.portfolio_button {
  color: #202023;
  background-color: #B6F758;
  padding: 0.625rem;
  border-radius: 0.3125rem;
  font-size: 0.9375rem;
  margin: auto;
  text-align: center;
  text-decoration: none;
}

a.portfolio_button:hover {
  background-color: #A7E04F;
  cursor: pointer;
}

.portfolio_button_container {
  text-align: center;
  margin-top: 1.875rem;
}

footer {
  margin-top: 3.75rem;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8125rem;
}

footer .social-links {
  margin-bottom: 0.625rem;
}

footer .social-links a {
  margin: 0 0.625rem;
  color: #EDEDED;
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #B6F758;
}

section.mini-bio {
  margin-top: 1.25rem;
}

a.uliege {
  color: #EDEDED;
}

.skill-section {
  margin-bottom: 2.5rem;
}

.skill-section h1 {
  font-size: 1.4rem;
  margin-bottom: 0.9375rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.25rem;
  text-align: center;
}

.skill-group {
  margin-bottom: 1.25rem;
}

.skill-group h3 {
  font-size: 1rem;
  color: #EDEDED;
  margin-bottom: 0.3125rem;
}

.skill-group ul {
  list-style-type: disc;
  padding-left: 2.5rem;
  margin: 0;
}

.skill-group li {
  margin: 0.25rem 0;
  font-size: 0.9375rem;
}

.skill-group li i {
  margin-right: 0.5rem;
  color: #B6F758;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem;
}

.project-thumb {
  display: block;
  background-color: #2a2a2d;
  border-radius: 0.625rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.project-thumb:hover {
  transform: translateY(-0.3125rem);
}

.project-thumb img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.project-info {
  padding: 0.9375rem;
}

.project-info h2 {
  font-size: 1.125rem;
  margin-bottom: 0.3125rem;
  color: #B6F758;
}

.project-info p {
  font-size: 0.875rem;
  color: #ccc;
}

@media (max-width: 600px) {
  html {
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #202023;
    padding: 1rem 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 0.625rem 0;
    font-size: 1.1rem;
  }

  .container {
    padding: 0 0.625rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  p {
    font-size: 1rem;
  }

  a.portfolio_button {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .page-title {
    display: block;
    margin-top: -3rem;
    margin-bottom: 3rem;
  }
}
