@font-face {
  font-family: 'PlayFair-Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/PlayfairDisplay-VariableFont_wght.woff2') format('woff2');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Roboto-VariableFont_wdth_wght.woff2') format('woff2');
}

@layer reset, base, layout, components, utilities;

@layer reset {

  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  
}

@layer base {

  :root {
    --color-primary: oklch(0.3531 0.0034 286.22);
    --color-secondary: oklch(0.6441 0.127 129.02);
    --color-tertiary: oklch(0.5705 0.0019 325.6);
    --color-white:oklch(100% 0.00011 271.152);
    --color-shadow:rgba(153, 153, 153, 0.25);
    --color-cta: oklch(0.6961 0.1523 46.36);
    --color-error: oklch(0.6192 0.1694 25.05);
    --backgroundColor-primary: oklch(0.9581 0 0);
    --backgroundColor-titlesPresentation: var(--color-primary);
    --font-main: 'Roboto', sans-serif;
    --font-title: 'PlayFair-Display', serif;
    --boxShadow-titleSection: 0 4px 4px rgba(0, 0, 0, 0.25);
    --boxShadow-ctaText: 0 1px 4px rgba(0, 0, 0, 0.25);
    --textShadow-form: 0 1px 4px rgba(0, 0, 0, 0.25);
    --boxShadow-titleServices: 1px 2px 4px var(--color-tertiary);
    --textShadow-titleServices: 2px 2px 1px var(--color-shadow);
    --textShadow-titleHero: 1px 1px 2px white;
    --fontWeight-semibold: 600;
  }

  html {
    scroll-behavior: smooth;
  }

  body {

    background-color: var(--backgroundColor-primary);
    color: var(--color-primary);
    font-family: var(--font-main);
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }

  .body--mobile {
    min-height: 100dvh;
  }

  .body--desktop {
    height: 100dvh;
  }



  input,
  textarea,
  select {
    font-family: inherit;
  }

  section {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
    margin-top: 2rem;

  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-title);
    padding: 0.5rem;
    letter-spacing: 0.1em;

  }

  p,
  p span {
    max-width: 400px;
    text-align: justify;
    hyphens: auto;
    text-justify: inter-character;
    padding: 0.5rem;
    text-indent: 0.5rem;

  }

  p:has(span) {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  ul,
  ol {
    list-style: none;
  }

  @media (min-width:1280px) {
    body {
      justify-content: space-between;
    }
  }
}