@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueThin.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueThinItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueRoman.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueMedium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueMediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica';
    src: url('./assets/font/HelveticaNeueBoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

/*BG RAYS TAKEN FROM @piut0 ON CODEPEN*/
/*https://codepen.io/piut0*/

:root{
      /* gradient stops */
  /* --btn-bg-gradient: linear-gradient(hsla(181, 100%, 73%, 0.4), hsla(235, 100%, 73%, 0.4),hsla(295, 100%, 73%, 0.4)); */
  --btn-bg-gradient: linear-gradient(#00ffff21, #00ffff4d, #0df2f266);

  /* shape & border */
  --btn-radius:   100vw;
  /* --btn-border:   1px solid #64abac; */
  --btn-border:   1px solid hsl(180, 90%, 40%, 0.8);
  

  /* shadow */
  --btn-shadow:   inset 0 0 10px 0 hsl(180, 70%, 50%, 0.4);

          --stripes: repeating-linear-gradient(
        100deg,
        #fff 0%,
        #fff 7%,
        transparent 10%,
        transparent 12%,
        #fff 16%
    );
    --stripesDark: repeating-linear-gradient(
        100deg,
        #000 0%,
        #000 7%,
        transparent 10%,
        transparent 12%,
        #000 16%
    );
    --rainbow: repeating-linear-gradient(
        100deg,
        #60a5fa 10%,
        #e879f9 15%,
        #60a5fa 20%,
        #5eead4 25%,
        #60a5fa 30%
    );
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
   scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: 'Helvetica', Helvetica, sans-serif;
  color: #000;
  background-color: white;
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
h2{
  text-align: center;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -.8px;
  margin-bottom: 20px;
}

.bgRays{
    position: fixed;
    top: 0;
    left: 0;
    background-image: var(--stripes), var(--rainbow);
    background-size: 300%, 200%;
    /* background-position: 80% 50%, 20% 50%; */
    background-position: 50% 50%, 50% 50%;
    /* filter: blur(10px) opacity(50%) saturate(200%);
    -webkit-filter: blur(10px) opacity(50%) saturate(200%); */
    filter: invert(100%);
    mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 70%);
    pointer-events: none;
    opacity: 50%;
    inset: -10px;
    z-index: -1;
    max-height: 100vh;
}

.bgRays::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--stripes), var(--rainbow);
    background-size: 200%, 100%;
    background-attachment: fixed;
    mix-blend-mode: difference;
    max-height: 100vh;
}


/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  place-self: center;
  padding-block-start: 60px;
  width: 100%;
  margin: 0 !important;
}
.nav_logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}
.logo-img {
  width: 50px;
  height: auto;
}
.logo-text {
  font-size: 2rem;
  font-weight: 400;
  user-select: none;
}

/* Hero */
.hero {
  padding-block: 15vh 100px;
}
.hero-container {
    --gap-hero-h: 60px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 60px var(--gap-hero-h);
  max-width: 80%;
  margin: 5vh auto;
  padding: 0 20px;
}
.hero-heading {
  flex: 1 1 calc(60% - var(--gap-hero-h));
  font-size: clamp(4rem, 5.5vw, 8rem);
  line-height: 1.1;
  font-weight: 300;
}

.hero-right {
  flex: 1 1 40%;
  align-self: end;
}

.hero-subtext {
  font-size: clamp(1.1rem, 1.2vw, 2rem);
  opacity: 0.8;
  text-align: left;
  max-width: 400px;
  margin-bottom: 32px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
}
.btn {
  display: inline-block;
    font-size: clamp(.9rem, 1.2vw, 2rem);
  padding: 12px 30px;
  background: var(--btn-bg-gradient);
  border-radius: 100vw;
  border: var(--btn-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 500;
}
.btn:hover {
    box-shadow: var(--btn-shadow);
}
.hero-image {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (width < 1025px) {
  .hero-container{
    justify-content: center;
    gap: 32px;
  }
  .hero-heading {
    font-size: clamp(3rem, 8vw, 8rem);
    text-align: center;
    flex: 1 1 100%;
  }
  .hero-right{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .hero-subtext {
    text-align: center;
    margin-bottom: 52px;
  }
  .button-group{
    justify-content: center;
  }
}

@media (width < 500px) {
  .header{
      padding-block-start: 30px;
  }

  .hero {
  padding-block: 5vh 4vh;
}
.hero-container{
  max-width: 90%;
  gap: 30px var(--gap-hero-h);
  h1{
    font-size: 40px;
  }
}
}



/* Before/After Slider */

.slider{
  position: relative;
  width: 120%;
  left: 50%;
  transform: translateX(-50%);
}

.slider-title{
  font-size: 2rem;
  width: 50%;
  margin-inline: auto;
}

.slider-container {
  width:50%;
  display:block;
  margin-block-end: 100px;
  margin-inline: auto;
}

.slider-container img {
  width:100%;
  display:block;
}

.slider-container{
  user-select: none;
}

#before-after-slider {
  width:100%;
  position:relative;
  overflow:hidden;
}

#after-image {
  display:block
}

#before-image {
  position:absolute;
  height:100%;
  width:50%;
  top:0;
  left:0;
  overflow:hidden;
  z-index:2;
}

#resizer {
  position:absolute;
  display:flex;
  align-items:center;
  z-index:5;
  top:0;
  left:50%;
  height:100%;
  width:4px;
  background: rgb(174, 162, 252);
  -ms-touch-action: pan-y;
    touch-action: pan-y;
  cursor: grab;
}

#resizer:active{
  cursor: grabbing;
}

#resizer:after {
  background: linear-gradient(#00ffff33, #00ffff89, #0df2f2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  content: '↔︎';
  font-weight:900;
  display:flex;
  justify-content:center;
  align-items:center;
  color:black;
  position:absolute;
  margin: 0 0 0 -19px;
  width:40px;
  height:40px;
  border-radius:50%;
  border: var(--btn-border);

}

@media (width < 800px) {
  .slider{
    width: 170%;
  }
}


/* Why Neatify Section Styles */

.why-container {
  width: 80%;
  margin: 0 auto;
}

.why-description {
  font-size: 1.125rem;
  color: #434343;
  text-align: center;
  margin-inline: auto;
  margin-bottom: 60px;
  max-width: 600px;
}

.why-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.why-card {
  flex: 1 1 280px;
  background-color: rgba(249, 249, 249, 0.071);
  padding: 30px;
  border-radius: 8px;
  max-width: 400px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.8);
  justify-self: center;
}

.why-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.why-card p {
  color: #000;
}

.endCTA{
  text-align: center;
  margin-inline: auto;
  margin-block-start: 40px;
}

.why-footer {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 60px;
}

.why-footer p {
  font-size: 1rem;
  color: #888;
}

@media (width < 440px) {
  .why-container {
  width: 90%;
  margin: 0 auto;
}
.why-description{
  margin-bottom: 30px;
}
}