*{
    padding: 0;
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
html, body {
    
    max-width: 100%;
}


#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-sizing: border-box;

    background: transparent !important;
    z-index: 9999;

    pointer-events: none;
    mix-blend-mode: difference;
}

#navbar .navbar-brand {
    font-size: 28px; /* era 24px — logo maior que os links */
    font-weight:lighter;
    color: white !important;
    text-decoration: none;
    flex-shrink: 0;
}

#navbar .navbar-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 18px;
}

#navbar .nav-link {
    display: inline-block;
    position: relative;
    font-size: 19px; /* era 17px */
    color: white !important;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link.ativo::before {
    content: "";
    position: absolute;
    inset: -4px -8px;
    background: white;
    border-radius: 3px;
    z-index: -1;
}

/* !important garante que nenhuma regra antiga de tema sobrescreva isto */
#navbar .nav-link.ativo {
    position: relative;
    z-index: 1;
    color: rgb(0, 0, 0) !important;
    
}

#navbar .navbar-brand,
#navbar .nav-link {
    font-size: 1.15em; /* aumenta levemente em relação ao tamanho atual de cada um */
    font-weight: 700;

    pointer-events: auto;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.nav-link.ativo::before {
    border-radius: 0 !important;
}


#navbar {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.nav-link.ativo::before {
    border-radius: 0; /* sem cantos arredondados no mark */
}

/* Início (Ramitis) */
/* =========================
   INÍCIO
========================= */



#inicio {
    width: 100%;
    height: 40vw;
    position: relative;
    text-align: center;
    overflow: hidden;
}
#inicio h1 {
    margin: 0;
    padding: 0;

    position: absolute;

    top: 4vw;
    left: 0;

    width: 100%;

    font-size: 25vw;
    line-height: 1;

    color: white !important;
    background: transparent !important;

    z-index: 2;

    mix-blend-mode: difference;
}


#inicio p {
    margin: 0;
    padding: 0;

    position: absolute;

    top: 32vw;
    left: 0;

    width: 100%;

    font-size: 1.5vw;
    line-height: 1;

    color: white !important;
    background: transparent !important;

    z-index: 2;

    mix-blend-mode: difference;
}

.backcolor1 {
    background-color: rgb(31, 31, 31);
}

.backcolor2 {
    background-color: rgb(0, 0, 0);
}
.backcolor3 {
    background-color: rgb(22, 22, 22);
}
.backcolor4 {
    background-color: rgb(43, 43, 43);
}
.backcolor5 {
    background-color: rgb(10, 10, 10);
}
.backcolor6 {
    background-color: rgb(17, 17, 17);
}
.backcolor7 {
    background-color: rgb(61, 61, 61);
}
.backcolor8 {
    background-color: rgb(61, 61, 61);
}
.backcolor9 {
    background-color: rgb(49, 49, 49);
}
.backcolor10 {
    background-color: rgb(7, 7, 7);
}
.backcolor11 {
    background-color: rgb(24, 24, 24);
}
.backcolor12 {
    background-color: rgb(0, 0, 0);
}
.backcolor13 {
    background-color: rgb(17, 17, 17);
}
.backcolor14 {
    background-color: rgb(27, 27, 27);
}
.backcolor15 {
    background-color: rgb(3, 3, 3);
}
.backcolor16 {
    background-color: rgb(39, 39, 39);
}
.backcolor17 {
    background-color: rgb(27, 27, 27);
}

.logo1 {
    font-family: Arial;
    font-style: normal;
    font-weight: 400;
}
.logo2 {
    font-family: Georgia;
    font-style: italic;
    font-weight: 900;
}

.logo3 {
    font-family: monospace;
    font-style: normal;
    font-weight: 100;
}

.logo4 {
    font-family: "Courier New";
    font-style: italic;
    font-weight: 900;
}

.logo5 {
    font-family: serif;
    font-style: normal;
    font-weight: 900;
}
.logo6 {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: bold;
}

.logo7 {
    font-family: "Trebuchet MS", sans-serif;
    font-style: normal;
    font-weight: 300;
}

.logo8 {
    font-family: Arial, sans-serif;
    font-style: italic;
    font-weight: 900;
}

.logo9 {
    font-family: serif;
    font-style: normal;
    font-weight: normal;
    letter-spacing: 0.15em;
}

.logo10 {
    font-family: monospace;
    font-style: italic;
    font-weight: 900;
}

.logo11{
    font-family: sans-serif;
    font-style: normal;
    font-weight: 100;
}

.logo12{
    font-family: cursive;
    font-style: normal;
    font-weight: 500;
}

.logo13 {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: 100;
}

.logo14 {
    font-family: Georgia, serif;
    font-style: normal;
    font-weight: 900;
}

.logo15 {
    font-family: "Times New Roman", serif;
    font-style: italic;
    font-weight: normal;
}

.logo16 {
    font-family: Verdana, sans-serif;
    font-style: normal;
    font-weight: bold;
}

.logo17 {
    font-family: "Trebuchet MS", sans-serif;
    font-style: italic;
    font-weight: bold;
}

.logo18 {
    font-family: Impact, sans-serif;
    font-style: normal;
    font-weight: normal;
}

.logo19 {
    font-family: "Lucida Console", monospace;
    font-style: normal;
    font-weight: bold;
}

.logo20 {
    font-family: Garamond, serif;
    font-style: italic;
    font-weight: bold;
}

.logo21 {
    font-family: Arial, sans-serif;
    font-style: normal;
    font-weight: 900;
}

.logo22 {
    font-family: "Courier New", monospace;
    font-style: normal;
    font-weight: 300;
}


/* menu sempre visível, sem colapsar em nenhuma largura */
#navbar .navbar-collapse {
    display: flex !important;
}

@media (max-width: 1300px) {
    #navbar .navbar-nav {
        gap: 0.2rem;
    }
    #navbar .nav-link {
        font-size: 0.95rem;
        margin-left: 12px;
    }
}

/* marca a seção atual — destaque com cor sempre oposta ao fundo por trás */
.nav-link.ativo {
    position: relative;
    isolation: isolate; /* cria contexto próprio, garantindo o blend correto contra a página */
}

.nav-link.ativo::before {
    content: "";
    position: absolute;
    inset: -4px -8px;
    background: white;
    mix-blend-mode: difference;
    border-radius: 3px;
    z-index: -1;
}

#navbar .navbar-brand,
#navbar .nav-link {
    font-size: 20px !important;
}

#navbar .navbar-brand {
    font-size: 26px !important;
}

@media (max-width: 1200px) {
    #navbar .navbar-brand,
    #navbar .nav-link {
        font-size: 16px !important;
    }

    #navbar .navbar-brand {
        font-size: 22px !important;
    }
}