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

@layer base {
    @font-face {
        font-family: 'bogue-black';
        src: url('/fonts/Bogue-Black Regular.ttf') format('truetype');
    }

    @font-face: {
      font-family: 'roboto-thin';
      src: url(/fonts/Roboto-Thin.ttf) format('truetype');
    }

    @font-face: {
      font-family: 'caveat';
      src: url(/fonts/Caveat-VariableFont_wght.ttf) format('truetype');
    }
}

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }

  .bogue {
    font-family: 'bogue-black', serif;
  }

  .roboto {
    font-family: 'roboto-thin', sans-serif;
  }

  .caveat {
    font-family: 'caveat', cursive;
  }

  .hero {
    background-color: #141710;
    /* first stop matches .hero-image's fade endpoint at its 384px (w-96) edge, so the two meet seamlessly */
    background-image: linear-gradient(90deg, #141710 0, #141710 384px, #1d1a14 620px, #14181e 900px, #0d1016 100%);
  }

  .hero-image {
    background-image:
      linear-gradient(to right, rgba(1,1,1,0.6) 0%, rgba(1,1,1,0.25) 70%, rgba(1,1,1,0.1) 100%),
      linear-gradient(to bottom, rgba(1,1,1,0.2), rgba(1,1,1,0.75)),
      url(/assets/pexels-wiredoptics-13618848-fd1fd8f0c1241eee078df52b8f08492174b71eb8b0457ef50216cb20f5be3724.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  @media (min-width: 768px) {
    .hero-image {
      background-image:
        linear-gradient(to right, rgba(18,21,14,0) 0%, rgba(18,21,14,0.10) 42%, rgba(19,22,15,0.72) 80%, #141710 100%),
        url(/assets/pexels-wiredoptics-13618848-fd1fd8f0c1241eee078df52b8f08492174b71eb8b0457ef50216cb20f5be3724.jpg);
      background-position: left;
      background-size: contain;
    }
  }
}

/*
 * 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.
 *


 */

