@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: 1.5rem;
      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;
    }

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

    .main-content {
            margin: auto;
            display: flex;
            flex-direction: column;
            text-align: center;
            padding: 20px;
            width: 1600px;
            height: 1200px;
            background-color: #000000;
            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);
    }

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

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

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

    iframe {
      margin-top: 20px;
      margin-left: auto;
      margin-right: auto;
      display: block;
    }

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

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

    @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 {
        flex: 1 1 100%;
        max-width: 100%;
        margin-top: -8rem;
      }

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

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

      #slideshow {
        height: 200px;
      }

      p {
        font-size: 1rem;
      }
    }