

* {box-sizing: border-box;}
* {font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;}
@font-face {
    font-family: 'Bona Nova';
    src: url('BonaNova-Regular.ttf');
    font-weight: 100;
    font-style: normal;
    }

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

@font-face {
    font-family: 'BonaNovaitalic';
    src: url('BonaNova-Italic.ttf');
    font-weight: 100;
    font-style: italic;}
@import url('https://fonts.googleapis.com/css2?family=Bona+Nova&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Bona+Nova:ital@0;1&display=swap');
@font-face {
    font-family: 'Roboto';
    src: url('Roboto-Regular.ttf');
    font-weight: 300;
    font-style: normal;
    
}
@import url(https://fonts.googleapis.com/css?family=Raleway);




body {  
    width: 100%;
    padding: 0;
    margin: 0;}


/* шапка */
.header {
    width: 100%;
    height:130px;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 2;
    background-color: #f1eeee;
}

.header__partners {
    width: 100%;
    height:130px;
    padding: 0;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1eeee;

}

.log {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 50px;
    padding: 0;
    margin: 0;
}

.logotip {
    display: flex;
    justify-content: space-evenly;
    padding: 5px;
}

.textlogo {
    margin-top: 20px;
    margin-left: 20px;
   }

.textlogo1 {    
    margin: 2px;
    padding: 0;
    letter-spacing: 15px;
    color: #E46A17;
    font-size:15px ;
    font-weight: 100;
}
.textlogo2 {
    margin: 2px;
    padding: 0;
    line-height: normal;
    letter-spacing: 7.2px;
    color: #E46A17;
    font-size:15px ;
    font-weight: 100;
}

.textlogo3 {
    margin: 0;
    padding: 0;
    color: #E46A17;
    font-family: 'Bona Nova', serif;
    font-size: 40px;
    letter-spacing: 18px;
    font-weight: 100;
}

.nav__header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;  
    padding: 0;
    margin: 0;
   }

/* пробую бургер */

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; 
  color: #312f2f;
  height: 50px;
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #E46A17;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}



/* пробую бургер*/


