* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'akira';
    src: url(../assets/fonts/akira.otf) format('truetype');
    font-display: swap;
}

html,
body {
    width: 100%;
    height: 100vh;
    font-family: akira;
}

.container-section {
    width: inherit;
    height: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tabs {
    background-color: black;
    color: wheat;
    width: 100%;
    height: 2rem;
    position: fixed;
    bottom: 0;
    left: 0; /* Asegura que se alinee correctamente */
    display: -moz-box; /* Compatibilidad con navegadores antiguos */
    display: -webkit-box;
    display: flex;
    flex-flow: row nowrap;
}

.tabSection {
    flex: 1;
    cursor: pointer;
    display: -moz-box; /* Compatibilidad con navegadores antiguos */
    display: -webkit-box; /* Compatibilidad con navegadores antiguos */
    display: flex; /* Comportamiento estándar */
    justify-content: center;
    align-items: center;
    position: relative;
}

.tabSection.active {
    color: #FFD700;
    font-weight: bold;
}

/* Línea animada */
.tabSection.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #FFD700;
    border-radius: 5px;
    box-sizing: border-box;
    animation: borderAnimation 2s linear infinite;
}

/* Animación para la línea que recorre el contorno */
@keyframes borderAnimation {
    0% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
    25% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    }
    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 100%);
    }
    75% {
        clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    }
    100% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
}

.container-home {
    width: 90%;
    height: 80vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.up {
    width: 100%;
    height: 10vh;
    display: flex;
    flex-direction: column; /* Cambiado para apilar elementos verticalmente */
    justify-content: center;
    align-items: center;
    position: relative; /* Añadido para posicionamiento relativo */
}

#verb {
    width: 50%;
}

#suggestions {
    position: absolute; /* Para posicionar relativo al padre */
    top: 100%; /* Justo debajo del input */
    /*left: 0;  Alinear al borde izquierdo del input */
    width: 50%; /* Ajustar al ancho del input */
    background-color: white; /* Fondo blanco para que las sugerencias sean visibles */
    /*border: 1px solid #ccc;  Bordes para separarlas visualmente */
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);  Sombra para un efecto flotante */
    z-index: 10; /* Asegura que esté sobre otros elementos */
    max-height: 200px; /* Tamaño máximo */
    overflow-y: auto; /* Scroll si hay muchas sugerencias */
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}


.down {
    width: 100%;
    height: 100%;
}

#home-icon {
    width: 0.8rem;
    height: auto;
    margin-right: 2%;
}
