/*
Theme Name: MocDuszy Theme
Author: SpiderSwede, Yoozio94
Description: Obrazy mocy, obrazy duszy, karty mocy, Iza i Mikołaj 
Version: 1.0
Requires at least: 5.7
Tested up to: 5.7
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mocduszy
*/

/* --- RESET --- */

*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

a:hover, a:visited, a:link, a:active{
	text-decoration: none;
	color: inherit;
}

/* --- END RESET --- */

/* --- FONTS --- */


@font-face{
	font-family: "Goudy Old Style";
	src: url("./fonts/GoudyOldStyleRegular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	//font-display: swap;
}

@font-face{
	font-family: 'Sorts Mill Goudy';
	src: url('./fonts/SortsMillGoudy-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

.numeric-font{
	font-family: 'Times New Roman', serif;
}

/* --- END FONTS --- */

:root{
	--kolorCzcionki: #dccbdd;
	--kolorCzcionki-old-old: #A198DD;
	--kolorCzcionki-old: #ba74f5;
}


html{
	color: var(--kolorCzcionki);
	font-family: 'Sorts Mill Goudy', sans-serif, 'Georgia', serif;
	font-size: 20px;
}

body{
	background-image: url('./images/galaxy-background.jpg');
	background-size: cover;
	background-attachment: fixed;
	/* background-position: center; */
	background-position: center;
	background-repeat: no-repeat;
	background-color: rgb(40, 40, 50);
}
body.front{
	background-image: url('./images/background2-opt.jpg');
}


#wrapper{
	display: block;
	width: 80%;
	height: 100%;
	margin: 0 auto 0 auto;
	//border: 1px solid white;
}


.navbar ul{
	list-style-type: none;
}

#front-hero{
	width: 100%;
	position: relative;
}

#frontpage-menu-img{
	display: block;
	width: 100%;
	object-fit: contain;
	box-shadow: 0 0 20px 10px rgba(0 0 0 / 40%);
	padding-top: 5rem;
	-webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,1) 16%, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%);
	mask-image: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,1) 16%, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%);
}

.navbar{
	display: block;
	clear: both;
	width: 90%;
	text-align: center;
	text-transform: uppercase;
	margin: 20px auto 20px auto;
	padding: 20px 0px 40px;
	overflow: visible;
	background: url('./images/ornament-linia3.png') no-repeat;
	background-size: 112% 40px;
	background-position: bottom;
}
.front .navbar{
	position: absolute;
	top: 0;
	width: 100%;
	background: rgba(30 10 50 / 25%);
	margin: 0;
	padding: 30px 8%;
}
.front .navbar ul.menu{
	justify-content: space-evenly;
}

.navbar ul.menu{
	display: flex;
	justify-content: space-between;
}
.navbar li{
	text-shadow: 2px 2px 5px rgba(0 0 0 / 60%), 2px 2px 15px rgba(0 0 0 / 80%);
}
.navbar ul.menu > li{
	display: inline;
	//margin-right: 30px;
	font-size: 1rem;
}
.navbar a{
	padding: 5px 10px;
}

.navbar li,
.navbar .menu li.menu-item-has-children:hover ul.sub-menu > li,
.navbar .menu li.current-menu-item{
	transition: text-shadow 100ms;
}
.navbar li:hover,
.navbar .menu li.menu-item-has-children:hover ul.sub-menu > li:hover,
.navbar .menu li.current-menu-item{
	text-shadow: 0 0 10px rgba(225 215 255 / 90%), 0 0 30px rgba(225 215 255 / 90%);
}
.navbar .menu li.menu-item-has-children > a:after{
	display: inline;
	content: '⮛';
	vertical-align: text-top;
	padding: 0 0 3px 0;
	font-size: 0.7rem;
	margin: -3px 0 0 10px;
}
.navbar .menu li.menu-item-has-children ul.sub-menu{
	//display: block;
	visibility: collapse;
	opacity: 0;
	height: 0;
	position: absolute;
	margin-left: -40px;
	padding: 25px 0;
	transition: visibility 0ms, opacity 350ms, height 350ms;
	background-size: 100% 100%;
}

.navbar .menu li.menu-item-has-children:hover ul.sub-menu{
	visibility: visible;
	opacity: 1;
	height: auto;
	background: rgba(30 10 50 / 25%);
}
.navbar .menu li.menu-item-has-children:hover ul.sub-menu > li{
	padding: 10px 25px;
	background: none;
	color: var(--kolorCzcionki);
}

#hamburger-view{
	display: none;
}
#site-logo{
	display: inline-block;
	float: left;
	height: 100px;
}
#site-logo > img{
	height: 100%;
}
#menu-button{
	display: inline-block;
	float: right;
	overflow: auto;
	padding: 15px 15px 10px;
	margin: 20px 20px;
	border: 2px solid var(--kolorCzcionki);
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(255 255 255 / 40%);
	text-shadow: 0 0 10px rgba(255 255 255 / 40%);
}
#menu-button:hover{
	box-shadow: 0 0 20px rgba(255 255 255 / 90%);
	text-shadow: 0 0 20px rgba(255 255 255 / 90%);
}

