@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Gerais */
:root {
    --color01: #A52203;
    --color02: #F27405;
    --color03: #0D0D0D;
    --color04: #F2D022;
    --color05: #F29F05;

    --font-default: "Noto Sans";
}

body {
    margin: 0px;
    font-family: var(--font-default);
    background: linear-gradient(to bottom, var(--color05), var(--color02));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Topo da Página */
.title
{
    font-weight: 750;
    text-shadow: -2px 2px 0px black;
}

header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    margin: 0px;
    background-color: var(--color01);
    box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 1);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top img:first-child {
    justify-self: end;
}

.header-top p {
    justify-self: center;
    text-align: center;
}

.header-top img:last-child {
    justify-self: start;
}

header p {
    margin: 0px;
    color: white;
    font-size: 2.5em;
    font-weight: 600;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

nav a {
    text-shadow: -1.5px 1.5px 0px black;
    color: var(--color04);
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 550;
    padding: 5px 10px;
}

nav a:hover
{
    border-radius: 10px;
    color: var(--color05);
    background-color: var(--color03);
}

.logo {
    width: 80px;
    height: auto;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Corpo da Página */
main {
    color: black;
    text-align: center;
    flex: 1;
    font-size: 1.1em;
    padding: 25px;
    margin: 0 auto;
    max-width: 1000px;
    background-color: white;
    box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 1);
}

main h1
{
    display: flex;
    justify-content: center;
    font-weight: 800;
}

.link-a
{
    font-weight: 800;
    color: rgb(0, 160, 0);
    text-decoration: none;
}

.link-a:hover
{
    color: rgb(0, 255, 0);
    text-decoration: underline;
}

/* Rodapé */
footer {
    color: white;
    text-align: center;
    font-size: 0.55em;
    padding: 20px 10px 10px 10px;
    background-color: var(--color03);
    box-shadow: 0px 0px 0px 3px rgba(0, 0, 0, 1);
}

.footer-links {
    display: flex;
    font-size: 1.5em;
    justify-content: center;
    gap: 15px;
    margin: 10px;
}

.footer-links a {
    text-decoration: none;
    color: white;
}

.footer-links a:hover {
    color: var(--color05);
    cursor: pointer;
}

footer div {
    font-size: 1.9em;
    font-weight: 600;
}

/* Responsividade */
@media (max-width: 668px) {
    .header-top {
        gap: 10px;
    }

    .logo {
        width: 50px;
    }

    header p {
        font-size: 1.8em;
    }

    nav {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    nav a {
        font-size: 1.2em;
        padding: 8px 15px;
    }
}

/* Principal v1_2 */
* {
    box-sizing: border-box;
}

main {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

#searchInput {
    width: 100%;
    box-sizing: border-box;
}

.grid, .card {
    max-width: 100%;
}

/* BOTÃO VOLTAR AO TOPO */
#btnTopo {
    position: fixed;
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: var(--color01);
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.25s;
    z-index: 9999;
}

#btnTopo.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#btnTopo:hover {
    background: var(--color02);
    transform: translateY(-2px);
}