@font-face{
      font-family: 'Ewert';
      src: url('../fonts/Ewert/Ewert-Regular.ttf') format('truetype');
}
@font-face{
    font-family: 'Rye';
    src: url('../fonts/Rye/Rye-Regular.ttf') format('truetype');
}

    body {
      margin: 0;
      font-family: 'Times New Roman';
      background-image: url('../images/HomeBG2.jpg');
      background-color: #4d0000;
      background-size: cover;
      background-attachment: fixed;
      background-repeat: no-repeat;
      background-position: center;
      color: #f0f0f5;
    }

    header {
      background-color: #1a1a20;
      position: fixed;
      width: 97%;
      top: 0;
      left: 0;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 2px solid #3b3b47;
      z-index: 9999;
    }

    .logo {
      font-size: 2rem;
      color: #f75c5c; /* muted red */
    }

    nav {
      display: flex;
      gap: 1.2rem;
    }

    nav a {
      color: #9ad0ec; /* muted blue */
      text-decoration: none;
      font-size: 20px;
      padding: 1rem 1.25rem;
      border-radius: 5px;
      transition: background 0.3s, color 0.3s;
    }

    nav a:hover {
      background-color: #2a2a36;
      color: #ffffff;
    }

    .container {
      padding: 2rem;
      text-align: center;
    }

    .content-wrapper {
      display: flex;
      gap: 20px;
      justify-content: center;
      align-items: flex-start;
      flex-wrap: wrap;
      padding-top: 4rem;
    }


    .image-container {
      background-image: url('../images/untitled.png');
      margin: auto;
      width: 80%;
      height: 250px;
      background-repeat: no-repeat;
    }

    .main-content {
      flex: 0 1 1300px;
      min-height: 1500px;
      background-color: #1a1a20;
      padding: 20px;
      border-radius: 20px;
      border: solid 10px;
      border-image: linear-gradient(145deg, #5e493a, #a97441, #c49b6c, #8c6a43, #5e493a) 1;
      box-shadow: 0 10px 4px rgba(0, 0, 0, 0.1);
    }

    .right-sidebar {
      display: flex;
      flex-direction: column;
      gap: 20px;
      flex: 0 0 400px;
    }

    .side-content,
    .side-content2 {
      background-color: #1a1a20;
      padding: 20px;
      border-radius: 20px;
      border: solid 10px;
      border-image: linear-gradient(145deg, #5e493a, #a97441, #c49b6c, #8c6a43, #5e493a) 1;
      box-shadow: 0 10px 4px rgba(0, 0, 0, 0.1);
      box-sizing: border-box;
      min-height: 500px;
    }


    h1 {
      color: #f0f0f0;
      text-shadow: 6px 6px 12px #000000;
      font-size: 5rem;
      margin-top: -5rem;
      margin-bottom: 1rem;
      font-family: 'Rye';
    }

    .content-h1{
      color: #480607;
      text-shadow: 1px 1px 2px #CD9575;
      font-size: 5rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
      text-align: center;
      font-family: 'Rye';
    }

    h2 {
      color: #a97441;
      font-size: 2rem;
      margin-bottom: 1rem;
      font-family: 'Times New Roman';
      text-shadow: 2px 2px 4px #480607;
    }

    h3 {
      color: #ffffff;
      font-size: 3rem;
    }

    .top-logo {
      margin-bottom: ;
      margin-left: auto;
      margin-right: auto;
      margin-top: -10px;
      width: 500px;
      height: 400px;
      background-repeat: no-repeat;
    }

    p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: #ccc;
      text-align: center;
    }

    .markdown-content {
      text-align: center; /* default: center paragraphs */
    }

    .markdown-content ul {
      padding-left: 0;
      list-style: none;
      margin-bottom: 2rem;
    }

    .markdown-content ul li {
      position: relative;
      padding-left: 2rem;
      margin-bottom: 1.5rem;
      font-size: 1.25rem;
      color: #9ad0ec;
      line-height: 1.6;
      text-align: left;
    }

    .markdown-content ul li::before {
      content: "⚙︎";
      position: absolute;
      left: 0;
      top: 0.2rem;
      font-size: 1.3rem;
      color: #cc7832;
    }


    hr{
      border: none;
      height: 6px;
      background: linear-gradient(to right, #5e493a, #a97441, #c49b6c, #8c6a43, #5e493a);
      margin: 2rem auto;
      border-radius: 2px;
      width: 100%;
    }

    #slideshow {
      position: relative;
      border-radius: 20px;
      width: 100%;
      height: 300px;
      margin: auto;
      padding: 0;
    }

    #slideshow img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-radius: 20px;
      opacity: 0;
      margin: 0;
      top: 0;
      left: 0;
      transition: opacity 1s ease-in-out;
    }

    #slideshow img.active {
      opacity: 1;
      z-index: 1;
    }

    #fun-fact-box {
      font-size: 1.7rem;
      color: #FFA500;
      text-align: center;
      margin: 2rem auto;
      max-width: 80%;
      transition: opacity 0.5s ease-in-out;
      opacity: 1;
    }

    @media (max-width: 768px) {
      header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 1rem;
      }

      nav {
        flex-wrap: wrap;
        gap: 0.5rem;
        width: 100%;
        justify-content: space-between;
      }

      .content-wrapper {
        flex-direction: column;
        padding-top: 10rem;
      }

      .main-content,
      .right-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
      }

      .top-logo {
        width: 90%;
        height: auto;
      }

      h1,
      .content-h1 {
        font-size: 2.5rem;
        margin-top: 1rem;
      }

      #slideshow {
        height: 200px;
      }

      p {
        font-size: 1rem;
      }
    }