/* Tipografia e cores */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

h1, h2, h3 {
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
    color: #ffcb05;
    text-shadow: 2px 2px #3b4cca;
}

p, li, code {
    font-family: 'Roboto', sans-serif;
    color: #222;
}

/* Cards da Home */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.card {
    flex: 1 1 200px;
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card a {
    display: inline-block;
    margin-top: 0.5rem;
    color: #3b4cca;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s;
}

.card a:hover {
    color: #ff1c1c;
}

/* Botão copiar código */
.md-typeset pre[class*="language-"] {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.md-typeset pre button {
    background: #3b4cca;
    color: #ffcb05;
    font-family: 'Press Start 2P', cursive;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 0 0 8px 8px;
    cursor: pointer;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    transition: background 0.2s;
}

.md-typeset pre button:hover {
    background: #ffcb05;
    color: #3b4cca;
}

/* Links gerais */

a:hover {
    color: #ffcb05;
    text-decoration: underline;
}

/* Footer Pokémon */
.pokemon-footer {
    background: #3b4cca;
    color: #ffcb05;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    border-top: 3px solid #ffcb05;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pokemon-footer .pokeball {
    width: 32px;
    height: 32px;
}

.pokemon-footer .socials a {
    margin-left: 0.5rem;
    color: #ffcb05;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.pokemon-footer .socials a:hover {
    transform: scale(1.2);
}

/* Table of Contents */
.md-nav--secondary {
    border-left: 2px solid #3b4cca;
}

.md-nav--secondary .md-nav__link {
    color: #3b4cca;
}

.md-nav--secondary .md-nav__link:hover {
    color: #ff1c1c;
}

/* Responsividade */
@media(max-width: 768px) {
    .cards {
        flex-direction: column;
    }
}


/* ===============================
   Footer Pokémon
   =============================== */
.pokemon-footer {
    background: #3b4cca;
    color: #ffcb05;
    text-align: center;
    padding: 1rem;
    margin-top: 3rem;
    border-top: 3px solid #ffcb05;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pokemon-footer .pokeball {
    width: 32px;
    height: 32px;
}


.pokemon-footer .socials a:hover {
    transform: scale(1.2);
}

/* ===============================
   Sidebar
   =============================== */


/* ===============================
   Table of Contents
   =============================== */
.md-nav--secondary {
    border-left: 2px solid #3b4cca;
}

.md-nav--secondary .md-nav__link {
    color: #3b4cca;
}

.md-nav--secondary .md-nav__link:hover {
    color: #ff1c1c;
}

/* ===============================
   Responsividade
   =============================== */
@media(max-width: 768px) {
    .cards {
        flex-direction: column;
    }
}
