@font-face {
  font-family: 'Garamontio';
  src: url('../fonts/Garamontio-Medium.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

:root {
  --vermelho: #D70600;
  --vermelho2: #820200;
  font-family: 'Garamontio';
}

body {
  margin: 0;
  line-height: 1.5em;
  background: white;
}
.header div, .container, .copyright, .menu {
  max-width: 1000px;
  margin: auto;
  padding: 0 15px;
}
.page .header div, .page .container, .page .copyright, .page .menu { max-width: 900px; }
.container { hyphens: auto; }
@media (max-width: 930px) {
  .page .container { padding: 0; }
}
main { margin-bottom: 15px; }

/* header and footer areas */
.header {
  background-color: black !important; /* Sets the entire section's background */
  text-align: center;
  padding: 15px 0 10px;
}
.head-meta, .menu {
  display: flex;
  justify-content: space-between;
  color: white; /* Optional: Improves text readability on dark backgrounds */

}
.head-meta, .contato {
  margin-top: 50px;
  font-size: 1.1em;
}



.header, .list section, article { background: white; }
.banner { font-size: 4em; }
.banner .text {
  display: block;
  line-height: 1em;
}
.list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
}
.list section {
  flex: 1 0 350px;
  box-sizing: border-box;
  margin: 1em 0 0 15px;
  padding: 1em;
  overflow-x: hidden;
}
@media (max-width: 380px) {
  .list section { flex: auto; }
}
@media (min-width: 715px) {
  .list section { max-width: calc(50% - 15px); }
}
@media (min-width: 1080px) {
  .list section { max-width: calc(33.33333% - 15px); }
}
.article-list a, .banner a { color: black; }
.categories a {
  font-size: .9em;
  font-weight: bolder;
  text-transform: uppercase;
  color: white;
}
h1 a:hover { text-decoration: underline; }
.article-list h1 { margin: .2em auto .2em 0; }
article { padding: 1em; }
.article-meta {
  text-decoration: none;
  background: var(--vermelho2);
  color: white;
  padding: 5px;
  text-align: left;
  text-indent: 1em;
  border-radius: 2px;
}
.menu, footer, .post-nav { text-align: center; }
.article-footer { text-align: left; }
.title { font-size: 1.2em; }
.article-list { border-radius: 2px; }
.article-list h1, .title { line-height: 1.2em; }
.article-list a, .header a, footer a, .categories a, .active a, .comments a { text-decoration: none; }
.pagination { text-align: center; }
.pagination li, .terms li { display: inline; }
.pagination a { padding: 0 .2em; }
.footer {
  background: var(--vermelho2);
  padding: 1em 0;
}
.footer, .footer a { color: white; }
.copyright, .copyright a { color: var(--vermelho2); }
.menu {
  margin-bottom: .5em;
  flex-wrap: wrap;
}
.menu li {
  display: inline-block;
  font-weight: bolder;
}
.menu a { padding: .5em; }
.menu a:hover {
  color: black;
  background: white;
}

hr {
  border-style: dashed;
  color: var(--vermelho2);
}

a {
  color: var(--vermelho);
}

/* code */
pre {
  border: 1px solid var(--vermelho2);
  border: 1px solid black;
  overflow-x: auto;
}
code { background: white; }
pre code {
  background: none;
  padding: .5em;
  display: block;
}

/* misc elements */
img, iframe, video { max-width: 100%; }
blockquote {
  background: white;
  border-left: 5px solid var(--vermelho2);
  padding: 3px 1em 3px;
}

table {
  margin: 1em auto auto;
  border-top: 1px solid var(--vermelho2);
  border-bottom: 1px solid var(--vermelho2);
}
table thead th { border-bottom: 1px solid var(--vermelho2); }
th, td { padding: 5px; }
tr:nth-child(even) { background: var(--vermelho2) }

.thumbnail {
  overflow: hidden;
  margin: 5px 8px 5px 0;
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#TableOfContents, #TOC, .comments {
  border: 1px solid var(--vermelho2);
  border-radius: 2px;
}
.comments a {
  display: inline-block;
  width: 100%;
  text-align: center;
  font-size: 1.2em;
}
.terms { padding-left: 0; }
.post-nav {
  margin: .5em 0;
  display: flex;
  justify-content: space-between;
}
.footnotes { font-size: .9em; }
.footnotes hr {
  width: 50%;
  margin-left: 0;
}
/* break long words */
p, ul, ol, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
