/* Basic reset begin */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
a {
  outline: none;
  text-decoration: none;
}
button {
  padding: 0;
  margin: 0;
  outline: none;
  border: none;
  background-color: transparent;
  font-family: 'Metropolis', sans-serif;
  cursor: pointer;
}
input {
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
/* Basic reset end */

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  margin: 0;
  padding: 0;
}

body {
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Metropolis', sans-serif;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 90vw;
  padding: 20px;
  will-change: transform, opacity;
}

.logo {
  font-family: "MicroSquare", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  display: flex;
  justify-content: center;
  gap: 0.005em;
  line-height: 1;
  min-height: 5rem;
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  user-select: none;
}

/* Хак для Firefox */
@-moz-document url-prefix() {
    .logo {font-weight: 700;}
    .text {font-weight: 200;}
}

.logo span {
  display: inline-block;
  opacity: 0;
  transform: scale(10) translateY(-20px);
  filter: blur(3px);
  will-change: transform, opacity, filter;
}

.color-black {
  color: #000;
}

.color-pulse__blue {
  color: #005eff;
}

.text {
  text-wrap: balance;
  font-family: 'Metropolis', sans-serif;
  font-size: calc(1.1rem + (2.2 - 1.1) * ((100vw - 20rem) / (1980 - 20)));
  font-weight: 300;
  color: #555;
  line-height: 1.4;
  will-change: transform, opacity;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  user-select: none;
}

.pre-hidden {
  opacity: 0;
  pointer-events: none;
}