#frontpage-wrapper{
	//width: 90%;
	//margin: 100px auto;
}
.frontpage-content{
	//font-size: 2rem;
}
.frontpage-content img{
	height: auto;
}

.single{
	display: block;
	width: 80%;
	height: 100%;
	margin: 0 auto 50px auto;
	color: var(--kolorCzcionki);
	font-size: 1.2rem;
	overflow: hidden;
	text-shadow: 0 0 12px rgba(0 0 0 / 80%);
}

#featuredImageLink{
	display: contents;
}
.single-featured-image{
	display: block;
	max-width: 100%;
	height: 650px;
	margin: 30px auto 30px auto;
	box-shadow: 0 0 12px rgba( 0 0 0 / 80%);
}

.single-title{
	font-size: 1.9rem;
	margin: 30px 0 0 0;
	padding: 10px 0;
}
.single-meta{
	margin: 0 0 30px 0;
	font-size: 1rem;
}
.single-content h2{
	padding: 30px 0;
}

.post{
	margin-top: 70px;
}


.page .single-title{
	display: block;
	text-align: center;
	font-size: 3rem;
	margin: 150px 0 120px 0;
	line-height: 100%;
	text-transform: uppercase;
}
.page .single-title:before,
.page .single-title:after{
	//content: '';
	display: inline-block;
	background: url('./images/ornament4.png') no-repeat;
	background-size: contain;
	vertical-align: middle;
	width: 170px;
	height: 50px;
}
.page .single-title:before{
	margin-right: 60px;
}
.page .single-title:after{
	margin-left: 60px;
	transform: scaleX(-1);
}

.page figure.wp-block-image{
	height: 460px;
	position: relative;
}
.page .high-columns figure.wp-block-image{
	height: auto;
}
.page .high-columns figure.wp-block-image img{
	height: auto;
	transform: none;
	position: inherit;
}
.page figure.wp-block-image img{
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	//border: 5px solid white;
	box-shadow: 0 0 20px rgba(0 0 0 / 70%);
}

#karty-mocy-soul-power-img,
figure.wp-block-image.center-vertically{
	height: 100% !important;
}
#karty-mocy-soul-power-img > img,
figure.wp-block-image.center-vertically > img{
	transform: translateY(-50%) !important;
}

.artysci-social-icons{
	width: fit-content;
	margin: 0 auto;
}

#wydarzenia img{
	//border: 5px solid white;
}

.post .wp-block-gallery .blocks-gallery-item{
	transition: transform 200ms;
}
.post .wp-block-gallery .blocks-gallery-item:hover{
	transform: scale(1.03);
}

.single-gallery-thumbnails{
	display: block;
	width: 100%;
	text-align: center;
}
.single-gallery-thumbnails > figure{
	display: inline-flex;
}

.single-gallery-thumbnails .blocks-gallery-item{
	height: 100px !important;
	width: 100px !important;
	box-shadow: 0 0 10px rgba(0 0 0 / 80%);
}

.single-gallery-thumbnails .blocks-gallery-item > figure > figcaption{
	display: none;
}


.cat-gallery{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}
.cat-gallery a{
}
.cat-gallery-item{
	display: block;
	width: 32%;
	height: 460px;
	margin-bottom: 110px;
}
.cat-gallery-item:hover{
	
}
.cat-gallery-img-container{
	display: flex;
	align-items: center;
	height: 100%;
	width: 100%;
	transition: filter 200ms;
}
.cat-gallery-item:hover .cat-gallery-img-container{
	filter: brightness(75%);
}
.cat-gallery-item:hover .cat-gallery-item-title{
	transform: scale(1.03);
}
.cat-gallery-img{
	display: block;
	height: auto;
	max-height: 440px;
	max-width: 100%;
	margin: 0 auto;
	box-shadow: 0 0 20px rgba(0 0 0 / 60%)
}
.cat-gallery-item-title{
	text-align: center;
	font-size: 1.2rem;
	transition: transform 200ms;
}

a.wp-block-button__link,
a.wp-block-button__link:visited,
a.wp-block-button__link:link{
	background: none;
	border: 1px rgb(60 150 255) solid;
	color: rgb(60 150 255);
	border-radius: 4px;
	padding: 10px 20px 10px 20px;
	font-size: 1.2rem;
	transition: border-color 200ms;
}

a.wp-block-button__link:hover{
	border-color: transparent;
}
a.wp-block-button__link:after{
	content: '❯';
	opacity: 0;
	padding-left: 20px;
	margin-left: -20px;
	font-size: 1rem;
	line-height: 1rem;
	transition: opacity 200ms, margin-left 200ms;
}
a.wp-block-button__link:hover:after{
	opacity: 1;
	margin-left: 0;
}

h2{
	margin-bottom: 20px;
	font-size: 1.6rem;
	font-weight: 500;
}

