@charset "utf-8";

:root {
    --bg-body: #F4F6F8;
    --bg-header: #FFFFFF;
    --text-primary: #1C1E21;
    --text-secondary: #4E5D6C;
    --btn-primary: #C8943B;
    --btn-hover: #C8943B;
    --link-color: #4A4A4A;
    --border-color: #D0D7DE;
    --highlight: #7E57C2;
    --shadow-sm: 0 2px 8px rgba(28, 30, 33, 0.1);
    --shadow-hover: 0 4px 12px rgba(28, 30, 33, 0.15);
}

[data-theme="dark"] {
    --bg-body: #0D1117;
    --bg-header: #161B22;
    --text-primary: #E6EDF3;
    --text-secondary: #8B949E;
    --border-color: #30363D;
    --highlight: #9B6BFF;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: var(--bg-body);
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    font-weight: 400;
    transition: all 0.3s ease;
}


/* ~~ Seletores de elementos/tag ~~ */

ul,
ol,
dl {
    /* Devido a variações entre navegadores, é recomendado zerar o padding e a margem nas listas. É possível especificar as quantidades aqui ou nos itens da lista (LI, DT, DD) que eles contêm. Lembre-se: o que você fizer aqui ficará em cascata para a lista de navegação a não ser que você escreva outro seletor mais específico. */
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
    /* ao remover a margem superior, as margens podem escapar das suas containing div. A margem inferior restante vai mantê-la afastada de qualquer elemento que se segue. */
    padding-right: 15px;
    padding-left: 15px;
    /* adicionando o padding para os lados dos elementos dentro dos divs, ao invés dos próprios divs o livra de qualquer combinação de modelo de caixa. Um div aninhado com padding lateral também pode ser usado como método alternativo. */
}

a img {
    /* esse seletor remove a borda azul padrão exibida em alguns navegadores ao redor de uma imagem circundada por um link. */
    border: none;
}


/* ~~ A estilização dos links do seu site deve permanecer nesta ordem – incluindo o grupo de seletores que criam o efeito hover. ~~ */

a:link {
    color: var(--link-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

a:visited {
    color: var(--text-secondary);
    text-decoration: underline;
}

a:hover,
a:active,
a:focus {
    text-decoration: none;
    color: var(--highlight);
}


/* ~~ esse contêiner de largura fixa envolve os outros divs~~ */

.container {
    width: 100%;
    max-width: 800px;
    max-height: 100%;
    min-height: 600px;
    background: var(--bg-header);
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    transition: all 0.3s ease;
}

#menu ul {
    padding: 0px;
    margin: 0px;
    background-color: var(--bg-header);
    list-style: none;
    font: 20px 'Inter', Arial;
    border-radius: 8px 8px 0 0;
}

#menu ul li {
    display: inline;
}

#menu ul li a {
    background-color: var(--bg-header);
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 3px solid var(--bg-header);
    padding: 2px 10px;
    float: left;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
}

#menu ul li a:hover {
    background-color: var(--highlight);
    color: #FFFFFF;
    border-bottom: 2px solid var(--btn-primary);
}


/* ~ cabeçalho do site~ */

.header {
    background: var(--btn-primary);
    border-radius: 8px 8px 0 0;
    box-shadow: var(--shadow-sm);
}

#logotipo {
    height: 50px;
    margin-top: 10px;
    display: inline-block;
}

#menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content {
    padding: 10px 0;
}


/* O rodapé  */

.footer {
    padding: 10px 0;
    background: var(--btn-primary);
    text-align: right;
    color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow-sm);
}

.fltrt {
    float: right;
    margin-left: 8px;
}

.fltlft {
    margin-right: 8px;
}

.clearfloat {
    clear: both;
    height: 0;
    font-size: 1px;
    line-height: 0px;
}


/*CONTATO*/

.form {
    display: flex;
    justify-content: center;
}

.contato {
    width: 100%;
    max-width: 500px;
}

.field {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-header);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.field:focus {
    outline: none;
    border-color: var(--highlight);
    box-shadow: 0 0 0 3px rgba(126, 87, 194, 0.1);
}

textarea .field {
    height: 150px;
}

.formface {
    display: flex;
    align-items: center;
    justify-content: center;
}

.formbox input {
    width: 100%;
}

.formbox textarea {
    width: 100%;
}

.textLogo {
    color: white;
    text-decoration: solid;
}

#TextLogo {
    text-shadow: #333;
    background-color: black;
}

#consultabiblioteca {
    align-items: center;
    align-content: center;
    text-align: center;
}