.search { display: flex; justify-content: center; align-items: center; flex-direction: row; padding: 1rem; flex-wrap: wrap; } .end { display: flex; justify-content: center; padding: 1rem; } .note-container { max-width: 45rem; background-color: var(--foreground-color); padding: 1.5rem 1.5rem 1rem; /* top, left-right, bottom*/ @media (max-width: 1000px) { padding: 1.5rem 1rem 1rem; } border-radius: 0.75rem; margin-top: 1rem; margin-right: 0.5rem; margin-left: 0.5rem; width: 100%; overflow: clip; } .wrapper { display: flex; flex-direction: column; width: 100%; align-items: center; }