@charset "UTF-8";
/* ■■■■■ ОБНУЛЯЮЩИЕ СТИЛИ ■■■■■■■■■■■■ */
body {
  margin: 0;
}
body * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  border: none;
}
body *::before, body *::after {
  box-sizing: border-box;
}

header, nav, main, footer, section, aside,
img, picture, video, canvas, svg,
label, summary, source, iframe {
  display: block;
}

img {
  max-width: 100%;
}

ul, ol, li {
  list-style: none;
}

a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

input, button, textarea, select {
  display: block;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

textarea {
  resize: vertical;
}

button, select {
  cursor: pointer;
}

/* ■■■■■ БАЗОВЫЕ СТИЛИ ■■■■■■■■■■■■■■■ */
html, body {
  height: 100%;
}

body {
  font-family: system-ui;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}
@supports (-webkit-tap-highlight-color: transparent) {
  body {
    -webkit-tap-highlight-color: transparent;
  }
}

.page-wrapper {
  min-height: 100%;
  overflow: clip;
}

[class$=container] {
  max-width: 1000px;
  padding: 0 1rem;
  margin: 0 auto;
}

.none, [none] {
  display: none !important;
}

/* ■■■■■ СТИЛИ САЙТА ■■■■■■■■■■■■■■■■■ */
:root {
    --transition: 200ms;
}
:root[data-theme="light"] {
    --clr-text: black;
    --clr-bg: white;
}
:root[data-theme="dark"] {
    --clr-text: white;
    --clr-bg: black;
}


.page-wrapper {
    padding: 1rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    background-color: var(--clr-bg);
    transition: background-color var(--transition);
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    color: var(--clr-text);
    transition: color var(--transition);
}

[data-theme-switch-btn] {
    padding: 0.6em 1.4em;

    font-size: 2rem;
    font-weight: 300;
    color: #fff;

    border-radius: 4em;
    background-color: hsl(200 100% 50%);
    transition: background-color var(--transition);
}
@media (any-hover: hover) {
    [data-theme-switch-btn]:hover {
        background-color: hsl(200 100% 45%);
    }
}
@media (any-hover: none) {
    [data-theme-switch-btn]:active {
        background-color: hsl(200 100% 45%);
    }
}
