/*
Theme Name: ARTCHATA
Author: Dzida
Version: 1.0
*/

/*
    000 - Presets
    001 - General
    002 - Header
    003 - Footer
    004 - Menus
    005 - Contact form
    006 - Searcher and social menu
    007.1 - Ludzie artchaty
    007.2 - Zarząd artchaty
    008 - Aktualnosci
    009 - Komentarze
*/
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
    --glddowny: #FECC07;
    --szary1: #f7f7f7;
    --szary2: #888786;
    --grafit: #343135;
    --czarny: #000000;
    --szary3: #f1f1f1;

    --white: #ffffff;
    --gray-light: #f1f1f1;
    --gray-very-light: #d6d6d6;
    --gray-very-light-2: #e8e8e8;
    --gray-dark-light: #d4d4d4;
    --gray-dark: #424242;
    --gray-middle: #535353;
    --gray-logo: #545e6a;
    --dark: #252525;
    --golden-gradient: linear-gradient(60deg, rgba(196,111,12,1) 0%, rgba(205,121,17,1) 14%, rgba(245,216,114,1) 26%, rgba(242,209,107,1) 52%, rgba(204,117,13,1) 67%, rgba(242,209,107,1) 82%, rgba(245,216,114,1) 100%);
}

/* 000 Presets */
html {
    scroll-behavior: smooth;
}

.main-content .elementor a{
    color: #b57500;
}

/* .golden-background{
    background-color: rgb(196,111,12);
    background-image: linear-gradient(60deg, rgba(196,111,12,1) 0%, rgba(245,216,114,1) 26%, rgba(205,121,17,1) 27%, rgba(242,209,107,1) 52%, rgba(204,117,13,1) 67%, rgba(242,209,107,1) 68%, rgba(245,216,114,1) 100%);
}
*/


.golden-border{
    background: rgb(196,111,12);
    background: var(--golden-gradient);
    padding: 2px;
    margin: 0;
    border-radius: 6px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
}

h1, h2, h3, h4, h5, h6{
    font-weight: 600;
}

h2{
    position: relative;
    margin-left: 1.5em;
    font-weight: 900;
    color: black;
    font-size: 1.5em;
    margin-bottom: 0.7em;
    color: var(--grafit);
    display: inline-block;
}

h2::before{
    content: '';
    width: 1em;
    height: 1em;
    background: var(--golden-gradient);
    background-size: 190%;
    border: 3px solid var(--white);
    box-shadow: 2px 2px 3px rgb(0 0 0 / 50%);
    border-radius: 50%;
    display: block;
    position: absolute;
    left: -1.5em;
}



/*
.gray-gradient{
    background: rgba(0, 0, 0, 0.6);
    border-image-source: linear-gradient(30deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
} */


/* 001 General */

body {
    /*font-family: 'Lato', sans-serif;*/
	font-family: 'Palatino Linotype','EB Garamond', serif;
    color: var(--grafit);
    font-size: 16       px;
    background: url('images/bricks.jpg');
    padding: 0;
    margin: 0;
}

body.home{
    background: url('images/bricks.jpg');  
}

img.logo{
    max-height: 6em;
}

a, a:hover{
    color: inherit;
}

.main-container{
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.6);
    background: linear-gradient(334deg, rgb(0, 0, 0, 0.5) 0%, rgb(0, 0, 0, 0.1) 100%);
    min-height: 100vh
}


.page-name{
    display:block;
    color: var(--glowny);
    text-transform: uppercase;
    font-size: 1.4em;
    padding: 0;
    margin: 0;
}

