/* Copyright (c) 2017 Anish Athalye */
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro);
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap');

@keyframes slip-fade{
    0%{opacity:0;top:20px;}
    100%{opacity:1;top:0px;}
}

main{
    position: relative;
    animation: slip-fade 0.75s;
}

a{
    text-decoration:none;
}

body {
    font-family: "Readex Pro", Lato, sans-serif;
    margin: 0px;
    padding: 0;
    background-color: #161824;
}
.navgit, .menuPrincipal{
    font-family: 'Source Code Pro', sans-serif, monospace;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #89023e;
    height: 4vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


.listaNavegacao{
    display: flex;
    list-style: none;
}
.listaNavegacao li{
    margin-left: 32px;
}

.menuPrincipal ul a{
    color: #11111b;
    text-decoration: none;
    padding: 5px;
    font-weight: bolder;
}
.menuPrincipal .listaNavegacao li a {
    color: #FEFEFE;
}

.menuPrincipal ul a:hover{
    color: #000627;
}

/*code {*/
/*    background: #00051F;*/
/*    padding: 0 0.2rem;*/
/*    border-radius: 3px;*/
/*}*/

.oldschoolnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: black;
    z-index: 1000;
}

.oldschoolnav a:hover {
    color: white;
}

.navgit{
    background-color: #F05033;
}

.navgit ul a,
.oldschoolnav ul a{
    text-decoration: none;
    padding: 5px;
    font-weight: bolder;
}
.oldschoolnav ul a{
    color: #00e300;
}
.navgit ul a{
    color: #ffffff;
}

.oldschool main{
    width: 50%;
    padding-top: 4vh;
    margin: 0 auto;
    color: #fff;
}

.oldschool h1{
    color: #00e300;
    text-transform: uppercase;
}

.oldschool h2,
.oldschool h3,
.oldschool h4,
.oldschool h5,
.oldschool h6 {
    text-transform: uppercase;
}

.oldschool p{
    text-align: start;
}

.oldschool{
    font-family: monospace, Helvetica, sans-serif;
    margin: 0px;
    padding: 0;
    background-color: #000;
    color: #fff;
}
.oldschool a {
    color: #00E300;
}

.layoutGit{
    background-color: #020728;
    color: #f0f4ff;
}
.layoutGit h1{
    color: #F05033;
    font-size: 2.5em;
    text-align: center;
}
.layoutGit h3{
    background-color: #F05033; 
    color: #f0f4ff;
    padding: 20px;
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.layoutGit h2{
    color: #F05033;
    font-size: 2em;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px; 
    text-decoration: underline;
    border-top: solid 1px #fff;
    padding: 10px;
    padding-top: 20px;

    
}
.layoutGit h4{
    color: #020728;
    background-color: rgb(250, 156, 140);
    padding: 5px; /* Padding moderado */
    margin-bottom: 10px; 
    font-size: 1em; /* Tamanho moderado */
    border-radius: 5px; /* Bordas levemente arredondadas */
    text-align: left; /* Alinhamento à esquerda */
    font-weight: bold; /* Peso da fonte alto */
}
.layoutGit h5{
    color: rgba(240, 80, 51,1); 
    text-decoration: underline;
    padding: 5px; 
    font-size: 1em; 
    font-weight: normal; 
    text-align: left; 
    font-weight: bold;
}
.layoutGit p{
    color: #f0f4ff;
    line-height: 1.6;
    margin-bottom: 15px; 
}

.layoutGit ul li {
    color:  #f0f4ff;
    margin-bottom: 5px; 
    padding-left: 20px; 
  }

.destaque{
    
    color: #FFC800;
    font-weight: bold;
    text-decoration: underline;
    
}
.navgit a:hover{
    color: #000;
}
a{
    color:#FFC800;
}

a:hover{
    color:#fff;
}

.layoutGit main{
  padding-top: 4vh;
}

main{
    padding-top: 4vh;
    width: 50%;
    margin: 0 auto;
    color: #cdd6f4;
}
p{
    text-align: justify;
    /*text-indent: 25px;*/
}



h1{
    color: #E8EAEF;
}
/*tabelas*/
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    background-color: #222222; /* Fundo da tabela */
}
th, td {
    border: 1px solid #444444; /* Bordas das células */
    padding: 10px;
    text-align: left;
}
th {
    background-color: #444444; /* Fundo do cabeçalho */
    color: #00e300; /* Texto do cabeçalho */
}
td {
    background-color: #333333; /* Fundo das células */
}
/* Define a common font family for code elements */
.layoutGit pre, code ,.oldschool pre, code {
  font-family: "Source Code Pro", "Menlo", "DejaVu Sans Mono", "Lucida Console", monospace;
}

