body {
    background-image: url("../_imagens/background.jpg");
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2em;
    text-align: center;
    color: #F5FFFA;
    margin: 50px 0px 30px 0px;
}

/*menu principal*/
.menu {
    position: fixed;
    width: 100%;
    top: 0px;
    z-index: 99;
    font-weight: bold;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;    
    -webkit-justify-content: center;
    justify-content: center;
    border-bottom: none;
    font-style: italic;
    background-color: black;
}

nav#principal > ul {
    list-style: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 70%;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
}

nav#principal > ul > li {
    display: inline-block;
    padding: 5px 6px 5px 6px;
    background-color: #000000;
    box-shadow: none;
}

nav#principal li:hover {
    background-color: #606060;
}

nav#principal li:hover > .sub-menu {
    display: block;
}

.sub-menu {
    display: none;
    list-style: none;
    position: absolute;
    margin: 5px 5px 0px 0px;
    padding: 5px;
    text-align: left;
    background-color: #000000;
    box-shadow: 1px 1px 1px white;
}

.sub-menu li {
    margin: 0px 5px 0px 5px;
}

nav#principal a:link, a:visited, a:focus {
    text-decoration: none;
    outline: 0;
    color: white;
}

/*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;
}

/*blocos*/
.moldura {
    background: white;
    max-width: 94%;
    margin: 0px auto;
    padding: 1%;
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
    justify-content: flex-start; /* Evita espaço no meio */
    color: black;
    border-radius: 8px; /* Suaviza as bordas */
    box-shadow: 0 0 10px rgb(255, 0, 17);
}

.coluna {
    flex: 1 1 22.2%;
    max-width: 23%;
    text-align: center;
    padding: 1%;
}

.coluna.inteira {
    flex: 1 1 100%; /* Coluna ocupando toda a linha */
    max-width: 100%;
    margin-bottom: 20px;
}

.coluna.meia {
    flex: 1 1 46%; /* Coluna ocupando metade */
    max-width: 48%;
    text-align: center;
    padding: 0 1% 0 1%;
}

.coluna.quarto {
    flex: 1 1 24.2%; /* Coluna ocupando um quarto */
    max-width: 22.2%;
    padding: 0  1% 0 1%;
}

.coluna.quartos {
    flex: 1 1 72.5%; /* Coluna ocupando três quartos */
    max-width: 72.5%;
    text-align: center;
    padding: 0 1% 0 1%;
}

.artigo {
    flex: 1 1 54%;
    max-width: 55%;
    text-align: center;
    padding: 0 0.5% 0 0.5%;
}

.artigo.lateral {
    flex: 1 1 20%;
    max-width: 21%;
    text-align: center;
}

.ficha {
    font-size: 70%;
    text-align: justify;
    padding: 0px 5% 2px 5%;
}

.caixa {
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(13, 2, 53);
    padding: 5px;
}

.adendo {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

/*listas*/
li {
    margin-bottom: 5px;
    text-indent: 0;
}

.listalat {
    text-align: left;
    font-size: 70%;
}

/*containers*/
#container {
    display: inline-block;
    position: relative;
    margin: 30px auto 0px auto;
    width: 100%;
    overflow: auto;
}

#container chamtopwhite {
    position: absolute;
    top: 5%;
    left: 10%;
    font-size: 3em;
    font-weight: bold;
    font-style: italic;
    color: white;
}

#container chambottomwhite {
    position: absolute;
    bottom: 5%;
    left: 5%;
    font-size: 3em;
    font-weight: bold;
    font-style: italic;
    color: white;
}

#container comentbottomwhite {
    position: absolute;
    bottom: 5%;
    left: 10%;
    font-size: 1.2em;
    font-weight: bold;
    font-style: italic;
    color: white;
}

#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;
}

#container chamtopblack {
    position: absolute;
    top: 5%;
    left: 10%;
    font-size: 3em;
    font-weight: bold;
    font-style: italic;
    color: black;
}

#container comentbottomblack {
    position: absolute;
    bottom: 5%;
    left: 10%;
    font-size: 1.2em;
    font-weight: bold;
    font-style: italic;
    color: black;
}

/*titulos e subtítulos*/
h1 {
    color: #050d43;
    font-style: italic;
}

h2 {
    color: #050d43;
    font-style: italic;
}

h3 {
    font-style: italic;
}

.dataart {
    font-style: italic;
    margin-left: auto;
    margin-right: auto;
    font-size: 90%;
    font-weight: bold;
}

.titulo-fake {
    max-width: 500px;
    height: 23px;
    background-image: url('../_imagens/fundo-titulo.png');
    background-size: contain;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    justify-content: center;
    text-align: center;
    color: black;
    font-style: italic;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgb(191, 152, 152);
}

.titmetade-l {
    visibility: visible;
    max-height: none;
}