.page-name-background{
    background-color: rgba(0, 0, 0, 0.8);
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

.page-background{
    position: absolute;
    height: 30vh;
    width: 100%;
    background-position: center;
    background-size: cover;
}

.main-content{
    background: var(--gray-light);
    border: 2px solid var(--white);
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    padding: 1em;
    margin: 0;
}

/* 002 Header */

header{
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: 67%;
    background-position-x: 50%;
}

header .page-description{
    text-transform: uppercase;
    color: var(--gray-logo);
}


/* 003 Footer*/

footer{
    background-size: contain;
    background-color: var(--gray-light);
    width: 100%;
    border-radius: 5px;
    position: relative;
    color: var(--gray-middle);
    line-height: 1.2em;
}

footer .info{
    font-size: 0.7em;
    line-height: 0em;
}

.copyright{
    text-align: center;
    padding-top: 1em;
}



/* 004 Menus*/

/* Main Page Naviation */

header .navigation{
    font-size: 1em;
    font-weight: 300;
    padding: 0;
    margin: 0;
    background: var(--gray-dark);
    border-radius: 5px;
    position: relative;
    z-index: 100;
}

header .navigation li{
    display: inline-block;
    margin: 0.5em 0.2em;
    position: relative;
    /* z-index: 1000 */
}


header .navigation li a{
    text-decoration: none;
}

header .navigation a{
    font-size: 1em;
    letter-spacing: 0.021em;
    color: var(--white);
    padding: 0.5em 1em;
    border-radius: 5px;
    font-weight: bold;
    display: block;
}

header .navigation a[aria-current="page"], header .navigation li.current-page-ancestor a, header .navigation a:hover{
    background: var(--gray-middle);
}

[data-elementor-device-mode="desktop"] .nav-footer{
    border-left: 1px solid #ffffff;
    padding-left: 3em
}


header .navigation > li.menu-item-has-children > a::after{
    content: "";
    width: 10px;
    height: 10px;
    border: 5px;
    border-color: transparent;
    border-top-color: var(--white);
    border-style: solid;
    /* z-index: 1; */
    position: relative;
    right: -0.5em;
    top: 0.8em;
}

header .navigation li ul.sub-menu li.menu-item-has-children > a::after{
    content: "";
    width: 10px;
    height: 10px;
    border: 5px;
    border-color: transparent;
    border-left-color: var(--grafit);
    border-style: solid;
    /* z-index: 0; */
    position: relative;
    right: -0.5em;
    top: 0em;
    display: inline-block;
}

header .navigation li ul, header .navigation ul.sub-menu{
    position: absolute;
    display: block;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s, visibility 0.5s;
}


header .navigation li > ul.sub-menu{
    display: block;
    position: absolute;
    z-index: 1;
    background: var(--gray-light);
    border: 2px solid var(--white);
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    margin: 0; 
    padding: 0.5em;
    width: 260px;
}

header .navigation li:hover > ul.sub-menu{
    visibility: visible;
    opacity: 1;
}


header .navigation ul.sub-menu li > ul.sub-menu{
    display: block;
    position: absolute;
    /* z-index: 1; */
    background: var(--gray-light);
    border: 2px solid var(--white);
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    margin: 0; 
    padding: 0.5em;
    left: 230px;
    top: 0;
}

header .navigation ul.sub-menu li:hover > ul.sub-menu{
    visibility: visible;
    opacity: 1;
}

header .navigation li ul li{
    border-bottom: 1px solid var(--gray-dark-light);
    display: block;
    margin: 0;
    padding: 0;
}

header .navigation li ul li:last-child{
    border-bottom: 0;
}


header .navigation li ul li a{
    display: block;
    border-radius: 4px;
    padding: 0.2em;
    color: var(--dark);
}

header .navigation li ul li a:hover, header .navigation li ul li.current-menu-item a{
    color: var(--gray-light)
}


/* Mobile menu */

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;} 
} 

.open-menu-button{
    position: fixed;
    top: 3em;
    right: 1em;
    color: var(--white);
    cursor: pointer;
    text-align: center;
    z-index: 102; */
}

.open-menu-button .inside{
    background: var(--grafit);
    width: 3em;
    height: 3em;
    border-radius: 2px;
}

.open-menu-button i {
    font-size: 2em;
    padding-top: 0.25em;
}

.smartphone-menu{
    display: none;
    margin: 0;
    padding: 0;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--gray-dark-light);
    z-index: 100;
    padding: 0.5em;
    overflow-y: scroll;
}

.smartphone-menu ul{
    padding: 0;
    margin: 0;
}

.smartphone-menu li{
    display: list-item;
    margin-bottom: 0.5em;
    list-style-type: none;
    background: var(--gray-dark-light)
}

.smartphone-menu li a{
    font-size: 1.5em;
    font-size: 600;
}

.smartphone-menu li a:hover, .smartphone-menu a[aria-current="page"]{
    text-decoration: none;
    font-weight: 900;
}

.smartphone-menu li.menu-item-has-children > a::after{
    content: "";
    width: 10px;
    height: 10px;
    border: 0.3em;
    border-color: transparent;
    border-top-color: var(--grafit);
    border-style: solid;
    /* z-index: 1; */
    position: relative;
    right: -0.5em;
    top: 0.8em;
}

.smartphone-menu .sub-menu{
    margin-left: 3em;
    font-size: 0.8em;
    display: none;

}


.smartphone-menu li:hover > .sub-menu li, .smartphone-menu li:focus > .sub-menu li{
    display: list-item;
    list-style-type: square;

}


/* Linked pages menu */

.linked-pages-menu a{
    font-size: 1em;
    letter-spacing: 0.021em;
    color: var(--grafit);
    padding: 0.5em 1em;
    border-radius: 5px;
    font-weight: bold;
    background: var(--gray-dark-light);
    margin: 0.5em 0.5em 0 0.5em;
    display: inline-block;
}

.linked-pages-menu a:hover{
    background: var(--grafit);
    color: var(--white);
    text-decoration: none;
}

/* 005 Contact form */

form.wpcf7-form{
  color: inherit;  
}

form.wpcf7-form label{
    display: block;
}

form.wpcf7-form input, form textarea{
    background: var(--szary3);
    border: 0;
    border-bottom: 3px solid var(--glowny);
    padding: 0.5em;
    margin: 0;
    width: 100%;
    display: block;
}

form.wpcf7-form textarea{
    height: 4em;
    min-height: 4em;
}

