@import url("colors.css");

@font-face {
  font-family: "White Rabbit";
  src: url("/assets/fonts/white-rabbit-2/WHITRABT.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "PixelCode";
  src: url("/assets/fonts/pixel-code/fonts/PixelCode.otf") format("otf"),
    url("/assets/fonts/pixel-code/fonts/PixelCode.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
}

header,
footer {
  font-family: "PixelCode", sans-serif;
}

body {
  font-family: "PixelCode", sans-serif;
  line-height: 1.6;
  background-color: var(--background-1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "PixelCode", sans-serif;
}

body,
ul {
  margin: 0;
  padding: 0;
}

.navbar {
  background-color: var(--background-2);
  padding: 5vh;
}

.mobile-menu {
  display: none;
}

.mobile-menu-icon {
  text-align: end;
  font-size: 24px;
  color: var(--highlight-2);
  cursor: pointer;
}

.mobile-menu-title {
  text-align: center;
  font-size: 24px;
  color: var(--highlight-2);
  cursor: pointer;
}

.navbar-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #333;
  /* background-color: var(--highlight-2-dark); */

  padding-top: 60px;
  transition: top 0.3s ease-in-out;
}
.open {
  display: block;
}

.navbar-mobile a {
  display: block;
  color: white;
  padding: 15px;
  text-decoration: none;
  font-size: 18px;
}

.navbar-mobile a:hover {
  background-color: #555;
}

.close-btn {
  position: absolute;
  top: 0px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: var(--highlight-2);
}

.menu {
  display: flex;
  list-style-type: none;
  justify-content: space-around;
  font-size: large;
  font-weight: bold;
}

.menu-item {
  color: var(--highlight-2);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.hover-item {
  color: transparent;
}

.menu-item:hover .hover-item {
  color: var(--highlight-2);
}

.hover-item-active {
  color: var(--highlight-2);
}

.menu li {
  margin: 0;
}

.menu a {
  color: var(--highlight-2);
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  transition: background-color 0.3s ease;
}

.page-title {
  margin: 20px;
}

.page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.content {
  font-family: "White Rabbit", Tahoma, Geneva, Verdana, sans-serif;
  font-size: larger;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  max-width: 70%;
  width: 70%;
  margin: 0 auto;
  box-sizing: border-box;
}

footer a {
  color: var(--highlight-2);
}

footer img {
  color: wheat;
}

footer {
  background-color: var(--background-2);
  color: var(--highlight-2);

  padding: 10px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .content {
    max-width: 100%;
    width: 100%;
    padding: 10px;
    margin-top: 60px;
  }
  .menu {
    display: none;
  }
  .navbar {
    background-color: var(--background-2);
    padding: 5vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    transition: top 0.3s ease-in-out; /* Smooth transition */
  }
  .mobile-menu {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    align-items: baseline;
  }
  .navbar {
    padding: 10px;
  }
  .mobile-menu-icon {
    display: block;
  }
}
