*,
*::before,
*::after { box-sizing: border-box;}
body{-webkit-font-smoothing: antialiased; -webkit-overflow-scrolling: touch; padding: 0; margin: 0; background:rgb(41, 41, 50); font-size: 1.2em;}
header{background-image: url(../img/head.jpg);height: 400px; background-position: center center; background-size: cover;}
footer{background:#292932; width: 100%; text-align: center; color: white; display: flex; flex-direction:column; text-align: center; border-top:1px solid #ffaa91; box-sizing:border-box; padding: 5px;}
footer a{padding: 5px;}
.styleicon{color:#ffaa91; font-size: 22px;}
.infoblock{display: flex; flex-direction: row; text-align: center; align-items: center;}
.grayfont{background: rgba(200,200,200,0.7); padding: 10px;}
.headfont{background: rgba(41, 41, 50, 0.7); color: white; min-width: 30%; margin-right: 10%; padding: 10px;}
.masterspisok{background: rgba(41, 41, 50, 0.7); color: white; min-width: 30%; margin-left: 10%; padding: 10px; text-align: left;}
.masterspisok span{ margin-left: 5%; padding: 5px;}
.hrblock{background:#292932; width: 100%; text-align: center; color: white; font-size: 25px; padding: 2px;}
.photoblock{background:#ffaa91; width: 100%; text-align: center; color: #292932; font-size: 25px; padding: 2px;}
.sugar{background-image: url(../img/shugaring-primorskayajpg.jpg);background-position: center center; background-size: cover; padding: 50px;}
.master{background-image: url(../img/master-shugaring.jpg);background-position: center center; background-size: cover; padding: 50px;}
.action{background-image: url(../img/action.jpg); background-position: center center; background-size: cover; justify-content: center;}
.blockprice{width: 80%; background-color: rgba(41, 41, 50, 0.7); color: white; line-height: 35px; text-align: center;}
.lastinfo{display: flex; flex-direction: column; text-align: center; align-items: center;  justify-content: center;}
.lastblock{width: 80%; background-image: url(../img/procedura.jpg);background-position: center center; background-size: cover; display: flex; flex-direction: column; text-align: left; align-items: center;  justify-content: center;}
.bonus{border: 1px solid #ffaa91; border-radius: 10px; margin: 10px; padding-left: 5px; padding-right: 5px;}
.pargraf p{text-align:left; text-indent:20px;}
.alink{text-decoration: none;}
.blocksize{min-width: 50%;}
.otzyvy{ width: 90%; margin-left: 5%; display: flex; flex-wrap: wrap; justify-content: center;}
.photo{background-image: url(../img/master-shugaring.jpg);background-position: center center; background-size: cover; padding: 50px; text-align: center;}
.photo img{ border: 1px solid #292932;}
/* .otzyvy video{width: 250px; height: 250px;} */
.otstup{padding: 0px 5px 0px 5px;}
.otzyvy video{width: 25%; height: 10%; max-height: 250px; margin: 10px; border: 1px solid #ffaa91; background: rgba(17, 17, 20, 0.7);}
.hrstyle{
  border: 0;
height: 1px;
background: #333;
background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc);
background-image: -moz-linear-gradient(left, #ccc, #333, #ccc);
background-image: -ms-linear-gradient(left, #ccc, #333, #ccc);
background-image: -o-linear-gradient(left, #ccc, #333, #ccc);
width: 90%;
}
/* #cost{border: 1px solid #ffaa91; border-radius: 10px; padding: 10px;} */
#zapis{margin-bottom: 0;}
.result {
  height: 40px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  /* line-height: 55px; */
  text-decoration: none;
  text-align: center;
  color: black;
  border: none;
  background: #ffaa91;
  margin: 15px 15px;
  padding-left: 15px;
  padding-right: 15px;
  cursor: pointer;
  border: 1px solid #ccc;
}
.menu {
    top: 320px; 
    position:absolute;
    height: 80px;
    width: 100%; 
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 32, 0.9);
    } 
.menu.fixed{position: fixed; top: 0;} */
.header-bar {z-index: 100;}
.header-bar__container {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
.logo__name {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #fff;
    margin-left: 10px;
    text-decoration: none;
  } 
 .logo__color {
    font-size: 22px;
    color: #ffaa91;
    font-weight: 500;
  }  
.main-nav {
    font-size: 0;
  } 
.main-nav__link {
    position: relative;
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
    padding: 28px 10px;
    text-decoration: none;
    transition: 0.3s;
  }
.main-nav__link:hover {
    background-color: #292932;
    color: #ffaa91;
  }
.main-nav__link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffaa91;
    transform: scaleX(0);
    transition: 0.3s;
  } 
.main-nav__link:hover::after {transform: scaleX(1);}
.menuToggle {
    display: none;
    position: absolute;
    top: 30px;
    right: 15px;
    cursor: pointer;
    border: none; 
    outline: none;
    background: url(../img/burgbutton.png);
    width: 40px;
    height: 21px;
  }

/* кнопка позвонить */
.callback-bt {
  background:#ffaa91;
  border:2px solid #ffaa91;
  border-radius:50%;
  box-shadow:0 8px 10px rgba(255,170,145,0.3);
  cursor:pointer;
  height:68px;
  text-align:center;
  width:68px;
  position: fixed;
  right: 8%;
  bottom: 10%;
  z-index:999;
  transition:.3s;
  -webkit-animation:hoverWave linear 1s infinite;
  animation:hoverWave linear 1s infinite;
  display: none;
}

.callback-bt a {
  color:#fff;
  font-size:34px;
  line-height: 66px;
  text-decoration: none;
}

@-webkit-keyframes hoverWave {
  0% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 0 rgba(255,170,145,0.2),0 0 0 0 rgba(255,170,145,0.2)
}
40% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 15px rgba(255,170,145,0.2),0 0 0 0 rgba(255,170,145,0.2)
}
80% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 30px rgba(255,170,145,0),0 0 0 26.7px rgba(255,170,145,0.067)
}
100% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 30px rgba(255,170,145,0),0 0 0 40px rgba(255,170,145,0.0)
}
}@keyframes hoverWave {
  0% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 0 rgba(255,170,145,0.2),0 0 0 0 rgba(255,170,145,0.2)
}
40% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 15px rgba(255,170,145,0.2),0 0 0 0 rgba(255,170,145,0.2)
}
80% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 30px rgba(255,170,145,0),0 0 0 26.7 rgba(255,170,145,0.067)
}
100% {
  box-shadow:0 8px 10px rgba(255,170,145,0.3),0 0 0 30px rgba(255,170,145,0),0 0 0 40px rgba(255,170,145,0.0)
}
}
/* конец кнопки звонка */
@media screen and (max-width: 960px) {
.menu{display: flex;align-items: center;}
.main-nav {
      display: none;
      position: absolute;
      top: 80px;
      left: 0;
      right: 0;
      text-align: center;
    }  
.main-nav__link {
      display: block;
      color: #fff;
      font-weight: normal;
      margin: 0;
      padding: 18px 0;
      background-color: rgba(17, 17, 20, 0.7);
      font-size: 20px;
      font-weight: 500;
    }   
.menuToggle {
      display: block;
      z-index: 100;
    }  
.main-nav__link::after,
.active::after {
      display: none;
    }
    .infoblock{width: 100%;}
.sugar{flex-direction: column; background-image: url(../img/min-shugaring-primorskayajpg.jpg); padding-left: 0px; padding-right: 0px;}
.master{flex-direction: column; background-image: url(../img/master-shugaring.jpg); padding-left: 0px; padding-right: 0px;}
.photo{background-image: url(../img/master-shugaring.jpg); padding: 10px;}
.action{background-image: url(../img/min-action.jpg);}
/* .headfont{margin-right: 0;} */
.headfont{margin-right: 50px; margin-left: 50px;}
.masterspisok{width: 98%; margin-left: 0;}
.blocksize{width: 98%; margin-top: 5px;}
.blockprice{width: 98%;} 
.lastblock{background-image: url(../img/min-procedura.jpg);}
.callback-bt {display: block;}
.otzyvy{flex-direction: column;}
.otzyvy video{width: 100%; height: 10%; margin: 0;}
}
@media only screen and (min-width: 961px){
.main-nav{display: block !important;} 
}