html {
  scroll-behavior: smooth;
}

.sticky-block {
  position:-webkit-sticky;
  position:sticky;
  top:0;
  z-index: 1;
  box-shadow: 1px 3px 1px 0px rgba(81, 109, 79, 0.5);
}

body {
  font-family: "Manrope", Manrope-fallback, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  background: rgb(223,255,214);
  background: linear-gradient(90deg, rgba(223,255,214,1) 0%, rgba(255,255,255,1) 50%, rgba(223,255,214,1) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body h4, h3 {
  font-family: "Manrope", Manrope-fallback, sans-serif;
  font-size: 28px;
  font-weight: 600;
  scroll-margin-top: 6rem;
  text-align: center;
  margin-bottom: 10px;
}

body p {
  line-height: 1.2em;
}

body a {
  color: rgb(54, 45, 153);
}

header {
  background-color:aliceblue;
}

main {
  margin-top: 30px; /* add some margin to the top of the main content */
  animation: opacitytrans 1.5s;
}

.a_i_1 {
  background-color: #bcecae;
  border-radius: 15px 0 0 15px;
}

.a_i_2 {
  background-color: #8ddc77;
}

.a_i_3 {
  background-color: #62c147;
  border-radius: 0 15px 15px 0;
}

.advantages{
  margin-bottom: 30px;
}

.advantages_item {
  padding: 1em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.advantages_item h4 {
  display: flex;
  min-height: 57px;
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 15px;
  background-color: aliceblue;
}

footer .prava {
  display: block;
  text-align: center;
}

ul {
  list-style: none;
  padding-left: 0;
}

.table-services {
  border-collapse:separate; 
  border-spacing: 0 15px;
  border: 1px solid #8ddc77;
  border-radius: 10px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 10px;
}

th {
  text-align: center;
}

td {
  max-width: 900px;
  border-bottom: 1px dotted rgb(123, 176, 80);
}

.block-info {
  background-color:white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 0 15px black;
  margin-bottom: 30px;
}

.block-info__overflow-x {
  overflow-x: auto
}

.nav-link {
  font-size: 20px;
  padding: 20px;
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.button-link {
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  background-color: #bcecae;
  color: black;
  border: none;
  width: -webkit-fill-available;
}

.button-link__last {
  margin-bottom: 0 !important;
}

.button-link:hover, .button-link:focus{
  animation: colortrans 1s;
  background-color: #62c147;
}

tr:hover, tr:focus{
  animation: colortrans 1s;
  background-color: #62c147;
}


.img-fluid {
  max-width: 90% !important;
}

.photo-gallery {
  color:#313437;
}
  
.photo-gallery p {
  color:#7d8285;
}
  
.photo-gallery h2 {
  font-weight:bold;
  margin-bottom:40px;
  padding-top:40px;
  color:inherit;
}
  
.photo-gallery .intro {
  font-size:16px;
  max-width:500px;
  margin:0 auto 40px;
}

.photo-gallery .intro p {
  margin-bottom:0;
}

.photo-gallery .item {
  background-color:#fff;
}

@media (max-width:767px) {
  .photo-gallery h2 {
    margin-bottom:25px;
    padding-top:25px;
    font-size:24px;
  }

  .a_i_1 {
    border-radius: 15px 15px 0 0;
  }
  .a_i_3 {
    border-radius: 0 0 15px 15px;
  }
}

@media (max-width: 990px) {
  .header-contacts {
    display: none;
  }
}

@keyframes opacitytrans {
  0% {opacity: 0;}
  100% { opacity: 1;}
}

@keyframes colortrans {
  0% { background-color: #bcecae; }
  100% { background-color: #62c147; }
}