@tailwind base;
@tailwind components;
@tailwind utilities;

.main-nav {
    @apply items-center gap-2;
}

.main-nav a {
    position: relative;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563; /* сірий */
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #2563eb; /* синій */
    transition: width 0.2s ease;
}

.main-nav a:hover {
    color: #2563eb; /* синій при наведенні */
}

.main-nav a:hover::after {
    width: 100%;
}