body {
    background-image: url("../_imagens/bg-home.jpg");
    font-family: 'Merriweather', serif;
    font-size: 1.2em;
    color: #F5FFFA;
    margin: 50px 0px 30px 0px;
    line-height: 1.5;
    text-align: center;
}

body.menu-aberto {
    overflow: hidden;
}

/* MENU MOBILE */

.menu {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    min-height: 50px;
    /*background-color: black;*/
    z-index: 9999;
    text-align: left;
    font-size: 0.9em;
}

/* BOTÃO SANDUÍCHE */

#bt-menu {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 170%;
    padding: 5px 12px;
    margin: 8px;
    cursor: pointer;
}

/* MENU ESCONDIDO */

nav#principal {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 58px);
    overflow-y: auto;
    background-color: black;
    padding-bottom: 60px;
}

/* MENU ABERTO */

nav#principal.ativo {
    display: block;
    background-color: rgba(0,0,0,0.92);
    backdrop-filter: blur(3px);
}

/* LISTA PRINCIPAL */

nav#principal ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

/* ITENS */

nav#principal li {
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.28);
    border-right: 1px solid rgba(255,255,255,0.28);
    border-bottom: 1px solid rgba(255,255,255,0.28);
    padding: 4px 8px;
    width: calc(100% - 16px);
    box-sizing: border-box;
    color: white;
    background-color: black;
    border-radius: 6px;
}

/* LINKS */

nav#principal a {
    color: white;
    text-decoration: none;
    display: block;
}

/* SUBMENUS */

.sub-menu {
    display: none;
    background-color: #101010;
    margin-top: 10px;
}

/* SUBMENU ABERTO */

.sub-menu.ativo {
    display: block;
}

/* ITENS DOS SUBMENUS */

.sub-menu li {
    border-top: 1px solid #404040;
    padding-left: 20px;
    font-size: 0.8em;
}

/* LINKS */

nav#principal a {
    color: white;
    text-decoration: none;
    display: block;
}

/* SUBMENUS */

.sub-menu {
    display: none;
    background-color: #101010;
    margin-top: 10px;
}

/* SUBMENU ABERTO */

.sub-menu.ativo {
    display: block;
}

/* ITENS DOS SUBMENUS */

.sub-menu li {
    border-top: 1px solid #404040;
    padding-left: 20px;
    font-size: 0.8em;
}

/*links*/
a.artlink:link, a.artlink:visited, a.artlink:focus {
    text-decoration: none;
    outline: 0;
    color: #050d43;
    font-style: italic;
}

a.wlink {
    text-decoration: none;
    outline: 0;
    color: white;
    font-style: italic;
}

.linkdir {
    text-align: right;
}

/*títulos*/
.titulo-secao {
    width: 92%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #111111;
    border: 1px solid #c0c0c0;
    border-radius: 4px;
    color: white;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow:
        inset 0px 0px 4px rgba(255,255,255,0.15),
        0px 0px 4px rgba(255,255,255,0.08);
}

.titmetade-l {
    visibility: hidden;
    max-height: 0;
}

.titmetade-m {
    visibility: visible;
    max-height: none;
}

/*blocos*/
header {
  text-align: center;
}

.moldura {
    background: white;
    max-width: 90%;
    margin: 0px auto; /* Centraliza */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(255, 0, 17);
    display: flex;
    flex-direction: column; /* Empilha os elementos */
    text-align: center;
    gap: 10px;
    color: #222;
}

.caixa {
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(13, 2, 53);
    padding: 5px;
}

/*textos*/
.txtartigo {
    text-align: justify;
    text-indent: 30px;
}

.txtlat {
    text-align: justify;
    text-indent: 30px;
    font-size: 80%;
}

.rotulo {
    font-size: 70%;
}

.creditosart {
    font-size: 70%;
    text-align: left;
}

.ficha {
    font-size: 70%;
    text-align: justify;
    padding: 0px 5% 2px 5%;
}

/*listas*/
li {
    margin-bottom: 6px;
    text-indent: 0;
}

.lista-decimal {
    list-style: decimal;
}

/*imagens*/
.logo {
    margin-bottom: 0;
}

.img100 {
    width: 100%;
    height: auto;
}

.imgartigo300 {
    width: 60%;
    height: auto;
}

.imgartigo400 {
    width: 89%;
    height: auto;
}

.imgartigo600 {
    width: 98%;
    height: auto;
}

.imgartigo670 {
    width: 100%;
    height: auto;
}

.imgcoluna250 {
    width: 78.5%;
    height: auto;
}

.imgcoluna280 {
    width: 98%;
    height: auto;
}

/*blocos de imagens*/
#container {
    display: inline-block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    overflow: auto;
    width: 100%;
}

#container chamtopwhite {
    position: absolute;
    top: 5%;
    left: 10%;
    font-size: 1.5em;
    font-weight: bold;
    font-style: italic;
    color: white;
}

#container chamtopblack {
    position: absolute;
    top: 5%;
    left: 10%;
    font-size: 1.5em;
    font-weight: bold;
    font-style: italic;
    color: black;
}

#container comentbottomwhite {
    position: absolute;
    top: 75%;
    left: 5%;
    font-size: 0.8em;
    font-weight: bold;
    font-style: italic;
    color: white;
}

#container comentbottomblack {
    position: absolute;
    top: 75%;
    left: 5%;
    font-size: 0.8em;
    font-weight: bold;
    font-style: italic;
    color: black;
}

#container creditoswhite {
    position: absolute;
    bottom: 5%;
    right: 5%;
    font-size: 60%;
    color: white;
}

#container creditostopwhite {
    position: absolute;
    top: 5%;
    right: 5%;
    font-size: 60%;
    color: white;
}

/*videos incorporados*/
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* proporção 16:9 */
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  width: 90%;
  font-size: 1rem;
}
