@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;600;800&display=swap');
/*
--navy-blue: #03045eff;
--star-command-blue: #0077b6ff;
--cerulean-crayola: #00b4d8ff;
--sky-blue-crayola: #90e0efff;
--powder-blue: #caf0f8ff;

--lapis-lazuli: #2f6690ff;
--steel-blue: #3a7ca5ff;
--timberwolf: #d9dcd6ff;
--indigo-dye: #16425bff;
--dark-sky-blue: #81c3d7ff;
*/

img {
    max-width: 100%;
    height: auto
}

html {
    height: 100%
}

body {
    font-family: 'Montserrat', sans-serif;
    background-image: url('../media/html_bg.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

h2, h3 {
    margin: 20px 0;
    padding: 10px 0
}

h2 {
    color: #0077b6
}

h3 {
    color: #0077b6
}


section {
    padding: 5rem 0;
    font-size: 1.1rem
}

section h2 {
    text-align: center
}

h1 {
    font-size: 1.3rem
}

h1 small {
    width: inherit;
    display: block;
    font-size: .9rem
}


#galeria h2,
#info h2,
#cennik h2,
#kontakt h2 { display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center; }


#galeria h2:before,
#galeria h2:after,

#cennik h2:before,
#cennik h2:after,

#info h2:before,
#info h2:after,


#kontakt h2:before,
#kontakt h2:after {
    content: '';
    border-top: 2px solid;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

#galeria h2:after,
#cennik h2:after,
#info h2:after,
#kontakt h2:after {
    margin: 0 0 0 20px;
}


.bi{font-size: 1.5rem}

#start {
    background: linear-gradient(90deg, rgba(22,66,91,1) 0%, rgba(0,119,182,1) 65%, rgba(0,180,216,1) 100%);
    overflow: hidden;
    position: relative;
    padding: 0;
    height: 100%;
    font-size: 1.3rem
}

#start .container-fluid {
    position: relative;
    height: inherit;
    z-index: 10
}



#homeSlider{overflow: hidden;  clip-path: polygon(0 2%, 100% 45px, 100% 100%, 0 100%);}
#homeSlider:before{
    content:'';
    display: block;
    background: url('../media/wave.svg') repeat-x;
    position: absolute;
    bottom: -35px;
    width: 6400px;
    height: 198px;
    animation: wave 24s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
    transform: translate3d(0, 0, 0);
    z-index: 2000;
}
#homeSlider:after{content:'';
display: block;
    background: url('../media/wave.svg') repeat-x;
    position: absolute;
    width: 6400px;
    height: 198px;
    transform: translate3d(0, 0, 0);
    bottom: -25px;
    animation: wave 24s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 16s ease -1.25s infinite;
    opacity: 1;
z-index: 2000;
   }

@keyframes wave {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -1600px;
    }
}

@keyframes swell {
    0%, 100% {
        transform: translate3d(0,-25px,0);
    }
    50% {
        transform: translate3d(0,5px,0);
    }
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(1, 1);
    }
    to {
        -webkit-transform: scale(1.25, 1.25);
    }
}

@keyframes zoom {
    from {
        transform: scale(1, 1);
    }
    to {
        transform: scale(1.25, 1.25);
    }
}


#homeSlider .carousel-item{width: 100%; min-height: calc(100vh); display: flex; justify-content: space-around; align-items: center; }
#homeSlider .carousel-item > span{width: 100%; height: 100%; display: block; position: absolute; background-size: cover; z-index: 0;background-position: center center}

#homeSlider .carousel-item.active > span{ animation: zoom 15s; }

#homeSlider .carousel-item > span:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(to right, rgba(22, 66, 91, .2) 0, #d9dcd6ff 100%)
}
#homeSlider .carousel-item > div{z-index: 100}
#homeSlider .carousel-item h2{font-size:3rem; font-weight: 800; color:#fff; text-shadow: 0 0 5px rgba(22,66,91,0.4);}

#apartament {
    padding-top: 1rem;
    background: rgb(22,66,91);
    background: linear-gradient(0deg, rgba(22,66,91,1) 0%, rgba(0,119,182,1) 65%, rgba(0,180,216,1) 100%);
    color:#fff;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%)
}


#apartament *{color:#fff;}


h6{font-weight: 600}

#gallery > div {padding: 10px;}
#gallery > div a{width: 100%; padding-top: 60%; display: block; background-position: center; background-size: cover; transition: all linear 0.3s;box-shadow: 0 0 10px rgba(22,66,91,0.4); }
#gallery > div a:hover{transform:scale(1.02)}
#gallery-mw{padding-bottom: 20px;}
#gallery-ow button{display: none}

