:root {
  --heading-gap: 30px;
  --input-pad-x: 12px;
  --input-pad-y: 8px;
  --border-radius: 10px;
  --animation-duration: 1000ms;
  --section-pad-Y: 50px;
  --section-pad-x: 20px;
  --container-width: 600px;
}

:root {
  --bg-main: hsl(0 0 94);
  --bg-alt: hsl(0 0 90);
  --text-main: hsl(0 0 10);
  --text-muted: hsl(0 0 30);
  --input-main-bg: hsl(0 0 100);
  --input-main-text: var(--text-main);
  --input-alt-bg: hsl(0 0 90);
  --input-alt-text: var(--text-main);
  --input-placeholder: var(--text-muted);
  --toggle-bg: hsl(0 0 15);
  --toggle-circle: hsl(0 0 90);
  --border-muted: hsl(0 0 80);
}

[data-theme=dark] {
  --bg-main: hsl(0 0 15);
  --bg-alt: hsl(0 0 19);
  --text-main: hsl(0 0 100);
  --text-muted: hsl(0 0 70);
  --input-main-bg: hsl(0 0 25);
  --input-main-text: var(--text-main);
  --input-alt-bg: hsl(0 0 8);
  --input-alt-text: var(--text-main);
  --input-placeholder: var(--text-muted);
  --toggle-bg: hsl(0 0 90);
  --toggle-circle: hsl(0 0 15);
  --border-muted: hsl(0 0 28);
}

[data-surface=dark] {
  --bg: hsl(0 0 15);
  --text-main: hsl(0 0 100);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  transition: var(--animation-duration);
  margin: 0;
}

section {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: center;
  gap: 50px;
  padding: var(--section-pad-Y) var(--section-pad-x);
}

.container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: var(--container-width);
  max-width: 100%;
}

.heading {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  line-height: 120%;
  color: var(--text-main);
  margin: 0;
}

.text {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 140%;
  color: var(--text-main);
  margin: 0;
}

.page-title {
  font-size: 4rem;
  text-align: start;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--heading-gap);
}

.menu-bar {
  padding-block: 10px;
  background-color: var(--bg-alt);
  border-bottom: solid 1px var(--border-muted);
  transition: var(--animation-duration);
}
.menu-bar .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Lora";
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-main);
}

.theme-toggle {
  --circle-size: 24px;
  --icon-size: 18px;
  --pad: 6px;
  --circle-margin: 2px;
  --gap:10px;
  position: relative;
  height: calc(var(--circle-size) + 4px);
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  flex-direction: row;
  gap: var(--gap);
  padding: var(--pad);
  border: none;
  border-radius: 20px;
  background-color: var(--toggle-bg);
  cursor: pointer;
}
.theme-toggle svg {
  width: var(--icon-size);
  height: var(--icon-size);
  transition: ease calc(var(--animation-duration) * 2);
  fill: var(--toggle-circle);
  align-self: center;
}
.theme-toggle .icon-dark {
  transform: scale(90%);
}
.theme-toggle .circle {
  position: absolute;
  width: var(--circle-size);
  height: var(--circle-size);
  border-radius: 20px;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  transition: calc(var(--animation-duration) / 2);
}

[data-theme=light] .icon-dark {
  fill: transparent;
}
[data-theme=light] .circle {
  left: calc(100% - var(--circle-size) / 2 - var(--circle-margin));
  background-color: var(--toggle-circle);
}

[data-theme=dark] .icon-light {
  fill: transparent;
}
[data-theme=dark] .circle {
  left: calc(0% + var(--circle-size) / 2 + var(--circle-margin));
  background-color: var(--toggle-circle);
}

.filters-wrapper {
  position: sticky;
  top: 5px;
  width: var(--container-width);
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 5px;
  padding: 5px;
  border-radius: var(--border-radius);
  background-color: var(--input-main-bg);
  transition: var(--animation-duration);
}

.search-wrapper {
  position: relative;
  width: 100%;
  color: var(--input-main-text);
}
.search-wrapper svg {
  position: absolute;
  width: 18px;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.search-wrapper input {
  padding-left: 34px;
}

.input {
  width: 100%;
  padding: var(--input-pad-y) var(--input-pad-x);
  border: none;
  border-radius: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  background-color: transparent;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 140%;
  color: var(--input-main-text);
  margin: 0;
}
.input::-moz-placeholder {
  color: var(--input-placeholder);
}
.input::placeholder {
  color: var(--input-placeholder);
}

.select-wrapper {
  position: relative;
  border-radius: 5px;
  background-color: var(--input-alt-bg);
  color: var(input-alt-text);
}
.select-wrapper svg {
  position: absolute;
  width: 18px;
  right: 8px;
  top: 50%;
  fill: var(--input-alt-text);
  transform: translateY(-45%);
}
.select-wrapper option {
  color: hsl(0, 0%, 15%);
}

.category {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.category__name {
  font-size: 2.6rem;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service__line {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: solid 0.5px var(--border-muted);
}
.service__name {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 600;
}
.service__description {
  color: var(--text-muted);
}

.price-list {
  display: flex;
  flex-direction: column;
  /*display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
  row-gap: 4px;
  -moz-column-gap: 50px;
       column-gap: 50px;
  margin-top: 10px;
}
.price-list .price {
  border-bottom: solid 0.5px hsl(0, 0%, 85%);
  padding-bottom: 3px;
}
.price-list .price__number {
  font-weight: 400;
}

.price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
}
.price__title {
  margin-right: 1rem;
}
.price__currency {
  font-size: 1.2rem;
  margin-left: auto;
}
.price__number {
  font-weight: 400;
}

.back-to-top {
  --size: 40px;
  position: fixed;
  bottom: calc(var(--size) * -1.2);
  left: 50%;
  transform: translateX(-50%);
  width: var(--size);
  height: var(--size);
  border: solid 0.5px var(--border-muted);
  border-radius: var(--size);
  background-color: var(--bg-alt);
  transition: ease 500ms;
  cursor: pointer;
}
.back-to-top.visible {
  bottom: 10px;
}

ul {
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

.visible {
  display: flex;
}/*# sourceMappingURL=style.css.map */