@tailwind components;
@tailwind utilities;

:root {
  font-family: "Inter", Calibri, "Trebuchet MS", sans-serif;
  font-size: 18px;

  @media (min-width: 768px) {
    font-size: 20px;
  }
}

* {
  margin: 0;
}

body {
  background-color: #f5fffa;
}

img,
video {
  max-width: 100%;
  height: auto;
}

@font-face {
  font-family: "Source Code Pro";
  src: url(/fonts/SourceCodePro-Regular.otf.woff2) format("woff2");
}

@font-face {
  font-family: "Inter";
  src: url(/fonts/Inter-Regular.woff2) format("woff2");
}

@layer components {
  .posts {
    @apply flex flex-col gap-10 md:gap-8;
  }

  .title {
    font-family: "Source Code Pro", monospace;
  }
}
