html {
	height: 100%;
	scroll-padding-top: 107px;
}

@media (max-width: 992px) {
	html {
		scroll-padding-top: 72px;
	}
}

body {
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

.bi-list:hover {
	color: black;
}
/* Stylizacja dla portfolio i certyfikatów z obrazem po lewej i tekstem po prawej */
.portfolio-item,
.certificate-item {
	margin-bottom: 30px;
	display: flex;
	align-items: center;
}

.portfolio-item img,
.certificate-item img {
	max-width: 100%;
	height: auto;
	border-radius: 5px;
}

.portfolio-caption,
.certificate-caption {
	padding: 20px;
}

.portfolio-caption h3,
.certificate-caption h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
}

.portfolio-caption p,
.certificate-caption p {
	font-size: 1rem;
	color: #6c757d;
}

/* Dodaj responsywność dla mniejszych ekranów */
@media (max-width: 768px) {
	.portfolio-item,
	.certificate-item {
		flex-direction: column;
	}
}

#about {
	background-color: #f8f1e5;
}

#mainNav {
	padding-top: 1rem;
	padding-bottom: 1rem;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
		'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	font-weight: 700;
	transition: padding-top 0.3s, padding-bottom 0.3s;
	transition: background-color 0.7s;
}

#mainNav .navbar-brand {
	color: #000;
}

#mainNav .navbar-nav li.nav-item a.nav-link {
	color: #000;
}
#mainNav .navbar-nav li.nav-item a.nav-link:hover {
	color: #ffffff;
}
#mainNav .navbar-nav li.nav-item a.nav-link:active,
#mainNav .navbar-nav li.nav-item a.nav-link:focus {
	color: #fff;
}
#mainNav .navbar-nav li.nav-item a.nav-link.active {
	color: #f08215;
	text-shadow: 1px 1px 2px black;
}
#mainNav.navbar-transition {
	background-color: rgba(248, 241, 229, 0.8) !important;
}

@media (min-width: 992px) {
	#mainNav {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
		transition: padding-top 0.3s, padding-bottom 0.3s;
		transition: background-color 0.7s;
	}
	#mainNav .navbar-brand {
		font-size: 1.75em;
		transition: font-size 0.3s;
	}
	#mainNav .navbar-nav {
		margin-top: 0;
		font-size: large;
	}
	#mainNav .navbar-nav > li.nav-item > a.nav-link.active {
		color: #f08215;
		text-shadow: 1px 1px 2px black;
	}
	#mainNav .navbar-nav > li.nav-item > a.nav-link.active:active,
	#mainNav .navbar-nav > li.nav-item > a.nav-link.active:focus,
	#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover {
		color: #f08215;
	}

	#mainNav.navbar-transition {
		background-color: rgba(248, 241, 229, 0.7) !important;
	}
}
.masthead {
	padding-top: calc(6rem + 74px);
	padding-bottom: 70px;
	background-color: grey;
	background: linear-gradient(
			to bottom,
			rgba(240, 129, 15, 0.4) 0%,
			rgba(47, 49, 49, 1) 100%
		),
		url('../assets/img/bg-full.png');
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 30rem;
}
.masthead .masthead-heading {
	font-size: 2.75rem;
	line-height: 2.75rem;
}
.masthead .masthead-subheading {
	font-size: 1.25rem;
}
.masthead .masthead-avatar {
	width: 15rem;
}

@media (min-width: 992px) {
	.masthead {
		height: 100vh;
		min-height: 40rem;
		padding-top: 4.5rem;
		padding-bottom: 15rem;
	}
	.masthead .masthead-heading {
		font-size: 4rem;
		line-height: 3.5rem;
	}
	.masthead .masthead-subheading {
		font-size: 1.5rem;
	}
}

.page-section {
	padding: 1rem;
}

.page-section .page-section-heading {
	font-size: 2.25rem;
	line-height: 2rem;
}
@media (min-width: 992px) {
	.page-section .page-section-heading {
		font-size: 3rem;
		line-height: 2.5rem;
	}

	.page-section {
		padding: 8rem;
	}
}

.page-section-fullscreen {
	padding: 6rem;
}
.page-section-fullscreen .page-section-heading {
	font-size: 2.25rem;
	line-height: 2rem;
}
@media (min-width: 992px) {
	.page-section-fullscreen .page-section-heading {
		font-size: 3rem;
		line-height: 2.5rem;
	}
	.page-section-fullscreen {
		height: 100vh;
		min-height: 40rem;
		padding-top: calc(6rem + 74px);
		padding-bottom: 0;
	}
}

p.text {
	font-size: 25px;
}

.footer {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

#projekty {
	background-color: #f9f9f9;
}

.card {
	border: none;
	overflow: hidden;
	margin-bottom: 2rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease-in-out; /* Dodanie płynnego przejścia */
}

.card:hover {
	transform: scale(1.05); /* Powiększenie karty po najechaniu */
}

.image-container {
	padding: 15px;
	width: 300px; /* Szerokość kontenera */
	height: 200px; /* Wysokość kontenera */
}

.card-img-left {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease-in-out; /* Dodanie płynnego przejścia */
}

.card:hover .card-img-left {
	transform: scale(1.05); /* Powiększenie obrazu po najechaniu */
}

.card-body {
	flex: 1;
	padding-top: 0;
}

.card-title {
	font-size: 1.25rem;
	font-weight: bold;
	margin-top: 1rem;
}

.card-text {
	font-size: 1rem;
	color: #6c757d;
	text-align: justify;
}

/* magic */

.word {
	font-weight: 700;
	color: #f9ba32;
}


/* BRAND */

.brand1 {
	color: #f9ba32;
}
.brand2 {
	color: #142133;
}
.brand3 {
	color: #f8f1e5;
}
.brand4 {
	color: #2f3131;
}
.brand5 {
	color: #f0810f;
}

.brand1-bg {
	background-color: #f9ba32;
}
.brand2-bg {
	background-color: #142133;
}
.brand3-bg {
	background-color: #f8f1e5;
}
.brand4-bg {
	background-color: #2f3131;
}
.brand5-bg {
	background-color: #f0810f;
}

.text-shadow-black {
	text-shadow: 1px 1px 2px black;
}

.img-shadow-white {
	filter: drop-shadow(0 0 2px white);
}

.divider {
	height: 5px;
	max-width: 20rem;
	margin: 1rem auto;
	border-top: 1px;
	background-color: #f0810f;
	opacity: 1;
}
