HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URLs added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by esm.sh, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ESM usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<div id="smooth-wrapper">
<div id="smooth-content">
<div class="content">
<section class="test py-60">test</section>
<section class="what-we-do py-8 md:py-16 lg:py-24">
<div class="container scroll-container px-4 md:px-0">
<div class="flex grid-cols-1 gap-y-16 items-center md:mt-10 md:min-w-fit md:w-fit">
<div class="scroll-item">
<h2 class="font-bold text-3xl mb-1 lg:text-4xl lg:mb-4"> What we do </h2>
This is what we do
</div>
<div class="scroll-item">
<a href="#" class="relative mb-4 block">
<img width="624" height="401" src="https://placehold.co/624x401" class="w-full clip-path" alt="">
</a>
<a href="#" class="text-xl text-orange hover:underline font-bold mb-1 block lg:text-2xl"> Service 1 </a>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent turpis velit, maximus non fringilla sit amet, rhoncus eu metus. Cras et felis ac purus posuere interdum. Donec egestas purus vel ante posuere, in mattis orci dictum. Vestibulum imperdiet dictum magna et facilisis. Mauris accumsan imperdiet vehicula. Integer dignissim elementum sapien, sit amet accumsan nunc facilisis in. Nunc eu dui enim. Etiam scelerisque mi sit amet luctus dapibus.
</p>
<a href="#" class="text-orange hover:underline font-bold"> Read more > </a>
</div>
<div class="scroll-item">
<a href="#" class="relative mb-4 block">
<img width="624" height="401" src="https://placehold.co/624x401" class="w-full clip-path" alt="">
</a>
<a href="#" class="text-xl text-orange hover:underline font-bold mb-1 block lg:text-2xl"> Service 1 </a>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent turpis velit, maximus non fringilla sit amet, rhoncus eu metus. Cras et felis ac purus posuere interdum. Donec egestas purus vel ante posuere, in mattis orci dictum. Vestibulum imperdiet dictum magna et facilisis. Mauris accumsan imperdiet vehicula. Integer dignissim elementum sapien, sit amet accumsan nunc facilisis in. Nunc eu dui enim. Etiam scelerisque mi sit amet luctus dapibus.
</p>
<a href="#" class="text-orange hover:underline font-bold"> Read more > </a>
</div>
<div class="scroll-item">
<a href="#" class="relative mb-4 block">
<img width="624" height="401" src="https://placehold.co/624x401" class="w-full clip-path" alt="">
</a>
<a href="#" class="text-xl text-orange hover:underline font-bold mb-1 block lg:text-2xl"> Service 1 </a>
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent turpis velit, maximus non fringilla sit amet, rhoncus eu metus. Cras et felis ac purus posuere interdum. Donec egestas purus vel ante posuere, in mattis orci dictum. Vestibulum imperdiet dictum magna et facilisis. Mauris accumsan imperdiet vehicula. Integer dignissim elementum sapien, sit amet accumsan nunc facilisis in. Nunc eu dui enim. Etiam scelerisque mi sit amet luctus dapibus.
</p>
<a href="#" class="text-orange hover:underline font-bold"> Read more > </a>
</div>
</div>
</div>
</section>
<section class="quote bg-orange py-14">
<div class="container px-4">
<div class="line-slide-out-in">
<span class="text-white text-2xl font-bold block text-center lg:text-6xl !leading-snug "> Lorem ipsum dolor sit amet, consectetur adipiscing elit. </span>
</div>
<div class="line-slide-out-in right-to-left">
<span class="text-white text-2xl font-bold block text-center lg:text-6xl !leading-snug"> Praesent turpis velit, maximus non fringilla sit amet, rhoncus eu metus. </span>
</div>
</div>
</section>
<section class="test py-60">test</section>
</div>
</div>
</div>
.tns-outer{padding:0!important}.tns-outer [hidden]{display:none!important}.tns-outer [aria-controls],.tns-outer [data-action]{cursor:pointer}.tns-slider{transition:all 0s}.tns-slider>.tns-item{box-sizing:border-box}.tns-horizontal.tns-subpixel{white-space:nowrap}.tns-horizontal.tns-subpixel>.tns-item{display:inline-block;vertical-align:top;white-space:normal}.tns-horizontal.tns-no-subpixel:after{clear:both;content:"";display:table}.tns-horizontal.tns-no-subpixel>.tns-item{float:left}.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item{margin-right:-100%}.tns-gallery,.tns-no-calc{left:0;position:relative}.tns-gallery{min-height:1px}.tns-gallery>.tns-item{left:-100%;position:absolute;transition:opacity 0s,-webkit-transform 0s;transition:transform 0s,opacity 0s;transition:transform 0s,opacity 0s,-webkit-transform 0s}.tns-gallery>.tns-slide-active{left:auto!important;position:relative}.tns-gallery>.tns-moving{transition:all .25s}.tns-autowidth{display:inline-block}.tns-lazy-img{opacity:.6;transition:opacity .6s}.tns-lazy-img.tns-complete{opacity:1}.tns-ah{transition:height 0s}.tns-ovh{overflow:hidden}.tns-visually-hidden{left:-10000em;position:absolute}.tns-transparent{opacity:0;visibility:hidden}.tns-fadeIn{filter:alpha(opacity=100);opacity:1;z-index:0}.tns-fadeOut,.tns-normal{filter:alpha(opacity=0);opacity:0;z-index:-1}.tns-vpfix{white-space:nowrap}.tns-vpfix>div,.tns-vpfix>li{display:inline-block}.tns-t-subp2{height:10px;margin:0 auto;overflow:hidden;position:relative;width:310px}.tns-t-ct{position:absolute;right:0;width:2333.3333333%;width:2333.33333%}.tns-t-ct:after{clear:both;content:"";display:table}.tns-t-ct>div{float:left;height:10px;width:1.4285714%;width:1.42857%}
/*!
* Theme Name: HeyCop
* Author: Wolfcoding
* Author URI: https://wolfcoding.nl
* Version: 1.0.0
*/
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:Avenir,Helvetica;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],select,textarea{--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#6b7280;border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}[multiple]:focus,[type=date]:focus,[type=datetime-local]:focus,[type=email]:focus,[type=month]:focus,[type=number]:focus,[type=password]:focus,[type=search]:focus,[type=tel]:focus,[type=text]:focus,[type=time]:focus,[type=url]:focus,[type=week]:focus,select:focus,textarea:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);border-color:#2563eb;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}input::-moz-placeholder,textarea::-moz-placeholder{color:#6b7280;opacity:1}input::placeholder,textarea::placeholder{color:#6b7280;opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-date-and-time-value{min-height:1.5em}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-bottom:0;padding-top:0}select{color-adjust:exact;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;-webkit-print-color-adjust:exact}[multiple]{color-adjust:unset;background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;-webkit-print-color-adjust:unset}[type=checkbox],[type=radio]{color-adjust:exact;--tw-shadow:0 0 #0000;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;background-origin:border-box;border-color:#6b7280;border-width:1px;color:#2563eb;display:inline-block;flex-shrink:0;height:1rem;padding:0;-webkit-print-color-adjust:exact;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/);--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:#2563eb;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid transparent;outline-offset:2px}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}[type=radio]:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:transparent}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:transparent}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:transparent}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px auto -webkit-focus-ring-color}@font-face{font-family:Avenir;font-weight:400;src:url(dist/fonts/avenir-book.ttf) format("truetype")}@font-face{font-family:Avenir;font-weight:700;src:url(dist/fonts/avenir-heavy.ttf) format("truetype")}p{margin-bottom:1rem}p:last-child{margin-bottom:0}@media (min-width:768px){.staggered-item:nth-child(odd){margin-top:-4rem}.staggered-item:nth-child(2n){margin-top:6rem}.staggered-item:first-of-type{margin-top:0}}.clip-path,.content-news img{-webkit-clip-path:polygon(70% 0,100% 30%,100% 100%,0 100%,0 0);clip-path:polygon(70% 0,100% 30%,100% 100%,0 100%,0 0)}.clip-path-bottom{-webkit-clip-path:polygon(100% 0,100% 100%,30% 100%,0 70%,0 0);clip-path:polygon(100% 0,100% 100%,30% 100%,0 70%,0 0)}.content ul:not(.menu){list-style-type:disc;margin-bottom:1rem;padding-left:1.25rem}.content ul:not(.menu) li{margin-bottom:.25rem}.content .h2,.content h2{font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-bottom:.25rem}@media (min-width:1024px){.content .h2,.content h2{font-size:3.75rem;line-height:1;margin-bottom:1rem}}.content .h3,.content h3{font-size:1.5rem;font-weight:700;line-height:2rem;margin-bottom:.25rem}@media (min-width:1024px){.content .h3,.content h3{font-size:2.25rem;line-height:2.5rem;margin-bottom:1rem}}.content ol{list-style-type:decimal;margin-bottom:1rem;padding-left:1.25rem}.content ol li{margin-bottom:.25rem}.content-news a{--tw-text-opacity:1;color:rgb(243 137 1/var(--tw-text-opacity));font-weight:700;text-decoration-line:underline}.content-news a:hover{text-decoration-line:none}.content-news .h2,.content-news h2{font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-bottom:1rem}.content-news .h3,.content-news h3{font-size:1.5rem;font-weight:700;line-height:2rem;margin-bottom:1rem}.content-news img{margin-bottom:1rem}.footer .menu>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.footer .menu{font-weight:700}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{margin-left:auto;margin-right:auto;width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-14{bottom:3.5rem}.bottom-9{bottom:2.25rem}.left-0{left:0}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1\/2{top:50%}.top-14{top:3.5rem}.top-2{top:.5rem}.top-7{top:1.75rem}.top-9{top:2.25rem}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.float-right{float:right}.clear-both{clear:both}.-mx-4{margin-left:-1rem;margin-right:-1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-4{margin-bottom:1rem;margin-top:1rem}.my-8{margin-bottom:2rem;margin-top:2rem}.-mt-1{margin-top:-.25rem}.-mt-\[25\%\]{margin-top:-25%}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-auto{margin-left:auto}.mr-2{margin-right:.5rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[116px\]{margin-top:116px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-\[116px\]{height:116px}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-4{max-height:1rem}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/5{width:20%}.w-2\/12{width:16.666667%}.w-2\/3{width:66.666667%}.w-20{width:5rem}.w-4\/5{width:80%}.w-\[22px\]{width:22px}.w-auto{width:auto}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-none{max-width:none}.-translate-y-1\/2{--tw-translate-y:-50%}.-scale-x-100,.-translate-y-1\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x:-1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-12{gap:3rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.gap-y-12{row-gap:3rem}.gap-y-16{row-gap:4rem}.gap-y-6{row-gap:1.5rem}.space-x-6>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1.5rem*var(--tw-space-x-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border-b-4{border-bottom-width:4px}.border-t-4{border-top-width:4px}.border-black{--tw-border-opacity:1;border-color:rgb(17 17 17/var(--tw-border-opacity))}.border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.bg-black{--tw-bg-opacity:1;background-color:rgb(17 17 17/var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(229 229 229/var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity:1;background-color:rgb(112 112 112/var(--tw-bg-opacity))}.bg-orange{--tw-bg-opacity:1;background-color:rgb(243 137 1/var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity:1;background-color:rgb(251 238 220/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-14{padding-bottom:3.5rem;padding-top:3.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-4{padding-bottom:1rem;padding-top:1rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pb-8{padding-bottom:2rem}.pl-4{padding-left:1rem}.pl-6{padding-left:1.5rem}.pt-28{padding-top:7rem}.pt-8{padding-top:2rem}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-lg{font-size:1.125rem}.text-lg,.text-xl{line-height:1.75rem}.text-xl{font-size:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.\!leading-snug{line-height:1.375!important}.leading-relaxed{line-height:1.625}.text-black{--tw-text-opacity:1;color:rgb(17 17 17/var(--tw-text-opacity))}.text-gray{--tw-text-opacity:1;color:rgb(204 204 204/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(112 112 112/var(--tw-text-opacity))}.text-orange{--tw-text-opacity:1;color:rgb(243 137 1/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.decoration-gray-700{text-decoration-color:#707070}@media (min-width:768px){.hover-trigger .hover-target,.hover-trigger nav .header-menu ul.sub-menu,nav .header-menu .hover-trigger ul.sub-menu,nav .header-menu ul.menu>li.menu-item .hover-target,nav .header-menu ul.menu>li.menu-item ul.sub-menu{display:none}.hover-trigger:hover .hover-target,.hover-trigger:hover nav .header-menu ul.sub-menu,nav .header-menu .hover-trigger:hover ul.sub-menu,nav .header-menu ul.menu>li.menu-item:hover .hover-target,nav .header-menu ul.menu>li.menu-item:hover ul.sub-menu{display:block}}#menu #logo-white,#menu.is-scrolling #logo-black{display:block}#menu.is-scrolling #logo-white{display:none}#menu.is-scrolling .phone a{--tw-text-opacity:1!important;color:rgb(17 17 17/var(--tw-text-opacity))!important}#menu nav.open{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}#menu nav.open #logo-black{display:block}#menu nav.open #logo-white{display:none}#menu nav.open a{--tw-text-opacity:1!important;color:rgb(17 17 17/var(--tw-text-opacity))!important}#menu nav.open li.phone a{margin-top:0!important}nav #navbar-button{fill:#fff}nav.open{height:100%;inset:0;padding:.5rem 1rem;position:fixed}@media (min-width:1024px){nav.open{padding-top:0;position:relative}}nav.open #navbar-button{fill:#000}nav .header-menu ul.menu>li.menu-item>a{--tw-text-opacity:1;border-bottom-width:1px;color:rgb(255 255 255/var(--tw-text-opacity));display:block;padding:.75rem}nav .header-menu ul.menu>li.menu-item>a:hover{text-decoration-line:underline}nav .header-menu ul.menu>li.menu-item>a.is-open:after{background-image:url(dist/img/chevron-down-dark.svg)}nav .header-menu ul.sub-menu{display:none}nav .header-menu ul.sub-menu>li.menu-item>a{--tw-text-opacity:1;border-bottom-width:1px;color:rgb(255 255 255/var(--tw-text-opacity));display:block;margin-left:1rem;padding:.75rem 3rem .75rem .75rem}nav .header-menu li.menu-item>a:after{background-image:url(dist/img/chevron-right-dark.svg);background-position:0;background-repeat:no-repeat;content:" ";padding:1rem .75rem .75rem;position:absolute;right:22px}@media (min-width:768px){nav .header-menu ul.menu li.menu-item>a{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity));font-weight:700;position:relative;text-decoration-line:none}nav .header-menu ul.menu li.menu-item>a:after{background-image:none;content:none}nav .header-menu ul.menu>li.menu-item{display:inline-block}nav .header-menu ul.menu>li.menu-item>a{border-bottom-width:0;padding:.5rem}@media (min-width:1024px){nav .header-menu ul.menu>li.menu-item>a{padding-left:.5rem;padding-right:.5rem}}@media (min-width:1280px){nav .header-menu ul.menu>li.menu-item>a{padding-left:.75rem;padding-right:.75rem}}nav .header-menu ul.menu>li.menu-item.current-menu-item>a{--tw-text-opacity:1;color:rgb(17 17 17/var(--tw-text-opacity))}nav .header-menu ul.sub-menu{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:none;margin-left:1rem;padding:1rem;position:absolute;z-index:50}nav .header-menu ul.sub-menu>li.menu-item{display:block;line-height:2;padding-left:.25rem;padding-right:.25rem}nav .header-menu ul.sub-menu>li.menu-item>a{--tw-text-opacity:1;border-bottom-width:0;color:rgb(17 17 17/var(--tw-text-opacity));display:block;margin-left:0;padding:0}}nav .header-menu ul.menu>li.phone a{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity))!important;margin-top:1rem!important}@media (min-width:1024px){nav .header-menu ul.menu>li.phone a{--tw-border-opacity:1!important;--tw-text-opacity:1!important;border-color:rgb(243 137 1/var(--tw-border-opacity))!important;border-width:1px!important;color:rgb(255 255 255/var(--tw-text-opacity))!important;margin-left:1rem!important;margin-top:0!important;padding:.25rem 1rem!important}}nav .header-menu ul.menu>li.phone a:hover{text-decoration-line:underline}nav .header-menu ul.menu>li.phone a:before{background:url(dist/img/phone-menu.svg);content:"";display:inline-block;height:18px;margin-right:.5rem;vertical-align:-4px;width:18px}nav .header-menu ul.menu>li.phone a:after{display:none!important}section.menu.is-scrolling{--tw-bg-opacity:1;--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}section.menu.is-scrolling .border-b-4{border:0}section.menu.is-scrolling #navbar-button{fill:#000}@media (min-width:768px){section.menu.is-scrolling ul.menu li.menu-item>a{--tw-text-opacity:1;color:rgb(17 17 17/var(--tw-text-opacity))}}.gform_wrapper{margin-top:2rem}.gform_wrapper .gfield_label,.gform_wrapper .gform_required_legend,.gform_wrapper .gform_title{display:none}.gform_wrapper .gfield{margin-top:1rem}.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),.gform_wrapper textarea{--tw-bg-opacity:1;background-color:rgb(245 245 245/var(--tw-bg-opacity));border-style:none;display:block;width:100%}.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus,.gform_wrapper textarea:focus{--tw-border-opacity:1;--tw-ring-opacity:1;--tw-ring-color:rgb(243 137 1/var(--tw-ring-opacity));border-color:rgb(243 137 1/var(--tw-border-opacity))}.gform_wrapper .gfield_validation_message,.gform_wrapper .gform_submission_error{color:red;font-size:.875rem;line-height:1.25rem;margin-top:.5rem;padding-left:.5rem}.gform_wrapper .gform_footer .gform_button{--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(243 137 1/var(--tw-bg-opacity));color:rgb(255 255 255/var(--tw-text-opacity));display:inline-block;font-weight:700;margin-left:auto;margin-right:auto;margin-top:1rem;padding:1rem}.gform_wrapper .gform_footer .gform_button:hover{background-color:rgba(243,137,1,.7);cursor:pointer}.scroll-container>*{display:flex;flex-direction:column}@media (min-width:768px){.scroll-container>*{flex-direction:row}}.scroll-container .scroll-item:first-of-type{padding-left:0}.scroll-container .scroll-item:last-of-type{padding-right:1rem}@media (min-width:768px){.scroll-container .scroll-item{padding-left:2rem;padding-right:2rem;width:45vw}}.hover\:cursor-pointer:hover{cursor:pointer}.hover\:bg-orange\/70:hover{background-color:rgba(243,137,1,.7)}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:no-underline:hover{text-decoration-line:none}@media (min-width:768px){.md\:absolute{position:absolute}.md\:bottom-14{bottom:3.5rem}.md\:left-12{left:3rem}.md\:top-12{top:3rem}.md\:top-14{top:3.5rem}.md\:z-30{z-index:30}.md\:order-1{order:1}.md\:order-2{order:2}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:my-0{margin-bottom:0;margin-top:0}.md\:my-16{margin-bottom:4rem;margin-top:4rem}.md\:ml-0{margin-left:0}.md\:mt-0{margin-top:0}.md\:mt-10{margin-top:2.5rem}.md\:mt-16{margin-top:4rem}.md\:mt-24{margin-top:6rem}.md\:mt-4{margin-top:1rem}.md\:mt-6{margin-top:1.5rem}.md\:block{display:block}.md\:max-h-\[80vh\]{max-height:80vh}.md\:w-1\/2{width:50%}.md\:w-1\/3{width:33.333333%}.md\:w-1\/4{width:25%}.md\:w-2\/3{width:66.666667%}.md\:w-2\/4{width:50%}.md\:w-3\/4{width:75%}.md\:w-4{width:1rem}.md\:w-5\/12{width:41.666667%}.md\:w-7\/12{width:58.333333%}.md\:w-8{width:2rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.md\:max-w-\[300px\]{max-width:300px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:items-center{align-items:center}.md\:gap-4{gap:1rem}.md\:gap-8{gap:2rem}.md\:space-x-12>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(3rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(3rem*var(--tw-space-x-reverse))}.md\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.md\:bg-transparent{background-color:transparent}.md\:p-10{padding:2.5rem}.md\:p-8{padding:2rem}.md\:px-0{padding-left:0;padding-right:0}.md\:px-4{padding-left:1rem;padding-right:1rem}.md\:py-16{padding-bottom:4rem;padding-top:4rem}.md\:py-28{padding-bottom:7rem;padding-top:7rem}.md\:pb-0{padding-bottom:0}.md\:pb-16{padding-bottom:4rem}.md\:pl-0{padding-left:0}.md\:pl-8{padding-left:2rem}.md\:pr-8{padding-right:2rem}.md\:pt-16{padding-top:4rem}.md\:text-left{text-align:left}.md\:text-center{text-align:center}.md\:text-right{text-align:right}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:mx-auto{margin-left:auto;margin-right:auto}.lg\:my-24{margin-bottom:6rem;margin-top:6rem}.lg\:mb-12{margin-bottom:3rem}.lg\:mb-4{margin-bottom:1rem}.lg\:mt-0{margin-top:0}.lg\:mt-10{margin-top:2.5rem}.lg\:mt-12{margin-top:3rem}.lg\:mt-24{margin-top:6rem}.lg\:mt-8{margin-top:2rem}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:max-h-8{max-height:2rem}.lg\:w-2\/3{width:66.666667%}.lg\:w-3\/4{width:75%}.lg\:w-auto{width:auto}.lg\:flex-grow{flex-grow:1}.lg\:justify-center{justify-content:center}.lg\:py-24{padding-top:6rem}.lg\:pb-24,.lg\:py-24{padding-bottom:6rem}.lg\:pl-16{padding-left:4rem}.lg\:pr-16{padding-right:4rem}.lg\:pt-24{padding-top:6rem}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:text-6xl{font-size:3.75rem;line-height:1}.lg\:text-7xl{font-size:4.5rem;line-height:1}.lg\:text-xl{font-size:1.25rem;line-height:1.75rem}.lg\:leading-\[5rem\]{line-height:5rem}.lg\:leading-\[6rem\]{line-height:6rem}}
document.addEventListener('DOMContentLoaded', function () {
ScrollSmoother.create({
smooth: 0.75, // how long (in seconds) it takes to "catch up" to the native scroll position
effects: true, // looks for data-speed and data-lag attributes on elements
smoothTouch: 0.1, // much shorter smoothing time on touch devices (default is NO smoothing on touch devices)
});
if (document.querySelector('.scroll-container')) {
const containers = document.querySelectorAll('.scroll-container');
containers.forEach((container) => {
gsap.to(container, {
scrollTrigger: {
trigger: container,
start: 'center center-=100px',
end: "+=" + (window.innerHeight * 2),
scrub: true,
pin: '.content',
markers: true,
},
xPercent: 100,
x: () => container.scrollWidth * -1,
ease: 'none',
});
});
}
const slideInLines = document.querySelectorAll('.line-slide-out-in');
slideInLines.forEach((line) => {
const rightToLeft = line.classList.contains('right-to-left');
if (rightToLeft) {
gsap.set(line, {xPercent: 100});
// gsap.to(line, {xPercent: 0});
} else {
gsap.set(line, {xPercent: -100});
// gsap.to(line, {xPercent: 0});
}
gsap.to(line, {
xPercent: 0,
ease: 'none',
scrollTrigger: {
trigger: line.closest('section'),
start: "bottom bottom",
end: "bottom center",
scrub: true,
markers: true,
pinnedContainer: '.content'
},
});
});
});
Also see: Tab Triggers