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

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    font-family:'Montserrat', sans-serif;
    letter-spacing: .1rem;  
    -webkit-font-smooth: auto;
    overflow-x: hidden;
}

:root {
    --mainbrown:#ab9477;
    --textbrown:#5c524b;
    --mainorange: #f9c749;
    --licolor: rgb(92, 82, 75);
    --icoOrange:rgba(249, 199, 73, 0.88);
    --white:#fff;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}
.container {
    min-height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}

/*************************end of header **************************************************/

.price_area {
    padding: 50px 35px;
}

.price_tables {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    
}

.all_pricetables {
    flex: 30%;
    box-shadow: 0px 10px 13px -7px #000000, 0px 0px 0px 0px #000000;
    -webkit-box-shadow: 0px 1px 50px 2px rgba(0,0,0,0.2); 
    box-shadow: 0px 1px 8px 2px rgba(0,0,0,0.2);
}

.name {
    background-color: var(--white);
    padding: 35px 25px;
    position: relative;
    text-align: center;

}
.name h2 {
    font-size: 2rem;
    color: var(--textbrown);
}

.name h3 {
    position: absolute;
    width: 101%;
    height: 50px;
    background-color: var(--mainorange);
    color: var(--white);
    border-radius: 0px;
    top: 85px;
    right: 50%;
    transform: translateX(50%);
    padding: 0px 0 0 0;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 50px;
}
.all_pricetables h4 {
    margin-top: 55px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--textbrown);
    font-size: 1.6rem;
    font-weight: 500;
}

.all_pricetables ul {
    background-color: var(--white);
    position: relative;
    text-align: center;
}

.all_pricetables li {
    font-size: 1.2em;
    color: var(--textbrown);
    font-weight: 400;
    line-height: 45px; 
}

.all_pricetables li:nth-child(1){background-color: rgba(158, 158, 158, 0.088);}
.all_pricetables li:nth-child(3){background-color: rgba(158, 158, 158, 0.088);}
.all_pricetables li:nth-child(5){background-color: rgba(158, 158, 158, 0.088);}

.button_more {
    padding: 35px 0;
    text-align: center;
}

.button_more a {
    padding:  15px 25px;
    background-color: var(--mainorange);
    color: var(--textbrown);
    font-size: 1.2rem;
    transition: all 0.2s linear;
}

.button_more a:hover {
    background-color: var(--textbrown);
    color: var(--mainorange);
}
@media (max-width:1056px) {
    .all_pricetables {
        flex: 35%;
    }
}

@media (max-width:719px) {
    .all_pricetables {
        flex: 100%;
    }

    .oneroomflat h2 {
        font-size: 2rem;
        padding-top: 0px;
    } 
}

@media (max-width: 450px) {
    .komerc_building .name h3{
        top: 110px;
    }
}


/************foooter**************************/
footer {
    background-image: url(../img/move-gd65965ab3_1920.jpg);
    background-size: cover;
    background-position: top center;
    position: relative;
    z-index: 1;

}

footer::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: .5;
    z-index: -1;
}


.pre-footer {
    max-width: 1080px;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    padding: 5rem 2rem 5rem 2rem;
}

.pre-footer h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pre-footer a {
    color: #fff;
}


.adresa,
.kontakt-footer,
.menu-footer {
    width: 200px;
    text-align: center;
    border-left: 1px solid #c5af9274;
    position: relative;
}

.adresa{
    border: none;
}

.adresa p,
.kontakt-footer span {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 2rem;
}

.adresa img {
    color: #fff;  
}


.kontakt-footer i {
    font-weight: 300;
    line-height: 2rem;
    font-size: 2rem;
    vertical-align: -2px;
    
}

.kontakt-footer {
    width: 370px;
}

.menu-footer a {
    line-height: 18px;
    font-size: 1.2rem;
    position: relative;
}

.menu-footer a:hover {
    color: var(--mainorange);
}
/************end of foooter**************************/