html{
        background-image: 
        linear-gradient(#ffabf83a, #382416c5),
        url(pixil-frame-0\ \(3\).png);
    background-repeat: no-repeat, repeat; /* Gradient: no repeat, Image: repeat */
    background-size: cover, auto; /* Gradient: cover, Image: auto (natural size) */
}


body {
    margin: 20px 20% 40px 20%;
    border-width: 1px;
    border-radius: 20px;
    border-style: none;
    background-color: #2b2626;
     
}
header {
    height: 200px;
    margin-bottom: 25px;
    border-style: none;
    border-width: 1px;
    border-radius: 10px 10px 0 0;
    display: flex;
    flex-direction: row;
    background-image: url(https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/99cf78a0-7efc-400a-9d2e-6e41d38d6684/dmhustt-ea118345-dd5f-4efd-892b-495ef72e1011.gif?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiIvZi85OWNmNzhhMC03ZWZjLTQwMGEtOWQyZS02ZTQxZDM4ZDY2ODQvZG1odXN0dC1lYTExODM0NS1kZDVmLTRlZmQtODkyYi00OTVlZjcyZTEwMTEuZ2lmIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.yvHwYsRs2S1_rgJbJS-6ns51w613u7e_1rt0CZvMCfU);
 background-size: cover;
 background-position: 0px;
}

#Icon-Img {
    margin: 94px 10px 10px 10px;
    border-style: none;
    border-radius: 100%;
    width: 90px;
    height: 90px;
    background-image: url(https://rabetsu.neocities.org/Images/Icons/channels4_profile.jpg);
    background-size: 110%;
}

#User-Name {
    margin: 107.5px 0 23.5px 0;
    font-size: 60px;
    width: fit-content;
}

section {
    height: 800px;
    border-style: none;
    border-width: 1px;
    padding: 10px 0 10px 0;
}

.Top-Border {
    border-radius: 0px 0px 0 0;
}

.Bottom-Border {
    border-radius: 0 0 0px 0px;
}

#Main-Section {
    display: flex;
}

.Blog-Section {
    margin: 0 5px 0 5px;
    border-style: solid;
    border-width: 5px;
    border-radius: 20px;
    border-color: #ef476f;
    width: 35%;
    background-color: #ef476f;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
}

    #posts {
        background-color: #2b2626;
        border-color: #ef476f;
        width: 60%;
        border-style: solid;
        border-width: 0px;
        border-radius: 5px;
        height: fit-content;
        max-height: 1600;
        margin-left: 1%;
        overflow: auto;
    }

    

        .post-head {
            border-width: 5px;
            border-color: aliceblue;
            width: auto;
            
            border-width: 8px 0px 0px 0px;
            display: flex;
            margin: 3px 5px 0 5px;
            
        }

        .post-header-text{
            width: fit-content;
            height: auto;
            margin: 30px 0 30px 15px;
            font-size: 25px;
            color: aliceblue;
    
            
        }
        .post-head img {
            margin-left: 10px;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-right: 5px;
            border-radius: 150%;
            width: 70px;
            height: auto;
        }
        .post-content{
            margin: 0 20px 0 20px ;   
        }

        .post-content img {
        width: 300px;
        height: auto;
        margin: auto;
        border-radius: 5PX;
            
        }

        .post-text {
            font-size: 20px;
            margin: 0px 0 20px 0;
            color: aliceblue;
        }


article {
        background-color: #201d1d;
        border-style: solid;
        border-width: 0px;
        border-radius: 20px;
        min-height: 200px;
        height: fit-content;
        margin: 0px;
        padding-bottom: 10px;
    }


.All-Posts {
    border-style: none;
    border-width: 1px;
    border-radius: 20px;
    margin: 0 5px 0 5px;
    width: 65%;
    display: grid;
    background-color: #201d1d;
   
}

#Section-Sub-1 {
    border-style: none;
    border-width: 5px;
    display: flex;
    
}
.Post-1{
    border-style: none;
    border-bottom-style: solid;
    border-width: 10px;
    border-radius: 20px 20px 0 0;
     border-color: #2b2626;
}
.Post-2 {
    border-style: none;
    border-width: 5px;
    border-right-style: solid;
    border-right-width: 5px;
    width: 50%;
     border-color: #2b2626;
}

