.links { a:first-child { font-weight: bold; } &:hover { a:first-child { text-decoration: none; } } } .links_wrapper { display: flex; flex-direction: column; .links { display: flex; flex-direction: column; margin-bottom: 2em; &:hover { .p { text-decoration: underline; } .s, .t { text-decoration: none; } } } }