@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Mulish:wght@200;300;400;500;600;700&display=swap');
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
:root{
    --heading-font: 'Lora', serif;
    --paragraph-font: 'Mulish', sans-serif;
}
body{
    width: 100%;
    position: relative;
    font-family: var(--paragraph-font);
    
}
a{
    color: unset;
    text-decoration: none;
}
.container{
    max-width: 1140px;
    margin: auto;
    padding: 10px;
    width: 100%;
}
img{
    width: 100%;
}
header{
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: column;
}
.background{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
h1{
    font-family: var(--heading-font);
    font-size: 69px;
    text-align: center;
    font-weight: 400;
}
.btn{
    background: #dcc397;
    color: white;
    display: inline-block;
    padding: 12px 35px;
    margin: 15px auto;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}
h2{
    font-size: 42px;
    font-family: var(--heading-font);
    color: #53585a;
    font-weight: 200;
    margin-bottom: 30px;
    display: block;
}
h3{
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 200;
    color: #53585a;
    display: block;
    margin-bottom: 30px;
}
.flex-box{
    display: flex;
}
.box{
    flex: 1;
    padding: 30px;
}
.box p{
    color: #53585a;
    margin: 15px 0;
    line-height: 1.6em;
}
.box li{
    margin: 25px 0;
    list-style: none;
    color: #53585a;
    font-size: 18px;
}
.infos{
    background-color: #f9f9f9;
    padding: 90px 0;
}
.services-box{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2em 1em;
}
.service{
    text-align: center;
    color: #53585a;

}
.center{
    text-align: center;
}
.service h3{
    font-family: var(--heading-font);
    margin: 15px auto;
    font-weight: lighter;
    font-size: 26px;
}
.service p{
    line-height: 1.6em;
}
.service img{
    max-width: 35%;
    margin: auto;
    opacity: .5;
}
.owl-carousel{
    position: relative!important;
}
.owl-nav{
    position: absolute!important;
    top: 50%!important;
    height: 60px;
    left: 50%!important;
    margin-right: -50%!important;
    z-index: 3!important;
    width: 100%!important;
    transform: translate(-50%, -50%);
}
.owl-prev{
    background: white!important;
    width: 60px;
    height: 60px;
    left: 0%;
    position: absolute;
    font-size: 26px!important;
}
.owl-next{
    right: 0%;
    background: white!important;
    position: absolute;
    width: 60px;
    height: 60px;
    font-size: 26px!important;

}
.gallery{
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery:after{
    padding-bottom: 110%;
    content: '';
    display: block;
}
.gallery .background{
    transform: scale(1.2);
    transition: .4s;
}
.gallery:hover .background{
    transform: scale(1);
}
li{
    list-style: none;
}
nav{
    position: absolute;
    top: 0;
    left: 50%;
    margin-right: -50%;
    transform: translateX(-50%);
    width: 95%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    padding: 20px 10px;
    color: white;
}
.logo{
    width: 230px;
}
.contact-top-bar{
    width: 140px;
    text-align: right;
}
.menu{
    width: calc(100% - 370px);
    text-align: center;
}
.menu li{
    display: inline-block;
    padding: 2px;
}
.menu li a{
    padding: 6px;
    padding-bottom: 10px;
    margin: 6px 7px;
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 15px;
    transition: .3s;
    position: relative;
}
.menu li a:after{
    width: 0%;
    height: 2px;
    background: #dcc397;
    bottom: 0;
    left: 50%;
    margin-right: -50%;
    transform: translateX(-50%);
    position: absolute;
    content: '';
    transition: .3s;
}
.menu li a:hover:after{
    width:calc(100% - 12px);
}
.menu li a:hover{
    color: #dcc397;
}
.logo a{
    text-transform: uppercase;
    font-size: 22px;
    font-family: var(--heading-font);
    letter-spacing: 1px;
}
.logo a b{
    color: #dcc397;
    font-weight: 500;
}
.apartment-info{
    background: white;
}
.apartment-info .flex-box{
    align-items: center;
    justify-content: center;
    align-content: center;
}
.apartment-nav{
    text-align: center;
    margin: 20px auto;
}
.apartment-nav ul li{
    display: inline-block;
}
.apartment-nav ul li a{
    display: block;
    padding: 15px 30px;
    color: #53585a;
}
.active-apartment{
    color: white!important;
    background: #dcc397;
}
.fixed-bg{
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-image: url(https://www.szalljonmeg.hu/media/cache/slider_full/uploads/images/afe0bcf891ac5517189cfdfcac6fb60e8da10199.jpeg);
    color: white!important;
    padding: 70px 0;

}
.fixed-bg .container{
    max-width: 900px;
    text-align: center;
}
.fixed-bg .container h2{
    color: white!important;
    font-size: 50px;
}
.fixed-bg .container p{
    text-align: center;
    line-height: 1.7em;
    font-size: 17px;
}
.fixed-bg .container .btn{
    margin: 60px auto;
}
.opinion-box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.5em;

}
.opinion{
    background: white;
    padding: 30px;
    min-height: 500px;
}
.opinion p{
    line-height: 1.6em;
    color: #53585a;
    font-style: italic;
    font-family: var(--heading-font);
}
.quota svg{
    width: 35px;
    fill: #dcc397;
}
.quota{
    margin: 30px 0;
}
.opinion-name{
    display: flex;
    align-items: center;
    margin: 30px 0;
}
.opinion-image{
    display: inline-block;
    width: 70px;
    height: 70px;
    margin-right: 30px;
    border-radius: 50%;
    overflow: hidden;
}
.name{
    display: inline-block;
    font-size: 20px;
    font-family: var(--heading-font);
    color: #53585a;
}
footer{
    background-color: #53585a;
    color: white;
}
.footer{
    display: flex;
    align-items: flex-start;
    padding: 60px 0;
}
.footer .box li{
    color: rgb(221, 221, 221)!important;
    font-size: 14px;
    letter-spacing: 1px;
}
.footer .box li b{
    color: white!important;
}
.footer .box h3{
    color: white!important;
    font-size: 26px;
}
.menu-btn{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.menu-btn span{
    width: 30px;
    margin: 3px 0;
    background: #dcc397;
    height: 3px;
}
@media(max-width: 1024px){
    .logo, .contact-top-bar{
        flex: 1;
    }
    .menu-btn{
        display: flex;
    }
    .contact-top-bar{
        text-align: right;
        display: flex;
        justify-content: flex-end;
    }
    nav{
        position: fixed;
        width: 100%;
        z-index: 10000!important;
        background: rgb(0,0,0);
        background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 70%);
    }
    .menu{
        position: fixed;
        top: 0;
        right: 0px;
        width: 18em;
        display: block;
        height: 100vh;
        background: #f9f9f9;
        color: #53585a;
        z-index: 100;
        padding-top: 80px;
        transform: translateX(18em);
    
    }
    .menu li{
        display: block;
        text-align: left;
    }
    .tel{
        display: none;
    }
}
@media(max-width: 768px){
    .services-box{
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 2em;
    }
    .flex-box{
        display: block;
    }
    .box img{
        max-width: 400px;
        margin: auto;
        display: block;
    }
    .footer{
        display: block;
    }
}