﻿@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
	--main-bg: #0a0a0a;
	--text-color: #e0e0e0;
	--accent-color: rgb(0, 129, 138);
	--font-fancy: "Cinzel", serif;
	--font-text: "IBM Plex Sans", sans-serif;
	--sidebar-width: 18rem;

	--nav-bg: #1a1a1a;
    --nav-text: #ffffff;
    --nav-accent: rgb(0, 129, 138);
    --nav-width: 320px;
}

body {
	margin: 0 !important;
	padding: 0;
	background-image: url('/grafikiglowna/bg.jpg');
	background-color: rgb(56, 56, 56);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	color: #e0e0e0;
	font-family: var(--font-text);
	line-height: 1.6;
}

h1, h2, h3, h4, h5 {
	font-family: var(--font-fancy);
	margin-left: 0rem;
	margin-right: 0rem;
	font-weight: lighter;
}

h1 {
	font-size: 40pt;
	margin: 2rem;
	text-align:center;
}

h2 {
	font-size: 22pt;
	margin-bottom: 1rem;
	margin-left: 0rem;
}

h3 {
	font-size: 20pt;
	margin-bottom: 1rem;
	margin-left: 0rem;
}

h4 {
	font-size: 18pt;
	margin: 1rem;
	margin-left: 0rem;
}

h5 {
	font-size: 16pt;
	margin: 2rem;
	margin-left: 0rem;
}

p {
	font-family: var(--font-text);
	font-size: 13pt;
	font-weight: 300;
	line-height: 1.5rem;
	margin: 1rem;
	text-indent: 2rem;
	text-align: justify;
}

a {
	font-family: var(--font-fancy);
	color: white;
	text-decoration: none;
	transition: color 0.2s;
}

	a:hover {
		color: var(--accent-color);
	}

ul {
	font-family: var(--font-text);
	font-weight: 300;
	line-height: 1.5rem;
	margin: 1rem;
}

/* Klasy */
.tytul {
	text-align: center;
}

.spoiler {
	color: transparent;
	background-color: grey;
}
	.spoiler:focus {
		color: white;
		background-color: transparent;
		outline: none;
	}

.linkcenter {
	font-family: var(--font-fancy);
	font-size: 20pt;
	display: block;
	text-align: center;
}

.cytat {
	font-style: italic;
	text-align: center;
}

.obraz1 {
	display: block;
	max-width:calc(100% - 2rem);
	height: auto;
	margin: 1rem auto;
	border-radius: 2px;
}

.obrazwiele {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
	margin: 1rem auto;
	max-width:calc(100% - 2rem);
    flex-wrap: wrap; 
}
	.obrazwiele img {
		height: 300px;
		width: auto;
		max-width: 100%;
		object-fit: cover; 
		border-radius: 2px;
	}

.obrazprawo {
	display: block;
	max-width:35%;
	height: auto;
	margin: 0.5rem 1rem 0.5rem 1rem;
	border-radius: 2px;
	float: right;
}	

.obrazlewo {
	display: block;
	max-width:35%;
	height: auto;
	margin: 0.5rem 1rem 0.5rem 1rem;
	border-radius: 2px;
	float: left;
}	

.gracz {
	align-items: center;
	justify-content: left;
	display: flex;
}

.avatar {
	max-width: 4rem;
	min-width: 4rem;
	justify-content: center;
	margin: 1.5rem 1rem 0rem 1rem;
	border-radius: 50%;
	width: 100%;
	height: auto;
}

.iframe-container {
	max-width:calc(100% - 2rem);
	overflow: hidden;
	margin: 1rem auto;
}

mark {
	background-color: rgb(53, 53, 53);
	font-family: "Courier New", Courier, monospace;
	color: white;
}

.menu {
	font-size: 1.5rem;
}

.zlecenie {
    width: fit-content;
    font-size: 1.2rem;
	margin-left: 1rem;
}
	.zlecenie::after {
		content: attr(data);
		opacity: 0;
		transition: all 0.3s;
		margin-left: -10px;
		color: gray;
	}
	.zlecenie:hover::after {
		opacity: 1;
		margin-left: 10px;
	}

