html {
  box-sizing: border-box;
  --fixed-header-safe-offset: 168px;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  overflow: scroll;
}
:focus {
  outline: none;
}

/* html5: */

header,
footer,
nav,
article,
aside,
figure {
  display: block;
}

body > header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 0;
  padding: 0;
  pointer-events: none;
}

/* text: */

body,
p,
ul,
ol,
li,
input,
textarea,
select,
option,
label,
blockquote,
button {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  word-break: break-word;
}

@media screen and (max-width: 960px) {
  html {
    --fixed-header-safe-offset: 92px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0 0 15px 0;
}

h1 {
  font-size: 45px;
  line-height: 55px;
  font-weight: 700;
}
h2 {
  font-size: 30px;
  line-height: 40px;
}
h3 {
  font-size: 25px;
  line-height: 35px;
}
h4 {
  font-size: 20px;
  line-height: 30px;
}
h5 {
  font-size: 22px;
  line-height: 32px;
}
h6 {
  font-size: 18px;
  line-height: 28px;
}

p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 960px) and (min-width: 769px) {
  h1 {
    font-size: 40px;
    line-height: 50px;
  }
  h2 {
    font-size: 25px;
    line-height: 35px;
  }
  h3 {
    font-size: 20px;
    line-height: 30px;
  }
  h4 {
    font-size: 22px;
    line-height: 32px;
  }
  h5 {
    font-size: 18px;
    line-height: 28px;
  }
  h6 {
    font-size: 17px;
    line-height: 27px;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 30px;
    line-height: 40px;
  }
  h2 {
    font-size: 25px;
    line-height: 35px;
  }
  h3 {
    font-size: 20px;
    line-height: 30px;
  }
  h4 {
    font-size: 22px;
    line-height: 32px;
  }
  h5 {
    font-size: 18px;
    line-height: 28px;
  }
  h6 {
    font-size: 17px;
    line-height: 27px;
  }
}

/* links: */

a {
  color: sienna;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #000;
}

/* images: */

a img,
button img,
img {
  vertical-align: middle;
}

a svg,
button svg,
svg {
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

/* buttons: */

button.btn-green,
a.btn-green {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: linear-gradient(to top, darkolivegreen, darkseagreen)
    darkolivegreen;
  box-shadow: none;
  font-weight: 600;
  color: #fff;
  transform: translateY(0);
  transition: all 0.3s;
}
button.btn-green:hover,
a.btn-green:hover {
  background: linear-gradient(to top, #364916, darkolivegreen) #364916;
  box-shadow: rgba(0, 0, 0, 0.1) 0 0 3px 5px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-5px);
}

button.btn-orange,
a.btn-orange {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: linear-gradient(to top, firebrick, sandybrown) firebrick;
  box-shadow: none;
  font-weight: 600;
  color: #fff;
  transform: translateY(0);
  transition: all 0.3s;
}
button.btn-orange:hover,
a.btn-orange:hover {
  background: linear-gradient(to top, #820d0d, firebrick) #820d0d;
  box-shadow: rgba(0, 0, 0, 0.1) 0 0 3px 5px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-5px);
}

button.btn-white,
a.btn-white {
  display: inline-block;
  padding: 10px 20px;
  border: none;
  outline: none;
  border-radius: 10px;
  background: linear-gradient(to top, #fff, #fff) #fff;
  box-shadow: none;
  font-weight: 600;
  color: #000;
  transform: translateY(0);
  transition: all 0.3s;
}
button.btn-white:hover,
a.btn-white:hover {
  background: linear-gradient(to top, sandybrown, #fff) sandybrown;
  box-shadow: rgba(0, 0, 0, 0.1) 0 0 3px 5px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(-5px);
}

/* extras: */

img.logo {
  width: 120px;
  height: auto;
}

a.zoom img {
  transform: scale(1);
  transition: all 0.3s;
}
a.zoom:hover img {
  transform: scale(1.35);
}

a.zoom svg {
  transform: scale(1);
  transition: all 0.3s;
}
a.zoom:hover svg {
  transform: scale(1.35);
}

img.vk-32px {
  width: 32px;
  height: 32px;
}

.clearfix {
  clear: both;
}

@media screen and (max-width: 480px) {
  .footer img.logo {
    width: 200px;
  }
}

/* breadcrumbs: */

.breadcrumbs {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
}
.breadcrumbs a {
  color: moccasin;
}

@media screen and (max-width: 768px) {
  .breadcrumbs {
    font-size: 16px;
    line-height: 22px;
  }
}
