*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-size: clamp(87.5%, 1.25vw, 200%);
  scroll-behavior: smooth;
}

body {
  font-family: "roboto", sans-serif;
  background-color: #ededed;
  color: #1e1e1e;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 10vh auto 10vh;
  grid-template-areas:
    "header"
    "main"
    "footer";
}

h1,
h2,
h3 {
  font-family: "montserrat", sans-serif;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1rem;
}

#header {
  grid-area: header;
  background-color: #1e1e1e;
  color: #ededed;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  height: 100%;
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
}

a:has(.logo) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 80%;
  filter: invert();
}

#main {
  grid-area: main;
}

#footer {
  grid-area: footer;
  background-color: #1e1e1e;
  color: #ededed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#footer > * {
  margin: 0;
}

@font-face {
  font-family: "montserrat";
  src: url("../assets/fonts/montserrat.ttf");
}

@font-face {
  font-family: "roboto";
  src: url("../assets/fonts/roboto.ttf");
}

@font-face {
  font-family: "monoton";
  src: url("../assets/fonts/monoton.ttf");
}