.Post-3 {
    border-style: none;
    border-left-style: solid;
    border-width: 5px;
    width: 50%;
     border-color: #2b2626;
}

.gallery {
    border-style: solid;
    border-width: 1px 10px 0 10px;
    border-color: #201d1d;
    border-radius: 20px 20px 0 0;
    margin: 0 5px 0 5px;
    padding: 10px 20px 10px 20px;
    gap: 20px;
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    background-color: #201d1d;

}

#Youtube-Art {
    border-style: none;
    border-width: 1px;
    height: 240px;
    margin:  0 5px 0 5px;
    padding: 10px 0 10px 0;
    border-radius: 0 0 20px 20px;
    background-color: #201d1d;
    gap: 20px;
    display: flex;
    flex-direction: row;
    scrollbar-width: none;
    overflow-x: scroll;
    overflow-y: hidden;
    
}

iframe {
    height: 100%;
    width: auto;
}

.Empty-Space {
    border-width: 200px;
    border-style: dotted;
    margin: 0 200px 0 300px;
}

.main {
    padding-bottom: 0;
}


.content {
   
    display: flex;
    flex-direction: row;
    justify-content:center ;
    
    
}

#Section-Sub-2 {
    padding: 0px 5px 10px 5px;
    height: fit-content;
}

img {
    margin: 0 20px 0 20px;
    height: 500px;
    
   
}

footer {
    height: 150px;
    background-color: #201d1d;
    border-style: solid;
    border-width: 1px;
    border-radius: 0 0 20px 20px;
    margin-top: 30px;
}


