/* ====== NAVBAR FIXA ====== */
#homepage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(248, 209, 209);
    padding: 20px 0;
    z-index: 1000;
    overflow-x: auto;
}

#homepage ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    padding: 0 10px;
    flex-wrap: wrap;
}

#homepage li {
    margin: 0 50px;
    font-size: large;
}
@media (max-width: 991px) {
    #homepage li {
        margin: 0 20px;
        font-size: medium;
    }
}
@media (max-width: 767px) {
    #homepage li {
        margin: 0 5px;
        font-size: smaller;}
    #assunto h2{
        font-size: 7px;
    }
    .text {
        font-size: 15px;
    }
    }
#homepage a {
    text-decoration: none;
    color: rgb(63, 65, 65);
    font-style: italic;
    font-family: 'Lucida Sans', sans-serif;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

#homepage a:hover {
    color: rgb(180, 180, 180);
}

/* ====== PÁGINA INICIAL ====== */
#body_inicial {
    background-image: url('fundoSite.webp');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding-top: 70px;
    overflow: y; /* ⚠️ Provável erro de digitação. O correto seria: overflow-y: auto; */
}

/* Fundo desfocado da página inicial */
#body_inicial::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fundoSite.webp');
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    z-index: -1;
}

/* Conteúdo principal */
main {
    color: aliceblue;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    padding: 20px;
    animation: slideIn 2.5s ease-in-out;
}

/* Seção de conteúdo com fundo escuro transparente */
#assunto {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

#assunto h2 {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    animation: fadeIn 2.5s ease-in-out;
}

#assunto p {
    color: #ffffff;
    line-height: 1.5;
    font-size: 18px;
    text-align: center;
    animation: fadeIn 2.5s ease-in-out;
}

/* Botão padrão */
button {
    margin: 20px;
    border-radius: 10%;
    width: 70px;
    height: 40px;
    animation: slideIn 2.5s ease-in-out;
}

button:hover {
    color: black;
}

/* Estilo do select */
select {
    height: 35px;
    width: 100px;
    border-radius: 10%;
}

/* Estilo das opções do select */
option {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Texto em geral dentro de divs */
div {
    font-size: 18px;
    font-family: sans-serif;
    animation: fadeIn 2.5s ease-in-out;
    color: azure;
}

/* Título com fundo escuro */
.titulo {
    animation: slideIn 2.5s ease-in-out;
    max-width: 220px;
    margin: 20px;
    padding: 15px;
    background: rgba(73, 73, 73, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    color: azure;
}

/* Bloco de texto com fundo roxo escuro */
.text {
    padding: 20px;
    margin: 40px;
    max-width: 650px;
    background: rgba(51, 8, 49, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    color: azure;
    font-family: sans-serif;
    animation: fadeIn 2.5s ease-in-out;
}

/* Hover para link da aba */
#link_aba:hover {
    color: rgb(102, 102, 102);
}

#link_aba {
    color: azure;
}

/* Animação fadeIn */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação slideIn */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Página Sobre */
#body_sobre {
    background-image: url('fundoSite.webp');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding-top: 70px;
    overflow-x: hidden;
}

/* Página Projeto */
#body_projeto {
    background-image: url(fundoComputador.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding-top: 70px;
}

#body_projeto::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fundoComputador.png');
    background-size: cover;
    background-position: center;
}

/* Estilo do título na página projeto */
#title3 {
    background-color: rgba(70,70,70,0.6);
}

/* Texto explicativo dos projetos */
#textProjeto {
    padding: 10px;
    margin: 30px;
    max-width: 430px;
    background: rgba(70, 70, 70, 0.6);
    border-radius: 6px;
    backdrop-filter: blur(5px);
    color: azure;
    font-family: sans-serif;
    animation: fadeIn 2.5s ease-in-out;
}

/* Link estilizado */
.link {
    text-decoration: none;
    color: rgb(201, 191, 255);
    font-style: italic;
    font-family: 'Lucida Sans', sans-serif;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.link:hover {
    color: #969696;
}

/* Bloco de texto com link */
.text_link {
    padding: 10px;
    margin: 30px;
    max-width: 380px;
    background: rgba(94, 94, 94, 0.6);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    color: azure;
    font-family: sans-serif;
    animation: fadeIn 2.5s ease-in-out;
}

/* Título da seção de contato */
#title4 {
    background-color: rgba(70,70,70,0.6);
}

/* Página Contato */
#body_contato {
    background-image: url('fundoSite.webp');
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0;
    padding-top: 70px;
    overflow-x: hidden;
}

/* Bloco de texto da página de contato */
#textContato {
    padding: 10px;
    margin: 30px;
    max-width: 350px;
    background: rgba(70, 70, 70, 0.6);
    border-radius: 6px;
    backdrop-filter: blur(5px);
    color: azure;
    font-family: sans-serif;
    animation: fadeIn 2.5s ease-in-out;
    text-align: center;
}
p {
    font-size: 15px;
    font-family: sans-serif;
    animation: fadeIn 2.5s ease-in-out;
    color: azure;
}