*{
    padding:0;
    margin:0;
    font-family: 'Roboto Condensed',sans-serif;
  
}
body,html { 
    overflow-x: hidden;
    height: 100%;
}
header{
    background-color: #533a4d;
}
body{
    background-image: url(../img/bg.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
nav{
    margin:0 auto;
    max-width: 1100px;
    width:100%
}


#checkbox-menu,
.toggle{
    display: none;
}
.menu{
    padding:0;
    margin:0;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
}
.menu li a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    align-self: center;
    font-size: 18px;
    padding: 10px 15px;
    transition: background-color .2s linear;
}
.menu li a:hover{
    color: white;
background: #d9beb3;
}
 
.menu li a.logo{
    font-size: 20px;
        margin-right: 240px;
}
.logo_img img{
  margin-left: 100px;

}
.menu li a.contacts{
    margin-right: 100px;
}

.wrapper{
     margin:auto;
     max-width: 1100px;
     width:100%;
}
.slideshow-container{
    max-width:1000px;
    position: relative;
    margin: auto;
}
.mySlides{
    display:none;
}
.prev, .next{
    cursor:pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: red;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}
.next{
    right:0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover{
background-color: rgba(80,103,171,0.8);
}

.active, .dot:hover{
    background-color: #717171;
}
.fade{
-webkit-animation-name:fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

.intro .intro-text{
 color: white;
 position: absolute;
 font-size: 60px;
 left:360px;
 top: 280px;
}
.intro-contacts{
    color: white;
    background-color: #5067ab;
    max-width:560px;
    position: absolute;
    left: 0;
    margin-left: 180px;
    bottom: 0;
    display:flex;
    justify-content: space-between;
    padding: 30px 50px;
    border-radius: 100px;
}
.intro-contacts img{
    margin-right: 25px;

}
.intro-contacts p{
    font-size: 16px;
    margin-right: 25px;
}
.stats{
    display:flex;
    margin-top:130px;
}
.stats-line{
    display:flex;
}
.stats-text{
    padding:40px;
}
.stats-text h2{
    font-size:40px;
    margin-bottom: 70px;
}
.stats-text p{
    margin-top: 50px;
    font-size: 20px;
    line-height: 27px;
}
.square{
    color: white;
    width: 200px;
    height: 200px;
    background-color: #5067ab;
    margin: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 100px;
}
.stats-square{
    font-size: 40px;
    color:rgb(255, 255, 255);
    margin-bottom: 15px;
}
.square-text{
    font-size: 18px;
    text-align: center;
}
.apartments{

    padding: 60px 0;
}
.apart h2{
    margin-bottom: 85px;
    font-size: 40px;
}
.card{
    max-width:348px;
    background: #fff;
    box-shadow: 0 0 10px rgba(80,103,171,0.5)
}
.card-container{
    padding: 25px;
}
.card-info{
    display: flex;
    justify-content: space-between;
    margin-top: 25px;

}
.card-info .money{
    font-size: 18px;
}
.card:hover{
    background: #fff;
    box-shadow: 0 0 10px rgba(80,103,171, 0.8);
}
.cards{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(2,1fr);
    grid-column-gap:0px;
    grid-row-gap:30px
}
.apart input[type=text]{
    margin-top: 50px;
    width: 300px;
    height: 70px;
    border:none;
    background-image: url(../img/search.png);
    background-repeat: no-repeat;
    background-position: 27px;
    outline:none;
    padding-left: 62px;
    font-size: 15px;
    color:#919eb1;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}
.apart input[type=submit]{
    color: white;
    width: 115px;
    border:none;
    height: 70px;
    background: #5067ab; 
    margin-left: -4px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
}
.all{
    width: 250px;
    height: 70px;
    border:none;
    border-radius: 100px;
    margin-left: 40px;
    margin-top: 52px;
}
.button-search{
    display: flex;
}
.wrapper h2{
    font-size: 40px;
}
.steps h2{
margin-top:25px;
font-size:40px;
margin-bottom:35px;
}
.steps-text{
line-height:27px;
font-size:20px;}
.mbtext{
margin-bottom:70px;
font-size:20px
}

.stepblock{
    display: block;
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
    border: 20px solid #5067ab;
    border-radius: 50px;
}
.stepblock img{
    display: block;
    position: relative;
    width: 300px;
    height: 300px;
}
.block_text{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    height: 300px;
    display: block;
    opacity: 0;
    -webkit-transition: all 0.7s ease-in-out;
    -moz-transition: all 0.7s ease-in-out;
    -ms-transition: all 0.7s ease-in-out;
    -o-transition: all 0.7s ease-in-out;
    transition: all 0.7s ease-in-out;
    background-color: #d9beb3;
   
}
.stepblock:hover .block_text{
    opacity: 1;
}
.block_text h4{
text-align: center;
margin-top: 50px;
font-size: 30px;
}
.block_text p{
    text-align: center;
    margin-top: 100px;
   text-decoration: underline;
}
.steps-container{
margin-bottom:50px;
display:flex;
justify-content:space-between;
}

.serv-container{
    display: flex;
    margin-top: 70px;
}
.services img{
    width: 100%;
    height: auto;
}
.serv-img-container{
    width: 58%;
}

.serv-text{
    width: 42%;
    margin-left: 3%;
}
.serv-text p{
    margin-bottom: 60px;
}
.services h2{
    font-size: 40px;
    margin-bottom: 20px;

}
.services p{
    font-size: 20px;
    line-height: 30px;
}
.services h4{
    text-align: left;
    font-size: 30px;
    margin-bottom: 25px;
}
.cont h4{
    font-size: 25px;
}
.maps{
margin-top: 50px;
}
.contacts {
    margin-top: 50px;
    width: 98%;
    text-align: center;
}

footer{
    background: #533a4d;
    color: white;
}
.socials a{
    width: 40px;
    height: 40px;
    display: inline-block;
    margin-right: 10px;
    padding-top: 10px;
}
.socials h4{
    padding-top: 10px;
}
.socials p{
    font-weight: normal;
    padding-top: 10px;
}
.socials a i{
    color: #e7f2f4;
    padding: 10px 12px;
    font-size: 20px;
}
.footer-block{
    display:flex;
    justify-content: space-between;
}
.footer-search input[type=text]{
width: 442px;
height: 50px;
color: #919eb1;
padding-left: 27px;
background-image: url(../img/arrow.png);
background-repeat: no-repeat;
background-position:  94%;
margin-top: 10px;
}
.footer-link{
    display: flex;
    flex-direction: column;
    padding-left:250px ;
    padding-top: 10px;
}
.footer-links{
    display: flex;
   
}

.footer-logo{
    margin-left: -30px;
}
.footer-link p{
    text-transform: uppercase;
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
}
.footer-link a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 12px;

}
.footer-link a:hover{
    opacity: 1;
   color: #d9beb3;
}
