:root {
  --font-family: 'Montserrat', sans-serif;
  --second-family: 'Outfit', sans-serif;
  --third-family: 'Inter', sans-serif;

  --accent-color: #2860cf;
  --light-color: #ffffff;

  --text-color: #212121;
}

*,
*::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: #fff;
}

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;
  }
}

.input {
  border: 2px solid var(--input-border-color);

  &:hover {
    border: 2px solid var(--input-hover-color);
  }
  &:focus {
    border: 2px solid var(--input-focus-color);
  }
}

.container {
  max-width: 1132px;
  margin-inline: auto;
  padding: 0 16px;
}

.title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--light-color);
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: var(--light-color);
  background: var(--accent-color);
  border-radius: 100px;
  cursor: pointer;

  &:hover::before {
    right: -30px;
  }
}

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

/* burger */
.burger {
  margin-left: 20px;
  display: none;
  position: relative;
  border: none;
  padding: 0;
  width: 34px;
  height: 24px;
  color: var(--light-color);
  background-color: transparent;
  cursor: pointer;
  z-index: 9;
  transition: transform 0.8s ease;
}

.burger::before,
.burger::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::before {
  top: 0;
  left: 0;
  width: 100%;
}

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

.burger__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--active {
  transform: rotate(180deg);
}
.burger--active::before {
  color: var(--accent-color);
  top: 50%;
  width: 100%;
  transform: rotate(45deg);
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

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

.burger--active .burger__line {
  color: var(--gray-color);
  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: #000;
}
