@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.cdnfonts.com/css/bebas-neue');
@import url('https://fonts.cdnfonts.com/css/poppins');
body{
    margin: 0;
    color: #eee;
    font-family: Poppins;
    font-size: 12px;
}
a{
    text-decoration: none;
}
header{
    width: 1140px;
    max-width: 80%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}
.list .item .content .des {
    font-size: 16px;
    font-weight: bold;
    font-family:Poppins;
    color: white;
}
/* barra de navegacao */
header a{
    color: #eee;
    margin-right: 40px;
}
/* Navegação no Cabeçalho */
header nav {
    position: absolute;
    top: 0px;
    left: 50%; /* Posiciona a partir do meio */
    transform: translateX(-50%); /* Centraliza horizontalmente */
    display: flex;
    align-items: center;
    padding: 0; /* Remove o padding para evitar espaçamento extra */
    padding: 18px 20px; /* Ajuste o padding conforme necessário para aumentar o tamanho do fundo */
}

header nav a {
    letter-spacing: 1.8px;
    font-family: Poppins;
    margin-top: 5px;
    font-weight: bold;
    color: white;
    margin-right: 20px; /* Diminuído o espaço entre os links */
    font-size: 16px; /* Diminuído o tamanho da fonte */
    position: relative;
    transition: font-size 0.8s ease;
    font-family: 'Poppins';
}

/* Estilo dos Links de Navegação */
header nav a {
    position: relative; /* Certifique-se de que os links têm position: relative */
}

header nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 5px;
    background-color: #ff043a;
    transition: width 0.8s ease; /* Tempo de transição ajustado */
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

header nav a:hover::after {
    width: 100%; /* Preenche completamente ao passar o mouse */
}

header nav a:last-child {
    margin-right: 0; /* Remove a margem direita para o último botão */
}

.loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0; /* Comece com a largura zero */
    height: 5px;
    background-color: #ff043a;
    animation: fadeOut 1s ease-out forwards; /* Altere a duração conforme necessário */
}

@keyframes fadeOut {
    0% {
        width: 0; /* Comece com a largura zero */
        opacity: 1; /* Mantenha a opacidade completa */
    }
    100% {
        width: 100%; /* Termine com a largura total */
        opacity: 1; /* Mantenha a opacidade completa */
    }
}

/* Efeito da Barra sob o Link ao Passar o Mouse */
header nav a:hover::after {
    width: 100%;
}

header .menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.banner {
    text-align: center;
}

.banner h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4em;
    margin-bottom: 10px;
}

.banner p {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.banner .btn {
    background-color: #ff043a;
    color: white;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.banner .btn:hover {
    transform: scale(1.1);
}
/* banner inicial */
.hero-banner{
    height: 100vh;
    margin-top: -50px;
    width: 100vw;
    overflow: hidden;
    position: relative;
    background-color: #071b45;
}
.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(7, 27, 69, 0.96) 0%, rgba(7, 27, 69, 0.78) 38%, rgba(7, 27, 69, 0.08) 75%);
}
.hero-image {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% center;
}
.hero-content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 45%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
    z-index: 2;
}
.hero-content .author{
    font-weight: bold;
    letter-spacing: 4px;
    font-size: 14px;
}
.hero-content .title,
.hero-content .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.hero-content .des {
    max-width: 480px;
    font-size: 17px;
    line-height: 1.6;
}
.hero-content .topic{
    color: #ff043a;
    margin-top: -28px;
}
.hero-content .buttons{
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.hero-content .buttons a{
    font-size: 10px;
    border: none;
    background-color: #000066;
    letter-spacing: 3px;
    color: white;
    font-family: Poppins;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content .buttons a:nth-child(2){
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
    font-weight: bold;
}
.hero-content .buttons a:hover {
    background-color: #ff043a; /* Altere para a cor desejada ao passar o mouse */
    transform: translateY(-5px); /* Adiciona um efeito de elevação */
}

.hero-content .buttons a:active {
    background-color: #ff043a; /* Altere para a cor desejada ao clicar */
    transform: scale(0.80); /* Diminui um pouco o tamanho ao clicar */
}
/*info adicionais*/

/* mobile */
/* Mobile até 768px */
@media screen and (max-width: 768px) {
    header nav {
        margin-top: 5px;
        margin-left: auto; /* Define margem automática à esquerda */
        margin-right: auto; /* Define margem automática à direita */
        max-width: 100%; /* Define uma largura máxima para a barra de navegação */
        padding: 15px 20px; /* Adiciona preenchimento apenas nos lados esquerdo e direito */
    }

    header nav a {
        margin: 0 10px;
        font-size: 8.5px;
        white-space: nowrap; /* Impede a quebra de linha */
        text-align: center;
    }
    /* Adiciona a animação de mudança de cor ao clicar */
    header nav.mobile a:active {
        color: #e70303; /* Cor alterada ao clicar */
    }

    .hero-content .author {
        font-size: 9px;
        letter-spacing: 2px;
    }
    .hero-content .title {
        font-size: 24px;
    }
    .hero-content .topic {
        font-size: 28px;
        margin-top: 0.01px;
    }
    .hero-content .des {
        font-size: 13px;
        max-width: 320px;
    }
    .hero-content .buttons a {
        font-size: 10px;
    }
}

/* mobile-final */