@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
nav{
    background-color: #18929D;
    padding: 10px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav .logo a{
    text-decoration: none;
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}
nav ul{
    display: flex;
    align-items: center;
    list-style: none;
    padding: 10px;
}
nav li{
    margin-left: 7px;
}
nav li a{
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}
a{
    text-decoration: none;
}
nav li a:hover{
    background-color: white;
    color: black;
}

.logo a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 50px; /* Ajuste a altura conforme necessário */
    margin-right: 10px; /* Espaço entre a logo e o texto */
}

.banner{
    height: 100vh;
    background: linear-gradient( rgba(0,0,0,0.281), rgba(0,0,0,0.308)),url('fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.texto .titulo{
    color: #fff;
    font-size: 60px;
    font-weight: 600;
}
.texto .sub_titulo{
    color: #fff;
    font-size: 58px;
    font-weight: 600;
}
.texto .botoes{
    margin-top: 30px;    
}
.texto .botoes button{
    height: 55px;
    width: 170px;
    border-radius: 5px;
    border: 0;
    margin: 0 10px;
    font-size: 20px;
    font-weight: 500;
    padding: 0 10px;
    cursor: pointer;
    outline: none;
    transition: 0.3s;    
}

.texto .botoes button.n-overlay{
    color: white;
    background: none;
    border: 2px solid white;
}
.texto .botoes button.n-overlay:hover{
    color: black;
    background-color: white;
}
.texto .botoes button.overlay:hover{
    background-color: #18929D;
    color: rgb(255, 255, 255);
    animation: vibrar 0.5s ease-in-out infinite both;
}
.texto .botoes button.overlay a{
    
    color: black;
    
}

.texto .botoes button.overlay a:hover{
    
    color: white;
    
}
@keyframes vibrar {
    0%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.1);
    }
    100%{
        transform: scale(1);
    }
}

/* Animação para a logo */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.animate-logo {
    animation: bounce 2s infinite;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    .logo a {
        flex-direction: column;
        text-align: center;
    }

    .logo img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .titulo {
        font-size: 2em;
        text-align: center;
    }

    .sub_titulo {
        font-size: 1.2em;
    }

    .overlay {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 30px 10px;
    }

    .titulo {
        font-size: 1.5em;
    }

    .sub_titulo {
        font-size: 1em;
    }

    .overlay {
        padding: 8px 16px;
        font-size: 12px;
    }
}