@font-face {
  font-family: "KingRichard-Italic";
  src: url("../resources/fonts/KingRichard-Italic.woff2") format("woff2"),
    url("../resources/fonts/KingRichard-Italic.woff") format("woff");
  /* font-display: swap; */
}

@font-face {
  font-family: "Manrope Medium";
  src: url("../resources/fonts/Manrope\ Medium.woff2") format("woff2"),
    url("../resources/fonts/Manrope\ Medium.woff") format("woff");
  /* font-display: swap; */
}

@font-face {
  font-family: "Manrope Regular";
  src: url("../resources/fonts/Manrope\ Regular.woff2") format("woff2"),
    url("../resources/fonts/Manrope\ Regular.woff") format("woff");
  /* font-display: swap; */
}

:root {
  --max-width: 1440px;
  --bg-color: #f5f1e3;
  --card-top-offset: 3rem;
  --card-h: clamp(25rem, 25rem + 12vw, 55rem);
}

html,
body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: #b0b0b0 #f0f0f0;
}

html {
  /* scroll-behavior: smooth; */
  overflow-x: initial;
}

body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

body {
  font-family: "Manrope Medium", sans-serif;
}

h1,
h2,
h3 {
  font-family: "KingRichard-Italic", sans-serif;
}

p {
  font-family: "Manrope Medium", sans-serif;
}

blockquote {
  font-family: "Manrope Medium", sans-serif;
}

footer {
  font-family: "Manrope Medium", sans-serif;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: all 0.8s ease-out;
}

.container {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.show-content {
  opacity: 1;
  transform: translateY(0);
}
