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


/*

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

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


 */

 .title {
    font-family: 'Windsor', 'Helvetica';
 }

 p {
    font-family: 'Inter', 'Helvetica';
 }

 .teal {
    color: #00A3DB;
 }

 @font-face {
    font-family: "Windsor";
    src: url("Windsor\ Regular.ttf") format("truetype");
}

/* Lazy loading styles for film page images */
.lazy-image {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.lazy-image.loaded {
  opacity: 1;
  background: none;
  animation: none;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Smooth image transitions */
img {
  transition: transform 0.2s ease-in-out;
  max-width: 100%;
  height: auto;
}

img:hover {
  transform: scale(1.02);
}