#cennik table thead th{border-top: 0}
#cennik table td b{font-weight: 600}
#kontakt {
    padding-bottom: 0;
    font-size: 1.2rem;
    line-height: 2em
}

#kontakt .footer {
    padding: 10px 0;
    color: #fff;
    font-size:0.9rem;
    text-align: center;
    background: rgb(22,66,91);
    background: linear-gradient(90deg, rgba(22,66,91,1) 0%, rgba(0,119,182,1) 65%, rgba(0,180,216,1) 100%);
}

#kontakt a,
#kontakt span{line-height: 40px}

#kontakt a {
    color: #29393e;
    transition: all linear 0.3s;
}

#kontakt a:hover {
    text-decoration: none;
    color: #000
}

.navbar {
    background: rgba(154, 143, 152, 0);
    transition: all .5s linear
}
.navbar:after{
    transition: all .5s linear;
    opacity: 0;
    content: '';
    width:100%;
    height: 50px;
    position:absolute;
    left: 0;
    top:0;
    z-index: -1;

}

.navbar h1 {
    visibility: hidden
}

.navbar a {
    color: #fff;
    padding: 5px 10px;
    margin: 0 5px;
    text-decoration: none
}

.navbar img {
    height: 64px
}

.navbar span {
    padding-left: 10px
}

.navbar.scrolled:after {
    background: rgb(22,66,91);
    background: linear-gradient(90deg, rgba(22,66,91,1) 0%, rgba(0,119,182,1) 65%, rgba(0,180,216,1) 100%);
  opacity: 1;
}

.navbar.scrolled h1 {
    top: 10px;
    font-size: 1.2rem;
    color: #fff;
    visibility: visible
}

.navbar.scrolled h1 small {
    display: block
}

.navbar-expand-lg .navbar-collapse {
    flex-direction: row-reverse;
}

.ekko-lightbox.modal .modal-header{border-bottom:0; padding: 0; height: 0}
.ekko-lightbox.modal .modal-header button{position: absolute; top:10px; right: 10px; z-index: 999; font-size:48px;color:#fff; text-shadow: 0 0 5px rgba(22,66,91,0.4);}
.ekko-lightbox.modal .modal-body{padding: 5px;}
.ekko-lightbox-nav-overlay a {font-size:48px; color:#fff; text-shadow: 0 0 5px rgba(22,66,91,0.4);}


@media (max-width: 991.98px) {


    .navbar.scrolled:after{
        height: 40px;
    }

    .navbar button {
        position: absolute;
        top:5px;
        right: 0;
        color: #fff
    }

    .navbar button svg {
        width: 24px;
        height: 24px
    }

    .navbar h1 {
        position: absolute;
        text-align: center;
        width: 100%;
        margin-bottom: 0
    }

    .navbar.scrolled h1 {
        position: relative;
        width: auto;
        text-align: left;
        top: 0
    }

    .navbar.scrolled button {
        display: inline-block
    }

    .navbar ul {
        padding-top: 30px
    }

    .navbar a, .navbar li {
        width: 100%;
        display: block;
        text-align: center
    }

    .navbar a {
        padding: 10px 0
    }

    section {
        padding: 1rem 0;
        font-size: 15px;
        overflow: hidden
    }
    #homeSlider .carousel-item >div{ padding: 10px}
    #homeSlider .carousel-item h2{font-size:1.6rem; line-height: 3rem;}
    #apartament{    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 98%);}
    #kontakt .d-flex {flex-direction:column; text-align: center}
    #kontakt .d-flex > a,
    #kontakt .d-flex > span{  flex:0 0 auto; padding: 15px 0}

    #galeria h2,
    #info h2,
    #kontakt h2 {
        font-size:1.6rem;
    }

    #gallery > div {padding: 0}

}

@media (max-width: 767.98px) {
    .navbar-expand-lg .navbar-collapse {
        flex-direction: row-reverse;
        background: rgb(22,66,91);
        background: linear-gradient(90deg, rgba(22,66,91,1) 0%, rgba(0,119,182,1) 65%, rgba(0,180,216,1) 100%);
        margin-left:-17px;
        margin-right: -17px;
    }
    #kontakt .d-flex a:last-of-type{font-size: 13px;}
    #kontakt .d-flex a:last-of-type i{position: relative; top:4px;}
}