.hero{
    text-align: center;
}

.hero h2{
    margin-top: 0;
}


.alphabet {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.alphabet a {
    padding: 6px 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.alphabet a:hover {
    background: #333;
}

/*.............kategorie..............*/
.categories-buttons {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.categories-buttons a {
    display: flex;
    justify-content: space-around;
    align-items: center;
    
    padding: 5px 3px;
    background: #111;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-size: 13px;
    transition: 0.2s;
}

.categories-buttons a img{
    width: 20px;
    height: 20px;
}

.categories-buttons a:hover {
    background: #6c5ce7;
    transform: translateY(-2px);
}

@media (max-width: 1000px) {
    .categories-buttons {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 650px) {
    .categories-buttons a {
        display: flex;
        justify-content: center;
        flex-direction: column;
        font-size: 11px;
    }
}

/*.............LINKI..............*/
.see-also a,
.hasla-list a {
    transition: .2s;
}
.see-also a:visited,
.hasla-list a:visited {
    color: #1187c1;
}
.see-also a:hover,
.hasla-list a:hover {
    color: #ffb100;
}
#allPasswords{
    color: #dddddd;
}
/*...........LISTA HASEŁ...........*/
.hasla-list{
 
}

/*.........LISTA ARTYKUŁÓW.........*/
.h2-articles{
    font-size: 15px;
    margin-top: 30px;
    margin-bottom: -10px;;
}


/*.............LEGENDA.............*/
.legend {
    margin: 15px 0;
    font-size: 14px;
    opacity: 0.8;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.dot.visited {
    background: #1187c1;
}

.dot.new {
    background: #ff8f00;
    margin-left: 30px;
}
/*...........PAGINACJA...........*/
.pagination{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:30px;
    justify-content:center;
}

.pagination a,
.pagination strong{
    padding:8px 12px;
    background:#111;
    color:#fff;
    text-decoration:none;
    border-radius:4px;
    font-size:14px;
    transition:0.2s;
}

.pagination a:hover{
    background:#333;
}

.pagination strong{
    background:#ff8f00;
    color:#fff;
}

@media (max-width: 807px) {
    .alphabet {
        gap: 5px;
    }

    .alphabet a {
        padding: 4px 8px;
    }
}
