/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Estilos gerais */
body {
    background-color: #40ea02;
    color: #333;
    line-height: 1.6;
    text-align: center;
    background-image:url(imagemwallpaper-3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Cabeçalho */
header {
    background: #222;
    color: white;
    padding: 15px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1 {
    margin-left: 20px;
    opacity: 0; /* Começa invisível */
    transform: scale(0.8); /* Começa um pouco menor */
    animation: fadeIn 2s forwards; /* Animação de fade-in */
    text-align: center;
}

/* Animação de fade-in com leve escalonamento */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8); /* Inicia um pouco menor */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* Tamanho normal ao final */
    }
}

/* Botão do menu (três traços) */
#menu-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    margin-right: 20px;
}

/* Navbar */
nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #222;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
}

nav ul li {
    margin: 5px 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    background: #444;
    border-radius: 5px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #666;
}

/* Mostrar menu quando ativo */
nav.show {
    display: block;
}

/* Conteúdo */
main {
    margin-top: 80px;
    padding: 20px;
}

section {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}