:root {
  --font-family: 'Montserrat', sans-serif;
  --second-family: 'Comfortaa', sans-serif;
  --third-family: 'Montserrat Alternates', sans-serif;

  --accent-color: #0038ff;
  --second-color: #34a853;

  --text-color: #1c2b33;
  --second-text-color: #141414;

  --light-color: #ffffff;
  --dark-color: #000000;
}

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

html {
  font-family: var(--font-family);
  font-weight: 400;
  font-style: normal;
  min-width: 390px;
  scroll-behavior: smooth;
}

.page-body {
  margin: 0;
  min-width: 390px;
  min-height: 100%;
  font-size: 16px;
  overflow-y: auto;
  background: var(--body-bg-color);
}

main {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  user-select: none !important;
  pointer-events: none !important;
}
b {
  font-weight: bold;
}

a {
  text-decoration: none;
}
.dis-scroll {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  overscroll-behavior: none;
}

.btn-reset {
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.input-reset {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  background-color: var(--light-color);

  &::-webkit-search-decoration,
  &::-webkit-search-cancel-button,
  &::-webkit-search-results-button,
  &::-webkit-search-results-decoration {
    display: none;
  }
}

.flex {
  display: flex;
  align-items: center;
}
.container {
  margin-inline: auto;
  padding: 0 35px;
  max-width: 1200px;
}

.title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  color: var(--title-color);
}
.sub-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  letter-spacing: 0.01em;
  color: var(--light-color);
}
.text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  color: var(--text-color);
}

.btn {
  padding: 0 26px;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 100px;

  background: #0038ff;

  cursor: pointer;

  font-family: var(--font-family);
  font-weight: 600;
  font-size: 15px;
  color: var(--light-color);
}

details summary::-webkit-details-marker {
  display: none;
}

/* burger */

.burger {
  width: 75px;
  height: 100%;
  background: #0038ff;
  justify-content: center;
  align-items: center;
}
.burger-btn {
  position: relative;
  border: none;

  width: 30px;
  height: 30px;
  color: #fff;
  background-color: transparent;
  cursor: pointer;

  z-index: 9;
}

.burger-btn::before,
.burger-btn::after {
  content: '';
  position: absolute;
  height: 4px;
  border-radius: 4px;
  background-color: currentColor;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger-btn::before {
  top: 0;
  left: 0;
  width: 60%;
}

.burger-btn::after {
  top: calc(100% - 3px);
  right: 0;
  width: 60%;
}

.burger-btn__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: currentColor;
  transform: translateY(-50%);
  transition: transform 0.3s ease-in-out;
}

.burger-btn--active::before {
  /* color: var(--gray-color); */
  top: 50%;
  width: 100%;
  transform: rotate(45deg);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger-btn--active::after {
  /* color: var(--gray-color); */
  top: 50%;
  width: 100%;
  transform: rotate(-45deg);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.burger-btn--active .burger-btn__line {
  color: #fff;
  transform: scale(0);
  transition: transform 0.3s ease-in-out;
}
.line {
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
}
/* burger */

/* Стилизация скроллбара */
::-webkit-scrollbar {
  width: 8px; /* Ширина скроллбара */
}

/* Ползунок скроллбара */
::-webkit-scrollbar-thumb {
  background: var(--accent-color); /* Цвет ползунка */
  border-radius: 5px; /* Закругленные углы */
}

/* Трек скроллбара */
::-webkit-scrollbar-track {
  background: transparent; /* Цвет трека */
}
