@use "../abstracts" as *; .text-container { background-color: $bg-text-container; border-radius: $radius-text-container; box-shadow: 0 2rem 3.5rem rgba(#000, 0.6); padding: 3.5rem; transform: skewX(-12deg); width: 50%; // mobile to smaller laptop screen sizes @include responsive(laptop) { transform: skewX(0); width: auto; } @include responsive(phone) { padding: 1rem; } // spacing between paragraphs but not below the last paragraph & p:not(:last-child) { margin-bottom: 1.5rem; } } .text-about { animation: moveInRight 2s ease-out; backface-visibility: hidden; // mobile to smaller laptop screen sizes @include responsive(laptop) { animation: moveInRightMobile 2s ease-out; margin-top: 5rem; } }