
@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@font-face {
      font-family: 'NintendoDS';
      src: url('https://file.garden/Z3nf4eZzZUtRPfhK/free%20layout%20assets/breezy/nintendo%20ds.woff') format('truetype');
    }

    body {
      font-family: 'VT323', sans-serif;
      margin: 0;
      padding: 0;
      background: url("../images/bg/bg.jpg");
      background-size: cover;
      background-attachment: fixed;
      color: #333;
      overflow-x: hidden;
    }

.grid-container {
  gap: 1px ;
  margin-top: -23px;
  padding: -3px;
}

.grid-row {
display: grid;
grid-template-columns: repeat(auto-fit, 200px);
justify-content: center;
align-items: left;
}

.grid-cell {
  margin-top: 13px;
  margin-left: 11px;
  height: 218px;
  width:171px;
  border: 3px solid #333;
  border-radius: 1px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline;
  flex-direction: column;
  position: relative;
  background-color: #1a1a1a;
}

.grid-cell a {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  box-sizing: border-box;
}

.grid-cell img {
  width: 83%;
  height: 72%;
  object-fit: contain;
  border-radius: 3px;
  transition: transform 0.3s ease;
  margin-left: 12px;
}

.grid-title {
  
  font-family: 'Kosugi Maru',;
  font-size:1px;
  /*width: 101%;*/
  color: #c98f4d;
  margin-top: 1px;
  font-weight: bold;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000;
  letter-spacing: 0.5px;
  text-align:center;
}

.grid-cell:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.5);
}

.grid-cell:hover img {
  transform: scale(1.05);
}

.grid-cell:hover .grid-title {
  color: #ff5757;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 0 0 5px #ff5757;
}

.grid-cell:focus-within {
  outline: 2px solid #ff5757;
  outline-offset: 2px;
}

.grid-title-image {
  display: block;
  text-decoration: none;
  color: #f12787;
  font-weight: bold;
  font-size: 0.9em;
}

.grid-title-link {
  display: block;
  text-decoration: none;
  color: #f12787;
  font-weight: bold;
  margin-top: -22px;
  font-size: small;
}

.grid-title-link:hover {
  text-decoration: underline;
}

    .container {
      width: 97%;
      max-width: 1524px;
      margin: 20px auto;
      padding: 10px;
      background: linear-gradient(0deg, rgb(220, 255, 79) 0%, rgb(255, 224, 42) 44%, rgb(0, 0, 0) 100%);
      border: 3px solid #000000;
      border-radius: 0px;
      box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
      position: relative;
    }

    .banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e8effc;
    border-radius: 1px;
    border: 2px solid #ffffff;
    padding: 17px;
    margin-bottom: 20px;
    height: 230px;
    position: relative;
    background-image: url('../images/bg/bn.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .banner p {
    position: absolute;
    z-index: 1;
    margin: 0;
    font-size: 1.5em;
    color: #333;
  }

    .main-content {
      display: flex; /* Flexbox for layout */
      justify-content: space-between;
    }

    .content {
      width: 72%;
      color: #0a0a0a;
      background-image: url("../images/bg/lotus.jpg");
      background-size: cover;
      background-attachment: fixed;
      border-radius: 10px;
      padding: 20px;
      border: 3px inset #000000;
      position: relative;
      
    }
      
    .navigation {
      width: 24%;
      background-image: url("../images/bg/lotus3.jpg");
      background-position: 42% 2%;
      background-color: #171717;
      background-size: cover;
      background-attachment: fixed;
      border-radius: 10px;
      padding: 20px;
      border: 3px inset #000000;
      box-sizing: border-box;
      font-size: 1.4em;
      color: #ffffff;
    }
    
    .navigation h2 {
      font-size: 1.5em;
      margin-top: -8px;
    }

    .navigation ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .navigation li {
      margin-bottom: 40px;
      list-style: none;
      padding-left: 27px;
      margin-left: 22px;
      position: relative;
      
    }   
      
    .navigation li::before {
      content: "⚠";
      position: absolute;
      left: -7px;
      top: -10px;
    }
      .navigation li::after {
      content: "↳";
      position: absolute;
      left: 4px;
      top: 5px;
    }

    .navigation a {
      text-decoration: none;
      color: #ff5757;
      text-shadow: 2px 0 #fff, -2px 0 #fff, 0 2px #fff, 0 -2px #fff,
                1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff;
      font-weight: bold;
      font-size: 1.6em;
    }
    
    .navigation a:hover {
      color: #901100;
    }

     .scrollcard {
    background-color: #000000;
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    height:400px;
    border: 1px inset #3e3a03;
    position: relative;
    overflow: scroll;
    box-shadow: 1px 0px 30px 10px rgba(226, 237, 241, 0.12) inset;
-webkit-box-shadow: 1px 0px 30px 10px rgba(255, 255, 255, 0.12) inset;
-moz-box-shadow: 1px 0px 30px 10px rgba(213, 219, 221, 0.12) inset;
  }     
      
  .scrollcard  img {
    z-index: 0;
  }
      
    .scrollcard  h1, .card2 h2 {
      font-size: 1.3em;
      margin-bottom: 21px;
      font-family: "VT323";
      color: #a5a600;
    }
      
    .scrollcard  h3 {
      font-size: 1.1em;
      margin-bottom: -8px;
      font-family: "VT323";
      color: #b94b4b;
    }

    .scrollcard  p {
      font-size: 1.0em;
      line-height: 1.3em;
      margin-bottom: 21px;
      font-family: "Kosugi Maru", sans-serif;
      color: #785000;
    }
    
    .scrollcard  a {
      text-decoration: none;
      color: #c94b4b;
    }
    
    .scrollcard  a:hover {
      color: #ff3636;
    }
    
    .scrollcard  li {
      font-size: 1.3em;
      color: #c98f4d;
      list-style: none;
      position: relative;
    }
      
    .scrollcard  li::before {
      content: "⚠";
      left: -19px;
      top: 0px;
      position: relative
    }
      
