#block-colloque2024-submenu { margin: 1rem auto; ul { display: flex; flex-wrap: wrap; padding: 0; margin: 0 -1rem; li { padding: 1rem; width: 100%; text-align: center; @media screen and (min-width: 576px) { width: auto !important; } a { display: block; padding: 0.5rem 1rem; border: 1px solid $color2024; color: $color2024; background: white; transition: color 0.3s ease, background 0.3s ease; font-size: 2rem; font-family: "Marianne"; letter-spacing: 0.05rem; text-transform: uppercase; @media screen and (min-width: 768px) { // padding: 1rem 1rem; font-size: 2.5rem; } &:hover { text-decoration: none; color: white; background: $color2024; transition: all 0.3s ease; } } } } }