@import "../variables"; .page-school { &.ng-leave { transform-origin: 0% 0%; animation: rotateFall $short-duration both ease-in; } &.ng-enter { animation: scaleUp $short-duration both ease-in; } } .hudozka-title { padding: $double-margin 0; text-align: center; p { color: $light-color; margin-bottom: $single-margin; } h1 { margin-top: $single-margin; font-size: 2em; } } @media (max-width: $mobile-width) { .hudozka-title { text-align: center; h1 { font-size: 1em; } } }