/* ----------------- NAVBAR ----------------- */
.navbar {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
}

.navbar .left-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar .center-section {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  padding-right: 10%;
}

.navbar .right-section {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: black;
  font-size: x-large;
  font-weight: 700;
  text-shadow: 0 0 3px #ffffff;
}

.navbar .guestbook img {
  height: 70px;
}

.header h1 {
  font-size: 30px;
  text-shadow: 0 0 3px #000000;
  margin: 0;
}

/* ----------------- GENERAL LINKS ----------------- */
a {
  padding: 8px;
  text-decoration: none;
  color: #000000;
}

.center-section a:hover {
  background-color: rgba(68, 54, 52, 0.59);
  color: antiquewhite;
  text-shadow: none;
  transition: all 0.7s ease;
}

/* ----------------- MAIN BODY ----------------- */

.body {
    margin: 20px 100px;
    display: flex;
    flex-direction: row;
}

/* ----------------- SUB NAVIGATION ----------------- */

.subnav {
    position: sticky;
    top: 10px;
    z-index: 100;
    height: fit-content;
    white-space: nowrap;
    display: flex;
    padding: 25px;
    border-radius: 25px 0 0 25px;
    flex-direction: column;
    gap: 1rem; /* spacing between items */
    background-color: #170D01;
}

.subnav a {
    position: relative;
    text-decoration: none;
    font-size: large;
    padding-left: 10px;
    color: white;
}

.subnav a::after {
    content: "●";
    position: absolute;
    left: 25px;
    top: 85%;
    transform: translate(-50%);
    font-size: 16px;
    color: white;
}

.subnav a:last-child::after {
    content: ""; /* remove dot on last link */
}

.resources {
    border-radius: 0 25px 25px 0;
    flex-grow: 2;
    height: fit-content;
}

.resources .link-section {
    padding: 25px;
    min-height: 500px;
    background-color: #170d0193;
    margin: 30px 30px 30px 0;
    border-radius: 0 25px 25px 0;
}

.resources .link-section:first-child {
    margin-top: 0;
}

.resources a {
    color: #F2F3F4;
    text-decoration: underline;
    
}

.resources ul {
    font-size: 24px;
    margin: 20px;

}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

}

#neocities  {
    margin-top: -30px;
    min-height: fit-content;
}

#buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 10px;
}