/* głowne */
* {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: #1F1F1F
}

a {
    text-decoration: none;
    transition: all 0.25s;
    color: white
}

a:hover {
    text-decoration: underline;
}

body {
    margin: 0;
    height: auto;
    background: linear-gradient(#131e3a, #1F1F1F);
    background-repeat: no-repeat;
    position: relative
}



h1 {
    font-size: 2.5rem;
    text-align: center;
    margin: 0;
    padding: 25px;
    color: bisque;
}

h3 {
    margin: 0;
    color: white;
    padding: 10px;
    margin: 0;
}

.container {
    width: 60%;
    height: auto;
    margin: auto;
}

/* header */

.fb-logo {
    width: 25px
}

.kontakt {
    width: 100%;
    height: 25px;
    background-color: rgb(18, 19, 19);
    color: white;

}

.kontakt-srodek {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    margin: 0 auto
}

.kontakt>.kontakt-srodek>span {
    margin: 0 25px;
    font-size: 14px
}

header {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    overflow: hidden;
    position: sticky;
    top: 0;
    background: linear-gradient(-35deg, rgba(9, 9, 19, 0.98) 20%, rgba(35, 35, 75, 0.98) 50%, rgba(9, 9, 19, 0.98));
    z-index: 1;
    box-shadow: inset 0 0 5px rgb(9, 7, 19), 0 5px 10px black;
    backdrop-filter: blur(5px);
}

.header-center {
    width: 100%;
    height: 100px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: rgba(33, 33, 62, 0.631);*/
    /*background: linear-gradient(-35deg, rgb(9, 9, 19) 20%, rgb(35, 35, 75) 50%, rgb(9, 9, 19));*/

}

.header-center>img {
    width: 250px;
    float: left;
}

nav {
    display: flex;
}

.header-center ul li {
    padding: 0 10px;
    float: left;
    list-style: none;
    font-size: 1.2em
}

.header-center ul li a:hover {
    color: rgb(66, 51, 204)
}

.menu-on {
    display: none
}

.header-center-mobile {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.980);
    box-shadow: -10px 0 10px 0px black;
    z-index: 999;
    display: none;
    transition: width .2s cubic-bezier(0.165, 0.84, 0.44, 1);


}

.header-center-mobile ul {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: normal;
}

.header-center-mobile span {
    color: white;
    font-size: 40px;
    text-align: left;
    padding: 20px;
    text-shadow: 0 0 5px white;
    cursor: pointer;
}

.header-center-mobile ul li {
    display: block
}

.header-center-mobile ul li a {
    padding: 20px;
    text-decoration: none;
}

.header-center-mobile ul li a::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 30px;
    background-color: #0b1120;
    border-radius: 2px;
    transform: translate(-250%, -10%);
}


/* SLIDER */


.slider {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
    background: linear-gradient(rgb(0, 0, 0, 0.5), rgb(18, 19, 19));
}

.slider img {
    width: 80%;
    margin: auto;
    display: none;
    box-shadow: 0 0 20px 5px rgb(0, 0, 0);
}

.slider img.displaySlide {
    display: block;
    animation-name: fade;
    animation-duration: 2s;

}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.2s;
}

.slider button:hover {
    text-shadow: 0 0 5px white;
}

.prev {
    left: 0
}

.next {
    right: 0;
}

@keyframes fade {
    from {
        opacity: .25;
    }

    to {
        opacity: 1;
    }
}


/* SEKCJE */


section {
    margin: 0 auto;
    width: 100%;
    height: auto;
    background-color: rgb(78, 50, 137);
    box-shadow: inset 0 0 50px 0px rgb(41, 12, 69);
    padding: 10px;
    box-sizing: border-box;

}

article {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


.box-article {
    width: 45%;
    /*height: 400px;*/
    color: rgb(233, 220, 220);
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    background-color: rgba(35, 35, 75, 0.9);
    line-height: 150%;
    transition: all 1s;
    box-shadow: -5px -2px 20px 0px rgba(0, 0, 0, 0.5);
    line-height: 175%;
    text-shadow: -1px 1px 1px rgba(0, 0, 0, 0.6);
}



.oferta-article {
    border-top-right-radius: 50px;
    border-top-left-radius: 0;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 20px;

}

.galeria-article {
    border-top-right-radius: 0;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 50px;
}

.kontakt-article {

    border-top-right-radius: 50px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 20px;
}

.otwarte-article {
    border-top-right-radius: 0px;
    border-top-left-radius: 50px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 50px;
}

.kontakt-article div {
    display: flex;
    padding: 5px 10px
}

.kontakt-article img {
    padding-right: 10px;

}

.kontakt-article>ul li {
    padding: 5px;

}

.kontakt-linia {
    transition: all 0.1s
}

.kontakt-linia:hover {
    background-color: rgba(68, 44, 120, 0.5);
    ;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.zdjecia {
    display: flex;
    flex-wrap: wrap;
}

.galeria-obrazy {
    width: 75px;
    height: 75px;
    overflow: hidden;
    margin: 5px 10px 5px 10px;
    object-fit: cover;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.15s;
    border-radius: 5px;
}

.galeria-obrazy:hover {
    cursor: pointer;
    filter: brightness(1.15);
}

.galeria-wiecej {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.galeria-wiecej:hover {
    background-color: rgba(14, 14, 14, 0.5);

}



footer {
    margin: auto;
    padding: 10px auto;
    width: 100%;
    height: auto;
    background-color: rgb(16, 16, 16);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left,
.footer-right {
    margin: 0 20px 0 20px;
}


.footer-left ul,
.footer-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-left li {
    padding: 5px;
    margin: 3px 5px;
    color: white;
    text-align: left;
    font-size: 15px
}

.footer-left button {
    color: White;
    font-size: 14px;
    border: 2px solid #1F1F1F;
    padding: 10px 5px;
    margin: 5px 0;
    background-color: #131e3a;
}

.footer-left button:hover {
    cursor: pointer;
    text-decoration: underline;
}

.footer-left button:active {
    outline: 2px solid rgb(25, 25, 25);
}

.footer-right img {
    width: 200px;
}

.footer-right li {
    text-align: right;
    margin: 10px
}

.popup-image {
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0, 0.85);
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none
}

.popup-image img {
    position: absolute;
    width: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid rgb(255, 255, 255);
    object-fit: cover;
    border-radius: 5px
}

.popup-image span {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 60px;
    color: white;
    cursor: pointer;
    z-index: 100;
    text-shadow: 0 0 5px white
}

@media(max-width:830px) {
    .popup-image img {
        max-width: 95%
    }
}


.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
}

@media(max-width:1300px) {
    .container {
        width: 80%;
    }
}

@media(max-width:900px) {



    .container {
        width: 90%;
    }

    .box-article {
        width: 40%;
    }

    .nav-option {
        display: none
    }

    header ul {
        padding: 0
    }

    .menu-on {
        display: block
    }
}

@media(max-width:700px) {

    article {
        justify-content: center;
    }

    .box-article {
        width: 80%;
        border-radius: 20px;
    }
}

@media(max-width:500px) {
    .kontakt {
        display: none;
    }

    footer {

        justify-content: center;
    }

    .footer-left ul li,
    .footer-right ul li {
        text-align: center;
        margin: 3px;
        padding: 3px;
    }

    footer h3 {
        text-align: center;
    }

    .slider .slide {
        width: 100%;
    }

}

@media(max-width: 400px) {
    header .header-logo {
        width: 200px
    }

    .header-center {
        align-items: center;

    }
}