* { box-sizing: border-box; } html{ font-size: 16px; } body { background-image: url("../img/hero-bg.jpg"); color: #313131; line-height: 1.6; font-family: monospace, "Open Sans", sans-serif; padding: 1em; } .container { max-width: 1170px; margin-left: auto; margin-right: auto; padding: 1em; } ul { list-style: none; padding: 0; } .brand { text-align: center; width: 250px; margin: 0 auto 0 auto; color:#fff; } .brand span { font-family: "Open Sans", sans-serif; color: #fff; letter-spacing: 3px; line-height: 1.5; word-wrap: break-word; display: inline-block; width: 180px; font-size: 1.5em; font-weight: 500; text-align: center; } .wrapper { box-shadow: 0 0 20px 0 rgba(72, 94, 116, 0.7); } .wrapper>* { padding: 1em; } .company-info { font-family: monospace, "Open Sans", sans-serif; background: #92bde7; color: #f7f7f7; } .company-info h3, .company-info ul { text-align: center; margin: 0 0 1em 0; } .contact { background-image: url("../img/grey.png"); } .contact-success { background-image: url("../img/grey.png"); padding: 1em; } /* FORM STYLES */ .contact form, { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 20px; } .contact form label { display: block; } .contact form p { margin: 0; } .contact form .full { grid-column: 1 / 3; } .contact form button, .contact form input { width: 100%; padding: 1em; border: 1px solid #c9e6ff; font-family: monospace, "Open Sans", sans-serif; } .contact form button { background: #c9e6ff; border: 0; text-transform: uppercase; } .contact form button:hover, .contact form button:focus { background: #92bde7; color: #fff; outline: 0; transition: background-color 2s ease-out; } .error_message { color: red; font-style: italic; } /* LARGE SCREENS */ @media(min-width:960px) { .wrapper { display: grid; grid-template-columns: 1fr 2fr; } .wrapper>* { padding: 2em; } .company-info h3, .company-info ul, .brand { text-align: left; } } /** * The CSS shown here will not be introduced in the Quickstart guide, but shows * how you can use CSS to style your Element's container. */ .StripeElement { background-color: white; height: 40px; padding: 10px 12px; border-radius: 4px; border: 1px solid transparent; box-shadow: 0 1px 3px 0 #e6ebf1; -webkit-transition: box-shadow 150ms ease; transition: box-shadow 150ms ease; grid-column: 1 / 3; } .StripeElement--focus { box-shadow: 0 1px 3px 0 #cfd7df; } .StripeElement--invalid { border-color: #fa755a; } .StripeElement--webkit-autofill { background-color: #fefde5 !important; }