#brand-page { display: flex; justify-content: center; flex-direction: row; flex-wrap: wrap; } .top-brands-name { width: 100%; display: flex; align-items: center; justify-content: center; } #brand-page .brand-bloc { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100px; } #brand-page a { color: var(--main-color); text-decoration: none !important; border-bottom: 1px dashed; } #brand-page a:hover { color: var(--secondary-color); } #brand-page p { display: flex; align-items: center; justify-content: center; border: 2px solid #666; border-radius: 50%; width: 30px; height: 30px; }