.collapsible {
  background-color: #000000;
  color: #c98f4d;
  font-family: "VT323";
  cursor: pointer;
  margin-top: 15px;
  border: 1px inset #3e3a03;
  border-radius: 10px;
  padding: -5px;
  width: 96%;
  border: none;
  text-align: center;
  outline: none;
  height: 55px;
  /*display: flex;*/
  margin-left: 6px;
  font-size: 27px;
box-shadow: 1px 0px 30px 10px rgba(226, 237, 241, 0.12) inset;
-webkit-box-shadow: 1px 0px 30px 10px rgba(255, 255, 255, 0.12) inset;
-moz-box-shadow: 1px 0px 30px 10px rgba(213, 219, 221, 0.12) inset;
      }


.cimg1 {
width: 255px;
transform: rotate(357deg);
-webkit-transform: rotate(357deg);
-moz-transform: rotate(357deg);
  }

.active, .collapsible:hover {
  background-color: #fff200;
box-shadow: 1px 0px 30px 10px rgba(0, 0, 0, 0.73) inset;
-webkit-box-shadow: 1px 0px 30px 10px rgba(0, 0, 0, 0.73) inset;
-moz-box-shadow: 1px 0px 30px 10px rgba(0, 0, 0, 0.73) inset;
      }
.colcontentwscroll {
  padding: 0 18px;
  overflow: scroll;
   padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    height:400px;
    /*width:400px;*/
    border: 1px inset #3e3a03;
    position: relative;
  background-color: #000000;
  box-shadow: 1px 0px 30px 10px rgba(226, 237, 241, 0.12) inset;
-webkit-box-shadow: 1px 0px 30px 10px rgba(255, 255, 255, 0.12) inset;
-moz-box-shadow: 1px 0px 30px 10px rgba(213, 219, 221, 0.12) inset;
}
      
  .colcontentwscroll  img {
    z-index: 0;
  }
      
    .colcontentwscroll  h1, .card2 h2 {
      font-size: 1.3em;
      margin-bottom: 21px;
      font-family: "VT323";
      color: #a5a600;
    }
      
    .colcontentwscroll  h3 {
      font-size: 1.1em;
      margin-bottom: -8px;
      font-family: "VT323";
      color: #b94b4b;
    }

    .colcontentwscroll  p {
      font-size: 1.0em;
      line-height: 1.3em;
      margin-bottom: 21px;
      font-family: "Kosugi Maru", sans-serif;
      color: #785000;
    }
    
    .colcontentwscroll  a {
      text-decoration: none;
      color: #c94b4b;
    }
    
    .colcontentwscroll  a:hover {
      color: #ff3636;
    }
    
    .colcontentwscroll  li {
      font-size: 1.3em;
      color: #c98f4d;
      list-style: none;
      position: relative;
    }
      
    .colcontentwscroll  li::before {
      content: "⚠";
      left: -19px;
      top: 0px;
      position: relative
    }  
      

      
