
:root{
    --primary:#8AA624 !important;
}

.navbar{
  position: sticky;
  top:0;
  background: white;
  z-index: 99;
  box-shadow: 1px 5px 5px rgba(0,0,0,0.1);
   font-family: "Epunda Slab", serif;
     text-transform: uppercase;
     justify-content: space-between;
     font-weight: 400;
}

section{
    scroll-margin: 80px;
}


h1,h2,h3,h4,h5,h6,h7,.h1,.h2,.h4,.h3,.h5{
   font-family: "Epunda Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400 !important;
  font-style: normal;
  text-transform: uppercase;

 

}

body,p{
      font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

b,strong{
      font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

/*footer*/

footer{
    background: var(--primary);
    color:#fff;
    padding: 6rem 15px;
}

.footer-content{
    display:flex;
    flex-wrap: wrap;
    width:100%;
}

.footer-bottom{
    padding: 10px 15px;
    background: #566816 ;
    color:#fff;
}

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

footer .offer{
    width:100%;
}

footer .offer ul{
    display:inline-flex;

margin: 0;

padding:10px 20px;
}

footer .fas{
    margin-right:10px;
}

.footer-menu ul{
    color:#fff;
    text-decoration: none;
    list-style: none;
 
    margin:0 10px;
    margin-left: 0;
    position: relative;
    height:45px
}
 
.footer-menu ul a{
    color:#fff;
    text-decoration: none;

}

footer ul a:hover{
    text-decoration: none;
    opacity: 0.8;
}

.footer-menu ul li{
    margin:0 10px;
}

.offer-header{
    background: #1967be;
    margin: 0;
    padding: 6px 15px;
    text-transform: uppercase;
    letter-spacing: 2;
}

.footer-menu{
    display:flex;
    align-items: center;
width:100%;
   background: #000;
}

.footer-menu ul{
    display: flex;
    align-items: center;
    justify-content: center;
}

/*scroll */

.scroll-to-top{
    position: fixed;
    bottom:10px;
    right:10px;
  
    background: var(--primary);
    color:#fff;
    width:50px;
    height:50px;
  border:solid 1px #fff;
    display:flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition:all 250ms linear;
    z-index: 999;
}

.scroll-to-top:hover{
     background: #566816; 
}

.scroll-to-top span{
    font-size: 1.3rem;
    text-decoration: none;
    margin-bottom:5px;
}


#udogodnienia{
    position: relative;
    padding: 7rem 15px;
    background: var(--primary);
}

#udogodnienia h3::after{
content:'';

}


.udo-bg{
position: absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit: cover;
opacity: 0.2;
filter:grayscale(100%);
z-index: 1;
}

#udogodnienia .container{
    position: relative;
    z-index: 2;
}

.udoitem{
    width:100%;
    padding:60px 15px;
    box-shadow: 1px 10px 10px rgba(0,0,0,0.2);
    margin: 20px;
border-bottom: solid 2px var(--primary);
    background: rgba(0,0,0,0.4);
    color: white;
    z-index: 3;
    position: relative;
    border-bottom-right-radius: 2rem;
    overflow: hidden;
   
}



#okolica{
    background: #566816;
    padding: 5rem 15px;
}


.okolica-grid{
    display:flex;
    color:#fff;
    flex-wrap:wrap;
    gap:2rem;
}

.okolica-grid .item{
    flex:1 0 25%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
position: relative;
margin:2rem 0;

}

.okolica-grid .item p{
        font-size:1.2rem;
}

.okolica-grid .item::after{
    content:'';
    width:50px;
    height:2px;
    display: block;
    margin:0 auto;
    background: white;
box-shadow: 1px 10px 10px rgba(0,0,0,0.1);
}



.galery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: masonry;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

 
header{
    position: relative;
    height:80vh;
    background: #000;;
}

header img{
animation:zoo 3000ms linear;
}

@keyframes zoo {
    from{
        opacity:0;
    }

    to{
        opacity: 1;
    }
}

@media(max-width:968px){
    header{
        height:60vh;
    }
}

header span{
    color:var(--primary)
}

header .lead{
    font-size:1.3rem;

         font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

header .header-fog{
    position: relative;
    background:rgba(0,0,0,0.4);
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn{
    transition: all 250ms ease-in-out !important;
}

header .btn-primary{
    background: var(--primary);
    border:none;

}

header .btn-primary:hover{
    background: #566816;

}



header img{
position: absolute;
width: 100%;
height: 100%;
z-index: 1;
object-fit: cover !important;
object-position: center center;
}


.content :is(b,strong){
   font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400 !important;
  font-style: normal;
  text-transform: uppercase;
  color:var(--primary);
  font-size:1.2rem;
}


.carousel-control-prev{
    background: linear-gradient(to right,rgba(0,0,0,0.5),rgba(0,0,0,0));
}

.carousel-control-next{
       background: linear-gradient(to left,rgba(0,0,0,0.5),rgba(0,0,0,0)); 
}


#dostepnemieszkania h2{
    color:var(--primary);
}

.btn{
    border-radius: 0;
}

.btn-success{
    background: var(--primary);
    border:none;
}

.btn-success:hover{
    border:none;
    background: #566816;
}


#galeria{
    padding: 5rem 15px;
background: #fafafa;
}

.galgrid{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap:2rem;
}

 
.galitem{
    width:30%;
    overflow: hidden;
    height:50vh;
    cursor: pointer;
}

@media(max-width:968px){
    .galitem {
            width: 100%;
            overflow: hidden;
            height: 300px;
            cursor: pointer;
        }
}

#galeria .h1{
    color:var(--primary)
}

 
.galitem img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 250ms ease-in-out;
}

.galitem:hover img{
    transform: scale(1.2);
    filter:brightness(40%)
}



.navbar-brand{
    font-weight: 400;
    line-height: 1.2;
    font-size: 1.4rem;
    border-top:solid 2px #000;
    border-bottom:solid 2px #000;
    padding: 10px;
}

.navbar-brand span{
    color:#8AA624;
}

@media(max-width:968px){
    
    .navbar-brand{
        font-size: 1.2rem;
    }
}


@media(max-width:968px) {
    .footer-menu ul {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: auto;

    }

    .footer-menu ul li{
        margin:10px 0;
    }
}