p{
	margin-top: 1em;
	margin-bottom: 1em;
}


footer{
	display: block;
	clear: both;
	width: 90%;
	height: 200px;
	margin: 0 auto;
	padding: 100px 0px 100px 0px;
	font-size: 0.8rem;
	color: var(--kolorCzcionki);
	
}



.wide{
	width: 100%;
}



#lightbox{
	display: none;
	height: 100vh;
	width: 100vw;
	z-index: 999999;
	position: fixed;
	top: 0;
	background: rgba(0 0 0 / 70%);
	text-align: center;
	padding: 1%;
}

#lightbox > img{
	height: 100%;
	object-fit: contain;
}


/* --- MEDIA QUERIES --- */


@media only screen and (max-width: 1500px){
	
	#wrapper{
		width: 90%;
	}

	.navbar,
	footer{
		width: 95%;
	}
	
	#menu-topmenuglowne{
		display: flex;
	}
	
	.navbar ul.menu > li{
		font-size: 0.9rem;
	}
	
	.cat-gallery-item{
		width: 31%;
	}
	
	.single{
		width: 85%;
	}
	.page .single-title{
		font-size: 2.2rem;
		margin: 100px 0;
	}
	.page .single-title:before{
		margin-right: 40px;
	}
	.page .single-title:after{
		margin-left: 40px;
	}
}


@media only screen and (max-width: 1200px){
	
	.navbar,
	footer{
		width: 100%;
	}
	
	.navbar ul.menu > li{
		padding: 5px 0;
		font-size: 0.82rem;
	}
	.navbar a{
		padding: 5px 6px;
	}
	
	.single{
		width: 90%;
	}
	
	.page .single-title{
		font-size: 2.1rem;
		margin: 90px 0;
	}
	.page .single-title:before{
		margin-right: 30px;
	}
	.page .single-title:after{
		margin-left: 30px;
	}
	
	.cat-gallery-item{
		width: 48%;
	}
	
	.page figure.wp-block-image{
		height: 400px;
	}
}


@media only screen and (max-width: 1000px){
	
	.navbar{
		padding: 10px 50px 30px;
		margin-top: 0px;
	}
	.front .navbar{
		position: inherit;
		background: none;
	}
	#hamburger-view{
		display: block;
		width: 100%;
		height: 100px;
	}
	#front-hero{ min-height: 1px; }
	#frontpage-menu-img{ display: none;}
	#menu-topmenuglowne{ display: none; background: rgba(30 10 50 / 25%); }

	#menu-topmenuglowne.hamburger{
		display: flex;
		flex-flow: column;
		//justify-content: left;
		//align-items: flex-start;
	}
	#menu-topmenuglowne.hamburger li{
		font-size: 1rem;
		padding: 10px 0;
	}
	
	.navbar .menu li.menu-item-has-children > a:after{ content: ''; }
	
	.navbar .menu.hamburger li.menu-item-has-children ul.sub-menu{
		display: flex;
		justify-content: center;
		//flex-flow: row;
		visibility: visible;
		opacity: 1;
		height: auto;
		position: initial;
		padding: 10px;
		margin: 0 auto;
		background: none;
	}
	
	.page .single-title{
		font-size: 2rem;
		margin: 70px 0;
	}
	.page .single-title:before{
		margin-right: 20px;
	}
	.page .single-title:after{
		margin-left: 20px;
	}
	.page .single-title:before,
	.page .single-title:after{
		//content: '';
		width: 85px;
		height: 25px;
	}
	
	.single-featured-image{
		height: auto;
	}
	
	.page figure.wp-block-image{
		height: 310px;
	}
	
	footer{ text-align: center; }
}

@media only screen and (max-width: 700px){
	
	#wrapper{
		width: 95%;
	}
	
	.navbar{
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.page .single-title{
		font-size: 1.6rem;
		margin: 50px 0;
	}
	.page .single-title:before{
		margin-right: 10px;
	}
	.page .single-title:after{
		margin-left: 10px;
	}
	.page .single-title:before,
	.page .single-title:after{
		//content: '﹣';
		background: none;
		width: auto;
		height: auto;
	}
	
	.cat-gallery-item{
		width: 100%;
	}
	
	.page figure.wp-block-image{
		height: 200px;
	}
}

@media only screen and (max-width: 599px){
	
	.navbar{
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.page .single-title{
		font-size: 1.4rem;
		margin: 40px 0;
	}
	.page .single-title:before{
		margin-right: 8px;
	}
	.page .single-title:after{
		margin-left: 8px;
	}
	
	.page figure.wp-block-image{
		height: auto;
	}
	.page figure.wp-block-image img{
		position: inherit;
		height: auto;
		transform: none;
	}
	
	.wp-block-image img{
		height: auto;
	}
	
	.wp-block-columns.artysci-social-icons{
		flex-flow: row;
		column-gap: 30px;
	}
}

/* --- END MEDIA QUERIES --- */







