﻿@font-face {
  font-family: "SFProWeb";
  src: url("../assets/fonts/sf-pro-display-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFProWeb";
  src: url("../assets/fonts/sf-pro-display-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SFProWeb";
  src: url("../assets/fonts/sf-pro-display-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Inter", "SFProWeb", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  letter-spacing: -0.05em;
  min-height: 100vh;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

h1,
h2,
h3 {
  font-family: inherit;
  font-weight: 700;
  font-style: normal;
  color: var(--text);
  letter-spacing: -0.06em;
  line-height: 1.12;
}

p,
a,
li,
label,
small {
  font-family: inherit;
  font-weight: 400;
  letter-spacing: -0.045em;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

main {
  position: relative;
  z-index: 10;
}

.container {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
