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

@font-face {
  font-family: "ABCOracle-Book";
  src: url("fonts/ABCOracle-Book.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "ABCOracle-Book", sans-serif !important;
  display: flex;
}

html,
body {
  height: 100%;
  overflow: auto;
}

.container {
  display: flex;
  width: 100%;
  height: 100vh;
}

.left-container {
  width: 50%;
  height: 100vh;
  /* position: sticky; */
  left: 0;
  top: 0;
  background-color: #ffffff;
  overflow: hidden;
}

.right-container {
  height: 100vh;
  overflow-y: auto;
  flex-grow: 1;
  background-color: #ffffff;
}

.project-image {
  max-width: 100%;
  height: auto;
}

.aligned-numbers {
  counter-reset: item;
  list-style: none;
}

.aligned-numbers li {
  counter-increment: item;
  position: relative;
  padding-left: 1.5rem;
}

.aligned-numbers li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  width: 1rem; /* fixed width for all numbers */
  text-align: right;
  color: #171717;
}

h2 {
  font-size: 1.5rem;
}

p {
  font-size: 1rem;
  color: #151515;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff0000;
}

/* Nav Menu */
/* .info-content {
    max-height: 50vh;
    overflow-y: auto;
    background-color: #466182; 
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    
  } */

/* Mobile overlay behavior */
@media (max-width: 1024px) {
  .left-container {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    max-height: 80vh;
    background: #ffffff;
    transform: translateY(-100%);
    opacity: 0;
    z-index: 50;
    padding-top: 4rem;
  }

  .right-container {
    height: 100vh;
    overflow-y: auto;
    flex-grow: 1;
    background-color: #ffffff;
    padding-top: 4rem;
  }
  .left-container.open {
    transform: translateY(0);
    opacity: 1;
  }

  .info-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 60;
    padding: 0.25rem 1rem;
  }

  .info-menu button {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
  }

  .info-menu button:hover {
    color: #ff0000;
  }
  .right-container {
    padding-top: 3rem;
  }
  /* Prevent scroll when menu open */
  body.menu-open {
    overflow: hidden;
  }

  .bio {
    display: none;
  }
}
