/*
Theme Name:   sajanoiskra
Theme URI:    https://projektninja.com
Description:  Sprakle fse child theme
Author:       Maciej Sajan
Author URI:   https://projektninja.com
Template:     sparkle-fse
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
*/


/******************************** FONTY ***********************************/

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');



/******************************** ZMIENNE  ***********************************/
:root {
    --ciemniejsze-tlo: #F2F4FD;
    --jasniejsze-tlo: #fff;
    --ograniczenie-szerokosci-contentu: 850px;
}

* {
    box-sizing: border-box;
}


/****************  animka fotek ****************/


@keyframes wjazdfoty {

    0% {
        transform: scale(1.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/******************************** menu nawigacja  ***********************************/

header.wp-block-template-part {
    position: fixed;
    top: 0;
    padding: 17px;
    z-index: 99;
    background: #fff;
    width: 100%;
    box-shadow: rgb(0 0 0 / 21%) 0px 8px 20px 0px;
    box-sizing: border-box;
}

.kontent {
    margin-block-start: 67px;
}

#menu-inner {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    max-width: var(--ograniczenie-szerokosci-contentu);
    margin: auto;
    align-items: center;
    justify-content: space-between;
}

#menu-prawa,
#menu-lewa {
    margin: 0 !important;
}

#menu-prawa {
    font-size: 16px;
    line-height: 1.4;
}

#menu-prawa a {
    text-decoration: none;
    color: #7fa7fa;
    transition: all 0.4s;
}

#menu-prawa a:hover {
    color: #002771;
}

#menu-lewa nav {
    display: inline-block;
    margin-top: 0;
}

#menu-lewa ul {
    gap: 15px;
}

#menu-lewa li a {
    font-family: 'Josefin Sans', sans-serif;
    color: #426914;
    font-weight: bold;
    transition: all 0.4s;
}

#menu-lewa li a:hover {
    color: #a1bd36;
    transform: scale(1.1);
}







/*menu mobile*/

@media (max-width:599px) {
    .wp-block-navigation__responsive-container {
        height: fit-content;
        box-shadow: rgb(0 0 0 / 38%) -4px 4px 20px;
    }

    #modal-1-content ul {
        width: 100%;
    }

    #modal-1-content ul li {
        width: 100%;
        padding: 14px 23px;
        width: 100%;
        border-bottom: solid #4269143b 3px;
    }

    #modal-1-content ul {
        gap: 0;
    }

    button.wp-block-navigation__responsive-container-close {
        background: #496f1d;
        border-radius: 8px;
        padding: 3px;
        top: 11px;
        right: 11px;
        color: #fff;
    }

    button.wp-block-navigation__responsive-container-open {
        background: #496f1d;
        border-radius: 8px;
        padding: 3px;
        color: #fff;
        top: 2px;
        position: relative;
    }

}




#logo-notext {
    display: inline;
    position: relative;
    bottom: 4px;
    margin-right: 11px !important;
}

/******************************** logo  ***********************************/
img.custom-logo {
    background: #fff;
    padding: 51px 44px;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
    box-shadow: #000000fc 0px 7px 20px 4px;
    height: 300px;
    width: auto;
}


@media (max-width:425px) {
    img.custom-logo {
        padding: 25px 25px;
        border-top-right-radius: 25px;
        border-bottom-left-radius: 25px;
        height: 140px;
        width: auto;
    }
}





.wp-block-site-logo.aligncenter {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


#banner-header {
    border-top-right-radius: 60px;
    border-bottom-left-radius: 60px;
}

@media (max-width:425px) {
    #banner-header {
        border-top-right-radius: 30px;
        border-bottom-left-radius: 30px;
        min-height: 196px !important;
    }
}

/******************************** SEKCJE ***********************************/

.entry-content section {
    margin-block-start: 0;
    padding: 100px 50px;

    background: var(--jasniejsze-tlo);
}

.entry-content section:nth-child(even) {
    background: var(--ciemniejsze-tlo);
}



@media (max-width:425px) {
    .entry-content section {
        padding: 50px 25px;
    }
}



/*PARALAXY */

.wp-block-cover__image-background.has-parallax {
    background-attachment: fixed;
}



/******************************** OGRANICZENIE SZEROKOSCI CONTENTU ***********************************/

body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: var(--ograniczenie-szerokosci-contentu);
    margin-left: auto !important;
    margin-right: auto !important;
}

/******************************** TYPOGRAFIA ***********************************/

/******************************** NAGŁÓWKI ***********************************/



h1,
h2,
h3,
h4 {
    font-family: 'Josefin Sans', sans-serif;
    color: #609027;
}


@media (max-width:425px) {
    h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    h2 {
        font-size: 20px;
        line-height: 1.2;
    }

    .kontent p {
        font-size: 15px;
    }

    ]
}



/******************************** SEPARATORY ***********************************/

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #609027, transparent);
    border: 0;
    margin-top: 5px;
    border-radius: 5px;
}




/******************************** formularz ***********************************/
input.wpcf7-form-control,
textarea.wpcf7-textarea {
    width: 100%;
    min-height: 18px;
    margin: 10px 0;
    background: #e6e8f1;
    border: solid 4px #fff;
    box-shadow: inset #000 0px 2px 5px;
    border-radius: 7px;
    padding: 11px 17px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    max-width: 338px;
    box-shadow: inset #000 0px -2px 5px;
    font-weight: bold;
    font-family: 'OSWALD';
    cursor: pointer;
    background: #9fbb34;
    font-size: 20px;
}

@media (max-width:781px) {
    .wpcf7-form-control-wrap input {
        margin: 0;
    }
    .wpcf7 p {
        margin: 0;
    }
}




/* obrazki w tresci*/


.obrazek-w-tresci img {
    border-radius: 15px;
    box-shadow: #0000006b 4px 7px 4px;

    /* na start animacji*/

    /*    transform: scale(3);*/
    opacity: 0;


}

.obrazek-w-tresci.anim-ctive img {
    animation: wjazdfoty 0.4s ease-out;
    animation-fill-mode: forwards;
}


@media (max-width:781px) {
    .obrazek-w-tresci img {
        display: block;
        margin: auto;
    }

}

ul li::marker {
    color: #609027;
    /* content: '•'; */
}


#kontakt-dane a {
    text-decoration: none;
    color: #7fa7fa;
    transition: all 0.4s;
}

#kontakt-dane a:hover {
    color: #002771;
}



/******************************** mapka google ***********************************/
#sekcja-mapki {
    padding: 0;
}



#mapka-google {
    width: 100%;
    max-width: unset;
    margin: 0;
    height: 70vh;
}

/*************************** logo na dole *****************************/

@media (max-width:781px) {
    #logo-na-dole {
        width: 100%;
    }


    #logo-na-dole img {
        display: block;
        margin: auto;
        height: 160px;
        width: auto;
    }

    #kontakt-dane p {
        line-height: 1.5;
        margin-top: 0px;
    }

    div#kontakt-dane {
        text-align: center;
    }

}

/*************************** stopka ninja *****************************/
#stopka-warstwa-klikalna {
    width: 100%;
    height: 100%;
}

footer.stopka {
    background: url(https:///projektninja.com/ninja-stopka/stopka-medeby-jasna-projektn-ninja-68h.jpg);
    height: 68px;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

@media (max-width:425px) {
    footer.stopka {
        height: 50px;
    }
}
