/* Estilo simples para a estrutura básica */
html, body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);

    background: radial-gradient(circle at top, #0b173b, #000) no-repeat fixed;
    background-size: cover;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    background: radial-gradient(circle at top, #0b173b, #000);
}

main {
    flex: 1;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
header h1 {
    font-size: 1.4rem;
    margin: 0;
    color: #e9f3ff;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    padding: 0.4rem 0.7rem;
       border-radius: 0.35rem;
    transition: background 0.2s ease, color 0.2s ease;
}

nav a.active {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

h2 {
    color: #e5f3ff;
}

p {
    color: rgba(255, 255, 255, 0.85);
}

footer {
    padding: 0.5rem 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    border-top: 2px solid rgba (255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.4);
    position: sticky;
    bottom: 0;
    width: 100%;
    z-index: 2000;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.25rem 0.6rem;
    border-radius: 0.35rem;
    transition: all 0.2s ease;
}

footer a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 4px 12px rgba(222, 130, 245, 0.25);
}

@media (max-width: 560px) {
    header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    nav {
        flex-wrap: wrap;
    }

    nav a {
        flex: 1 1 auto;
        text-align: center;
    }
}
.caelum-lab {
    color: rgba(222, 130, 245, 0.85);
    font-weight: bold;
}
.yt {
    color: rgba(222, 130, 245, 0.85);
    font-weight: bold;
}
.lista_links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}
.canal-card {
    display: flex;
    align-items: center;
    gap: 16px;

    background: rgba(255, 255, 255, 0.05);
    padding: 16px;

    border-radius: 10px;
}

.canal-pfp {
    width: 70px;
    height: 70px;

    border-radius: 50%;
}

.canal-info h3 {
    margin: 0;
}
.canal-botao {
    display: inline-block;

    margin-top: 6px;
    padding: 6px 12px;

    background: #ff0000;
    color: white;

    text-decoration: none;
    border-radius: 6px;
}

.canal-botao:hover {
    background: #cc0000;
}

/* Animação de entrada suave */
main.animate {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito no hover das abas */
nav a {
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(222, 130, 245, 0.3);
}

/* Seções de Física */
.secao-fisica {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid rgba(222, 130, 245, 0.6);
    border-radius: 8px;
}

.secao-fisica h3 {
    margin-top: 0;
    color: #e5f3ff;
    font-size: 1.3rem;
}

.subsecao {
    margin: 1.5rem 0;
}

.subsecao h4 {
    color: rgba(222, 130, 245, 0.9);
    margin-bottom: 0.8rem;
}

.subsecao ul {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 1.5rem;
}

.subsecao p {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: rgba(222, 130, 245, 0.95);
}

/* Estilo da barra de rolagem */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(222, 130, 245, 0.6);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(222, 130, 245, 0.9);
}

/* Para Firefox */
* {
    scrollbar-color: rgba(222, 130, 245, 0.6) rgba(0, 0, 0, 0.3);
    scrollbar-width: thin;
}
.explicacao {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: rgba(235, 235, 235, 0.95);
}
.verde {
    color: rgb(100, 250, 3);
    font-weight: bold;
}
.vermelho {
    color: rgb(255, 0, 0);
    font-weight: bold;
}
.azul {
    color: rgb(34, 113, 216);
    font-weight: bold;
}
.branco {
    color: rgb(255, 255, 255);
    font-weight: bold;
}
.cc {
    color : rgb(225, 244, 255);
    
    text-decoration: none;
    font-style: italic;
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
}

.cc:hover {
    color: rgb(168, 223, 255);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(222, 130, 245, 0.3);
}

.caelum {
    color: rgb(128, 230, 255);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}