/* FONT CLASS */

html {
    background-color: white;
}

#logo_header {
  width: auto;
}

.uncut{
    font-family: "Uncut";
}

.junicode{
    font-family: "Junicode";
}

i, em{
    font-style: italic;
}

b, strong{
    font-weight: 600;
}

.minor_sec{
    margin-bottom: 2em;
}

sup {
    color: black;
    text-decoration: none;
    font-size: 12px;
    vertical-align: super;
}

img {
  width: 90%;
}

.body_of_text {
    background-color: white;
    position: relative;
    top: 52px;
    left: calc((100vw / 3) + 64px);
    padding: 32px;
    width: calc((100vw / 3) * 2 - 128px);
    line-height: 150%;
  }

section{
    margin-bottom: 5em;
    max-width: 800px;
}

h4{
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 16px;
}

h5 {
  line-height: 150%;
  margin-bottom: 16px;
  font-weight: bold;
  margin-top: 16px;
}

h6 {
    font-size: 16px;
    font-family: "Uncut";
    font-weight: 600;
    padding-bottom: 16px;
    padding-top: 16px;
  }

/* TABLE OF CONTENTS */

.table_of_contents{
    background-color: white;
    position: fixed;
    top: 56px;
    padding: 32px;
    height: calc(100vh - 120px);
    width: calc(100vw / 3);
}


a.toc{
    color: #252525;
    text-decoration: none;
    text-transform: none;
    line-height: 150%;
}

a.toc:hover{
    color: #CB5CFF;
}

dt:nth-child(1){
    font-weight: 600;
}

/* TITLE */

h3{
    font-size: 24px;
    font-weight: 600;
    line-height: 150%;
}

/* AUTHOR INFO */

.authors{
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
}

section.authors, section.doi {
  margin-bottom: 2.5em;
}

a.class_of_2023{
    color: #252525;
    text-decoration: none;
    text-transform: none;
}

a.class_of_2023:hover{
    color: #CB5CFF;
}

/* PARAGRAPHS */

p{
    line-height: 140%;
    padding-bottom: 8px;
}

p:nth-last-child(1) {
    padding-bottom: 0px;
  }

/* FOOTNOTES */

a.footnote{
    color: #CB5CFF;
    text-decoration: none;
    text-transform: none;
}

a.footnote:hover{
    color: #252525;
    text-decoration: none;
    text-transform: none;
}

.note_number{
    color: #CB5CFF;
    padding-right: 8px; 
}

/* IMAGE */

.figure {
    text-align: center;
  }

.text_figure {
    width: 100%;
    max-width: 1000px;
    max-height: 500px;
    object-fit: contain;
    padding-top: 32px;
    padding-bottom: 32px;
}

figcaption {
    text-align: center;
    font-size: 16px;
    padding-top: 8px;
    line-height: 120%;
  }

.figure_span {
    font-family: "Junicode";
    padding-right: 8px;
}

/* LIST STYLES */

ol, ul, dl{
    line-height: 150%;
}

ol {
    list-style: decimal-leading-zero;
}

ul {
    list-style: circle;
}

li {
    padding-bottom: 0px;
}

li:nth-last-child(1){
    padding-bottom: 0px;
}

blockquote, q {
    quotes: revert;
    margin-left: 32px;
    line-height: 130%;
    /* font-style: italic; */
    padding-top: 16px;
    padding-bottom: 16px;
  }

/* REFERENCES */

.reference{
    margin-left: 32px;
    text-indent: -32px;
}

:target {
    scroll-margin-top: 96px;
}

/* PAPER NAVIGATION */

hr {
    color: #CB5CFF;
    filter: blur(2px);
}

/* .paper_navigation {
    position: absolute;
    width: 100vw;
    text-align: center;
    padding-top: 8px;
    margin-top: 32px;
    padding-bottom: 32px;
} */

.title_navigation{
    text-transform: uppercase;
}

a.active{
    color: #CB5CFF;
    text-decoration: none;
    text-transform: none;
    padding-right: 4px;
}

a.inactive{
    color:#252525;
    text-decoration: none;
    text-transform: none;
    padding-right: 4px;
}

a.inactive:hover{
    color:#CB5CFF;
}

a.active:nth-last-child(1){
    padding-right: 0px;
}

a.inactive:nth-last-child(1){
    padding-right: 0px;
}

.numbered {
    display: initial;
    padding-right: 4px;
  }

/* ACTIVE */

.active:hover ~ .invisible  {
    display:none;
}

.possible:hover ~ .visible  {
    display:none;
}

/* INACTIVE */

.invisible{
    display: none;
}

.text_01:hover ~ #text_01  {
    display: block;
}

.text_02:hover ~ #text_02  {
    display: block;
}

.text_03:hover ~ #text_03  {
    display: block;
}

.text_04:hover ~ #text_04  {
    display: block;
}

.text_05:hover ~ #text_05  {
    display: block;
}

.text_06:hover ~ #text_06  {
    display: block;
}

.text_07:hover ~ #text_07  {
    display: block;
}

.text_08:hover ~ #text_08  {
    display: block;
}

.text_09:hover ~ #text_09  {
    display: block;
}

.text_10:hover ~ #text_10  {
    display: block;
}

.text_11:hover ~ #text_11  {
    display: block;
}

.text_12:hover ~ #text_12  {
    display: block;
}

.text_13:hover ~ #text_13  {
    display: block;
}
  

/* FROM PANDOC */

a.footnote-ref{
    text-decoration: none;
    padding-left: 4px;
}

a.footnote-back{
    text-decoration: none;
    color: #252525;
    padding-left: 4px;
}

ol, .pandoc {
    padding-top: 16px;
    padding-bottom: 16px;
}

a.footnote_entry{
    text-decoration: none;
    color: #252525;
}

.references{
    margin-bottom: 0px;
    padding-bottom: 80px;
    width: calc(100vw - 32px);
}

.footnotes {
    margin-bottom: 0px;
    padding-bottom: 80px;
    width: calc(100vw - 32px);
  }

/* Tabela */

th, td {
    border: 1px solid;
    padding-left: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid;
    margin-top: 16px;
  }

  thead {
    font-family: "Junicode";
    text-align: left;
  }

  tbody {
    font-size: 14px;
  }

  .chapter.aspect_ratio {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
  }

  iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }

  .video_about {
    width: 100%;
  }

/* PAPER NAVIGATION FUNDO PÁGINA */

.paper_navigation {
    position: fixed;
    width: 100vw;
    text-align: center;
    padding-top: 0px;
    margin-top: 32px;
    padding-bottom: 32px;
    bottom: 0;
    background-color: white;
  }

  .abstract {
    margin-bottom: 64px;
  }

@media only screen and (max-width: 900px) {
    .paper_navigation {
        font-size: 14px;
        margin-top: 16px;
        padding-bottom: 16px;
      }
    
    .table_of_contents{
        display: none;
    }


    .body_of_text {
        position: relative;
        left: 0;
        width: calc(100vw - 64px);
        max-width: initial;
        overflow-x: hidden;
        
      }

    section{
        max-width: 600px;
    }

    ol, .pandoc {
        padding-left: 16px;
    }

    ::marker {
        font-size: 14px;
      }

}

@media only screen and (max-width: 700px) {

    .body_of_text {
        width: calc(100vw - 32px);
        padding-left: 16px;
        padding-right: 16px;
    }

}