.kontener {
	background-color: rgba(0, 0, 0, 0.8);
	padding: 3rem;
	margin: 2rem auto;
	max-width: 1000px;
	border-radius: 5px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.lista {
	display: flex; gap: 15px; flex-wrap: wrap; justify-content: center;
}

.zwijana {
	font-size: 1.5rem;
	margin: 1rem 0rem 0rem 0rem;
	font-family: var(--font-fancy);
	font-weight: lighter;
	list-style: none;
	cursor: default;
}

.przycisk {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 90px;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	font-weight: bold;
	font-family: var(--font-fancy);
	font-size: 1.1rem;
	text-shadow: 2px 4px #000000 blur(5px);
	border-radius: 5px;
	margin: 25px 2.5px;
	position: relative;
	color: white;
	text-decoration: none;
	z-index: 1;
	overflow: hidden;
	background-image: inherit;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: none;
}
	.przycisk:active {
		color: white;
		text-decoration: none;
	}
	.przycisk::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		border-radius: 5px;
		background-image: inherit;
		background-size: 100% 100%;
		background-position: center;
		z-index: -1;
		opacity: 0.5;
		background-repeat: none;
	}
	.przycisk:hover::before {
		filter: blur(5px);
	}
	.przycisk:hover {
		letter-spacing: 2px;
		color: white;
	}

.postac {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 150px;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	font-weight: bold;
	font-family: var(--font-fancy);
	font-size: 1.1rem;
	border-radius: 2px;
	margin: 25px 2.5px;
	position: relative;
	color: white;
	text-decoration: none;
	z-index: 1;
	overflow: hidden;
	background-image: inherit;
	background-size: 100% 100%;
	background-position: center;
	background-repeat: none;
}
	.postac:active {
		color: white;
		text-decoration: none;
	}
	.postac::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: black;
		z-index: -1;
		opacity: 0.6;
	}
	.postac:hover::before {
		opacity: 0;
	}
	.postac:hover {
		color: transparent;
	}

/* Navbar */
.nav-toggle-input {
    display: none;
}

.sidebar-nav {
    transform: translateX(-105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-toggle-input:checked ~ .sidebar-nav {
    transform: translateX(0);
}

.nav-toggle-input:checked ~ .backdrop {
    opacity: 1;
    pointer-events: auto;
}

.nav-toggle-input:checked ~ .menu-trigger {
    opacity: 0;
    pointer-events: none;
}

.menu-trigger {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 50;
    background: rgba(0, 0, 0, 0.7);
    color: var(--nav-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    transition: opacity 0.2s;
}

.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 40;
}

.sidebar-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width);
    height: 100vh;
    background: var(--nav-bg);
    z-index: 50;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    scrollbar-width: none;
}
	.sidebar-nav::-webkit-scrollbar { display: none; }

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
}

.close-button {
    color: var(--nav-text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0 1.5rem 2rem 1.5rem;
    margin: 0;
}

.sidebar-nav li { margin-bottom: 0.4rem; }

.sidebar-nav a {
    font-family: var(--font-fancy);
    font-size: 1.1rem;
    color: var(--nav-text);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
    padding: 5px 0;
}

.sidebar-nav a:hover {
    color: var(--nav-accent);
}

.sidebar-nav a.aktywny {
    color: var(--nav-accent);
    font-weight: bold;
    border-left: 3px solid var(--nav-accent);
    padding-left: 10px;
}

.sidebar-nav .head {
    font-family: var(--font-fancy);
    font-size: 1.3rem;
    font-weight: bold;
    color: #888;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 600px) {
	.kontener {
		width: 95%;
		padding: 1rem 0;
	}

	.sidebar-nav { width: 100%; max-width: 100%; }

    .sidebar-nav a { font-size: 1.2rem; padding: 10px 0; }

	h1 {
		font-size: 2rem;
		margin: 1rem;
	}
}
