.welcomeContainer { width: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; padding: 0 2vw; h1 { color: white; background-color: #6f6f6f; padding: 0.5rem; border-radius: 10px; } p { font-size: 1.4rem; } } .treeContainerLayout { width: 100%; padding: 0 2vw; margin: 2vw 0; display: flex; justify-content: space-around; align-items: baseline; flex-wrap: wrap; .container { height: 300px; width: 20rem; display: flex; justify-content: center; align-items: center; flex-direction: column; text-align: center; } }