form.wpcf7-form input[type="submit"]{
    background: var(--glowny);
    color: var(--czarny);
    width: 100%;
    text-align: right;
    font-weight: bold;
    border-bottom: 3px solid transparent;
}

form.wpcf7-form input[type="submit"]:hover{
    border-bottom-color: var(--czarny);
}

/* 006 - Searcher and social menu */

.searchform{
    display: block;
    margin: 0;
    padding: 0;
}

.searchform #s{
    border: none;
    display: block;
    margin: 0 1em 0 1em;
    padding: 0;
    font-size: inherit;
    float: left;
    height: 3em;
    width: 8em
} 

.searchform #s:focus-visible{
    outline: 0;
}

@media (min-width: 992px) { 
    .searchform #s{
        width: 12em
    } 
}

.rounded-box{
    background: var(--white);
    border-radius: 50em;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    border: 3px solid var(--white);
    display: inline-block;
}

.rounded-box .circle{
    border-radius: 50em;
    border: none;
    background: var(--glddowny);
    background: var(--golden-gradient);
    position: relative;
    display: flex;
    width: 3em;
    margin: 0;
    padding: 0;
}

.rounded-box .circle:hover{
    background: var(--gray-middle);
    transition: background 0.7s;
}

.rounded-box .circle::after{
    content: "";
    display: block;
    padding-bottom: 100%;    
}

.rounded-box .circle .inside{
    position: absolute;
    color: var(--white);
    text-align: center;
    border-radius: 50em;
    font-size: 2em;
    height: 100%;
    width: 100%;
}

button:focus-visible, button:focus{
    outline: 0;
}


/* 007.1 - Ludzie artchaty */

ul.ludzie-artchaty {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}

.ludzie-artchaty div img{
    background: var(--glddowny);
    background: var(--golden-gradient);
    padding: 3px;
    border-radius: 10em;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 50%);
}

.ludzie-artchaty div{
    background: transparent;
    border-radius: 5px;
    transition: background 0.7s;
}

.ludzie-artchaty div:hover {
    background: var(--gray-dark-light);
}

.ludzie-artchaty div:hover a{
    text-decoration: none;
}

/* 007.2 - Zarząd artchaty */

ul.zarzad-artchaty {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}

.zarzad-artchaty div img{
    background: var(--glddowny);
    background: var(--golden-gradient);
    padding: 3px;
    border-radius: 0.7em;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 50%);
}

.zarzad-artchaty div h5{
    margin-bottom: 0;
}

.zarzad-artchaty div{
    background: transparent;
    border-radius: 5px;
    transition: background 0.7s;
}

.zarzad-artchaty div:hover {
    background: var(--gray-dark-light);
}

.zarzad-artchaty div:hover a{
    text-decoration: none;
}


/* 008 - Aktualnosci */

.news-icon{
    background: var(--gray-light);
    border: 2px solid var(--white);
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    padding: -2px;
    margin: 1em;
    transition: background-color 0.2s ease;
}

.news-icon:hover{
    background: white;
}

.news-icon a:hover {
    text-decoration: none;
}

.news-icon .img-container{
    position: relative;
    margin: -5px;
}

.news-icon .img-container .golden-border {
    overflow: hidden;
    padding: 0;
    background-size: 100%;
    transition: background 0.5s ease;
}

.news-icon:hover .img-container .golden-border {
    background-size: 120%;
}

.news-icon .img-container .img-container__inner {
    overflow: hidden;
    padding: 0.3em;
}

.news-icon .img-container img{
    width: 100%;
    height: auto;
    border-radius: 0.2em;
}

.news-icon .details{

}

.news-icon .details .title{
    padding: 0.7em 0.3em;
    margin: 0;
}

.news-icon .details .excerpt{
    padding: 0 0.3em;
    margin: 0;
    display: inline-block;
}

.news-icon .details .excerpt p{
    padding: 0;
    margin: 0;
    font-size: 0.7em;
}

.news-icon .details i{
    font-size: 1.5em;
}



/* 009 Komentarze */

.comment-title{
    margin-top: 2em;
    margin-bottom: 1em;
}

.comments ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.comment{
    border: 1px solid var(--gray-very-light);
    border-radius: 5px;
    margin-bottom: 1em;
    box-shadow: 3px 3px 3px var(--gray-very-light);
    background: var(--white);
}

.comment-content{
    font-size: 1.5em;
    font-style: italic;
    padding-left: 0.5em;
    padding-top: 0.5em;
}

.comment-meta{
    padding: 0.5em 0 0.5em 0.5em;
    background: var(--gray-very-light-2);
    border-radius: 0 0 5px 5px;
}

.comment-meta div{
    display: inline-block;
}

.comment-respond{
    margin-top: 2em;
}

.comment-respond textarea, .comment-respond input{
    border: 1px solid var(--gray-very-light);
    box-shadow: 3px 3px 3px var(--gray-very-light);
    border-radius: 5px;
    background: var(--white);
}
