/*
Theme Name: Psychoterapia Anna Duda
Theme URI: http://example.com/psychoterapia-anna-duda
Author: Your Name
Author URI: http://example.com
Description: A WordPress theme based on the static Psychoterapia Anna Duda website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: psychoterapia-anna-duda
Tags: custom-background, custom-logo, custom-menu, featured-images, responsive-layout, translation-ready
*/

* {
    margin: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-image: url("img/sunflower.jpg");
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;

    font-family: sans-serif;
}

body.custom-background
{
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.main {
    min-height: 100vh;
}

/* HEADER */

header {
    position: relative;
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100px;
    padding-block: 15px;
    z-index: 1;
}

header>img {
    float: left;
    width: 90px;
    margin-left: 150px;
}


#myMenu {
    float: right;
    line-height: 90px;
    margin-right: 150px;
}

header a,
header a:visited {
    color: #000000;
    text-decoration: solid;
    margin-inline: 20px;
    transition: 0.3s;
}

header a:hover {
    color: #d2e2d0;
    cursor: pointer;
}


#myMenu {
    list-style-type: none;
    padding: 0;
    display: flex;
}

@media only screen and (max-width: 1165px) {

    header {
        margin: auto;
        display: flex;
        align-items: center;
        height: 20%;
    }

    #myMenu {
        display: none;
    }

    header>img {
        margin-inline: auto;
        float: none;
        width: 15%;
    }
}

/* MENU */

.menu {
    display: none;
}

.nav_mobile {
    display: none;

}

