html, body {
  min-height: 100%;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
  line-height: 1.7;

}
p {
  color: #162b29;
  text-align: justify;
    
}
@media screen and (max-width:756px) {
 p {
  text-align: start;
} 
.slider img {
      width:100%;
  }
.middle-header {
      display:none;
  }
  h1 {padding-left: 10px;}
}
.section-text p {
  margin-top:0px;
  padding: 0 10px;
}
 #section1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

  }
  .section-foto img {
    width:400px;}
    
  @media screen and (max-width:756px){
    #section1 {
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      flex-wrap: wrap;
       
    }
    .section-foto,  .section-foto img{
      width:100%;
    }
  }
  .section-foto, .section-text {
   margin:10px;
   
  }
 
  .title {
   margin-bottom: 5px;
    font-family: 'Pangolin', cursive;
    text-align: center;
    }
.name-in-text {
      color: #AF0018;
      color:#244431;
      font-weight:600;
    }
.wrapper {
  min-height: 100%;
  overflow: hidden;
  }
._container {
  max-width:1170px;
  margin: 0px auto;
  padding: 5px 10px;
}


.header {
  margin-top: 10px;
  padding: 5px 0px;
  height: 110px;
  background-color: #20363D;
  background-color:#162b29;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  border-bottom: solid 5px #f8bd9e;;
  font-family: 'Pangolin', cursive;
}
.header img {
  
  border-radius:5px;
}
.middle-header {
  color:#DCDBDB;
  text-align: center;
 
    }
    .right-header {
      display: flex;
      flex-direction: column;
    }

.top1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 5px;
  
  width: 650px;
  }
  

  .header-menu {
    width: 150px;
    text-align:center;
  }

.burger {
  width: 48px;
  height: 48px;
  border-radius: 5px;
  
}
#lang-select {
  width: 63px;
  height: 48px;
  background-color: #DCDBDB;
  border-radius: 5px;
}
.slider img{
  max-width: 1170px;
}
.header a, .footer a {
  text-decoration: none;
  font-size: 18px;
  color: #DCDBDB;
  font-family: 'Pangolin', cursive;
 
}
#lang-select a {
  color:#002a29;
  font-size:18px;
  text-decoration: none;
  font-family: 'Pangolin', cursive;
}
.header-menu-right {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 200px;
  align-items: center;
}
.header-under {
  background-color: #ffe8e2;
  height: 70px;
  width:150px;
  line-height: 1.1;
  text-align: center;
  margin-left: 10px;
  padding:5px;
  font-family: 'Pangolin', cursive;
  border: solid 2px #f8bd9e;
  border-radius: 5px;
  /*font-family: 'Marck Script', cursive;*/
  font-size: 22px;
  color:#002a29;
}
button.burger {
  color: #162b29;
}

h1 {
  color:#f8bd9e;
}
h2 {
  width:700px;
  margin: 20px auto;
  color:#20363D;
  
}
.share-block {
  width: fit-content;
}
.share-block img{
  width:36px;
  height: 36px;
  border-radius: 5px;
}

footer {
  background-color: #162b29;
  color:#f8bd9e;
  
}
.footer {
  height:70px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: start;
  align-content: stretch;
}
.contacts {
  padding-left: 40px;
}

.footer-box   {
display: flex;
flex-direction: column; 

}

.footer h3 {
  padding: 5px 5px;
}

.contacts-title h3 {
  margin-left: 14px;
}

footer li, footer a{
  color: #fff; 
  font-size: 22px;
}
.bottom-img-logo {
  margin-top: 40px;
  margin-bottom: 40px;
 }
.bottom-img-logo img {
  border-radius: 5px;
}
.footer-bottom, .contacts {
  text-align: center;
  padding: 15px 0px;
}
.social {
  margin-left: 30px;
}
.st-btn {
  padding: 10px;
}
.fa-envelope-o  {
  margin-right: 10px;}
  
  