/* @import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap'); */ $bg: #f2f2f2; $white: #fff; $black: #333; $gray: #999; $green: #00b3aa; $border: 1px solid #e6e6e6; body { /* height: 100vh; */ /* display: flex; */ /* justify-content: center; */ /* align-items: flex-start; */ /* background: $bg; */ } * { /* padding: 0; */ /* margin: 0; */ /* box-sizing: border-box; */ /* outline: none; */ /* font-family: 'Poppins', sans-serif; */ } .contact.content { max-width: unset; } .contact-form { * { padding: 0; margin: 0; box-sizing: border-box; outline: none; font-family: 'Poppins', sans-serif; } width: 80vw; display: flex; justify-content: space-between; background: var(--primary-color); padding-top: 10px; margin: 50px 0; &>* { width: 50%; } .first-container { background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("https://colorlib.com/etc/cf/ContactFrom_v17/images/bg-01.jpg") center center / cover no-repeat; display: flex; justify-content: center; align-items: center; .info-container { div { margin: 24px 0; h3 { color: $white; font: { size: 18px; weight: 400; } line-height: 1.2; padding-bottom: 10px; } &:first-of-type p { max-width: 260px; color: $gray; } p { font-size: 16px; line-height: 1.6; color: $green; } } } } .second-container { padding: 30px; background: var(--toc-background-color); h2 { font: { size: 30px; weight: 400; } line-height: 1.2; text-align: center; margin-bottom: 20px; } form { display: flex; flex-direction: column; .form-group { margin-bottom: 10px; * { min-height: 55px; border: $border; padding: 0 20px; } label { display: flex; align-items: center; width: 100%; border: $border; font-size: 16px; /* color: $black; */ text-transform: uppercase; margin-top: -1px; } &:first-of-type input { /* width: 50.0%; */ /* margin-right: -1px; */ } input { width: 100%; font-size: 15px; margin-top: -2px; } input::placeholder, textarea::placeholder { color: $gray; } textarea { width: 100%; min-height: 80px; resize: none; padding: 10px 20px; margin-top: -1px; } } button { width: 200px; height: 50px; background: $green; color: $white; font: { size: 17px; weight: 600; } text-transform: uppercase; border: 0; position: relative; left: calc(50% - 100px); cursor: pointer; &:hover { background: $black; } } } } } @media screen and (max-width: 800px) { .contact-form { width: 90vw; } } @media screen and (max-width: 700px) { .contact-form { flex-direction: column-reverse; &>* { width: 100%; } .first-container { padding: 40px 0; } } }