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

:root {
  --main-color: #7367f0;
  --dark-color: #6e6b7b;
  --black-color: #625f6e;
  --white-color: #fff;
  --warning-color: #ff9f43;
  --background-color: #f8f8f8;
}

html {
  font-size: 62.5%;
  letter-spacing: 0.014rem;
  height: 100%;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  font-family: Montserrat, Helvetica, Arial, serif;
  font-weight: 400;
  line-height: 1.45;
  height: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  color: #5e5873;
  font-weight: 500;
}

h6,
span {
  font-size: 1.4rem;
}

ul {
  list-style-type: none;
}

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

button {
  font-family: Montserrat, Helvetica, Arial, serif;
  font-weight: 500;
}

/* Helpers */

.flex-align-center {
  display: flex;
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.ml-auto {
  margin-left: auto;
}

.fixed-width {
  width: calc(100% - 260px);
}

.d-none {
  display: none !important;
}

.h-zero {
  opacity: 0 !important;
  visibility: hidden;
  max-height: 0 !important;
  overflow: hidden !important;
  transition: all 0.3 ease-out;
}

.cursor-pointer {
  cursor: pointer;
}

.overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 3;
  display: block;
  opacity: 1;
  transition: all 0.5s ease;
  background-color: rgba(34, 41, 47, 0.5);
  visibility: hidden;
}
