@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ocupa toda a altura da tela */
    background: #222;
}

.nav-links {
    display: flex;
    flex-direction: column; /* Coloca uma palavra abaixo da outra */
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    position: relative;
    display: inline-block;
    font-size: 5rem; /* Tamanho das palavras grandes */
    font-weight: 900;
    text-decoration: none;
    color: transparent; /* Esconde o texto original */
    -webkit-text-stroke: 1px #fff; /* Cria o contorno branco */
    text-transform: uppercase;
    line-height: 1.2em;
    transition: 0.5s;
}

/* Efeito Hover usando o atributo data-text */
.nav-links li a::before {
    content: attr(data-text); /* Pega o texto do HTML */
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: #00d2ff; /* Cor que vai preencher */
    -webkit-text-stroke: 1px #00d2ff;
    border-right: 4px solid #00d2ff;
    overflow: hidden;
    transition: 0.5s;
}

.nav-links li a:hover::before {
    width: 100%; /* Faz a cor preencher a palavra ao passar o mouse */
    filter: drop-shadow(0 0 25px #00d2ff);
}

/* Ajuste para telas pequenas */
@media (max-width: 768px) {
    .nav-links li a {
        font-size: 3rem;
    }
}
