/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corpo da página */
body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #f0f0ea;
    color: #333;
    width: 100vw;
    min-height: 100vh;
    line-height: 1.6;
    padding-bottom: 50px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Links */
a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease-in-out, transform 0.3s;
    animation: pulse 4s infinite;
}

a:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #057c7c;
    padding: 15px 50px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    height: 22vh;
    animation: slideDown 1s ease-out;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: zoomIn 1.5s ease-in-out;
}
/* Estilização da seção de menu */
.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    font-size: 18px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.menu a:hover {
    transform: scale(1.1); /* “Infla” o link */
    color: #f0f0ea; /* Cor opcional ao passar o mouse */
}

.menu a {
    font-size: 18px; /* Tamanho confortável de leitura */
    font-weight: 500; /* Peso para destacar sem exagero */
    letter-spacing: 1px; /* Espaçamento entre letras */
    text-transform: uppercase; /* Deixa o menu todo em caixa alta */
    color: #ffffff;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
}

.menu a:hover {
    color: #ffe;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Títulos */
h1 {
    color: red;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    margin: 20px 0;
    animation: fadeInUp 1s ease-out;
}

h2 {
    font-weight: 600;
    color: #444;
    margin: 15px 0;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

/* Texto */
p {
    font-size: 16px;
    color: #555;
    text-align: justify;
    margin-bottom: 15px;
    padding: 0 20px;
    animation: fadeInUp 1.4s ease-out;
}

/* Lista */
ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

li {
    font-size: 18px;
    color: red;
    margin-bottom: 10px;
    font-weight: 500;
    animation: fadeInUp 1.6s ease-out;
}

/* Container para personagens */
.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    animation: slideInUp 1.5s ease-out;
}

/* Imagens */
img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px auto;
    transition: transform 0.5s ease;
    animation: float 5s ease-in-out infinite;
}

img:hover {
    transform: scale(1.08) rotate(1deg);
}
@keyframes inflate {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.menu a:hover {
    animation: inflate 0.6s ease-in-out;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

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

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        height: auto;
    }
    .container {
        width: 90%;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 20px;
    }

    p {
        font-size: 15px;
    }

    li {
        font-size: 16px;
    }
}