@font-face {
  font-family: 'Iosevka';
  src: url('/static/fonts/IosevkaTerm-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    color: #40ff69;
    font-family: 'Iosevka', monospace;
}

body {
    background-color: #121212;
    color: #40ff69;
    font-family: 'Iosevka', monospace;
    line-height: 1.6;
}

/* Links */
a {
    color: #40ff69;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background: #1f1f1f;
    padding: 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid #53ff78;
    position: relative;
    z-index: 0;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Hamburger Icon */
#hamburger {
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem;
    z-index: 1001;
    color: #40ff69;
}

/* Sidebar Menu */
.side-menu {
    position: fixed;
    top: 0;
    left: -219px;
    height: 100%;
    width: 220px;
    background-color: #1f1f1f;
    border-right: 1px solid #53ff78;
    padding: 2rem 1rem;
    box-shadow: 4px 0 6px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 1000;
    
    flex-direction: column;
}
.side-menu.open {
    left: 0;
}
.side-menu a {
    color: #40ff69;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: block;
}
.side-menu a:hover {
    text-decoration: underline;
}

/* Close Arrow (outside menu) */
.arrow-container {
position: fixed;
  top: 1rem;
  left: -1px; /* to the right of side menu */
  transition: left 0.3s ease;
  cursor: pointer;
  z-index: 2;
  background-color: #1f1f1f;
  border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
  border: 2px solid #53ff78;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center; /* Horizontal alignment */
  align-items: center;
}

.arrow-container.open {
    left: 219px;
    transition: left 0.3s ease;
}

.close-arrow {
  font-size: 1.5rem;
  color: #40ff69;
  text-align: center;
  transform: rotate(0deg);
  margin-bottom: 2px;
  margin-top: 0px;
  transition: transform 0.3s ease, margin-bottom 0.3s ease;

}
.close-arrow.open {
    transform: rotate(180deg);
    margin-bottom: 0px;
    margin-top: 2px;
  transition: transform 0.3s ease, margin-top 0.3s ease;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Footer */
footer {
    text-align: center;
    color: #666;
    padding: 1rem 0;
    border-top: 1px solid #53ff78;
    margin-top: 3rem;
}
