/* --- FONTS --- */

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Shantell+Sans:ital,wght@0,300..800;1,300..800&family=Share+Tech+Mono&family=VT323&display=swap');

/*
Figtree = body text, paragraphs, and general content
Shantell Sans = headings and titles
VT323 = links and buttons
JetBrains/ShareTech Mono = code snippets and technical content
*/


/* --- STYLING --- */

body {
  background-image: url('../assets/base-wallpaper.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 140px 1rem 1rem;
  box-sizing: border-box;
  font-family: 'Figtree', sans-serif;
  font-size: 1.2em;
  font-weight: 500;
  color: #52754a;
  margin: 0;
}

::selection {
  background-color: #94ebd5ab; /* change highlight color */
  color: #448574; /* change text color */
  border-radius: 5px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 110px;
  background-image: url('../assets/navbar.png');
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #52754a;
  margin-left: 2em;
}

.logo-link img {
  height: 50px;
  border-radius: 5px;
  border: 2px solid #7b6c51;
}

.logo-link h1 {
  margin-left: 0.4em;
  font-family: 'Shantell Sans', sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #52754a;
  margin: 0 1em;
  padding: 0.3em 0.6em;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  font-family: "VT323", monospace;
  font-size: 1.3em;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  background-color: #ed8d8d88;
  color: #854e4e;
}

.nav-links li {
  list-style: none;
  margin: 0 0.5em;
}

footer {
  max-width: auto;
  margin: 1em 0 0 0;
  background-color: #d5e7b8;
  border: 3px solid #7b6c51;
  border-radius: 10px;
  padding: 0.5em;
  
}

footer p {
  text-align: center;
  font-size: 0.9em;
  margin: 0 0 0.2em 0;
}

footer a {
  text-decoration: none;
  color: #52754a;
  font-weight: 600;
}
