/* Importando fontes */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;700&family=Ubuntu:wght@400;700&display=swap');

/* Cabeçalho fixo no topo */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #f0f0f0;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#header img {
    width: 75px; /* Novo tamanho da imagem */
    height: 75px; /* Novo tamanho da imagem */
    margin-right: 10px;
}

#header h1 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 700;
    color: #333;
    margin: 0;
}

/* Ajuste para rolagem do portal */
#portal {
    margin-top: 80px; /* Espaço para o cabeçalho fixo */
    padding-bottom: 60px; /* Espaço para o rodapé fixo */
    width: 80%;
    max-width: 800px;
    height: calc(100vh - 140px); /* Altura da viewport menos cabeçalho e rodapé */
    overflow-y: auto; /* Permite rolar o conteúdo dentro do portal */
    scrollbar-width: thin; /* Deixa a barra de rolagem fina no Firefox */
    scrollbar-color: transparent transparent; /* Torna a barra de rolagem invisível no Firefox */
}

/* Estilos básicos do corpo */
body {
    font-family: "Ubuntu", sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    margin: 0;
    background-color: #e0e0e0;
    overflow: hidden; /* Oculta a barra de rolagem principal */
}

/* Estilo da lista de links com imagem e descrição */
.links ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.links li {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.links li:hover {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.links img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.link-info h2 {
    font-family: "Josefin Sans", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px;
}

.link-info p {
    font-family: "Ubuntu", sans-serif;
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Estilo do footer */
footer {
    font-family: "Ubuntu", sans-serif;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f0f0f0;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0px -1px 5px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #ddd;
    z-index: 1000;
}

/* Estilo responsivo para telas menores */
@media (max-width: 768px) {
    #portal {
        width: 90%;
        margin-top: 60px;
    }

    .links li {
        flex-direction: column;
        align-items: flex-start;
    }

    .links img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

    .link-info h2 {
        font-size: 18px;
    }

    .link-info p {
        font-size: 14px;
    }

    #header {
        flex-direction: column;
        padding: 5px;
    }

    #header img {
        margin-right: 0;
        margin-bottom: 5px;
        height: 30px;
        width: 30px;
    }
}
