* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	text-decoration: none;
	list-style: none;
}
html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	font-family: 'Courier New', Courier, monospace;
	background-color: #eceff1;
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

nav {
	height: 60px;
	width: 100%;
	background-color: #34495e;
}

label.logo {
	font-size: 35px;
	font-weight: bold;
	color: aliceblue;
	padding: 0 100px;
	line-height: 60px;
}

nav ul {
	float: right;
	margin-right: 40px;
}

nav li {
	display: inline-block;
	margin: 0 8px;
	line-height: 60px;
}

nav a {
	color: white;
	font-size: 18px;
	text-transform: uppercase;
	border-bottom: 1px solid transparent;
	padding: 7px 10px;
	border-radius: 3px;
}

a.active,
a:hover {
	border-bottom: 1px solid white;
	transition: 0.5s;
}

nav #icon {
	color: white;
	font-size: 30px;
	line-height: 60px;
	float: right;
	margin-right: 40px;
	cursor: pointer;
	display: none;
}
.header-img {
	position: relative;
	height: 700px;
	background-image: url(../images/12.webp);
	background-size: cover;
	background-position: center;
	height: 600px;
}
.header-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
}
.header-text h1 {
	margin-bottom: 10 px;
	text-transform: uppercase;
	font-size: 56px;
	letter-spacing: 5px;
}
.header-text p {
	font-size: 26px;
	letter-spacing: 3px;
}
.header-bg {
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(0, 5, 20, 0.4);
}

.content {
	max-width: 1200px;
	margin: 20px auto;
	padding: 20px;
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr 1fr;

	flex: 1;
}
.content h3 {
	margin-bottom: 10px;
	font-size: 24px;
	letter-spacing: 3px;
}
.card {
	border-radius: 8px;
	padding: 20px 35px;
	text-align: center;
}

.card img {
	max-width: 100%;
	border-radius: 8px;
}
footer {
	background-color: #6c757d;
	color: white;
	text-align: center;
	padding: 10px 0;
}

footer p {
	margin: 0;
}

.content .button {
	display: inline-block;
	margin-top: 15px;
	color: #fff;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	font-weight: bold;
	background-color: rgba(34, 49, 94, 0.8);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	width: 80%;
}

.button:hover {
	background-color: #fff;
	color: #34495e;
}

/* Responsywność */
@media (max-width: 1048px) {
	label.logo {
		font-size: 32px;
		padding-left: 60px;
	}
	nav ul {
		margin-right: 20px;
	}

	nav a {
		font-size: 17px;
	}
}
/* Responsywność 
@media (min-width: 768px) {
	header h1 {
		font-size: 3rem;
	}

	.content {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 1024px) {
	/*.content {
		grid-template-columns: repeat(3, 1fr);
	}*/

@media (max-width: 909px) {
	.content {
		grid-template-columns: repeat(1, 1fr);
	}
	.card img {
		max-width: 80%;
		border-radius: 8px;
	}
	label.logo {
		font-size: 22px;
		padding-left: 30px;
	}
	nav #icon {
		display: block;
	}

	nav ul {
		position: fixed;
		width: 100%;
		height: 100vh;
		background-color: #2f3640;
		top: 60px;
		left: -100%;
		text-align: center;
		transition: color 0.5s;
	}
	nav li {
		display: block;
		margin: 50px;
		line-height: 30px;
	}
	nav a {
		font-size: 20px;
	}

	.header-img {
		height: 300px;
	}
	.header-text p {
		font-size: 14px;
		letter-spacing: 3px;
	}
	a.active,
	a:hover {
		border: none;
		color: #3498db;
	}
	nav ul.show {
		left: 0;
		z-index: 5;
	}
}
/* =========================
   LOGIN PAGE (scoped)
   ========================= */

.content.content--login {
    /* nadpisuje grid tylko na stronie logowania */
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

/* kontener "karty" logowania */
.log_container {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    border: 1px solid rgba(52, 73, 94, 0.15);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* form layout */
.log_container .login_form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* nagłówek */
.log_container .Subject {
    font-size: 26px;
    letter-spacing: 2px;
    color: #34495e;
    text-align: center;
    margin-bottom: 6px;
}

/* etykiety */
.log_container .form-label {
    font-size: 14px;
    letter-spacing: 1px;
    color: rgba(52, 73, 94, 0.85);
    margin-top: 6px;
}

/* pola */
.log_container input[type="text"],
.log_container input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(52, 73, 94, 0.20);
    background-color: #eceff1;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.log_container input[type="text"]:focus,
.log_container input[type="password"]:focus {
    outline: none;
    background-color: #ffffff;
    border-color: rgba(52, 152, 219, 0.9);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.15);
}

/* button submit – stylistycznie jak reszta (kolorystyka strony) */
.log_container input[type="submit"] {
    margin-top: 6px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: rgba(34, 49, 94, 0.85);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.08s, background-color 0.2s, color 0.2s;
}

.log_container input[type="submit"]:hover {
    background-color: #ffffff;
    color: #34495e;
}

.log_container input[type="submit"]:active {
    transform: translateY(1px);
}

/* komunikat błędu (session) */
.log_container .form-alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.25;
}

.log_container .form-alert--error {
    background: rgba(231, 76, 60, 0.12);
    border: 1px solid rgba(231, 76, 60, 0.35);
    color: #b03a2e;
}

/* hint pod przyciskiem */
.log_container .form-hint {
    font-size: 12px;
    color: rgba(52, 73, 94, 0.70);
    text-align: center;
    margin-top: 2px;
}

/* reCAPTCHA placeholder (na sucho) */
.log_container .recaptcha-slot {
    margin-top: 6px;
    padding: 10px;
    border-radius: 10px;
    background: #eceff1;
    border: 1px dashed rgba(52, 73, 94, 0.35);
    display: flex;
    justify-content: center;
}

/* kiedy reCAPTCHA nie jest jeszcze załadowana – pokaż opis */
.log_container .g-recaptcha:empty {
    width: 304px;
    /* typowy rozmiar v2 */
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
}

.log_container .g-recaptcha:empty::before {
    content: "reCAPTCHA – przygotowane miejsce";
    font-size: 12px;
    color: rgba(52, 73, 94, 0.70);
    letter-spacing: 1px;
}

/* responsywność login-karty */
@media (max-width: 909px) {
    .content.content--login {
        padding: 10px;
    }

    .log_container {
        padding: 22px 18px;
    }

    .log_container .Subject {
        font-size: 22px;
    }
}
