/*
    Theme Name: Octet-theme
    Author: Mateusz Serek & Winter
    Version: 1.0
*/
@import url('https://fonts.googleapis.com/css2?family=Chiron+Hei+HK:ital,wght@0,200..900;1,200..900&display=swap');
* {
    margin: 0;
    padding: 0;
}

.text-elementor-area ul {
	padding-left: 40px;
}

.text-elementor-area ul li {
	padding: 5px;
}

.post-text-block h1{
	font-size: 3.5rem;
}

.post-text-block h2 {
	font-size: 3rem;
}

.post-text-block h3 {
	font-size: 2.3rem;
}

.post-text-block h4 {
	font-size: 2rem;
}

.post-text-block, .post-text-block p {
	font-size: 1.5rem;
}

a {
	color: cyan;
	text-decoration: none;
}

h1 {
	font-size: 3.75rem;
}

h2 {
	font-size: 3.25rem;
}

h3 {
	font-size: 2.25rem;
}

h4 {
	font-size: 1.9rem;
}

p {
	font-size: 1.25rem;
}

html, body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
    background-color: #141313;
	font-size: 1.25rem;
	font-family: "Chiron Hei HK", sans-serif;
	color: white;
}

.display-flex {
	display: flex !important;
}

#background-video {
	position: fixed;
	top: 0;
	left: 0;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	z-index: -1;
	object-fit: cover;
	pointer-events: none;
}

.page-body-bg {
    background-image: url('https://octet-yg.org/wp-content/uploads/2025/07/Octetvisual.webp');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: top;
	background-size: cover;
}

.post-header-bg {
	height: 270px; 
	background-image: url('https://octet-yg.org/wp-content/uploads/2025/07/blog_image.png');
}

.visible {
	visibility: visible !important;
}

.transparent-background {
	background-color: transparent !important;
	transition: 0.2s;
}


.site-header-title {
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
}

.page-title {
	padding-top: 129px;
}

.site-header-title, #menu-hamburger-selector {
	padding: 20px 0;
}

.site-header-title, #menu-lang-selector {
	width: 160px;
}

#menu-hamburger-selector {
	display: none;
	width: 30px;
	cursor: pointer;
}

#menu-hamburger-selector span {
  display: block;
  height: 3px;
  background-color: white;
  margin: 5px 0;
}

.generic-content {
    display: flex;
    justify-content: center;
	align-items: center;
    flex-direction: column;
	padding: 100px;
	z-index: 0;
}

.post-generic-content {
	padding: 100px 300px;
	max-width: 900px;
	margin: 0 auto;
}

.nav-container {
	display: flex;
	flex-direction: column;
	justify-items: center;
	align-items: center;
}

.main-header-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
	z-index: 1;
	position: fixed;
  	top: 0;
	overflow: hidden;
}

.menu {
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: center;
    list-style: none;
	padding: 0;
	padding-left: 0;
}

.menu-lang-selector-container {
	padding: 20px 0;
}

.menu li a{
  	color: white;
    padding: 20px;
	transition: color 0.3s ease;
}

.menu li a:hover {
    cursor: pointer;
	color: cyan;
}

.footer-span {
    width: 100%;
	font-size: 1rem;
	margin: 15px 0;
}

.footer-text {
	text-align: center;
	font-size: 1rem;
}

.blog-news-image {
	margin-left: 50px;
}

.post-element {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 65%;
	margin: 15px;
	padding: 15px 0;
	border: 2px solid #1e9494;
	border-radius: 15px;
}


.post-info-area {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 35%;
}

.post-info-area span {
	padding: 5px;
}

.post-title {
	font-size: 2rem;
	text-decoration: none;
}

.post-description {
	text-align: justify;
}

.post-release-date-text {
	text-align: center;
	padding-bottom: 5vh;
}

.author-image {
	width: 10rem;
    height: 10rem;
}

.prev-next-post-area {
	width: 100%;
	display: flex;
	justify-content: space-around;
}

.prev-next-post {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.prev-next-post p {
	font-size: 1.5rem;
}

.image-blog {
	padding: 20px;
}

/* FAQ By Winter */

.faq {
    width: 100%;
    margin: auto;
    padding: 20px;
    color:#fff;
    margin-bottom: 10%;
}

.faq details {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: .5em .5em 0;
    margin: auto;
    margin-bottom: 1em;
    width: 70%;
}

.faq details p {
	text-align: justify;
}

.faq summary {
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
    list-style-type: none;
}

.faq summary:hover {
	cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary:after {
    content: "+";
    float: right;
    font-size: 1.1em;
}

.faq details[open] summary:after {
    content: "-";
}

.faq p {
    padding: 0 1em 1em;
    margin: 0;
}

/*FAQ By Winter */



@media screen and (max-width: 1200px) {	
	
	.generic-content {
    	padding: 10vh 5vw;
	}
	
	.post-element {
		width: 100%;
	}
	
	.post-title {
		font-size: 1.8rem;
	}
	
	.post-info-area {
		width: 40%;
	}
	
	h1 {
		font-size: 3rem;
	}

	h2 {
		font-size: 2.6rem;
	}

	h3 {
		font-size: 2rem;
	}

	h4 {
		font-size: 1.8rem;
	}

	p {
		font-size: 1.5rem;
	}
	
}

@media screen and (max-width: 1100px) {
	.menu {
		visibility: hidden;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		position: fixed;
		width: 100vw;
		height: 100vh;
		background-color: #141313;
		opacity: 0.95;
		z-index: 2;
	}
	.menu li {
		padding: 20px;
	}
	
	.main-header-menu {
		padding-top: 0;
		top: 0;
	}

	.nav-container {
		padding-top: 0;
		z-index: 1;
	}
	
	.site-header-title {
		width: unset;
	}
	
	.site-header-title, #menu-hamburger-selector {
		padding: 20px;
		z-index: 3; /* niewiem co za debil pisał te z-indexy.... aha to ja */
	}
	
	#menu-hamburger-selector {
		display: block;
	}
	
	.menu-lang-selector-container {
		display: none;
		top: 80vh;
		justify-content: center;
		align-items: center;
		position: fixed;
		width: 50vw;
		height: 10vh;
		padding: 0;
		z-index: 3;
	}
	
	#menu-lang-selector {
		visibility: visible;
		flex-direction: row;
		justify-content: center;
		align-items: flex-end;
		background-color: transparent;
		width: unset;
		height: unset;
		padding: unset;
	}
}

@media screen and (max-width: 800px) {
	.last-stat-card {
		flex-direction: column;
	}
	
	.post-element {
		flex-direction: column;
		width: 100%;
		padding: 2vh 2vw;
	}
	
	.post-info-area {
		width: 100%;
	}
	
	.blog-news-image {
		margin-left: 0;
		padding: 15px;
	}
	
	.prev-next-post-area {
		width: 100%;
		display: flex;
		justify-content: space-around;
		flex-direction: column;
	}
	
	.faq {
		padding: 0;
	}
	
	.faq details {
		width: 100%;
	}
	
	.faq details p {
		font-size: 1.3rem;
	}
}