@import 'fonts/_kiwari_grotesk';

@import 'components/_variables';
@import 'components/_buttons';
@import 'components/_hero';
@import 'components/_pages';
@import 'components/_spacing';
@import 'components/_sections';
@import 'components/_faq';
@import 'components/_footers';
@import 'components/_typography';

@tailwind base;
@tailwind components;
@tailwind utilities;

html {
  @apply bg-slate-950;
}

body {
  font-family: 'Kiwari', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;

  @apply text-default text-white;
}

@layer base {

  .feature__heading {
    @apply mb-2 text-h6 text-white opacity-50;
  }

  .feature__content {
    @apply text-small ;
  }
}
.field_with_errors {
  input, textarea {
    @apply border-b-red-600;
  }
}



@layer base {
  .buttons__cta {
    @apply h-12 flex items-center justify-center mt-10; 
  }

  .mobile-nav__buttons {
    position: absolute;
    right: 0;
    top: 50%;
    width: 36px;
    height: calc((36px * 3) /4);
    cursor: pointer;
  }

  .mobile-nav__button {
    @apply bg-custom-purple;

    position: absolute;
    width: 36px;
    height: 6px;
    border-radius: 3px;

    &:nth-child(1) {
      top: 0;
    }
    &:nth-child(2) {
      top: 50%;
    }
    &:nth-child(3) {
      top: 100%;
    }
  }
}
@layer base {
  .faq__question {
    @apply pt-6;
  }

  .faq__answer {
    @apply mt-4 pr-12 overflow-y-hidden transition-all duration-500;
  }

  .faq__icons {
    @apply ml-6 flex h-7 items-center;
  }
}
@layer base {
  footer {
    margin-top: 48px;
    margin-bottom: 48px;
    position: relative;
  }

  @media screen and (min-width: 640px) {
    footer {
      margin-top: 80px;
      margin-bottom: 80px;
    }
  }

  @media screen and (min-width: 1280px) {
    footer {
      margin-top: 200px;
      margin-bottom: 200px;
    }
  }
}
@layer base {
  .hero__heading {
    @apply text-h1 mb-2;
  }
  
  .hero__description {
    @apply text-large;
  }

  .hero__services--inner {
    @apply my-0;
    padding-bottom: 50px;
    padding-top: 50px;
  }

  .hero__two-columns {
    @apply grid sm:grid-cols-3 lg:grid-cols-2;
  }

  .hero__banner {
    @apply bg-cover bg-center bg-no-repeat;
    height: 400px;
  }

  .hero__banner--services {
    @apply relative overflow-hidden;
    height: 500px;
  }

  .section__services--inner {
    @apply relative px-0 m-0 -mt-12 pt-0 pb-14 max-w-none;
  }

  @media screen and (min-height: 980px) {
    .section__services--inner {
      height: 100vh;
      min-height: 100%;
    }
  }

  @media screen and (min-width: 1024px) {
    .hero__banner           { height: 800px; }
    .hero__banner--services { height: 1000px; }
  }

  @media screen and (min-width: 1280px) {
    .hero__banner           { height: 800px; }
    .hero__banner--services { height: 1000px; }
    .hero__services--inner { padding-top: 100px; }
  }
}
@layer base {
  .section__eyebrow {
    @apply mb-4 text-custom-light-grey text-large;
  }

  .section__heading {
    @apply my-4 text-h2 font-medium;
  }

  .section__description {
    @apply mb-16 text-large;
  }

  @media screen and (min-width: 640px) {
  }
}


