@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #0d1014;
  --primary-dark: #0a0b0e;
  --secondary: #f6f9ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--primary);
  color: var(--secondary);
  font: inherit;
  line-height: inherit;
  overflow-x: hidden;
}

h1 {
  font-size: 2.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

a {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}

p>a {
  text-decoration: underline;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html:focus-within {
    scroll-behavior: auto !important;
  }
}

.sr-o {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.container {
  margin: 0 auto;
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  width: 95%;
}

.bg-dark {
  background-color: var(--primary-dark);
}

.flex-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-header {
  min-height: 20vh;
}

.text-center {
  text-align: center;
}

.mh-100vh {
  min-height: 100vh;
}

.page-section {
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .page-section{
    padding: 3rem 0;
  }
}

@media (min-width: 1280px) {
  .page-section{
    padding: 3rem 0;
  }
}

@media (min-width: 1366px) {
  .page-section{
    padding: 4rem 0;
  }
}

.section-title {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 0;
}

.category-title {
  display: inline-block;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.category-description {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  margin-bottom: 2rem;
}

.separator {
  margin: 2rem 0;
}

@media (min-width: 1280px) {
  .separator {
    margin: 3rem 0;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid {
    gap: 2rem;
  }
}

.grid>* {
  grid-column: auto / span 12;
}

@media (min-width: 768px) {
  .grid>.col-6-sm {
    grid-column: auto / span 6;
  }
}

@media (min-width: 1024px) {
  .grid>.col-4-md {
    grid-column: auto / span 4;
  }
}

@media (min-width: 1366px) {
  .grid>.col-3-lg {
    grid-column: auto / span 3;
  }
  .grid>.col-2-lg {
    grid-column: auto / span 2;
  }
}

.no-gap {
  gap: 0;
}

.card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  width: 100%;
}

.card-media-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.card-media-wrapper img {
  position: relative;
  max-width: none;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
  transition: transform 400ms ease;
}

.card:hover .card-media-wrapper img {
  transform: scale(1.1);
}

.card-details {
  background-image: linear-gradient(#000, transparent);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

@media (min-width: 768px) {
  .card-details {
    padding: 1.5rem;
  }
}

.clip {
  max-width: 600px;
}

img {
  max-width: 100%;
}