.titmetade-m {
    visibility: hidden;
    max-height: 0;
}

/*textos*/
.txtartigo {
    text-align: justify;
    text-indent: 30px;
}

.txtlat {
    font-size: 70%;
    text-indent: 20px;
    text-align: justify;
    margin: auto 5px auto 5px;
}

.txtlat85 {
    font-size: 85%;
    text-indent: 20px;
    text-align: justify;
    margin: auto 5px auto 5px;
}

.pagina {
    font-style: italic;
    font-weight: bold;
}

.potencia {
    font-size: 0.6em;
}

.tabela-eventos {
    margin: auto;
}

.tabela-eventos td {
    padding: 10px;
    border-bottom: 1px solid #2b0202;
}

/*rótulos*/
.rotuloint {
    font-size: 70%;
    margin-left: 25%;
    margin-right: 25%;
}

.rotulo {
    font-size: 70%;
}

.rotmanchete {
    margin-left: 26.8%;
    margin-right: 26.8%;
    text-align: justify;
    text-indent: 20px;
}

.creditosart {
    font-size: 70%;
    text-align: left;
}

.citacao-oculta {
    font-size: 80%;
    font-style: italic;
}

/*imagens*/
.rede {
    width: 3%;
    height: auto;
}

.quadro {
    width: 100%;
    height: auto;
}

.imginteira670 {
    width: 49%;
    height: auto;
}

.imgmeia670 {
    width: 100%;
    height: auto;
}

.imgquarto250 {
    width: 79%;
    height: auto;
}

.imgquarto280 {
    width: 90.5%;
    height: auto;
}

.imgquarto300 {
    width: 96%;
    height: auto;
}

.imgartigo300 {
    width: 39.5%;
    height: auto;
}

.imgartigo400 {
    width: 52.7%;
    height: auto;
}

.imgartigo500 {
    width: 64%;
    height: auto;
}

.imgartigo670 {
    width: 88.8%;
    height: auto;
}

.imgartigo800 {
    width: 100%;
    height: auto;
}

.imglat200 {
    width: 70%;
    height: auto;
}

.imglat280 {
    width: 98.6%;
    height: auto;
}

.livrolat {
    width: 40%;
    height: auto;
}

/*escotilha*/
.escotilha {
    width: 60%;
    max-width: 260px;
    aspect-ratio: 1 / 1;
    margin: 40px auto;
    border-radius: 50%;
    position: relative;

    /* aço escovado mais realista */
    background:
        radial-gradient(circle at 30% 30%, #f0f0f0, #bdbdbd 60%, #9e9e9e 100%);

    padding: 8px;

    box-shadow:
        0 4px 12px rgba(0,0,0,0.15),
        inset 0 2px 3px rgba(255,255,255,0.8),
        inset 0 -3px 6px rgba(0,0,0,0.3);

    display: flex;
    align-items: center;
    justify-content: center;
}

/* micro parafusos */
.escotilha::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;

    /* metade do padding = 4px (se padding for 8px) */
    background:
        radial-gradient(circle at 50% 4px, #444 2.4px, #aaa 3px, transparent 3.2px),
        radial-gradient(circle at calc(100% - 4px) 50%, #444 2.4px, #aaa 3px, transparent 3.2px),
        radial-gradient(circle at 50% calc(100% - 4px), #444 2.4px, #aaa 3px, transparent 3.2px),
        radial-gradient(circle at 4px 50%, #444 2.4px, #aaa 3px, transparent 3.2px);
}

/* interior */
.ceu {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 35% 30%, #101833, #02040a 70%);

    box-shadow:
        inset 0 0 0 2px rgba(0,0,0,0.5);
}

/* estrelas mais abundantes e variadas */
.ceu::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(1px 1px at 15% 25%, white 100%, transparent),
        radial-gradient(1.2px 1.2px at 40% 70%, white 100%, transparent),
        radial-gradient(1px 1px at 75% 35%, white 100%, transparent),
        radial-gradient(1.5px 1.5px at 60% 20%, white 100%, transparent),
        radial-gradient(1px 1px at 20% 80%, white 100%, transparent),
        radial-gradient(1.2px 1.2px at 85% 75%, white 100%, transparent),
        radial-gradient(1px 1px at 55% 55%, white 100%, transparent),
        radial-gradient(1.3px 1.3px at 30% 45%, white 100%, transparent),
        radial-gradient(1px 1px at 70% 10%, white 100%, transparent),
        radial-gradient(1.4px 1.4px at 10% 60%, white 100%, transparent),
        radial-gradient(1px 1px at 90% 50%, white 100%, transparent);

    opacity: 0.85;
}

/* reflexo sutil de vidro */
.ceu::after {
    content: "";
    position: absolute;
    top: 8%;
    left: 12%;
    width: 55%;
    height: 55%;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    border-radius: 50%;
}