.card {
    background-color: #000000;
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    border: 1px inset #3e3a03;
    position: relative;
    box-shadow: 1px 0px 30px 10px rgba(226, 237, 241, 0.12) inset;
-webkit-box-shadow: 1px 0px 30px 10px rgba(255, 255, 255, 0.12) inset;
-moz-box-shadow: 1px 0px 30px 10px rgba(213, 219, 221, 0.12) inset;
  }


      
    .card h1, .card h2 {
      font-size: 1.9em;
      margin-bottom: 21px;
      font-family: "VT323";
      color: #a5a600;
    }
      
    .card h3 {
      font-size: 1.1em;
      margin-bottom: -8px;
      font-family: "VT323";
      color: #b94b4b;
    }

    .card p {
      font-size: 1.0em;
      line-height: 1.3em;
      margin-bottom: 21px;
      font-family: "Kosugi Maru", sans-serif;
      color: #785000;
    }
    
    .card a {
      text-decoration: none;
      color: #c94b4b;
    }
    
    .card a:hover {
      color: #ff3636;
    }
    
    .card li {
      font-size: 1.3em;
      color: #c98f4d;
      list-style: none;
      position: relative;
    }
      
    .card li::before {
      content: "⚠";
      left: -19px;
      top: 0px;
      position: relative
    }
      
    .card2 {
    background-color: #000000;
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    border: 1px inset #3e3a03;
    position: relative;
    box-shadow: 1px 0px 30px 10px rgba(226, 237, 241, 0.12) inset;
-webkit-box-shadow: 1px 0px 30px 10px rgba(255, 255, 255, 0.12) inset;
-moz-box-shadow: 1px 0px 30px 10px rgba(213, 219, 221, 0.12) inset;
  }

  .card2 img {
    z-index: 0;
  }
      
    .card2 h1, .card2 h2 {
      font-size: 1.3em;
      margin-bottom: 21px;
      font-family: "VT323";
      color: #a5a600;
    }
      
    .card2 h3 {
      font-size: 1.1em;
      margin-bottom: -8px;
      font-family: "VT323";
      color: #b94b4b;
    }

    .card2 p {
      font-size: 1.0em;
      line-height: 1.3em;
      margin-bottom: 21px;
      font-family: "Kosugi Maru", sans-serif;
      color: #785000;
    }
    
    .card2 a {
      text-decoration: none;
      color: #c94b4b;
    }
    
    .card2 a:hover {
      color: #ff3636;
    }
    
    .card2 li {
      font-size: 1.3em;
      color: #c98f4d;
      list-style: none;
      position: relative;
    }
      
    .card2 li::before {
      content: "⚠";
      left: -19px;
      top: 0px;
      position: relative
    }
      
      
    .card {
    background-color: #000000;
    padding: 15px;
    margin-top: 15px;
    border-radius: 10px;
    border: 1px inset #3e3a03;
    position: relative;
    box-shadow: 1px 0px 30px 10px rgba(226, 237, 241, 0.12) inset;
-webkit-box-shadow: 1px 0px 30px 10px rgba(255, 255, 255, 0.12) inset;
-moz-box-shadow: 1px 0px 30px 10px rgba(213, 219, 221, 0.12) inset;
  }


      
    .card h1, .card h2 {
      font-size: 1.9em;
      margin-bottom: 21px;
      font-family: "VT323";
      color: #a5a600;
    }
      
    .card h3 {
      font-size: 1.1em;
      margin-bottom: -8px;
      font-family: "VT323";
      color: #b94b4b;
    }

    .card p {
      font-size: 1.0em;
      line-height: 1.3em;
      margin-bottom: 21px;
      font-family: "Kosugi Maru", sans-serif;
      color: #785000;
    }
    
    .card a {
      text-decoration: none;
      color: #c94b4b;
    }
    
    .card a:hover {
      color: #ff3636;
    }
    
    .card li {
      font-size: 1.3em;
      color: #c98f4d;
      list-style: none;
      position: relative;
    }
      
    .card li::before {
      content: "⚠";
      left: -19px;
      top: 0px;
      position: relative
    }
      
  

    .footer {
      margin-top: 20px;
      margin-right: 15px;
      text-align: right;
      font-size: 1.3em;
      color: #ffffff;
    }
    

  .lcd-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.15) 0px,
        rgba(255, 255, 255, 0.15) 1px,
        transparent 1px,
        transparent 2px
      ),
      repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.15) 0px,
        rgba(255, 255, 255, 0.15) 1px,
        transparent 1px,
        transparent 2px
      );
    opacity: 0.4;
    z-index: 9999;
  }

  .lcd-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
    mix-blend-mode: overlay;
  }

  ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
  }

  ::-webkit-scrollbar-track {
    background: #fcfcd7;
    border-radius: 10px;
  }

  ::-webkit-scrollbar-thumb {
    background: #e6d9a5;
    border-radius: 10px;
    border: 3px solid #fcf0d7;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #c6ad5c;
  }

  /* For Firefox (Custom scrollbar) */
  * {
    scrollbar-width: thin;
    scrollbar-color: #e1e6a5 #000000;
  }

@media only screen and (max-width: 400px) {
    .navigation {width:100px;display:inline-block}
    .navigation li{padding-left: 1px;margin-left:-9px;margin-bottom:20px}
    .navigation a{font-size: 0.8em}
    .card {overflow:scroll}
    .card2 {overflow:scroll}
    .content {width: 73%; max-width: 213px}
    .banner {max-width: 328px}
    .navigation li::before {content:" "}
    .navigation li::after {content:" "}
    .cimg1{width:150px}
}