@layer base {
  section {
    margin-top: 48px;
    margin-bottom: 48px;
    position: relative;
  }

  .section__prefooter {
    @apply bg-custom-light-grey max-w-none m-0 text-black;

    padding: 40px 24px;
  }

  .section__wrapper {
    @apply max-w-screen-sm m-auto;

    margin-bottom: 28.8px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .service__wrapper--showcase {
    @apply bg-center bg-cover bg-no-repeat relative h-96 md:h-banner border-b-2  flex justify-center;

  }

  .section__wrapper--header {
    @apply max-w-screen-sm m-auto;

    padding-left: 24px;
    padding-right: 24px;
  }

  .section__wrapper--nav {
    height: calc(100vh - 80px);
    overflow: scroll;
    padding: 64px 24px;
  }

  .section__row--narrow {
    max-width: 680px;
    margin: auto;
  }

  .services__content--idea-validation {
    margin-top: 6rem;
    margin-bottom: 12rem;
  }

  @media screen and (min-height: 980px) {
    .services__content--idea-validation {
      margin-top: auto;
      margin-bottom: auto;
    }
  }

  @media screen and (min-width: 640px) {
    section {
      margin-top: 80px;
      margin-bottom: 80px;
    }

    .section__prefooter {
      padding-top: 80px;
      padding-bottom: 80px;
    }

    .section__wrapper {
      @apply max-w-screen-xl;
    
      margin-bottom: 76.8px;
    }

    .section__wrapper--header {
      @apply max-w-screen-xl;
    }
  }

  @media screen and (min-width: 1280px) {
    section {
      margin-top: 200px;
      margin-bottom: 200px;
    }

    .section__row--narrow {
      max-width: 880px;
    }

    .section__prefooter {
      padding-top: 200px;
      padding-bottom: 200px;
    }

    .section__wrapper {
      max-width: 1366px;
      margin-bottom: 120px;
    }

    .section__wrapper--header {
      max-width: 1366px;
    }
  }
}
@layer base {

  .content--narrow {
    @apply max-w-section--narrow m-auto py-12;
  }

  .subsection {
    @apply grid gap-16 mt-16 lg:mt-32 lg:grid-cols-2 lg:gap-32 items-center;
  }

  .subsection__services {
    @apply flex h-banner-xs justify-center items-center;
  }

  .subsection__services--bg {
    @apply absolute h-full w-full transition bg-cover bg-no-repeat bg-center duration-700 ease-in-out flex flex-col justify-center;
  }

  .subsection__services--content {
    @apply relative h-full max-w-2xl m-auto flex flex-col items-center justify-center px-8 text-center text-white z-10;
  }

  .subsection__content  { @apply text-default; }
  .subsection__heading  { @apply mb-4 text-h3; }
  .subsection__link     { @apply mt-8 text-custom-light-grey; }
  .subsection__image     { @apply bg-custom-light-grey bg-opacity-10; }

  @media screen and (min-width: 640px) {

    .content--narrow { @apply m-auto py-gutter--y; }

    .subsection__services {
      @apply h-banner-lg;
    }
  }

  @media screen and (min-width: 1280px) {
  }
}
@layer base {
  .text-h1 {
    font-size: 36.49px;
    line-height: 43.79px;
    font-weight: 500;
  }

  .text-h2 {
    font-size: 32.44px;
    line-height: 38.93px;
    font-weight: 500;
  }

  .text-h3 {
    font-size: 25.63px;
    line-height: 30.76px;
    font-weight: 400;
  }

  .text-h4 {
    font-size: 22.78px;
    line-height: 27.34px;
    font-weight: 400;
  }

  .text-h5 {
    font-size: 20.25px;
    line-height: 24.3px;
    font-weight: 400;
  }

  .text-h6 {
    font-size: 18px;
    line-height: 21.6px;
    font-weight: 400;
  }

  .text-large {
    font-size: 20.25px;
    line-height: 30.38px;
    font-weight: 400;
  }

  .text-default {
    font-size: 18px;
    line-height: 27px;
    font-weight: 400;
  }

  .text-small {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
  }

  @media screen and (min-width: 640px) {
    .text-h1      { font-size: 58px; line-height: 68.5px; }
    .text-h2      { font-size: 40px; line-height: 50px; }
    .text-h3      { font-size: 36.5px; line-height: 44px; }
    .text-h4      { font-size: 29px; line-height: 37.5px; }
    .text-h5      { font-size: 23.5px; line-height: 28px; }
    .text-h6      { font-size: 18.75px; line-height: 22.5px; }
  }

  @media screen and (min-width: 1280px) {
    .text-h1      { font-size: 76.29px; line-height: 91.56px; }
    .text-h2      { font-size: 61.04px; line-height: 73.25px; }
    .text-h3      { font-size: 48.83px; line-height: 58.6px; }
    .text-h4      { font-size: 39.06px; line-height: 46.87px; }
    .text-h5      { font-size: 31.25px; line-height: 37.5px; }
    .text-h6      { font-size: 25px; line-height: 30px; }
    .text-large   { font-size: 25px; line-height: 37.5px; }
    .text-default { font-size: 20px; line-height: 30px; }
    .text-small   { font-size: 16px; line-height: 24px; }
  }
}
@font-face {
  font-display: swap;
  font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Regular.otf) format('opentype');
  font-weight: normal;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Thin.otf) format('opentype');
  font-weight: 100;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Air.otf) format('opentype');
  font-weight: 200;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Light.otf) format('opentype');
  font-weight: 300;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Medium.otf) format('opentype');
  font-weight: 500;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Semibold.otf) format('opentype');
  font-weight: 600;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Bold.otf) format('opentype');
  font-weight: 700;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Ultra-Bold.otf) format('opentype');
  font-weight: 900;
}

@font-face {
  font-display: swap; font-family: 'Kiwari';
  src: font-url(/assets/Kiwari-Regular-Italic.otf) format('opentype');
  font-style: italic;
}

/* Add additional @font-face rules for other font weights or styles if necessary */
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
