html {
  box-sizing: border-box;
  height: 100%;
}
*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  width: 100%;
}
.row>* {
  padding-right: 1%;
  padding-left: 1%;
  margin-top: 20px;
}
.main__title {
  display: flex;
  background-color: #e4e2e5;
  justify-content: center;
  margin-top: 80px;
}
.h1 {
  color: #5c2b2b;
  font-size: 36px;
  font-family: 'Georgia',serif;
  line-height: 1.55;
  font-weight: 700;
  text-align: center;
}
.h2 {
  color: #9c2121;
  font-size: 30px;
  font-family: 'Roboto Slab',Arial,sans-serif;
  line-height: 1.55;
  font-weight: 500;
  text-align: center;
}
.chapter {
	background-image: linear-gradient(to bottom, rgba(194,189,211,1), rgba(228,226,229,1));
  padding-top: 15px;
  padding-bottom: 50px;
  box-shadow: 0 0 10px 10px rgb(238, 197, 158) inset;
}

.btn_uslugi {
  display: flex;
  justify-content: space-between;
}
.btn_uslugi_left {
  display: flex;
  justify-content: left;
  margin-top: 50px;
  margin-left: 30px;
 
 }
.btn_uslugi_right {
 display: flex;
 justify-content: right;
 margin-top: 50px;
 margin-right: 30px;

}
a.button_uslugi {
  display: inline-block;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px rgba(0,0,0,.5);
  user-select: none;
  padding: .7em 1.5em;
  border: 1px solid rgb(80,32,0);
  border-radius: 5px;
  outline: none;
  background: rgb(147,80,36) linear-gradient(rgb(106,58,26), rgb(147,80,36) 80%);
  box-shadow:
   0 6px rgb(86,38,6),
   0 3px 15px rgba(0,0,0,.4),
   inset 0 1px rgba(255,255,255,.3),
   inset 0 0 3px rgba(255,255,255,.5);
  transition: .2s;
  justify-content: center;
} 
.button_uslugi:hover {
  background: rgb(167,91,41) linear-gradient(rgb(126,69,31), rgb(167,91,41) 80%);
}
.button_uslugi:active {
  background: rgb(120,63,25) linear-gradient(rgb(120,63,25) 20%, rgb(167,91,41));
  box-shadow:
   0 2px rgb(86,38,6),
   0 1px 6px rgba(0,0,0,.4),
   inset 0 1px rgba(255,255,255,.3),
   inset 0 0 3px rgba(255,255,255,.5);
  -webkit-transform: translate(0, 4px);
  transform: translate(0, 4px);
}

.ramka {
  display: flex;
  justify-content: center;
  text-align: center;
  max-width: 70%;
  margin: 0 auto;
  box-shadow: 0 1px 4px rgb(255, 78, 78),
-23px 0 20px -23px rgba(254, 10, 10, 0.8),
23px 0 20px -23px rgba(254, 10, 10, 0.8),
0 0 40px rgb(255, 78, 78) inset;
font-size: 12px;
font-weight: 700;
}

.main-text {
    margin: 10px 0;
}

@media (min-width: 670px) and (max-width: 980px) {
  .h1 {
    font-size: 28px;
  }
}
@media (max-width: 670px) {
  .h1 {
    font-size: 24px;
  }
  .main-text {
    font-size: 12px;  
  }
}

