/**
 * Reset styles
 *
 * 3.0.0
 *
 */
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;

  /* 
    * За замовч. для всіх елементів box-sizing: content-box. 
    * Тоді елементи матимуть незрозумілі величини, з цим незручно працювати. 
    * З border-box наші паддінги підуть усередину нашого контейнера. 
    */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* 
  * https://stackoverflow.com/questions/3397113/how-to-remove-focus-border-outline-around-text-input-boxes-chrome
  */
*:focus {
  outline: none;
}

html,
body {
  height: 100%;
  min-width: 320px;
  line-height: 1;
}

body {
  color: #000000;
  font-size: 1rem;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  /* Згладжування шрифта для macOS */
  -moz-osx-font-smoothing: grayscale;
  /* Згладжування шрифта для macOS */
}

input,
button,
textarea {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  background-color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul,
ol,
li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
  /* щоб не було артефактного відступу знизу */
  object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
  line-height: 1;
}