/* Ustawienia ogólne */
body {
	display: flex;
	flex-direction: column;
	font-family: Arial, sans-serif;
	background-color: black;
	color: white;
	margin: 0;
	padding: 0;
}

/* Sekcja danych firmy */
.company-info {
	background-color: #222;
	color: white;
	padding: 20px;
	border-radius: 10px;
	margin: 20px auto;
	width: 90%;
	max-width: 600px;
	text-align: center;
}

.company-info h2 {
	color: #fff;
	margin-bottom: 10px;
}

.company-info p {
	margin: 5px 0;
	position: relative;
}

/* Styl ikon kopiowania */
.copy-icon {
	margin-left: 10px;
	cursor: pointer;
	color: #ccc;
	font-size: 0.9em;
}

.copy-icon:hover {
	color: #fff;
}

/* Menu boczne */
.sidebar {
	width: 250px;
	background-color: black;
	padding-top: 20px;
}

.sidebar nav ul {
	list-style-type: none;
	padding: 0;
}

.sidebar nav ul li {
	padding: 20px;
	text-align: center;
	border-bottom: 1px solid white;
}

.sidebar nav ul li a {
	color: white;
	text-decoration: none;
	font-weight: bold;
	display: block;
}

.sidebar nav ul li a:hover {
	background-color: #444;
}

/* Główna zawartość */
.main-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	text-align: center;
}

h1,
h2 {
	color: white !important;
	margin-bottom: 20px;
}

.project-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 10px;
}

.project {
	background-color: white;
	color: black;
	padding: 20px;
	border-radius: 10px;
	width: 45%;
	max-width: 500px;
}

.project h2 a {
	color: black;
	text-decoration: none;
}

.project h2 a:hover {
	text-decoration: underline;
}
/* Stylizacja formularza */
form {
	background-color: #222;
	padding: 20px;
	border-radius: 10px;
	width: 100%;
	max-width: 500px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

form label {
	color: #ccc;
	margin: 10px 0 5px;
	width: 100%;
	text-align: left;
}

form input[type='text'],
form input[type='number'],
form select,
form textarea {
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #444;
	margin-bottom: 15px;
	background-color: #333;
	color: white;
}

form input[type='submit'] {
	background-color: #4caf50;
	color: white;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
}

form input[type='submit']:hover {
	background-color: #45a049;
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
	.sidebar {
		display: none;
	}
	.main-content {
		padding: 10px;
	}

	form {
		padding: 15px;
	}

	h1 {
		font-size: 24px;
	}

	.main-content {
		padding: 10px;
	}

	.company-info,
	.project {
		width: 100%;
	}

	.project-list {
		flex-direction: column;
		align-items: center;
	}
}

@media (min-width: 769px) and (max-width: 1200px) {
	.company-info,
	.project {
		width: 100%;
	}
}

@media (max-width: 480px) {
	h1 {
		font-size: 20px;
	}

	form input[type='submit'] {
		padding: 8px 16px;
		font-size: 14px;
	}
}