/* Style for inline code elements */
.oldschool code {
    background: #1a1a1a; /* color for the background that the letter is inside */
    border-radius: 3px; /* Rounded corners for the code block */
    padding: 0 0.2rem; /* Padding inside the code block */
    font-size: 12pt; /* Adjust font size */
}

/* Style for block code elements */
.layoutGit pre, .oldschool pre {
    background: #141414; /* color for the background that the letter is inside */
    margin: 1rem; /* Margin around the code block */
    padding: 0.5rem 0.7rem; /* Padding inside the code block */
    border: 1px solid #666; /* Border style of the code block */
    font-size: 12pt; /* Adjust font size */
    overflow-x: auto; /* Allow horizontal scrolling for overflow */
}

/* Style for code elements inside pre */
.layoutGit pre code ,.oldschool pre code {
    color: inherit; /* Inherit text color from the parent pre element */
    background: none; /* No background color (inherit or specify a color) */
    font-size: 100%; /* Reset font size to default */
    padding: 0; /* Reset padding */
}

#sumario {
    position: fixed;
    text-align: left;
    top: 0;
    left: 0;
    width: 300px; /* Ajuste conforme necessário */
    padding: 10px; /* Espaçamento interno opcional */
    height: 100%; /* Para ocupar toda a altura da página */
    overflow-y: auto; /* Para adicionar rolagem, se necessário */
    transition: left 0.3s ease; /* Transição suave para a animação */
}

#sumario ul{
    list-style-type: square; 
}
.inactive {
    pointer-events: none;
    color: #fff;
}
.sumario-oldschool{
    color: #00e300;
    border-right: 1px solid #00e300;
    background: black;
}

.sumario-git{
    background: #020728;
    color: #f0f4ff;
    border-right: 1px solid #F05033;
}

#sumario.hidden {
    left: -321px; /* Ajuste conforme a largura do sumário */
}

/* Estilizando a barra de rolagem no Chrome, Safari e Opera */
#sumario::-webkit-scrollbar {
    width: 3px; /* Largura da barra de rolagem */
    
}

#sumario::-webkit-scrollbar-track {
    background: #000; /* Cor do trilho da barra de rolagem */
    
}

.sumario-oldschool::-webkit-scrollbar-thumb {
    background: #00e300; /* Cor do polegar da barra de rolagem */
    border-radius: 10px; /* Borda arredondada para o polegar */
}
.sumario-git::-webkit-scrollbar-thumb{
    background: #F05033;
    border-radius: 10px;
}

.sumario-oldschool::-webkit-scrollbar-thumb:hover {
    background: #00e300; /* Cor do polegar da barra de rolagem quando está sendo rolado */
}
.sumario-git::-webkit-scrollbar-thumb:hover {
    background: #F05033; /* Cor do polegar da barra de rolagem quando está sendo rolado */
}

.toggle-button{
    font-family: "Source Code Pro", "Menlo", "DejaVu Sans Mono", "Lucida Console", monospace;
    background-color: transparent;
    border: none;
    color: #00e300;
    position: fixed;
    left: 0px;
    top: 95%;
}

.toggle-button:hover{
    color:#fff;
}

.small {
    font-size: 0.75rem;
}
.small p {
    margin: 0;
}
.center {
    text-align: center;
    display: flex;
    justify-content: center;
}

.small {
    font-size: 0.75rem;
}
.small p {
    margin: 0;
}
.center {
    text-align: center;
    display: flex;
    justify-content: center;
}

/* TODO: Mudar a estilização das tabelas geradas pelo markdown */
/* TODO: Centralizar as tabelas geradas pelo markdown */
