/* ----------------------------- */
/* ----- Basic Setup ----- */
/* ----------------------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  /* 16px x 62.5% = 10px --> 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-family: sans-serif;
  line-height: 1.6;
  color: #000000;
  background: #ffffff;
}

/* ----------------------------- */
/* ----- Layout Helpers ----- */
/* ----------------------------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  /* horizontally centered */
  padding: 0 2rem;
  text-align: center;
}

p {
  margin: 0 auto 1.6rem;
  max-width: 60ch;
  /* limits line length */
  text-align: center;
}

section {
  padding: 6rem 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.pdf-embed {
  width: 64%;
  height: 80vh;
  border: none;
}

@media (max-width: 768px) {
  .pdf-embed {
    height: 60vh;
  }
}

.project {
  margin-bottom: 5rem;
}

/* ----------------------------- */
/* ----- Typography ----- */
/* ----------------------------- */

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 2rem;
  text-align: center;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.2rem;
}

p {
  margin-bottom: 1.6rem;
  max-width: 60ch;
}

/* ----------------------------- */
/* ----- Links & Buttons ----- */
/* ----------------------------- */

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #8800ff;
  /* link hover */
}

button,
.btn {
  display: block;
  width: fit-content;
  text-align: center;
  padding: 1rem 2rem;
  border: 1px solid #000000;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  margin: 1rem auto;
}

button:hover,
.btn:hover {
  background: #000000;
  color: #ffffff;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-icons svg {
  width: 36px;
  height: 36px;
  transition: transform 0.2s ease, fill 0.2s ease;
  cursor: pointer;
}

.social-icons svg:hover {
  transform: scale(1.2);
  fill: #8800ff;
}

/* ----------------------------- */
/* ----- Navigation ----- */
/* ----------------------------- */

.nav {
  display: flex;
  justify-content: flex-start;
  padding: 1.5rem 0 1.5rem 2rem;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav a {
  padding: 0.5rem 0;
  font-weight: 500;
}


/* ----------------------------- */
/* ----- Footer ----- */
/* ----------------------------- */

footer {
  text-align: center;
  padding: 3rem 0;
  font-size: 1.4rem;
  color: #000000;
}