.archive {
    font-family: "MS UI Gothic", sans-serif;
    color: var(--text-color);
    background-color: hsl(208, 26%, 60%, 0.2);
    background-image: 
    linear-gradient(to right, hsl(120, 100%, 0%, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(120, 100%, 0%, 0.2) 1px, transparent 1px);
  background-size: 10px 10px;
  display: flex;
    align-items: flex-start; 
    gap: 1rem;
}



.archive-aside {
    border: 1px dotted var(--text-color);
    background-color: var(--bg-color);
    width: 15rem;
    margin-top: 1rem;
    padding: 0.2rem;
    display: none
}

.show-kovaaks {
    display: block;
}

.archive-nav {
    text-align: right;
    margin-bottom: 0.25rem;
}

html {
    scrollbar-color: var(--accent-color) transparent;
    scrollbar-width: thin;
}

.archive-main {
    width: 42.5rem;
    height: 56rem;
    padding: 1rem;
    background-color: var(--bg-color);
    border: 1px solid hsl(120, 100%, 0%, 0.4);
    margin-block: 1rem;
    margin-left: 1rem;

    background-image: radial-gradient(rgb(126, 155, 180) 0.5px, transparent 0.5px); 
  
  background-size: 10px 10px; 

    display: flex;
    flex-direction: column;
}

.archive-main > section {
    display: flex;
    flex-direction: column;
    flex: 1; 
    overflow: hidden; 
}

.archive-hero {
    display: flex;
    gap: 1rem;
}

.archive-hero-img {
    flex: 1.1;
    padding: 0.2rem;
    border: 1px dotted var(--text-color);
    background-color: var(--bg-color);

}

.archive-hero-intro {
    flex: 1;

    display: flex;             
    flex-direction: column;
    position: relative;

    p {
        font-size: 0.9rem;
    }
}

.dancing-lain {
    position: absolute;
    width: 12rem;

    right: -1rem;
    bottom: 0;

    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

/*archive tabs*/

.archive-tabs-header {
    margin-top: 1rem;
    display: flex;
}

.list-header:last-child {
  border-right: 1px dashed hsl(120, 100%, 0%, 0.5);
}

.list-header {
   flex: 1;
    border-top: 1px dashed hsl(120, 100%, 0%, 0.5);
    border-bottom: 1px dashed hsl(120, 100%, 0%, 0.5);
    border-left: 1px dashed hsl(120, 100%, 0%, 0.5);
    padding: 0.25rem;

    background-color: var(--bg-color);
   
    cursor: pointer;

    background-image: 
    linear-gradient(to right, hsl(208, 26%, 60%, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(208, 26%, 60%, 0.2) 1px, transparent 1px);
  background-size: 10px 10px;
    
}

.list-header h2 {
    display: flex;

    span {
        margin-left: auto;
    }
}

.list-header.tab-active {
    span {
        font-style: italic;
    }
}

.tabs-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-content {
  display: none;
  flex: 1;
  overflow-y: auto;
  scrollbar-color: var(--accent-color) transparent;
  scrollbar-width: thin;
  background-color: var(--bg-color);
  border-bottom: 1px dashed hsl(120, 100%, 0%, 0.5);
  border-left: 1px dashed hsl(120, 100%, 0%, 0.5);
  border-right: 1px dashed hsl(120, 100%, 0%, 0.5);
  padding: 1rem;

}

.tab-active.list-content {
  display: block;
}

/*books*/

.book-cover {
    width: 6rem;
    flex-shrink: 0;
    border: 1px dotted var(--text-color);
    background-color: var(--bg-color);
    padding: 0.2rem;

    img {
        mix-blend-mode: multiply;
    }
}

.multiply {
    background-color: rgb(126, 155, 180);
}

.book-header {
    width: fit-content; 
    margin-bottom: 0.5rem; 
}

.book-article {
    display: flex;
    gap: 1rem;
    align-items: flex-start
}

.book-title {
    color: rgb(126, 155, 180);
    font-size: 1.2rem;
    line-height: 1;
}

.book-author {
    color: var(--accent-color-shade);
    text-align: right;
}

.book-notes-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 0.3rem;

    &:hover {
        font-style: italic;
    }
}

.book-notes {
    padding: 0.5rem;
    display: none;
    padding-left: 1.5rem;
    background-color: hsl(90, 16%, 93%, 0.7);
    border: 1px dashed hsl(120, 100%, 0%, 0.5);
     list-style-type: circle;
     font-size: 0.75rem;
     font-family: 'Times New Roman', Times, serif;

     background-image: 
    linear-gradient(to right, hsl(208, 26%, 60%, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(208, 26%, 60%, 0.2) 1px, transparent 1px);
  background-size: 10px 10px;



      > li {
    margin-bottom: 0.5rem;
  }

  >li:last-child {
    margin-bottom: 0;
  }
}

.book-notes.shownotes {
    display: block;
}

/*elsewhere*/

.elsewhere-list li {
    padding-block: 0.25rem;
    padding-inline: 0.5rem;
    background-color: hsl(90, 16%, 93%, 0.7);
    border: 1px dashed hsl(120, 100%, 0%, 0.5);
    max-width: 30rem;
    margin-inline: auto;
    font-size: 0.9rem;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 1rem;

    background-image: 
    linear-gradient(to right, hsl(208, 26%, 60%, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(208, 26%, 60%, 0.2) 1px, transparent 1px);
  background-size: 10px 10px;
}

.elsewhere-author {
    text-align: right;
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.8rem;
    color: var(--accent-color-shade);
    font-style: normal
}

.elsewhere-fix {
    margin-bottom: 0.5rem;
}