.contact { padding: 3rem 8.5rem 3rem 1rem; .success { padding: 2rem 0; } form { display: grid; grid-row-gap: 1.25rem; grid-column-gap: 1rem; grid-template-columns: 1fr 1fr; margin: 2rem 0; .group { width: 100%; position: relative; } label { display: block; color: $f-color; font-size: .825rem; font-weight: 600; margin: 0 .25rem .5rem .25rem; text-transform: uppercase; span { color: $error; margin: 0 0 0 .25rem; } } textarea, select, input { position: relative; width: 100%; height: 2.5rem; color: $f-color; background: $b-color; font-family: $p-font; font-size: .925rem; font-weight: 400; padding: 0 1rem; border: .1rem solid $btn-color; border-radius: .375rem; outline: none; &:focus { border-color: $s-color; } &::placeholder { font-family: $p-font; font-size: .925rem; opacity: .4; } } select { background: url("data:image/svg+xml,") no-repeat; background-position: calc(100% - 0.75rem) center; background-color: $b-color; appearance: none; padding-right: 2rem; } textarea { min-height: 6rem; font-family: $p-font; padding: 1rem; resize: vertical; } .message { grid-column: 1/3; } button { height: 2.5rem; width: max-content; white-space: nowrap; align-items: center; vertical-align: middle; color: $w-color; background: $btn-color; font-family: $p-font; font-size: 0.925rem; font-weight: 600; padding: .5rem 1.5rem; border: none; border-radius: .375rem; &:hover { background: $btnh-color; text-decoration: none; cursor: pointer; } } } } @media only screen and (max-width: 600px) { .contact { padding: 3rem 2rem; } }