Login
Dashboard
Saved Stitches
Stitch Catalog
Demo
All
E-Commerce
All
(4)
Collections
(3)
Featured Products
(0)
Hero
(0)
Pop Up Modals
(0)
Promotional CTA
(1)
Store Products
(0)
Buttons
All
(1)
Non Standard
(0)
Squared
(1)
Navigation
All
(2)
+ Dropdown
(1)
+ Top Bar
(0)
Double Dropdown
(0)
Standard
(1)
Top Bar + Dropdown
(0)
Hero Section
All
(7)
Centered
(2)
Grid
(0)
Landing + Services
(3)
Left Aligned
(1)
Right Aligned
(1)
Services
All
(16)
3 Card
(4)
4 Card
(4)
5 Card
(1)
6 Card
(2)
8 Card
(1)
Combo
(2)
Side By Side
(2)
Content Flair
All
(3)
Button Boxes
(1)
Content Groups
(1)
Lists
(1)
Quotes
(0)
Stats
(0)
Toppers
(0)
Side By Side
All
(34)
Non Standard
(1)
Reverse
(11)
Reverse Pair
(5)
Reverse Triplet
(3)
Standard
(14)
Gallery
All
(7)
4 Images
(1)
5 Images
(1)
6 Images
(1)
8 Images
(2)
Full Width
(0)
Mosaic
(0)
Multi Gallery
(1)
Simple
(1)
Meet Our Team
All
(5)
2 Card
(0)
3 Card
(1)
4 Card
(2)
5 Card
(1)
6 Card
(0)
7 Card
(0)
8 Card
(1)
Combo
(0)
Steps
All
(4)
3 Steps
(2)
4 Steps
(2)
5 Steps
(0)
Stats
All
(5)
2 Stats
(0)
3 Stats
(0)
4 Stats
(3)
Combos
(1)
Timeline
(1)
Pricing
All
(7)
2 Card
(0)
3 Card
(3)
Menu's
(2)
Price List
(0)
w/ Toggles
(2)
FAQ
All
(4)
Multi FAQ's
(0)
Side By Side
(2)
Standard
(2)
Why Choose Us
All
(11)
3 Card
(1)
4 Card
(1)
6 Card
(0)
Side By Side
(9)
Quotes
All
(0)
Single Quotes
(0)
MISC
All
(5)
Careers
(0)
Content
(0)
Locations
(1)
Logos
(1)
Maps
(0)
Popups
(0)
Tables
(1)
Video
(2)
Reviews
All
(14)
2 Card
(4)
3 Card
(3)
4 Card
(0)
8 Card
(0)
Full Width
(0)
Single Review
(7)
Forms & Contact
All
(8)
Contact Forms
(8)
Contact Info
(0)
Subscribe
(0)
Events
All
(3)
3 Card
(1)
4 Card
(0)
Side By Side
(2)
Blog
All
(3)
Recent Posts
(3)
Call To Action
All
(4)
Combos
(1)
Contained
(0)
Full Width
(2)
Subscribe Forms
(1)
Footer
All
(6)
2 Column
(0)
3 Column
(1)
4 Column
(2)
5 Column
(1)
Combo
(0)
Simple
(2)
Dark Mode
All
(1)
Standard
(1)
Interior Pages
All
(3)
About Page
(0)
Contact Page
(0)
Content Page
(1)
FAQ Page
(1)
Menus
(0)
Page Banners
(1)
Service Page
(0)
Contact Forms
HTML
CSS
Core Styles
Choose your preferred CSS
CSS
LESS
SCSS
CSS Dark
LESS Dark
SCSS Dark
Choose your preferred Core Styles CSS
CSS
LESS
SCSS
-
Dark Mode
+
Dark Mode
Copy
to Clipboard
<!-- ============================================ --> <!-- Contact --> <!-- ============================================ --> <section id="contact-984"> <div class="cs-container"> <picture class="cs-picture"> <!--Mobile Image--> <source media="(max-width: 600px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/friends.jpg"> <!--Tablet and above Image--> <source media="(min-width: 601px)" srcset="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/friends.jpg"> <img loading="lazy" decoding="async" src="https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/People/friends.jpg" alt="friends" width="904" height="754"> </picture> <div class="cs-right"> <div class="cs-content"> <span class="cs-topper">Contact Us</span> <h2 class="cs-title">Make Appointment</h2> </div> <!--Form--> <form class="cs-form" id="cs-form-587-984" name="Contact Form" method="post"> <label class="cs-label"> Name <input class="cs-input" required type="text" id="name-587-984" name="name" placeholder="Name"> </label> <label class="cs-label"> Phone <input class="cs-input" required type="text" id="phone-587-984" name="phone" placeholder="Phone"> </label> <label class="cs-label"> Email <input class="cs-input" required type="text" id="email-587-984" name="email" placeholder="Email"> </label> <label class="cs-label cs-message"> Message <textarea class="cs-input cs-textarea" required name="Message" id="message-587-984" placeholder="Write message..."></textarea> </label> <button class="cs-button-solid cs-submit" type="submit">Schedule Appointment</button> </form> </div> </div> </section>
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #contact-984 { position: relative; z-index: 1; } #contact-984 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 3rem; } #contact-984 .cs-content { /* set text aling to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #contact-984 .cs-title { margin: 0; } #contact-984 .cs-right { width: 100%; /* changes to 630px at desktop */ max-width: 36.5rem; /* moved section padding to the content so the picture can be full width */ padding: var(--sectionPadding); padding-top: 0; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; } #contact-984 .cs-form { width: 100%; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; flex-direction: column; gap: 0.75rem; } #contact-984 .cs-label { font-size: 1rem; width: 100%; color: var(--headerColor); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.5rem; } #contact-984 .cs-input { font-size: 1rem; width: 100%; height: 3.5rem; padding: 0; padding-left: 1.5rem; color: var(--headerColor); background-color: #f7f7f7; border: none; /* prevents padding from adding to height and width */ box-sizing: border-box; transition: border-color 0.3s; } #contact-984 .cs-input:hover { border-color: var(--secondary); } #contact-984 .cs-input:focus { outline: 1px solid var(--secondary); } #contact-984 .cs-input::placeholder { color: #767676; opacity: 0.8; } #contact-984 .cs-textarea { min-height: 7.5rem; padding-top: 1.5rem; margin-bottom: 1.75rem; font-family: inherit; } #contact-984 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 2rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #contact-984 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #contact-984 .cs-button-solid:hover:before { width: 100%; } #contact-984 .cs-submit { min-width: 13.375rem; border: none; border-radius: 0; } #contact-984 .cs-submit:hover { cursor: pointer; } #contact-984 .cs-picture { display: block; position: relative; width: 100%; /* 360px - 600px */ height: clamp(22.5rem, 100vw, 37.5rem); } #contact-984 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #contact-984 { padding: var(--sectionPadding); position: relative; } #contact-984 .cs-container { flex-direction: row; justify-content: flex-end; } #contact-984 .cs-form { max-width: 39.375rem; } #contact-984 .cs-content { text-align: left; align-items: flex-start; } #contact-984 .cs-form { align-items: flex-start; } #contact-984 .cs-picture { position: absolute; height: 100%; width: 44%; right: 50%; /* 70px - 88px */ margin-right: clamp(4.375rem, 7vw, 5.5rem); } #contact-984 .cs-right { width: 50%; max-width: 39.375rem; padding: 0; } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #contact-984 { position: relative; z-index: 1; } #contact-984 .cs-container { width: 100%; max-width: 80rem; margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: 3rem; } #contact-984 .cs-content { /* set text aling to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } #contact-984 .cs-title { margin: 0; } #contact-984 .cs-right { width: 100%; /* changes to 630px at desktop */ max-width: 36.5rem; /* moved section padding to the content so the picture can be full width */ padding: var(--sectionPadding); padding-top: 0; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 2.5rem; } #contact-984 .cs-form { width: 100%; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; flex-direction: column; gap: 0.75rem; } #contact-984 .cs-label { font-size: 1rem; width: 100%; color: var(--headerColor); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.5rem; } #contact-984 .cs-input { font-size: 1rem; width: 100%; height: 3.5rem; padding: 0; padding-left: 1.5rem; color: var(--headerColor); background-color: #f7f7f7; border: none; /* prevents padding from adding to height and width */ box-sizing: border-box; transition: border-color 0.3s; } #contact-984 .cs-input:hover { border-color: var(--secondary); } #contact-984 .cs-input:focus { outline: 1px solid var(--secondary); } #contact-984 .cs-input::placeholder { color: #767676; opacity: 0.8; } #contact-984 .cs-textarea { min-height: 7.5rem; padding-top: 1.5rem; margin-bottom: 1.75rem; font-family: inherit; } #contact-984 .cs-button-solid { font-size: 1rem; /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: 9.375rem; padding: 0 2rem; background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; } #contact-984 .cs-button-solid:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } #contact-984 .cs-button-solid:hover:before { width: 100%; } #contact-984 .cs-submit { min-width: 13.375rem; border: none; border-radius: 0; } #contact-984 .cs-submit:hover { cursor: pointer; } #contact-984 .cs-picture { display: block; position: relative; width: 100%; /* 360px - 600px */ height: clamp(22.5rem, 100vw, 37.5rem); } #contact-984 .cs-picture img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #contact-984 { padding: var(--sectionPadding); position: relative; } #contact-984 .cs-container { flex-direction: row; justify-content: flex-end; } #contact-984 .cs-form { max-width: 39.375rem; } #contact-984 .cs-content { text-align: left; align-items: flex-start; } #contact-984 .cs-form { align-items: flex-start; } #contact-984 .cs-picture { position: absolute; height: 100%; width: 44%; right: 50%; /* 70px - 88px */ margin-right: clamp(4.375rem, 7vw, 5.5rem); } #contact-984 .cs-right { width: 50%; max-width: 39.375rem; padding: 0; } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode #contact-984 .cs-title, body.dark-mode #contact-984 .cs-text, body.dark-mode #contact-984 .cs-label, body.dark-mode #contact-984 .cs-link { color: var(--bodyTextColorWhite); } body.dark-mode body.dark-mode #contact-984 .cs-input { background-color: rgba(255, 255, 255, 0.1); color: var(--bodyTextColorWhite); border-color: rgba(255, 255, 255, 0.1); } body.dark-mode #contact-984 .cs-input:hover { border-color: var(--secondary); } body.dark-mode #contact-984 .cs-input::placeholder { color: #fff; opacity: 0.5; } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #contact-984 { position: relative; z-index: 1; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: (48/16rem); } .cs-content { /* set text aling to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { margin: 0; } .cs-right { width: 100%; /* changes to 630px at desktop */ max-width: (584/16rem); /* moved section padding to the content so the picture can be full width */ padding: var(--sectionPadding); padding-top: 0; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: (40/16rem); } .cs-form { width: 100%; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; flex-direction: column; gap: (12/16rem); } .cs-label { font-size: (16/16rem); width: 100%; color: var(--headerColor); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: (8/16rem); } .cs-input { font-size: (16/16rem); width: 100%; height: (56/16rem); padding: 0; padding-left: (24/16rem); color: var(--headerColor); background-color: #f7f7f7; border: none; /* prevents padding from adding to height and width */ box-sizing: border-box; transition: border-color 0.3s; &:hover { border-color: var(--secondary); } &:focus { outline: 1px solid var(--secondary); } &::placeholder { color: #767676; opacity: 0.8; } } .cs-textarea { min-height: (120/16rem); padding-top: (24/16rem); margin-bottom: (28/16rem); font-family: inherit; } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (32/16rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { min-width: (214/16rem); border: none; border-radius: 0; &:hover { cursor: pointer; } } .cs-picture { display: block; position: relative; width: 100%; /* 360px - 600px */ height: clamp(22.5rem, 100vw, 37.5rem); img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #contact-984 { padding: var(--sectionPadding); position: relative; .cs-container { flex-direction: row; justify-content: flex-end; } .cs-form { max-width: (630/16rem); } .cs-content { text-align: left; align-items: flex-start; } .cs-form { align-items: flex-start; } .cs-picture { position: absolute; height: 100%; width: 44%; right: 50%; /* 70px - 88px */ margin-right: clamp(4.375rem, 7vw, 5.5rem); } .cs-right { width: 50%; max-width: (630/16rem); padding: 0; } } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #contact-984 { position: relative; z-index: 1; .cs-container { width: 100%; max-width: (1280/16rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: (48/16rem); } .cs-content { /* set text aling to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { margin: 0; } .cs-right { width: 100%; /* changes to 630px at desktop */ max-width: (584/16rem); /* moved section padding to the content so the picture can be full width */ padding: var(--sectionPadding); padding-top: 0; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: (40/16rem); } .cs-form { width: 100%; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; flex-direction: column; gap: (12/16rem); } .cs-label { font-size: (16/16rem); width: 100%; color: var(--headerColor); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: (8/16rem); } .cs-input { font-size: (16/16rem); width: 100%; height: (56/16rem); padding: 0; padding-left: (24/16rem); color: var(--headerColor); background-color: #f7f7f7; border: none; /* prevents padding from adding to height and width */ box-sizing: border-box; transition: border-color 0.3s; &:hover { border-color: var(--secondary); } &:focus { outline: 1px solid var(--secondary); } &::placeholder { color: #767676; opacity: 0.8; } } .cs-textarea { min-height: (120/16rem); padding-top: (24/16rem); margin-bottom: (28/16rem); font-family: inherit; } .cs-button-solid { font-size: (16/16rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: (150/16rem); padding: 0 (32/16rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { min-width: (214/16rem); border: none; border-radius: 0; &:hover { cursor: pointer; } } .cs-picture { display: block; position: relative; width: 100%; /* 360px - 600px */ height: clamp(22.5rem, 100vw, 37.5rem); img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #contact-984 { padding: var(--sectionPadding); position: relative; .cs-container { flex-direction: row; justify-content: flex-end; } .cs-form { max-width: (630/16rem); } .cs-content { text-align: left; align-items: flex-start; } .cs-form { align-items: flex-start; } .cs-picture { position: absolute; height: 100%; width: 44%; right: 50%; /* 70px - 88px */ margin-right: clamp(4.375rem, 7vw, 5.5rem); } .cs-right { width: 50%; max-width: (630/16rem); padding: 0; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #contact-984 { .cs-title, .cs-text, .cs-label, .cs-link { color: var(--bodyTextColorWhite); } .cs-input { background-color: rgba(255, 255, 255, 0.1); color: var(--bodyTextColorWhite); border-color: rgba(255, 255, 255, 0.1); &:hover { border-color: var(--secondary); } &::placeholder { color: #fff; opacity: 0.5; } } } } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #contact-984 { position: relative; z-index: 1; .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: calc(48 / 16 * 1rem); } .cs-content { /* set text aling to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { margin: 0; } .cs-right { width: 100%; /* changes to 630px at desktop */ max-width: calc(584 / 16 * 1rem); /* moved section padding to the content so the picture can be full width */ padding: var(--sectionPadding); padding-top: 0; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: calc(40 / 16 * 1rem); } .cs-form { width: 100%; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; flex-direction: column; gap: calc(12 / 16 * 1rem); } .cs-label { font-size: calc(16 / 16 * 1rem); width: 100%; color: var(--headerColor); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: calc(8 / 16 * 1rem); } .cs-input { font-size: calc(16 / 16 * 1rem); width: 100%; height: calc(56 / 16 * 1rem); padding: 0; padding-left: calc(24 / 16 * 1rem); color: var(--headerColor); background-color: #f7f7f7; border: none; /* prevents padding from adding to height and width */ box-sizing: border-box; transition: border-color 0.3s; &:hover { border-color: var(--secondary); } &:focus { outline: 1px solid var(--secondary); } &::placeholder { color: #767676; opacity: 0.8; } } .cs-textarea { min-height: calc(120 / 16 * 1rem); padding-top: calc(24 / 16 * 1rem); margin-bottom: calc(28 / 16 * 1rem); font-family: inherit; } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(32 / 16 * 1rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { min-width: calc(214 / 16 * 1rem); border: none; border-radius: 0; &:hover { cursor: pointer; } } .cs-picture { display: block; position: relative; width: 100%; /* 360px - 600px */ height: clamp(22.5rem, 100vw, 37.5rem); img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #contact-984 { padding: var(--sectionPadding); position: relative; .cs-container { flex-direction: row; justify-content: flex-end; } .cs-form { max-width: calc(630 / 16 * 1rem); } .cs-content { text-align: left; align-items: flex-start; } .cs-form { align-items: flex-start; } .cs-picture { position: absolute; height: 100%; width: 44%; right: 50%; /* 70px - 88px */ margin-right: clamp(4.375rem, 7vw, 5.5rem); } .cs-right { width: 50%; max-width: calc(630 / 16 * 1rem); padding: 0; } } }
/*-- -------------------------- --> <--- Contact --> <--- -------------------------- -*/ /* Mobile - 360px */ @media only screen and (min-width: 0rem) { #contact-984 { position: relative; z-index: 1; .cs-container { width: 100%; max-width: calc(1280 / 16 * 1rem); margin: auto; display: flex; justify-content: center; align-items: center; flex-direction: column; gap: calc(48 / 16 * 1rem); } .cs-content { /* set text aling to left if content needs to be left aligned */ text-align: center; width: 100%; display: flex; flex-direction: column; /* centers content horizontally, set to flex-start to left align */ align-items: center; } .cs-title { margin: 0; } .cs-right { width: 100%; /* changes to 630px at desktop */ max-width: calc(584 / 16 * 1rem); /* moved section padding to the content so the picture can be full width */ padding: var(--sectionPadding); padding-top: 0; /* prevents padding and border from affecting height and width */ box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: calc(40 / 16 * 1rem); } .cs-form { width: 100%; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; flex-direction: column; gap: calc(12 / 16 * 1rem); } .cs-label { font-size: calc(16 / 16 * 1rem); width: 100%; color: var(--headerColor); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: calc(8 / 16 * 1rem); } .cs-input { font-size: calc(16 / 16 * 1rem); width: 100%; height: calc(56 / 16 * 1rem); padding: 0; padding-left: calc(24 / 16 * 1rem); color: var(--headerColor); background-color: #f7f7f7; border: none; /* prevents padding from adding to height and width */ box-sizing: border-box; transition: border-color 0.3s; &:hover { border-color: var(--secondary); } &:focus { outline: 1px solid var(--secondary); } &::placeholder { color: #767676; opacity: 0.8; } } .cs-textarea { min-height: calc(120 / 16 * 1rem); padding-top: calc(24 / 16 * 1rem); margin-bottom: calc(28 / 16 * 1rem); font-family: inherit; } .cs-button-solid { font-size: calc(16 / 16 * 1rem); /* 46px - 56px */ line-height: clamp(2.875rem, 5.5vw, 3.5rem); text-decoration: none; font-weight: 700; text-align: center; margin: 0; color: #fff; min-width: calc(150 / 16 * 1rem); padding: 0 calc(32 / 16 * 1rem); background-color: var(--primary); display: inline-block; position: relative; z-index: 1; /* prevents padding from adding to the width */ box-sizing: border-box; &:before { content: ""; position: absolute; height: 100%; width: 0%; background: #000; opacity: 1; top: 0; left: 0; z-index: -1; transition: width 0.3s; } &:hover { &:before { width: 100%; } } } .cs-submit { min-width: calc(214 / 16 * 1rem); border: none; border-radius: 0; &:hover { cursor: pointer; } } .cs-picture { display: block; position: relative; width: 100%; /* 360px - 600px */ height: clamp(22.5rem, 100vw, 37.5rem); img { position: absolute; top: 0; left: 0; height: 100%; width: 100%; object-fit: cover; } } } } /* Tablet - 768px */ @media only screen and (min-width: 48rem) { #contact-984 { padding: var(--sectionPadding); position: relative; .cs-container { flex-direction: row; justify-content: flex-end; } .cs-form { max-width: calc(630 / 16 * 1rem); } .cs-content { text-align: left; align-items: flex-start; } .cs-form { align-items: flex-start; } .cs-picture { position: absolute; height: 100%; width: 44%; right: 50%; /* 70px - 88px */ margin-right: clamp(4.375rem, 7vw, 5.5rem); } .cs-right { width: 50%; max-width: calc(630 / 16 * 1rem); padding: 0; } } } /* Dark Mode */ @media only screen and (min-width: 0rem) { body.dark-mode { #contact-984 { .cs-title, .cs-text, .cs-label, .cs-link { color: var(--bodyTextColorWhite); } .cs-input { background-color: rgba(255, 255, 255, 0.1); color: var(--bodyTextColorWhite); border-color: rgba(255, 255, 255, 0.1); &:hover { border-color: var(--secondary); } &::placeholder { color: #fff; opacity: 0.5; } } } } }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: 43.75rem; margin: 0 0 1rem 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: 40.625rem; margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: (4/16rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: (700/16rem); margin: 0 0 (16/16rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: (650/16rem); margin: 0; color: var(--bodyTextColor); }
:root { /* Add these styles to your global stylesheet, which is used across all site pages. You only need to do this once. All elements in the library derive their variables and base styles from this central sheet, simplifying site-wide edits. For instance, if you want to modify how your h2's appear across the site, you just update it once in the global styles, and the changes apply everywhere. */ --primary: #ff6a3e; --primaryLight: #ffba43; --secondary: #ffba43; --secondaryLight: #ffba43; --headerColor: #1a1a1a; --bodyTextColor: #4e4b66; --bodyTextColorWhite: #fafbfc; /* 13px - 16px */ --topperFontSize: clamp(0.8125rem, 1.6vw, 1rem); /* 31px - 49px */ --headerFontSize: clamp(1.9375rem, 3.9vw, 3.0625rem); --bodyFontSize: 1rem; /* 60px - 100px top and bottom */ --sectionPadding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem; } body { margin: 0; padding: 0; } *, *:before, *:after { /* prevents padding from affecting height and width */ box-sizing: border-box; } .cs-topper { font-size: var(--topperFontSize); line-height: 1.2em; text-transform: uppercase; text-align: inherit; letter-spacing: .1em; font-weight: 700; color: var(--primary); margin-bottom: calc(4 / 16 * 1rem); display: block; } .cs-title { font-size: var(--headerFontSize); font-weight: 900; line-height: 1.2em; text-align: inherit; max-width: calc(700 / 16 * 1rem); margin: 0 0 calc(16 / 16 * 1rem) 0; color: var(--headerColor); position: relative; } .cs-text { font-size: var(--bodyFontSize); line-height: 1.5em; text-align: inherit; width: 100%; max-width: calc(650 / 16 * 1rem); margin: 0; color: var(--bodyTextColor); }
Lorem Ipsum
Undo