@font-face {
  font-family: "Raleway";
  src: url(https://malahit37.ru/static/fonts/Raleway-Regular.ttf);
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url(https://malahit37.ru/static/fonts/Raleway-Medium.ttf);
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url(https://malahit37.ru/static/fonts/Raleway-SemiBold.ttf);
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url(https://malahit37.ru/static/fonts/Raleway-Bold.ttf);
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Tektur";
  src: url(https://malahit37.ru/static/fonts/Tektur-Medium.ttf);
  font-weight: 500;
  font-display: swap;
}

.to_top {
  display: none;
  background-image: url(https://malahit37.ru/static/images/angle-down.svg);
  background-repeat: no-repeat;
  background-position: center;
  position: fixed;
  left: 2vw;
  bottom: 2vh;
  width: 40px;
  height: 40px;
  background-size: 60% auto;
  background-color: #c6803c;
  color: transparent;
  opacity: 0.5;
  filter: invert(1);
  transform: rotate(180deg);
  transition: all 0.3s;
  border-radius: 10px;
  cursor: pointer;
  z-index: 100;
}

.to_top span {
  transform: rotate(-45deg);
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-variant-numeric: lining-nums;
}

main {
  overflow: hidden;
  min-height: calc(100vh - 144px);
}

header {
  padding: 20px;
}

header p {
  font-size: 2.6rem;
  color: #000;
  font-weight: 700;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  align-self: center;
  text-transform: uppercase;
}

/*hamburger*/
#hamburger {
  cursor: pointer;
  padding: 15px 0 0 15px;
  background: #2e1908;
  /* width: 100%; */
  height: 60px;
  position: relative;
  display: flex;
  justify-content: flex-start;
}

#hamburger > p {
  color: #ff0;
  font-weight: 500;
  font-size: 1.25rem;
  position: relative;
  top: 8px;
  left: 15px;
  text-shadow: 0 0 6px #ff0;
}

#hamburger > a {
  position: absolute;
  right: 30px;
}

#patties {
  -webkit-transition: all 1s;
  transition: all 1s;
  width: 35px;
  height: 22px;
  z-index: 1;
  overflow: initial;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 3px;
  background-color: #ff0;
  box-shadow: 0 0 6px #ff0;
  margin: 6px 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.change {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 5px);
  transform: rotate(-45deg) translate(-9px, 5px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -4px);
  transform: rotate(45deg) translate(-8px, -4px);
}

#top_nav {
  max-height: 0;
  overflow: hidden;
  padding: 0;
}
/*---hamburger---end---*/

@-webkit-keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 0;
}

.bg_body {
  background-image: url(https://malahit37.ru/static/images/home/bg.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg_none {
  background-image: none;
}

.flex-col,
.flex-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.flex-col {
  -webkit-box-orient: vertical;
  -ms-flex-flow: column wrap;
  flex-flow: column wrap;
}

.message {
  position: fixed;
  width: 260px;
  height: auto;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 90;
  background: #fff;
  text-align: center;
  border: 2px solid #1d5b21;
  font-size: 1.1em;
  padding: 20px 10px;
}

#top_nav {
  background-color: #2e1908;
  color: #ff0;
  text-transform: uppercase;
  position: relative;
}

#top_nav ul {
  flex-direction: row;
}

#top_nav ul,
.toggle-sub {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
}

#top_nav ul li:first-child {
  display: block;
}

#top_nav li {
  padding: 8px;
}

#top_nav i {
  margin-right: 5px;
}

#top_nav a {
  margin: 0 auto;
  text-shadow: 0 0 6px #ff0;
  -webkit-transition: text-shadow 0.5s;
  transition: text-shadow 0.5s;
}

#top_nav a:hover {
  text-shadow: 0 0 6px #ff0, 0 0 30px #fff;
}

@media screen and (max-width: 850px) {
  .toggle-sub {
    text-align: center;
    display: block;
    font-size: 18px;
    cursor: pointer;
  }

  #top_nav ul li:first-child {
    display: none;
  }

  #top_nav ul {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  #top_nav li,
  .toggle-sub {
    padding: 15px 0;
  }

  .slide_logo ul {
    font-size: 1.5em;
  }

  .slide_logo {
    grid-template-columns: 1fr;
    align-items: start;
    margin: 20px;
  }

  #slider_header .between_left_slider h1 {
    margin: 40px 20px 50px 20px;
  }

  #slider_header .between_left_slider h1 {
    font-size: 2em;
  }
}

.headline {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 2em;
  line-height: 1.2em;
  color: #006837;
  text-shadow: 0 1px 0 #000;
  font-weight: 700;
}

.headline::after {
  display: block;
  content: "";
  width: 80%;
  height: 2px;
  margin: 10px auto;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(0, 104, 55, 0)),
    color-stop(50%, #006837),
    to(rgba(0, 104, 55, 0))
  );
  background: linear-gradient(
    left,
    rgba(0, 104, 55, 0) 0%,
    #006837 50%,
    rgba(0, 104, 55, 0) 100%
  );
}

footer {
  width: 100%;
  min-height: 70px;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.2em;
}

footer p {
  z-index: 4;
}

/* #back-top {
  display: none;
  position: fixed;
  bottom: 10px;
  margin: 0;
  padding: 0;
  left: 10px;
  width: 50px;
  height: 50px;
  background-color: rgba(13, 136, 193, 0.6);
  font-size: 40px;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  text-shadow: none;
}

#back-top:hover {
  text-shadow: 0 0 10px #fff;
  cursor: pointer;
}

#back-top > i {
  vertical-align: 4px;
} */

#signature {
  padding: 0;
  margin-top: 10px;
  max-width: 200px;
  text-align: center;
  font-size: 0.7em;
  line-height: initial;
}

#signature a {
  font-size: 1.1em;
  line-height: initial;
}

#signed {
  color: red;
  text-shadow: #000 0 1px 1px;
  font-style: italic;
}

footer a,
footer p {
  margin: 10px 0;
  -ms-flex-item-align: center;
  align-self: center;
  font-size: 0.9em;
  max-width: 250px;
  text-align: center;
}

a,
a:active,
a:visited {
  color: inherit;
  text-decoration: none;
}

/* @media screen and (min-width: 400px) {
  #hamburger > p {
    left: 64%;
  }
}

@media screen and (min-width: 540px) {
  #hamburger > p {
    left: 60%;
  }
}

@media screen and (min-width: 700px) {
  #hamburger > p {
    left: 58%;
  }
} */

@media screen and (min-width: 850px) {
  #hamburger {
    display: none;
  }

  #top_nav {
    max-height: 100%;
    overflow: inherit;
    padding: 10px 20px;
  }
}
.article_content {
  padding: 20px;
  margin: 0;
  max-width: 100%;
}

.article_content div:nth-child(2) {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.article_content div:last-child a {
  display: block;
  margin-bottom: 20px;
  color: #444;
  font-size: 1.3rem;
}

.article_content div:last-child a:hover {
  color: #000;
}

.article_content div:last-child p {
  display: block;
  margin-bottom: 20px;
  font-size: 1rem;
}

.article_content ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  justify-content: start;
  align-items: flex-start;
  margin: 50px 0;
  gap: 20px;
}

@media screen and (min-width: 980px) {
  .install ul {
    flex-wrap: nowrap;
  }
}

@media screen and (min-width: 1280px) {
  .article_content {
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;
  }
}