footer img {
    width: 25px;
    height: auto;
    margin: 0;
}
 /*Magazine section
 
 
 
 
 
 
 
 
 
 
 
 /

     /* ----- reset & base ----- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .bookshelf {
      width: 100%;
      background: #201d1d;
      padding: 1.5rem 1rem 1rem 1rem;
      border-radius: 20px;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
      border: 1px solid #201d1d;
     
    }

    h1 {
      font-size: 1.5rem;
      font-weight: 400;
      letter-spacing: 0.02em;
      color:    aliceblue;
      border-bottom: 2px solid #201d1d;
      padding-bottom: 0.6rem;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    h1 small {
      font-size: 0.85rem;
      font-weight: 300;
      color: #ef476f;
      margin-left: 0.3rem;
    }

    /* ----- shelf container (flex row) ----- */
    .shelf-row {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      gap: 0.8rem 1.3rem;
      padding-bottom: 0.5rem;
      border-bottom: 6px solid #201d1d;
      box-shadow: 0 6px 12px rgba(0,0,0,0.04);
      position: relative;
      background: #201d1d;
      height: 400px;
    }

    /* ----- each book (details container) ----- */
    .book {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: auto;
      flex: 0 0 auto;
      position: relative;
    }

    .book-details {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      border: none;
      background: transparent;
      position: relative;
    }

    /* ----- the spine (summary) ----- */
    .spine {
      list-style: none;
      cursor: pointer;
      background: #2c3e4e;
      background: linear-gradient(145deg, #201d1d, #201d1d);
      color: #f0ebe2;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      letter-spacing: 0.08em;
      font-weight: 500;
      font-size: 1rem;
      padding: 1.2rem 0.6rem;
      border-radius: 6px 6px 0 0;
      box-shadow: -2px 0 8px rgba(0,0,0,0.1), 2px 0 4px rgba(0,0,0,0.05);
      transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
      min-width: 36px;
      min-height: 90px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      border: 1px solid #201d1d;
      border-bottom: none;
      position: relative;
      user-select: none;
      transform: scale(1);
      height: 368px;
      /* the spine will be hidden when details is open */
    }

    /* spine colour variations */
    .book:nth-child(1) .spine { background: linear-gradient(145deg, #ef476f, #ef476f); }
    .book:nth-child(2) .spine { background: linear-gradient(145deg, #ef476f, #ef476f); }
    .book:nth-child(3) .spine { background: linear-gradient(145deg, #ef476f, #ef476f); }
    .book:nth-child(4) .spine { background: linear-gradient(145deg, #ef476f, #ef476f); }
    .book:nth-child(5) .spine { background: linear-gradient(145deg, #ef476f, #ef476f); }

  
    }

    .spine:hover {
      transform: scale(1.02);
      box-shadow: -2px 0 12px rgba(0,0,0,0.2), 2px 0 6px rgba(0,0,0,0.1);
      filter: brightness(1.1);
    }

    .spine::-webkit-details-marker {
      display: none;
    }

    /* ============================================================
       KEY: when details is open, hide the spine and show cover
       ============================================================ */
    .book-details[open] .spine {
      display: none;   /* spine disappears */
    }

    /* cover-wrapper is hidden by default, shown when open */
    .cover-wrapper {
      display: none;    /* hidden until open */
      width: 100%;
      padding: 0;
      animation: fadeIn 0.2s ease-out;
      position: relative;
      /* we want the cover to sit exactly where the spine was */
    }

    .book-details[open] .cover-wrapper {
      display: block;   /* cover takes the place of the spine */
    }

    @keyframes fadeIn {
      0% { opacity: 0; transform: scale(0.96); }
      100% { opacity: 1; transform: scale(1); }
    }

    /* ----- cover container – now styled to look like a book cover ----- */
    .cover-container {
      border-radius: 6px 6px 0 0;
      text-align: center;
      border: 0px solid #ddd6ca;
      border-bottom: none;
      box-shadow: -2px 0 8px rgba(0,0,0,0.08), 2px 0 4px rgba(0,0,0,0.04);
      min-width: 100px;
      transition: box-shadow 0.2s;
      height: 368px;
    }

    /* ----- the cover image (clickable link) ----- */
    .cover-image {
      display: inline-block;
      background: #e5dfd6;
      border-radius: 0.8rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
      transition: transform 0.15s, box-shadow 0.15s;
      cursor: pointer;
      text-decoration: none;
      color: #2c2c2c;
      border: 0px solid #cbc3b4;
      min-width: 80px;
       background-color: black;
    }

    .cover-image img {
        height: 368px;
        margin: 0;
       
    }

    .cover-image a {
      display: block;
      text-decoration: none;
      color: inherit;
    }

    .cover-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.4rem;
      border-width: 0px;
    }

    .cover-content img {
        border-radius: 5px;
    }

    .cover-icon {
      font-size: 2.8rem;
      line-height: 1;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
    }

    .cover-label {
      font-size: 0.8rem;
      font-weight: 400;
      letter-spacing: 0.3px;
      color: #3d3a34;
      background: rgba(255, 255, 255, 0.5);
      padding: 0.15rem 1rem;
      border-radius: 30px;
      border: 0px solid #ddd6ca;
    }

    .cover-image:hover {
      transform: scale(1.02);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      border-color: none;
    }

    .mock-embed-note {
      font-size: 0.6rem;
      color: #8f8678;
      background: #f3f0ea;
      padding: 0.1rem 0.7rem;
      border-radius: 30px;
      display: inline-block;
      margin-top: 0.1rem;
      border: 0px solid #e3ddd2;
    }

    /* close "x" hint – optional, but shows how to collapse */
    .close-hint {
      font-size: 0.55rem;
      color: #8f8678;
      margin-top: 0.3rem;
      opacity: 0.5;
      cursor: default;
    }
    .close-hint span {
      background: #eae5dc;
      padding: 0.05rem 0.6rem;
      border-radius: 30px;
    }

    /* ----- responsive: stack on small screens ----- */
    @media (max-width: 600px) {
      .bookshelf { padding: 1.2rem; }
      .shelf-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
      }
      .book {
        width: 100%;
      }
      .spine {
        writing-mode: horizontal-tb;
        padding: 0.6rem 1rem;
        min-height: 40px;
        border-radius: 6px;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
      }
      .spine::after {
        writing-mode: horizontal-tb;
        margin-top: 0;
        margin-left: 0.5rem;
      }
      .cover-wrapper {
        padding: 0;
      }
      .cover-container {
        min-width: unset;
        border-radius: 6px;
      }
    }
    
    
    footer {
    display: flex;
    flex-direction: row;
  }

  #LinksFT {
    width: 30%;
    padding: 10px 5px 10px 10px;
  }
  #Webring {
    width: 70%;
    margin: 10px 10px 10px 5px;
    background-color: #2b2626;
    border-radius: 10px;
  }

  footer h2 {
    margin-bottom: 10px;
    color: aliceblue;
  }

  footer h3 {
    font-size: 10px;
    margin-top: 0;
  }
  
   h3 {
    font-size: 24px;
    color: aliceblue;
    margin-left: 20px;
  }

