/* RESET */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  color: inherit;
  background: inherit;
}

/* The END of RESET */

/* FONTS */

@font-face {
  font-family: "Xanti Typewriter";
  src: url("https://use.typekit.net/af/087569/0000000000000000774af682/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3") format("woff2");
  font-style: normal;
  font-weight: 25 800;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family: "Xanti Typewriter";
  src: url("https://use.typekit.net/af/73acbb/0000000000000000774f2ed5/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=i8&v=3") format("woff2");
  font-style: italic;
  font-weight: 25 800;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family: "FreeSerif";
  src: url("/kosmetyczka/literki/freeserif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family: "FreeSerif";
  src: url("/kosmetyczka/literki/freeserif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
}

/* The END of FONTS */

/* BASE */

:root {
  --rem: 25px;
}

html {
  font-family: "Xanti Typewriter", monospace;
  font-size: var(--rem);
  font-variation-settings: "wght" 325;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1;
  font-synthesis: none;
  text-align: left;
  line-height: 1.5;
  color: #000;
  background: #fff;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: clamp(1rem, 5vw, 3rem);
}

a {
  background: #ecefef;
}

figcaption a {
  background: transparent;
}

/* The END of BASE */

/* MENU */

nav {
  max-width: 50ch;
  font-size: 0.88rem;
  line-height: 2.25;
}

nav span {
  margin-inline-end: 0.5em;
}

.tematy {
  max-width: 50ch;
  margin-bottom: 2em;
  font-size: 0.8rem;
  line-height: 2;
}

.tematy span {
  margin-inline-end: 0.5em;
}

ul {
  max-width: 50ch;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  font-size: 0.8rem;
}

li {
  padding-inline-start: 1.75em;
  text-indent: -1.75em;
  line-height: 1.75;
}

/* The END of MENU */

/* QUOTE */

figure {
  max-width: 60ch;
  font-family: "FreeSerif", serif;
}

blockquote p {
  margin-bottom: 0.5em;
}

blockquote p:last-child {
  margin-bottom: 2em;
}

figcaption {
  font-family: "Xanti Typewriter", monospace;
  font-size: 0.8rem;
  line-height: 2;
}

figcaption cite {
  font-style: normal !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* The END of QUOTE */

/* UTILITIES */

em,
cite {
  font-style: italic;
}

span.wersaliki {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

span.wersaliki cite {
  font-style: normal;
}

/* The END of UTILITIES */

/* RESPONSIVE */

@media screen and (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: calc(var(--rem) * 0.92);
  }
}

@media screen and (max-width: 767px) {
  html {
    font-size: calc(var(--rem) * 0.8);
  }
}

/* The END of RESPONSIVE */