:root {
    --cor-fundo: #e5c5c3;
    --cor-destaque: #c88d8a;
    --cor-principal: #532222;
    --cor-secundaria: #6a3635;
    --cor-escura: #3e0f11;
}

* {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: var(--cor-escura);
    color: var(--cor-destaque);
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: var(--cor-fundo);
    padding: 15px;
    background: #350d0f;
    height: 70px;
}

nav {
    padding: 30px;
    background: #350d0f;
}

nav a {
    color: var(--cor-destaque);
    text-decoration: none;

}

nav a:hover {
    background: var(--cor-destaque);
    padding: 4px;
    color: var(--cor-escura);
    transition: 0.3s;
    
}

.navAtiva { 
    color: var(--cor-fundo); 
}

.links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    font-weight: bolder;
}

.conteudo-principal {
    max-width: 1100px;
    margin: 10px auto;
    padding: 20px;
    text-align: justify;
    background-color: var(--cor-escura);
}

.conteudo-principal a {
    text-decoration: none;
    color: var(--cor-fundo);
}

.conteudo-principal h2 {
    color: var(--cor-fundo);
    animation: cores 10s infinite;
}

#topo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 52px;
    background: var(--cor-principal);
    color: var(--cor-fundo);
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

#topo:hover {
    background: var(--cor-secundaria);
    color: var(--cor-escura);
    transition: 0.4s;
}

.titulo {
    position: relative;
    display: inline-block;
}

.titulo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--cor-fundo);
    animation: linha 10s infinite;
}

.estrela {
    width: 35px;
    height: 35px;
    animation: girar 2s linear infinite;
    transform-origin: center;
    flex-shrink: 0;
}
    
footer {
    text-align: center;
    padding: 10px;
    margin-top: 10px;
    background: #350d0f;
    color: var(--cor-destaque);
}



