/* ==================================================
   
   
   
   
   
   ✶✶✶✶✶ DO NOT REMOVE CREDIT ✶✶✶✶✶
        Designed by keikokaneiwa © 2026
      https://keikokaneiwa.neocities.org/
   
   
   
   
   ================================================== */

/* ----------------------------- */
/* ✦ Font Definitions           */
/* ----------------------------- */t
@font-face {
  font-family: 'Chicago';
  src: url('https://keikokaneiwa.neocities.org/fonts/chicago.woff2') format('woff2'),
       url('https://keikokaneiwa.neocities.org/fonts/chicago.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------- */
/* ✦ Base Body & Links          */
/* ----------------------------- */
body {
  font-family: 'Chicago', monospace;
  background-color: #292723;
  color: #ababab;
  margin: 0;
  padding: 0;
}

.th-text {
  font-family: 'Krungthep', sans-serif;
  font-size: 15px;
}

a, a:visited {
  color: #d9be3b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----------------------------- */
/* ✦ Typography Utility Classes */
/* ----------------------------- */
.script-text {
  font-family: 'IM Fell English';
  font-weight: normal;
  font-style: italic;
  font-size: 37px;
  line-height: 1.5;
  text-align: left;
}

.jp-text {
  font-family: 'Kosugi Maru', sans-serif;
}

.jp-retro {
  font-family: 'DotGothic16', sans-serif;
  font-size: 30px;
}

/* ----------------------------- */
/* ✦ Layout Containers          */
/* ----------------------------- */
.desktop-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 40px auto;
  flex-wrap: nowrap;
}

.left-stack,
.right-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.right-stack {
  align-items: center;
  margin-top: 5px;
}

/* ----------------------------- */
/* ✦ Window Styling             */
/* ----------------------------- */
.mac-window {
  border: 2px solid #3a3428;
  background-color: #1d1f26;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.mac-window.sidebar-box,
.mac-window.main-center {
  box-shadow: 10px 10px 0 #000;
}

.title-bar {
  background-color: #303030;
  font: color #d9be3b;
  padding: 4px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000;
}

.title-bar .title {
  
  font-weight: bold;
  font-family: 'Chicago', monospace;
  color: #d9be3b;
}

.window-controls {
  display: flex;
  gap: 3px;
}

.window-controls .btn {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  margin: 0;
  padding: 0;
  background-color: #000;
}

.window-controls .btn:hover {
  filter: brightness(78%);
  cursor: pointer;
}

.sidebar-box {
  width: 220px;
  max-width: 100%;
}

.sidebar {
  padding: 15px;
  background-color: inherit;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Chicago', monospace;
  font-weight: bold;
}

/* ----------------------------- */
/* ✦ Main Content Area         */
/* ----------------------------- */
.main-center {
  width: 450px;
  max-width: 90vw;
  box-sizing: border-box;
}

.main-center-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-center-stack > .main-center {
  margin-bottom: 20px; /* space between boxes */
}


.main-content-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
}

.main-content {
  flex: 1;
  overflow-y: scroll;
 
  padding: 10px;
  font-size: 14px;
  line-height: 1.25;
  font-family: 'Chicago', monospace;
  font-weight: bold;
  box-sizing: border-box;
  scrollbar-color: #000 #292723;
  scrollbar-width: thin;
}

.main-content::-webkit-scrollbar {
  width: 20px;
}

.main-content::-webkit-scrollbar-track {
  background: #3a3428;
}

.main-content::-webkit-scrollbar-thumb {
  background-color: #000;
  border: 0px solid #3a3428;
  box-shadow: inset 0 0 0 #7b7b7b, inset 0 0 0 #fff;
}

/* ----------------------------- */
/* ✦ Custom Scrollbar          */
/* ----------------------------- */
.custom-scrollbar {
  width: 22px;
  background: #dcdcdc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  border-left: 2px solid #000;
}

.scroll-btn {
  height: 20px;
  width: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.scroll-track {
  flex: 1;
  width: 20px;
  background: #dcdcdc;
  position: relative;
}

.scroll-thumb {
  width: 100%;
  height: 40px;
  background-color: #5a513f;
  position: absolute;
  top: 0;
  cursor: grab;
}

/* ----------------------------- */
/* ✦ Icon Folders (Right Side) */
/* ----------------------------- */
.icon-folder {
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-folder img {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  display: block;
  margin: 0 auto 5px auto;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.icon-folder span {
  display: block;
  text-align: center;
  font-size: 14px;
  margin-top: 2px;
  font-weight: bold;
  font-family: 'Chicago', monospace;
}

.icon-folder:hover img {
  filter: brightness(85%);
  transform: translate(1px, 7px);
}

/* ----------------------------- */
/* ✦ Post Content              */
/* ----------------------------- */
.post {
  margin-bottom: 30px;
}

.post h1 {
  font-size: 18px;
  margin-bottom: 5px;
}

/* ----------------------------- */
/* ✦ Folder Link Blocks        */
/* ----------------------------- */
.folder-link {
  width: 80px;
  text-align: center;
  font-size: 14px;
}

.folder-link a {
  color: #000;
  text-decoration: none;
  font-family: 'Chicago', monospace;
  display: block;
  font-weight: bold;
}

.folder-link img {
  display: block;
  margin: 0 auto 5px auto;
  width: 45px;
  height: 45px;
  image-rendering: pixelated;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.folder-link a:hover img {
  filter: brightness(85%);
  transform: translate(1px, 1px);
}

/* ----------------------------- */
/* ✦ Footer and Pagination     */
/* ----------------------------- */
.footer-bar {
  font-family: 'Chicago', monospace;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  margin-top: 40px;
  padding-bottom: 40px;
  color: #ababab;
}

.footer-bar img {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
  vertical-align: middle;
  margin-left: 4px;
  position: relative;
  top: -2px;
}

.pagination {
  text-align: left;
  font-family: 'Chicago', monospace;
  font-weight: bold;
  margin-top: 10px;
}

.pagination a {
  color: #000;
}

.pagination a:hover {
  text-decoration: underline;
}

/* ----------------------------- */
/* ✦ Last.fm Now Playing Box   */
/* ----------------------------- */
#now-playing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

#now-playing img.lastfm-cover {
  width: 100px;
  height: 100px;
  image-rendering: pixelated;
  display: block;
}

.lastfm-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  line-height: 1.4;
}

.lastfm-meta .spotify-icon {
  margin-bottom: 4px;
}

/* ----------------------------- */
/* ✦ Responsive Layout         */
/* ----------------------------- */
@media screen and (max-width: 768px) {
  .desktop-layout {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
  }

  .left-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .right-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
  }

  .main-center,
  .sidebar-box {
    width: 90vw;
    max-width: none;
  }
}

* {box-sizing: border-box;}
ul {list-style-type: none;}
body {font-family: 'Chicago';}

.month {
  padding: 70px 25px;
  width: 100%;
  background: #3a3428;
  text-align: center;
}

.month ul {
  margin: 0;
  padding: 0;
}

.month ul li {
  color: white;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.month .prev {
  float: left;
  padding-top: 10px;
}

.month .next {
  float: right;
  padding-top: 10px;
}

.weekdays {
  margin: 0;
  padding: 10px 0;
  background-color: #ddd;
}

.weekdays li {
  display: inline-block;
  width: 13.6%;
  color: #666;
  text-align: center;
}

.days {
  padding: 10px 0;
  background: #eee;
  margin: 0;
}

.days li {
  list-style-type: none;
  display: inline-block;
  width: 13.6%;
  text-align: center;
  margin-bottom: 5px;
  font-size:12px;
  color: #777;
}

.days li .active {
  padding: 5px;
  background: #1abc9c;
  color: white !important
}

/* Add media queries for smaller screens */
@media screen and (max-width:500px) {
  .weekdays li, .days li {width: 13.1%;}
}

@media screen and (max-width: 420px) {
  .weekdays li, .days li {width: 12.5%;}
  .days li .active {padding: 2px;}
}

@media screen and (max-width: 290px) {
  .weekdays li, .days li {width: 12.2%;}
}



/* ==================================================
   ✶ END ✶ DO NOT REMOVE CREDIT ✶
   Leave this line untouched.
   KKO © 2025
   ================================================== */