:root {
    --primary-text: hsl(44, 40%, 84%);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 40px;
  font-family: "Montserrat", sans-serif;
}
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background: linear-gradient(45deg, hsl(235, 16%, 30%), hsl(228, 14%, 49%));
  color: var(--primary-text);
}
a {
  text-decoration: none;
}
#header {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  width: 100%;
  height: 10vh;
  padding: 6vh 10vw;
}
.side-header {
    font-family: "CartographCF", "Montserrat", sans-serif;
}
#navbar {
  list-style: none;
  display: flex;
}
.nav-item {
  margin: 0px 10px 0px 10px;
}
.nav-item > a {
  font-size: .55rem;
  font-family: "CartographCF", "Montserrat", sans-serif;
  color: var(--primary-text);
}
.nav-item > a::after {
  width: 0;
  display: block;
  content: '';
  border-bottom: 2px solid #000;
  transition: width .3s;
}
.nav-item > a:hover::after {
  width: 70%;
}

.welcome {
  margin-bottom: 20px;
  font-size: 1rem;
}
.content {
  position: relative;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.site-content {
  font-family: "CartographCF", "Montserrat", sans-serif;
  font-size: .4rem;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.btn {
  font-size: .45rem;
  color: var(--primary-text);
  background-color: hsl(0, 0%, 9%);
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 1px -1px 4px 1px hsl(0, 0%, 2%);
  transition: box-shadow .3s, background-color .3s, transform .3s;
}
.btn:hover {
  box-shadow: 0px 2px 4px 2px hsl(180, 7%, 19%);
  background-color: hsl(214, 28%, 15%);
  transform: scale(1.05);
}
#footer {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10vh 5vw 5vh 5vw;
}
#footer p, #footer span {
  font-size: .5rem;
}
#footer span {
  position: relative;
  padding: 0px 4px 4px 4px;
  font-family: "CartographCF", "Montserrat", sans-serif;
  border-top: 1px solid hsl(0, 0%, 9%);
  border-bottom: 1px solid hsl(0, 0%, 9%);
  border-radius: 10px;
  border-width: 0;
  animation: borderWidth 1.5s ease-in infinite;
}
@keyframes borderWidth {
  0% {
    border-width: 1px;
  }
  50% {
    border-width: 4px;
  }
  100% {
    border-width: 1px;
  }
}
@font-face {
  font-family: Montserrat;
  src: url("/fonts/Montserrat-Medium.ttf");
}
@font-face {
  font-family: CartographCF;
  src: url("/fonts/CartographCF-RegularItalic.otf");
}