.text__nav__header {
   
    text-decoration: none;
    color: rgb(15, 15, 15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;   
}

.text__nav__header:hover {
    color: #E46A17;
}

.socialseti{
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;   
}
.iconsheader {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socialseti__wots {
    display: none;
}
.ok {
    width: 105%;
}

.container {
    width: 100%;
    padding-top: 130px; 
    padding: 0;
    margin: 0;   
}


/* видеофон */

.titul {
    width: 100%;
    height: 100%;
    margin: 0 auto;   
}
.vid {   
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative; 
}

/* о нас */

.portfolio {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f1eeee;
    padding: 0;
    margin: 0; 
}

.heading {
    width: 100%;
    height: 10vh;
    margin-top:130px;
    color: #E46A17;  
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 48px;
    letter-spacing: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.textlogo3_heading {
    width: 100%;
    display: flex;
    justify-content: space-evenly;    
}

.portfolio__bloci{
    width: 100%;
    display: flex;
    justify-content: space-evenly;   
}

.portfolio__bloci__bloc {
    width: 30%;
    margin: 10px;
    padding: 20px;
}

.img__bloci__bloc{
    display: flex;
    justify-content: center; 
}

.logo__img__bloci{
    width: 25%;
    margin: 50px;   
}

.text__portfolio {
    font-size:23px ;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
}

.text__portfolio__h {
    font-size:25px ;
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    border-bottom: 0;
    padding: 0;
    margin: 0;
}

.portfolio__img {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

/* Slideshow container */
.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  .slaider {
    background-color: #f1eeee;
    width: 100%;    
  }

  /* Hide the images by default */
  .mySlides {
      display: none;
      width: 450px;
      padding: 25px;          
    }

   /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: rgb(31, 22, 22);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
  }

  .prev {
    left: 20px;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  .dot_class {
    padding: 15px;
  }
  
  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

/* услуги */

.service {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    }

.text__service {
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 100%;
    text-align: center;    
    letter-spacing: 2px;    
    padding-top: 30px;
    font-family: 'Roboto', sans-serif;
} 

.text__portfolio__h {
    font-size:24px ;
    font-family: 'Bona Nova', serif;
}

.bloci__service {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.container_service {
    width: 500px;
    padding: 0;
    margin: 0;
}

.bloc__service {
    width:500px ;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin:20px auto;
    padding: 5px;
    margin-top: 5px;
    border: 1px solid #b1abab;
    border-radius: 5%;
    background-color: #fffafa;
}
.logo__bloc__service {
    display: flex;
    align-items: center;
    justify-content: start;
    margin-left: 40px;
}

.img__logo__bloc__service {

    margin-bottom: 0;
    width: 50px;
}


.list {
    
    width: 300px;
    height: 250px;
   
    display: flex;
    flex-direction: column;
}

.text__logo__bloc__service {
    font-size:24px ;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    margin-top: 20px;
}

.btn__service {
    width: 300px;
    display: flex;
    justify-content: center;
    border-color: #e4dcdc;
    cursor: pointer;
    background-color: #E46A17;
    margin: auto;
    display: none;
}

.text__btn {
    font-size:20px ;
    font-weight: 200;
    font-family: 'Roboto', sans-serif;
    border-bottom: 0;
}

ul:first-child  li:before { content:"\2713\0020"; }  /* OR */

ul { list-style-type: none; } 

/* преимущества */

.pluses {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    background: rgba(61, 61, 61, 0.10);
}

.bloci__pluses {
   width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 100px;
}

.bloc__plus {
    width: 407px;
    height: 345px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.10);
    margin: 20px;
    padding: 10px;
}

.logo__plus {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img__logo_plus {
    width: 60px;
    height: 60px;
}

.hbp{
    width: 390px;
    text-align: center;
    padding: 15px;
    margin: 0;
}

.hb__plus{   
    font-family: 'Bona Nova', serif;
    color: #000;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 1px;
}

.text__plus {
    width: 380px;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
}

.hbp__text {
    color: #3D3D3D;
    margin: 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 1px;
}


/* появились вопросы */

.consultation {
    width: 100%;
    padding: 50px;
    display: none;

}

/* ипотека*/

.ipoteka {
    width: 100%;
    padding-top: 30px;
    padding-left: 200px;
    padding-right: 200px;
} 

.container__ipoteka {
    width: 100%;
    display:  flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px auto;
}

.ipoteka__bloc {

    width: 600px;
    height: 200px;
    border: 1px solid #999;
    border-radius:40px;
    overflow: hidden;
    margin: 30px;
    box-shadow: #7c7878 3px 4px;
}

.img__partner {
    width: 500px;
    height: 200px;
}

.ipoteka__bloc:hover {
    background-color: #756f6b;
    box-shadow: #494747 1px 1px;
    transition: 0.2s;
}


/* калькулятор*/

.container__calc {
    width: 100%;
    padding-top: 130px;
    padding-left: 100px;
    padding-right: 100px;
   
}

.btn__calc {
    width: 300px;  
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: #e4dcdc;
    cursor: pointer;
    background-color: #E46A17;
    margin: auto;
    text-decoration: none;
    border-radius: 15px;
    overflow:hidden;  
    box-shadow: #7c7878 3px 4px;
    box-sizing: border-box;
    border: none;
    color: #fff;
    
}
    
.btn__service__calc {
    width: 300px;
    min-height: 60px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: #e4dcdc;
    cursor: pointer;
    background-color: #E46A17;
    margin: auto;
    padding: 12px 16px;
    box-sizing: border-box;
    border: none;
    color: #fff;
    
}

.btn__calc:hover {
    background-color: #756f6b;
    box-shadow: #494747 1px 1px;
    transition: 0.2s;
}
.btn__service__calc:hover {   
    color: #3D3D3D; 
    transition: 0.2s;   
}

.text__btn__calc {
    font-size:18px ;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
    border-bottom: 0;
    margin: 0;
    text-align: center;
    line-height: 1.25;
}
    

/* Новостройки*/

.building {
    width: 100%;
}

.container_bulding {
    width: 100%;
    display: flex;
    padding: 100px;
    justify-content: center;
}

.img__bulding {
    padding: 50px;
    padding-top: 0;
}


.content_bulding {
    padding: 50px;
}

.list__bulding {
    
    width: 500px;
    height: 250px;
   
    display: flex;
    flex-direction: column;
}


/* отзывы*/



/* контакты*/

.contacts {
    width: 100%;
    padding: 0;
    margin: 0;
    padding-top: 50px;
}
.contacts_container {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0 auto;
}

.karta {
    padding: 50px;
}

.text__contact {
    text-decoration: none;
    color: #000;
}

.contacts__content {
    display: flex;   
    align-items: start;
    justify-content: center;
}

.contacts__adres {
    padding: 20px;
    margin: 0;
}

.contacts__adres__logo {
    margin-right: 15px;
}

.contacts__transport {
    padding: 20px;
}

.contacts__time {
    padding: 20px;
}

.contacts__text  {
    padding: 0;
    margin: 5px;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    font-variant-numeric: lining-nums;
    text-decoration: none;
    color: #111;
}

.yan {
    padding: 0;
    margin: 5px;
    font-family: 'Roboto', sans-serif;
    font-variant-numeric: lining-nums;
    text-decoration: none;
    color: #111;
}

.yan:hover {
    cursor: pointer;
    color: #E46A17;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;   
}

.contacts__aside__bloc {
    display: flex;
}


.contacts__aside__left {
    width: 100px;
}


/* подвал*/

.footer{
    width: 100%;
    height: auto;
    min-height: 0;
    background-color: #333; 
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 0;
    margin: 0; 
}

.aside__footer  {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.aside__footer_dop {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;

}

.socialseti__footer {
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    
}
.text__footer__head{
    color: #E46A17;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}

.text__footer {
    color: #E46A17;
    font-size: 15px;
    text-decoration: none;
    margin: 3px;
    font-family: 'Roboto', sans-serif;
}
.icons__footer {
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    background-color: #333;
    color: #333;
}

.img__footer {
    width: 30px;
    height: 30px;
    padding: 0;
    margin: 10px;
    background-color: #333;
    color: #333;
    border-radius: 5px;
    overflow: hidden;
}


@media (max-width: 700px) {
    .menu-button-container {
      display: flex;
    }
    .menu {
      position: absolute;
      top: 0;
      margin-top: 50px;
      left: 0;
      flex-direction: column;
      width: 100%;
      justify-content: center;
      align-items: center;
    }
    #menu-toggle ~ .menu li {
      height: 0;
      margin: 0;
      padding: 0;
      border: 0;
      transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    #menu-toggle:checked ~ .menu li {
      border: 1px solid #333;
      height: 2.5em;
      padding: 0.5em;
      transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }
    .menu > li {
      display: flex;
      justify-content: center;
      margin: 0;
      padding: 0.5em 0;
      width: 100%;
      color: white;
      background-color: #222;
    }
    .menu > li:not(:last-child) {
      border-bottom: 1px solid #444;
    }
  }