@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

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

:root {
  --primary: #0000aa;
  --background: #f9f9f9;
  --text: #101720;
  --font: 'Poppins', sans-serif;
}

body {
  font-family: var(--font);
  background-color: var(--background);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.note {
  font-size: 0.875rem;
  font-weight: 400;
}

.header {
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.header__logo:hover {
  opacity: 0.5;
}

.header__logo img {
  height: 3rem;
  width: auto;
}

.header__nav-link {
  color: var(--background);
  font-weight: 700;
  font-size: 1.5rem;
  transition: opacity 0.2s;
}

.header__nav-link:hover {
  opacity: 0.5;
}

.footer {
  background-color: var(--primary);
  color: var(--background);
  padding: 3rem;
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer__about h4 {
  margin-bottom: 1rem;
}

.footer__about p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 27rem;
}

.footer__about p + p {
  margin-top: 0.8rem;
}

.footer__linkedin {
  display: inline-flex;
  align-items: center;
  margin-top: 1.25rem;
  transition: opacity 0.2s;
}

.footer__linkedin:hover {
  opacity: 0.5;
}

.footer__linkedin img {
  height: 1.5rem;
  width: 1.5rem;
}

.footer__nav h4 {
  margin-bottom: 1rem;
  text-align: right;
}

.footer__nav h4:hover {
  opacity: 0.5;
}

.footer__nav-list {
  list-style: none;
  text-align: right;
}

.footer__nav-list li {
  margin-bottom: 0.5rem;
}

.footer__nav-list a {
  color: var(--background);
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer__nav-list a:hover {
  opacity: 0.5;
}

.footer__copy {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  padding-top: 1.5rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  font-family: var(--font);
  color: var(--text);
  padding: 0;
  transition: opacity 0.2s;
}

.back-btn:hover {
  opacity: 0.5;
}

.back-btn .material-symbols-outlined {
  font-size: 2rem;
}

.project-header {
  padding: 3rem 3rem 0;
  max-width: 57rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.project-header__meta {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-align: center;
}

.project-header__title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.project-header__title-alternate {
  text-align: center;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.project-header__subtitle {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 2rem;
}

.project-hero {
  padding: 0 3rem 3rem;
  max-width: 57rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.project-hero__img {
  width: 100%;
  max-height: 33rem;
  object-fit: cover;
  border-radius: 0.3rem;
}

.project-section {
  padding: 3rem 3rem;
}

.project-section--blue {
  background-color: var(--primary);
  color: var(--background);
}

.project-section__inner {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.project-section__heading {
  color: var(--primary);
  margin-bottom: 1rem;
}

.project-section--blue .project-section__heading {
  color: var(--background);
}

.project-section__body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.project-section__img {
  width: 100%;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-footer-cta {
  padding: 3rem;
  display: flex;
  justify-content: center;
}

.project-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--background);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 3rem;
  border-radius: 3rem;
  border: none;
  transition: opacity 0.2s;
  text-decoration: none;
}

.project-btn:hover {
  opacity: 0.5;
}


/* tablet */
@media (max-width: 900px) {
  .header {
    padding: 1rem 2rem;
  }

  .footer {
    padding: 3rem 2rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .project-header {
    padding: 2rem 2rem 0;
  }

  .project-hero {
    padding: 0 2rem 3rem;
  }

  .project-section {
    padding: 2rem;
  }

  .project-footer-cta {
    padding: 3rem 2rem;
  }
}

/* mobile */
@media (max-width: 560px) {
  .header {
    padding: 0.8rem 1.25rem;
  }

  .header__logo img {
    height: 3rem;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .footer__nav h4 {
    text-align: left;
  }

  .footer__nav-list {
    text-align: left;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  .project-header {
    padding: 1.5rem 1.25rem 0;
  }

  .project-hero {
    padding: 0 1.25rem 2rem;
  }

  .project-section {
    padding: 1.5rem 1.25rem;
  }

  .project-footer-cta {
    padding: 2rem 1.25rem;
  }
}