/* Estilo geral da página*/
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
    background-color: #0d1117;
    color: #f0f6fc;
    padding: 20px;
    max-width: 900px;
    margin: auto;
    transition: background-color 0.4s, color 0.4s;
}

/*Título principal*/
h1 {
    color: #1557a1;
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5em;
    display: flex;
    justify-content: center;
}

/* Informações Pessoais */
.info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
    color: #c9d1d9;
}

/* Cartões de conteúdo (cada seção) */
.card {
    background-color: #161b22;
    border: 1px solid #30363d;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.4s;
}

/* Animação ao passar o mouse no card */
.card:hover {
    transform: scale(1.02);
}

/* Títulos das seções */
 h2 {
    color: #58a6ff;
    margin-bottom: 10px;
 }

 /* Lista */
 ul {
    padding-left: 20px;
 }

 /* Botão de impressão */
 .print-button {
    text-align: center;
    margin-top: 30px;
 }

 .print-button {
    padding: 10px 20px;
    background-color: #238636;
     color: white;
     border: none;
     border-radius: 8px;
     font-size: 1em;
     cursor: pointer;
     transition: background-color 0.3s;
 }

 .print-button button:hover {
    background-color: #2ea043;
 }

 /*Alternador de Tema (Checkbox escondido) */
 #theme-toggle {
    display: none;
 }

 /* Estilo visual do botão de tema */
 /theme-label {
    display: block;
    text-align: right;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 1em;
    color: #58a6ff;
    user-select: none;
 }
 /*Modo Claro (Quando o checkbox estiver marcado) */
 #theme-toggle:checked ~ header,
 #theme-toggle:checked ~ main,
 #theme-toggle:checked ~ .print-button {
    background-color: #f4f4f4;
    color: #111;
 }

 body:has(#theme-toggle:checked) {
    background-color: #ffffff;
    color: #111;
 }

 body:has(#theme-toggle:checked) .card {
    background-color: #ffffff;
    color:#111;
    border-color: #cccccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
 }

 #theme-toggle:checked ~ .theme-label {
    color: #111;
 }

 /*Responsivo (MOBILE) */
 @media (max-width: 600px) {
    body {
        padding: 10px;
    }
    h1 {
        font-size: 2em;
    }
    .card {
        padding: 15px;    
    }
    .print-button button {
        width: 100%;
    }
 }