/* =========================
   Fonts
========================= */
@font-face {
    font-family: PMD;
    src: url("fonts/PKMN-Mystery-Dungeon.ttf");
  }
  
  /* =========================
     Base / Global Elements
  ========================= */
  body {
    background-image: url("img/3rf5q1cwk3f61.gif");
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-sizing: border-box;
    font-family: PMD;
    background-size: cover;
    background-position: center center;
    font-size: x-large;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 1920px;
    padding: 10px;
    text-align: center;
  }

  /* prevent layout shift when scrollbar appears/disappears */
  html { overflow-y: scroll; }
  
  h1 {
    font-family: PMD;
    font-size: 400%;
    margin-bottom: 0;
    margin-top: 2%;
  }
  
  img {
    vertical-align: top;
  }
  
  /* =========================
     Page / Content Container
  ========================= */
  article {
    background-color: rgb(26, 26, 26);
    background-position: center;
    background-image: url("img/Animation Flashing Sticker by Ru 2.gif");
    background-repeat: no-repeat;
    background-size: cover;
  
    border: 10px ridge #7fffd4;
    border-radius: 6px;
  
    color: #e6e6e6;
    margin: 20px auto 0;
    width: var(--article-width);
  }
  
  /* =========================
     Navigation (Sidebar)
  ========================= */
  :root {
    --sidenav-width: 140px;
    --sidenav-window-width: 140px;
    --article-width: 600px;
    --sidenav-gap: 12px;
  }

  /* Floating sidebar window (desktop) */
  .sidenav {
    background-color: rgb(26, 26, 26);
    background-image: url("img/Animation Flashing Sticker by Ru 2.gif");
    color: #ffffff;
    overflow: hidden;
    padding: 12px;
    position: fixed;
    /* align with the top of the article (article margin-top: 20px) */
  
    left: calc(47.4% - (var(--article-width) / 2) - var(--sidenav-window-width) - var(--sidenav-gap));
    width: var(--sidenav-window-width);
    max-width: 22vw;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    border: 10px ridge #7fffd4;
    z-index: 5;
    transition: all 0.25s ease;
  }


  /* Make the sidebar look like its own little window */
  .sidenav img {
    border-radius: 6px;
  }
  
  .sidenav a {
    color: #ffffff;
    display: block;
    font-size: 25px;
    padding: 6px 8px 6px 16px;
    text-decoration: none;
  }
  
  .sidenav a:hover {
    color: #7fffd4;
  }
  
  .main {
    margin-left: var(--sidenav-width);
    padding: 0 10px;
  }
  
  /* =========================
     Utilities
  ========================= */
  .image-border {
    background-color: rgb(26, 26, 26);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 10px ridge #7fffd4;
    border-radius: 6px;
  }
  
  .text-shadow {
    text-shadow:
      3px 3px 4px rgb(0, 0, 0),
      0 0 1em #7fffd4,
      0 0 0.2em #7fffd4;
  }
  
  .box-shadow {
    box-shadow:
      3px 3px 4px rgb(0, 0, 0),
      0 0 1em #7fffd4,
      0 0 0.2em #7fffd4;
  }
  
  .flip-horizontal {
    transform: scaleX(-1);
  }
  
  .flip-vertical {
    transform: scaleY(-1);
  }
  
  /* =========================
     Responsive
  ========================= */
  @media screen and (max-height: 450px) {
    .sidenav {
      padding-top: 15px;
    }
  
    .sidenav a {
      font-size: 18px;
    }
  }

  /* Responsive: collapse sidebar into a top nav on smaller viewports */
  @media screen and (max-width: 900px) {
    .sidenav {
      position: relative;
      width: 100%;
      height: auto;
      display: flex;
      flex-wrap: wrap;
      padding: 10px;
    }

    .sidenav a {
      font-size: 18px;
      padding: 8px;
      display: inline-block;
    }

    .main {
      margin-left: 0;
    }
  }

  /* Small devices: reduce spacing and ensure content fits */
  @media screen and (max-width: 600px) {
    :root { --sidenav-width: 0px; }

    .sidenav {
      font-size: 16px;
      padding: 6px;
    }

    .sidenav a {
      font-size: 16px;
      padding: 6px;
    }

    article {
      width: 100%;

    }
  }
  
  .container {
    display: block;
    position: relative; /* contains absolutely positioned .sidenav */
    width: 100%;
    box-sizing: border-box;

  }
  
  .container div {
    background-color: rgb(26, 26, 26);
    background-image: url("img/Animation Flashing Sticker by Ru 2.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: border-box;
    margin: 0px;
    padding: 20px;
    font-size: 30px;
  }

  /* Gallery image hover + modal styles */
  .gallery-img {
    transition: transform 180ms ease, box-shadow 180ms ease;
    display: inline-block;
    cursor: zoom-in;
    border-radius: 4px;
  }
  .gallery-img:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 10;
  }

  .modal {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    padding: 20px;
  }
  .modal.show { display: flex; }
  .modal-img {
    max-width: 92vw;
    max-height: 92vh;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
    border-radius: 6px;
  }
  .modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
  }

  .image-one{
   position:fixed;
   left:1570px;
   top:580px;
   transform:scaleX(-1)
}
  .image-two{
   position:fixed;
   left:1695px;
   top:500px;
}
  
 

  