.nav_mobile.active,
.nav_mobile>ul {
    background-color: white;

    display: flex;
    flex-direction: column;

    text-align: center;


    transition: 0.3s;

    animation-name: slideTop;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.current {
    color: #d2e2d0 !important;
}


.nav_mobile.active a,
.nav_mobile a:visited
{
    color: #000000;
    text-decoration: solid;
    font-size: 5vw;
}

.nav_mobile.active li{
    margin-block: 20px;
    width: 100%;

    padding-block: 15px;
    transition: 0.4s;
}

.nav_mobile.active a:hover,
.nav_mobile.active li:hover {
    color: #d2e2d0;
    cursor: pointer;
}


@media only screen and (max-width: 1165px) {

    .menu {
        display: block;


        position: absolute;
        top: 50%;
        left: 10%;
        transform: translate(-50%, -50%);
        width: 5%;
    }

    .menu:hover {
        cursor: pointer;
    }



    @keyframes slideTop {
        from {
            margin-top: -100%;
        }

        to {
            margin-top: 0%;
        }
    }

}


/* MOLO / TITLE */


.molo_bg {
    position: relative;
    clear: both;
    text-align: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.molo_bg * {
overflow: hidden;
}

.molo_bg>figure,.molo_bg img {
    min-width: 100%;
    max-width: 100%;
    height: 50vh;
    filter: blur(2px);
    opacity: 0.7;
    object-fit: cover;
    overflow: hidden;
}

.molo_bg h1 {
    Color: #212121;
    font-size: 5vh;
    text-decoration: none;

    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media only screen and (max-width: 500px) {
    .molo_bg h1 {
        font-size: 10vw;
    }
}

.molo_bg>div {
    Color: #393939;

    display: flex;

    font-size: 2.5vh;

    

    text-align: center;

    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.molo_bg>div>i {
    line-height: normal;
}

.molo_bg p {
    margin-left: 15px;
    font-size: 1.2em;
}


@media only screen and (max-width: 1165px) {
    .molo_bg {
        height: 40vh;
    }

    .molo_bg img {
        object-fit: cover;
    }

    .molo_bg>div {
        
        font-size: 1em;

    }
}



/* ABOUT */

.about {
    background-color: #d2e2d0;
    border-radius: 6px;
    margin-top: 10vw;
    margin-inline: auto;
    width: 60vw;
    padding: 30px;
    text-align: center;
    color: #393939;
}
@media only screen and (max-width: 500px) {
    .about {
        width: 90vw;
    }
}

.about p {
    margin-top: 15px;
    font-size: 20px;
}

@media only screen and (max-width: 1165px) {

    .about h2 {
        font-size: 25px;
    }

    .about p {
        font-size: 20px;
    }
}



/* OFERTA */




.oferta {
    margin-block: 100px;
    width: 90vw;
    margin-inline: auto;
    padding-block: 50px;
    border-radius: 25px;
    background-color: rgba(240, 255, 231, 0.8);
}

.oferta h2 {
    text-align: center;
    font-size: 50px;
    color: #393939;
}

.oferta .items,
.oferta .items> div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;

    text-align: center;
    width: 100%;
    color: #393939;
}

.oferta .items .item {
    background-color: #c6ddc3;

    padding: 32px 40px 59px;
    flex-grow: 1;
    flex-basis: 30%;

    margin: 30px;

    border-radius: 6px;
    min-width: 450px;

}

.oferta .item h3 {
    font-size: 25px;
}

.oferta .item p {
    margin-top: 30px;
    font-size: 20px;
}

@media only screen and (max-width: 1165px) {

    .oferta .items .item {
        flex-basis: 100% !important;
        min-width: 0px;
    }
}


.ofertaHome {
    margin-block: 100px;
    width: 90vw;
    margin-inline: auto;
    padding-block: 50px;
    border-radius: 25px;
    background-color: rgba(240, 255, 231, 0.8);
}

.ofertaHome>h2 {
    text-align: center;
    font-size: 50px;
    color: #393939;
}

.ofertaHome>.items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;

    text-align: center;
    width: 100%;
    color: #393939;
}

.ofertaHome>.items>div {
    background-color: #c6ddc3;

    padding: 32px 40px 59px;
    flex-grow: 1;
    flex-basis: 30%;

    margin: 30px;

    border-radius: 6px;

}

.ofertaHome>.items>div>h3 {
    font-size: 25px;
}

.ofertaHome>.items>div>p {
    margin-top: 30px;
    font-size: 20px;
}

@media only screen and (max-width: 1165px) {

    .ofertaHome>.items>div {
        flex-basis: 100%;
    }
}

/* METODA LECZENIA */

.metoda_leczenia {
    width: 90%;
    margin-inline: auto;
    background-color: #c6ddc3;
    margin-block: 50px;
    text-align: center;
    border-radius: 5px;
}

.metoda_leczenia h2 {
    font-size: 30px;
    line-height: 60px;
}


.metoda_leczenia figure {
    width: 20%;
    float: left;
    object-fit: cover;
    margin-bottom: 30px;
    margin-left: 30px;
    border-radius: 5px;
}

.metoda_leczenia p {
    font-size: 15px;
    padding: 25px;
    margin-top: 50px;
    margin-bottom: 30px;
}


@media only screen and (max-width: 1165px) {

    .metoda_leczenia figure {
        width: 100%;
        margin-left: auto;
    }

}


/* CENNIK */

.cennik {

    background-color: #c6ddc3;
    width: 85%;
    margin-block: 100px;
    padding: 25px;
    border-radius: 5px;
    margin-inline: auto;
}

.cennik h2 {
    margin-bottom: 5px;
    font-size: 30px;
    line-height: 60px;
    margin-inline: auto;
    text-align: center;
}


.cennik .item>div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-block: 25px;

}

.cennik .item p {
    min-width: 300px;
    margin-block: 5px;
    margin-left: 15px;
}

@media only screen and (max-width: 1165px) {

    .item>div {
        flex-direction: column;
        font-size: 35px;
        margin-block: 25px;
    }
}


/* PUBLIKACJE */



.publikacje {
    width: 90%;
    margin-inline: auto;
    background-color: #c6ddc3;
    margin-block: 50px;
    text-align: center;
    border-radius: 5px;
}

.publikacje>h2 {
    font-size: 30px;
    line-height: 60px;
}

.publikacje>img {
    width: 20%;
    float: left;
    object-fit: cover;
    margin-bottom: 30px;
    margin-left: 30px;
    border-radius: 5px;
}

.publikacje>div {
    font-size: 25px;
    padding: 25px;

}

.publikacje>div>div
{
    display: inline-block;
    margin-inline: auto;
}

.publikacje>div>div>a {
    float: left;
    margin-top: 15px;
    margin-inline: auto;
    background-color: #4CAF50;
    /* Green */
    border: none;
    color: white;
    padding: 15px 32px;
    text-decoration: none;
    font-size: 16px;
}

.publikacje>div>div>a:hover {

    background-color: #339237;
    /* Green */
    cursor: pointer;

}

.publikacja {
    position: relative;
    width: 90%;
    margin-inline: auto;
    background-color: #c6ddc3;
    margin-block: 50px;
    padding: 25px;
    border-radius: 5px;
}

.publikacja>img {
    width: 100%;
    height: 500px;
    object-fit: cover;

}




@media only screen and (max-width: 1165px) {

    .publikacje>img {
        width: 100%;
        margin-left: auto;
    }

    .publikacje>div>div>a {
        
        font-size: 36px;
    }

}





/* KONTAKT */


.kontakt {
    width: 90%;
    margin-inline: auto;
    margin-block: 100px;

    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0px !important;

}

.kontakt>div {
    flex-basis: 45%;
    flex-grow: 1;
    padding: 30px;
    height: 85vh;
    display: flex;
    flex-wrap: wrap;
    box-sizing: content-box !important;
}

.k1 h2 {
    text-align: center;
    font-size: 40px;
    font-weight: lighter;
    margin-bottom: 30px;
}

.k1  h4 {
    font-size: 20px;
    font-weight: lighter;
}

.kontakt h2,
.kontakt h4 {
    color: #50b378;
    text-align: center;
}

.k1 {
    background-color: rgba(198, 221, 195, 0.95);
    flex-direction: column;
}

.k1 form {

    padding: 10px;

} 

.k1 input[type=text] {


    border: none;
    border-radius: 30px;
    height: 30px;
}

.k1 textarea {


    border: none;
    border-radius: 30px;
    resize: vertical;
}

.k1 input[type=submit] {
    background-color: #50b378 !important;
    color: #232323;
    font-weight: bold;
    width: 100px;
    height: 30px;
    margin-inline: auto;
    border: none;
    border-radius: 15px;

}


.k2 {
    flex-direction: row;
    justify-content: space-around;
    background-color: rgba(242, 255, 238, 0.95);
}

.k2 >div>div {
    flex-basis: 45%;
    flex-grow: 1;

    margin-top: 40px;
    padding-left: 30px;
    text-overflow: clip;
}

.k2 i {
    float: left;
}

.k2 p:first-of-type {
    font-weight: bold;
}

.k2-double-line
{
    margin: 0;
    padding: 0;;
}


.kontakt i {
    line-height: normal;
    width: 50px;
    height: 50px;
    color: #232323;
}

@media only screen and (max-width: 1165px) {
    
    #googleMap
    {
        width: 100%;
    }
    
    .kontakt>div {
        height: auto;
    }

    /* .kontakt>div h2 {
        font-size: 90px;
        line-height: 90px;
    }

    .kontakt>h2 {
        font-size: 50px;
        line-height: 50px;
    }
    
    .kontakt>div>h4 {
        font-size: 50px;
        line-height: 50px;
    }
    
    .kontakt>div:first-child>form>input:not([type=submit]) {
        height: 80px;
    }

    .kontakt>div:first-child>form>textarea{
        height: 200px;
    }
    
    .kontakt>div:first-child>form>input[type=submit] {
        font-size: 50px;
        width: 200px;
        height: 100px;
    }

    .kontakt>div:first-child>form>label {
        font-size: 40px;
    }

    .kontakt i {
        width: 100px;
        height: 100px;
    } */
}



/* FOOTER */


footer {
    width: 100%;

}

/* first part */

footer>div:first-child {
    background-color: #232323;
    color: white;

    width: 100%;


    display: flex;
    flex-direction: row;
    flex-wrap: wrap;


}

footer>div:first-child>div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    margin-left: 60px;
}

footer>div:first-child>div>h4 {
    font-size: 30px;
}

footer>div:first-child>div>div>p:first-child {
    font-weight: bold;
    letter-spacing: 2px;
}

footer>div:first-child>div>* {
    margin-block: 20px;
}

footer>div:first-child>div>a {
    color: #4267B2;
}

footer>div:first-child>div>a>i {
    line-height: normal !important;
}


.links {
    display: flex;
    flex-direction: column;
    margin-block: 10px;
}

.links>a,
.links>a:visited {
    color: white;
    margin-block: 10px;
}

.links>a:hover {
    color: #98ec8d;
    margin-block: 10px;
}


@media only screen and (max-width: 1165px) {

    footer>div:first-child>div>h4 {
        font-size: 50px;
    }

    footer p {
        font-size: 30px;
    }

    .links>a,
    .links>a:visited {
        font-size: 30px;
    }

    footer>div:first-child {
        display: flex;
        flex-direction: column;
    }
}
