* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

header {
    background: url("imagens/banner.png") center/cover no-repeat;
    height: 240px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.logo {
    position: absolute;
    top: 20px;
    left: 30px;
    height: 70px;
    z-index: 2;
}

header h1 {
    position: relative;
    color: white;
    font-size: 2.8rem;
    z-index: 2;
    text-align: center;
}

nav {
    position: absolute;
    top: 25px;
    right: 40px;
    z-index: 2;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    transition: 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.25);
}

main {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 2rem;
}

main h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2a5298;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.active-link {
    background: rgba(255, 255, 255, 0.3);
}

header.shrink {
    height: 180px;
    transition: 0.3s ease;
}

footer {
    background-color: #1e1e1e;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer a {
    color: #4ea8ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.settings-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.settings-option label {
    font-size: 1.1rem;
    font-weight: 500;
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
}