* {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif; }

.container {
  width: 100%;
  height: 100%;
  min-height: 80px;
  margin: 0 auto;
  overflow: hidden;
  max-width: 1140px;
  padding: 20px;
  box-sizing: border-box; 
  display: grid; 
}
  @media only screen and (max-width: 768px) {
    .container {
      padding-left: 15px !important;
      padding-right: 15px !important; } }



header {
  display: inline-block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 80px;
  background-color: #fff;
 
  z-index: 1; }
  .menu{
    display: grid;
    grid-template-columns: repeat( auto-fill, minmax(130px, 1fr));
    grid-column-gap: 1.5% ;
    grid-row-gap: 20px ;
    align-self: center;
    
  }
  
    @media only screen and (max-width: 1050px) {
      header .menu {
        display: none; } }
    header .menu a {
      box-sizing: border-box;
      padding: 0 10px;
      text-decoration: none;
      font-size: 12px;
      font-weight: 500;
      color: #151a30;
      text-transform: uppercase;
      height: 100%;
      vertical-align: middle;
      line-height: 34px;
      border: 1px solid #FBB03B; 
      text-align: center;
      letter-spacing: 1px;
    }

    header .menu a:hover{
      font-size: 13px;
      color: #FBB03B;
    }
    header .container .menu .active-menu{
      font-size: 13px;
      color: #FBB03B;
    }

  header .mobile-menu-button {
    float: right;
    display: none;
    width: 33px;
    cursor: pointer; }
    @media only screen and (max-width: 1050px) {
      header .mobile-menu-button {
        display: block; } }

.mobile-menu {
  display: none;
  padding-bottom: 30px; }
  @media only screen and (max-width:1050px) {
    .mobile-menu {
      display: none;
      z-index: 10;
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      background-color: #eee;
     } }
  @media only screen and (max-width: 1050px) {
    .mobile-menu.active {
     padding-top: 30px;
      display: grid;
      justify-content: center; 
      gap: 20px;
    } }
  .mobile-menu a { 
    width: 130px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: #424242;
    text-transform: uppercase;
    text-align: center;
    border: 1px solid #FBB03B; 
    line-height: 34px;
    background: #fff;
   }

   /* gamburger */
   .menu-icon {
    margin: auto;
    display: grid;
    place-items: center;
    height: 35px;
    width: 35px;
    cursor: pointer;
    overflow:hidden;
  }
  
  .menu-icon > span {
    width: 30px;
    height: 3px;
    display: block;
    background-color: #424242;
    transition: all 0.3s ease-in-out;
    justify-self: end;
  }
  
  .menu-icon > span:nth-child(1) {
    width: 32px;
  }
  
  .menu-icon > span:nth-child(2) {
    width: 25px;
  }
  
  .menu-icon:hover > span:nth-child(1) {
    width: 20px;
  }
  
  .menu-icon:hover > span:nth-child(2) {
    width: 30px;
  }
  
  .menu-icon.active2 span:nth-child(1) {
    transform-origin: center center;
    transform: rotate(-45deg) translate(-20%, 340%);
    width: 35px;
  }
  
  .menu-icon.active2 span:nth-child(2) {
    transform: translateX(30px);
  }
  
  .menu-icon.active2 span:nth-child(3) {
    transform-origin: center center;
    transform: rotate(45deg) translate(-20%, -340%);
    width: 35px;
  }
  /* слайдер */
  html, body {
    margin: 0; padding: 0;
  }
  
  .slider-wrap {
    width: 100%;
    height:calc(100vw/2.8);
    position: relative;
    margin-top: 1.5vw;
  }
  .single-slide {
    width: 100%;
    height:100%;
    position: absolute;
    opacity: 0;
    animation: slider-animation;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    background-position: center center;
    background-attachment: scroll;
    background-size: cover;
  }
  
  #slide-1 {background-color: #FBB03B; background-image: url(/images/ctenki-1.jpg);}
  #slide-2 {background-color: rebeccapurple; animation-delay: 5s; background-image: url(/images/detskie-1.jpg);}
  #slide-3 {background-color: orange; animation-delay: 10s; background-image: url(/images/divan-1.jpg);}
  #slide-4 {background-color: blue; animation-delay: 15s; background-image: url(/images/panorama-1.jpg);}
  #slide-5 {background-color: green; animation-delay: 20s; background-image: url(/images/panorama-2.jpg);}
  #slide-6 {background-color: green; animation-delay: 25s; background-image: url(/images/прихожии.jpg);}
  
  @keyframes slider-animation {
      
  0% {
      opacity: 0;
  }
  6% {
      opacity: 1;
  }
  24% {
      opacity: 1;
  }
  30% {
      opacity: 0;
  }
  100% {
      opacity: 0;
  }
  }

  .botom-hredar{
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(250px, 1fr));
    grid-column-gap: 1.5% ;
    grid-row-gap: 20px ;
    justify-items: center;
    
  }
  .img-ctntr{
    justify-self: center;
    align-self: center;
  }
  @media only screen and (max-width:538px){
    .d-none{
      display: none;
    }
  }
  .txt-center{
    text-align: center;
  }
  .txt-color{
    color: #151a30;
    font-weight: 400; 
  }
  .color-sp{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 24px;
    color: brown;
    font-weight: 700;
  }
  .border_ct{
    border: 1.5px solid #43b15b;
    padding: 15px;
    border-radius: 5px;
    width: 85%;
    background: #f1ece4;
  }

  footer .menu a {
    box-sizing: border-box;
    padding: 0 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: #151a30;
    text-transform: uppercase;
    height: 100%;
    vertical-align: middle;
    line-height: 34px;
    border: 1px solid #FBB03B; 
    text-align: center;
    letter-spacing: 1px;
  }
  footer .menu a:hover{
    font-size: 13px;
    color: #FBB03B;
  }
  footer .container .menu .active-menu{
    font-size: 13px;
    color: #FBB03B;
  }