@use "../abstracts/" as *; .messenger-form { @include standard-grid; gap: 2rem; width: 50%; // container for each label & input div { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; gap: 1rem; // div container with textarea input spans entire column, pushes button to next row &.text-area { grid-column: 1 / 3; } } label { font-weight: bold; } input, textarea { background-color: $text-main; border: none; border-radius: 10px; padding: 0.5rem; width: 100%; &:focus { color: $text-main; background-color: $bg-text-container; outline: 3px solid $text-special-dark; } } } // larger tablet to smaller laptop screen size @media screen and (max-width: 1380px) { .messenger-form { width: 100%; } } // mobile to smaller tablet screen sizes @media screen and (max-width: 820px) { .messenger-form { @include flex-column-center; width: 100%; & div { width: 100%; } } }