/* Font imports */
@font-face {
  font-family: 'Roboto Mono';
  src: url('../fonts/RobotoMono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Mono';
  src: url('../fonts/RobotoMono-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

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

/* Layout container */
.layout-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* Mobile menu trigger */
.mobile-menu-trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  position: fixed;
  top: 3px;
  right: 0;
  z-index: 1000;
}


/* Sidebar */
.sidebar {
  width: 40ch;
  flex-shrink: 0;
  overflow-y: auto;
  /* Add flex layout for logo and menu positioning */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  position: sticky;
  top: 0;
  transition: transform 0.3s ease-in-out;
  padding: 15px;
}

#menu-items ul {
  list-style: none;
}

/* Main content */
.main-content {
  flex-grow: 1;
  overflow-y: auto;
  max-width: 75ch;
  padding-top: 20px;
}
.logo.mobile {
  display: none;
}
.logo.desktop {
  display: block;
}
/* Mobile styles */
@media screen and (max-width: 768px) {
  .layout-container {
    flex-direction: column;
  }

  .mobile-menu-trigger {
    display: block;
    z-index: 1001;
  }


  .sidebar {
    width: 100%;
    transform: translateY(-100%);
    position: fixed;
    height: auto;
    background-color: #000;
    height: 100vh;
    padding-top: 10em;
    z-index: 999;
  }

  .sidebar.active {
    transform: translateY(0);
  }

  .logo {
    padding: 15px;
  }
  .logo.mobile {
    display: block;
    z-index: 1000;
  }
  .logo.desktop {
    display: none;
  }

  .main-content {
    width: 100%;
    padding: 15px;
  }
}

/* Fonts, colors, etc. */

body {        
    font-family: "Roboto Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    background-color: #000;
    color: #fff;
    font-size: 16px;
}

.sidebar a, .mobile-menu-trigger {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 700;
}

.main-content a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
    text-decoration-color: red;
    text-decoration-style: solid;
}
@media screen and (max-width: 768px) {
    .sidebar a {
        font-size: 3em;
        line-height: 1.2;
        letter-spacing: 0.01em;
        text-transform: uppercase;
    }
}
h1, .archive ul li a {
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}
.strike {
    position: relative;
    display: inline-block;
}
.strike::before {
    content: '';
    width: 100%;
    position: absolute;
    right: 0;
    top: 50%;
    border-bottom: 6px solid red;
    -webkit-transform: skewY(-87eg);
    transform: skewY(-7deg);
}
/* h1 span:before {
    content: "";
    display: block;
    width: 92%;
    height: 5px;
    background-color: red;
    position: relative;
    transform: rotate(-7deg);
    transform-origin: bottom right;
    left: -10px;
    top: 18px;
} */
p {
    margin: 0 0 1em 0;
}
.archive ul {
    list-style: none;
}
.archive ul li {
    margin-bottom: 1em;
}
.archive ul li a {
    text-decoration: none;
}

.languages {
    margin-bottom: 1em;
}

.languages ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5em;
    align-items: center;
}

.languages li {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.languages a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
}

.languages li.active a {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: red;
    text-decoration-style: solid;
}

.languages .separator {
    color: #999;
    font-size: 0.8em;
}