h5 { font-size: 18px; line-height: 1.5em; margin-bottom: 2em; } #usersGrid a { display: inline-block; background-color: #f9f9f9; } #isvContainer, #servContainer { position: relative; width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; } #isvContainer { margin-bottom: 80px; } .partner-box { position: relative; width: 47%; max-width: 48%; min-width: 48%; margin-bottom: 20px; padding: 20px; flex: 1; display: flex; justify-content: space-between; align-items: flex-start; } .partner-box img { background-color: #f9f9f9; } .partner-box > div { margin-left: 30px; } .partner-box a { color: #3576E3; } @media screen and (max-width: 1024px) { .partner-box { flex-direction: column; justify-content: flex-start; } .partner-box > div { margin: 20px 0 0; } } @media screen and (max-width: 568px) { #isvContainer, #servContainer { justify-content: center; } .partner-box { flex-direction: column; justify-content: flex-start; width: 100%; max-width: 100%; min-width: 100%; } .partner-box > div { margin: 20px 0 0; } } @media screen and (max-width: 568px) { #isvContainer, #servContainer { justify-content: center; } .partner-box { flex-direction: column; justify-content: flex-start; width: 100%; max-width: 100%; min-width: 100%; } .partner-box > div { margin: 20px 0 0; } }