* { margin: 0; width: 100%; } .discover__filters { display: none; transition: 2s; } .discover__filters-show { display: flex; height: 100%; max-width: 20rem; min-width: 20rem; transition: 2s; right: 0; background-color: white; z-index: 70; }