@font-face {
  font-family: 'Ionic';
  src: url('../fonts/ionic_regular.woff2') format('woff2'),
       url('../fonts/ionic_regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ionic';
  src: url('../fonts/ionic_italic.woff2') format('woff2'),
       url('../fonts/ionic_italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Brown-Regular';
  src: url('../fonts/Brown-Regular.woff2') format('woff2'),
       url('../fonts/Brown-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Brown-Bold';
  src: url('../fonts/Brown-Bold.woff2') format('woff2'),
       url('../fonts/Brown-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* General Page Layout */
.entry-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    font-family: 'Ionic', serif;
    padding: 20px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 2;
}
  
  .content-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 30vw;
    margin: auto;
  }
  
  /* Image Styling */
  .image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    margin-bottom: auto;
  }
  
  .image img {
    max-width: 100%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  /* Text container for credit */
  .text-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    width: 80vw;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .text-container h1 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: normal;
    font-family: 'Ionic', serif;
    font-style: italic;
    text-align: right;
    display: flex;
    align-items: flex-end;
    line-height: 1.2;
  }
  
  .text-container .description {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    font-family: 'Ionic', serif;
    text-align: right;
    display: flex;
    align-items: flex-end;
    line-height: 1.2;
  }
  
  .text-container .author {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    font-family: 'Ionic', serif;
    text-align: left;
    display: flex;
    align-items: flex-end;
    line-height: 1.2;
    padding-left: 20px;
  }
  
  /* Ensure credit text aligns properly */
  .text-container .description p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
  }
  
  /* Footer Navigation */
  footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    position: fixed;
    bottom: 0;
    right: 0;
    font-family: 'Brown-Regular', sans-serif;
    background: transparent;
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 3;
  }
  
  footer a {
    text-decoration: none;
    color: inherit;
    font-family: 'Brown-Regular', sans-serif;
  }
  
  /* Add this for About link */
  footer a:last-child {
    margin-left: auto;
  }
  
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .content-box {
        max-width: 80vw;
        align-items: center;
        margin-top: 20vh;
    }

    .image {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .image img {
        max-width: 100%;
        max-height: 30vh;
        width: auto;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
    }

    h1 {
        font-size: 1.5rem;
    }

    .description {
        font-size: 1rem;
    }

    /* Move footer to top on mobile */
    footer {
        top: 0;
        bottom: auto;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    /* Adjust content to account for footer at top */
    .content {
        margin-top: 80px;
        align-items: center;
    }

    /* Stack and center title and description on mobile */
    .text-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .text-container .author {
        padding-left: 0;
        text-align: center;
    }
  }
  
  /* Special styling for About page */
  .about-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40vw;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: left;
  }
  
  .about-text-container h1 {
    display: none;
  }
  
  .about-text-container .description {
    text-align: left;
    margin: 0;
    padding: 0;
    font-family: 'Ionic', serif;
  }
  
  .about-text-container .description p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: 'Ionic', serif;
  }
  
  /* About page credit styling */
  .about-credit-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    width: 80vw;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .about-credit-container h1 {
    display: none;
  }
  
  .about-credit-container .description {
    font-size: 1rem;
    color: #333;
    margin: 0;
    font-family: 'Brown-Regular', sans-serif;
    text-align: left;
    display: flex;
    align-items: flex-end;
    line-height: 1;
  }
  
  .about-credit-container .description p {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: 'Brown-Regular', sans-serif;
  }

  /* Special styling for About page */
  @media (max-width: 768px) {
    .about-text-container {
        width: 80vw;
    }

    .about-credit-container {
        width: 90vw;
        bottom: 40px;
    }
  }

  /* Description Styling */
  .description {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
    font-family: 'Ionic', serif;
    text-align: left;
    display: flex;
    align-items: flex-end;
    line-height: 1.2;
  }

  /* Add this to target any paragraphs inside description */
  .description p {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-family: 'Ionic', serif;
  }

  /* Navigation Overlays */
  .nav-overlay {
    position: fixed;
    top: 0;
    height: calc(100vh - 80px); /* Reduce height to avoid footer */
    width: 50%;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    background-color: transparent;
    pointer-events: auto;
  }

  .nav-overlay:hover {
    opacity: 1;
    background-color: transparent;
  }

  .nav-left {
    left: 0;
    cursor: default;
    justify-content: flex-start;
    padding-left: 40px;
  }

  .nav-right {
    right: 0;
    cursor: default;
    justify-content: flex-end;
    padding-right: 40px;
  }

  .nav-text {
    color: black;
    text-decoration: underline;
    pointer-events: auto;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 11;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    /* Make navigation overlays invisible but still functional on mobile */
    .nav-overlay {
        opacity: 0 !important; /* Always invisible */
        pointer-events: auto; /* Still functional */
        top: 80px; /* Start below the header */
        height: calc(100vh - 80px); /* Adjust height to avoid header */
    }
    
    .nav-overlay:hover {
        opacity: 0 !important; /* Ensure it stays invisible even on hover */
    }
    
    .nav-text {
        opacity: 0; /* Hide the text */
    }
    
    /* ... existing mobile styles ... */
    
    /* Move footer to top on mobile */
    footer {
        top: 0;
        bottom: auto;
        padding-top: 20px;
        padding-bottom: 40px;
    }

    /* Adjust content to account for footer at top */
    .content {
        margin-top: 80px;
        align-items: center;
    }
    
    /* ... other existing mobile styles ... */
  }