.page-team { &.ng-leave { animation: slideOutLeft 0.3s both ease-in; } &.ng-enter { animation: slideInRight 0.3s both ease-in; } } .team-block { background-color: white; width: 100%; padding-top: 3em; .team-member { width: 80%; margin: 0 auto 3em; display: flex; justify-content: center; flex-wrap: wrap; } .team-member__picture { width: 20%; max-width: 15em; min-width: 12em; margin: 0 1em; } .team-member__picture img { width: 100%; } .team-member__info { width: 60%; margin: 0 1em; h3 { font-weight: 200; span { font-weight: 600; } } } }