* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --margin-grid: 2rem;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-gray: #888888;
}

@media (max-width: 992px) {
  :root {
    --margin-grid: 1.5rem;
  }
}

@media (max-width: 576px) {
  :root {
    --margin-grid: 1rem;
  }
}

.container-fluid {
  padding-left: var(--margin-grid);
  padding-right: var(--margin-grid);
}

.row {
  --bs-gutter-x: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== GENERAL ========== */
body {
  background: var(--color-black);
  color: var(--color-white);
  font-family: "Inter", Arial, sans-serif;
  padding-top: 82px;
}

body.project-page {
  padding-top: 0;
}

/* ========== HEADER ========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--margin-grid);
  background: var(--color-black);
  position: fixed;
  width: 100%;
  z-index: 1000;
  top: 0;
  height: 5rem;
}

.logo {
  width: 50px;
}

.header-buttons {
  display: flex;
  gap: 1rem;
}

.header-buttons .btn {
  padding: 8px 20px;
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-black);
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s, color 0.3s, border-radius 0.3s;
}

.header-buttons .btn:hover {
  background-color: var(--color-gray);
  color: var(--color-white);
  border-radius: 15px;
}

@media (max-width: 576px) {
  .header {
    padding: 0;
  }
}

/* ========== MAIN ========== */
main {
  margin-top: 0;
  min-height: calc(100dvh - 4rem);
}

main.about {
  display: flex;
  justify-content: center;
  align-items: center;
}

main.about section {
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 1.5rem;
}

main.about section:last-of-type {
  border: none;
}

main.about section .about-text {
  font-size: 2rem;
}

.highlighted-text {
  color: var(--color-gray);
  font-size: 2rem;
  margin-top: 2rem;
}

main.about section .about-contact {
  margin-bottom: 2rem;
  font-size: 1rem;
}

.about-contact .pdf-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--color-gray);
  text-decoration: underline;
  font-size: 1rem;
}

.about-contact .pdf-link:hover {
  color: var(--color-white);
}

main.about section .about-social {
  display: flex;
}

@media (max-width: 576px) {
  main.about section .about-text,
  .highlighted-text,
  .about-contact {
    font-size: 1rem;
  }
}

/* ========== GRID ========== */
.grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2/1.5;
}

.grid-item .grid-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0.5rem;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover .grid-text {
  opacity: 1;
}

/* ========== SINGLE WORK ========== */
main.single {
  margin-top: 5rem;
}

main.single .single-sticky {
  position: sticky;
  top: 8rem;
}

main.single .single-title {
  font-size: 2rem;
}

main.single .single-date {
  font-size: 0.8rem;
  color: var(--color-gray);
  margin-top: 1rem;
}

main.single .single-images img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

main.single .single-images img:first-of-type {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* ========== FULL HEIGHT ========== */
.full-height {
  height: calc(100vh - 5rem);
}

.project-navigation {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.project-navigation .nav-symbol {
  font-size: 2rem;
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.project-navigation .nav-symbol:hover {
  color: var(--color-white);
}