@import "./style.css";
/* * {
    border: 2px solid red;
} */

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.zespol-container {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	gap: 2vw;
}

.card {
	width: 15vw;
	min-width: 150px;
}

.card-figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: var(--color-primary);
	border-radius: 1em;
}

.card-img {
	width: 75%;
	padding: 1vw;
	border-radius: 25em;
}

.discription {
	text-align: center;
	padding: 0 2vw;
}

.name {
	color: var(--color-white);
	font-size: var(--font-size-sm);
}

.role {
	color: var(--color-dark);
	font-size: var(--font-size-xxs);
	font-weight: bold;
	padding-bottom: 1vh;
}

.text:before {
	content: open-quote;
	color: var(--color-primary);
	font-size: var(--font-size-xl);
	position: absolute;
	top: -3vw;
	left: -3vw;
}

.text:after {
	content: close-quote;
	color: var(--color-primary);
	font-size: var(--font-size-xl);
	position: absolute;
	bottom: -7vw;
	right: -3vw;
}

.text {
	text-align: center;
	margin: 5% auto;
	color: var(--color-white);
	width: 80%;
	font-size: var(--font-size-xs);
	line-height: 1.5;
	padding: 1vh 2vw;
	position: relative;
}

.green-txt {
	color: var(--color-primary);
	transition: all 0.2s ease-in-out;
}
.green-txt:hover {
	color: var(--color-neon-green);
}

.partners-txt {
	text-align: center;
	margin: 5%;
	color: var(--color-white);
	font-size: var(--font-size-sm);
}

.banner-container {
	width: 100%;
	overflow: hidden;
}

.banner {
	width: 200%; /* dwa razy szerszy niż kontener, aby pomieścić wszystkich patronów */
	animation: slide 60s linear infinite; /* animacja przesuwająca banner */
}

.patrons {
	display: flex;
	gap: 2vw;
	padding: 2vh 0;
	list-style: none;
	background-color: var(--color-white);
	max-height: 14vh;
}
.patrons li {
	width: 100%;
	height: 10vh;
	position: relative;
}

.patrons img {
	max-height: 100%;
	object-fit: contain;
	aspect-ratio: 2/1;
}

@keyframes slide {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%); /* przesunięcie banneru o 50%, aby przesunąć wszystkich patronów */
	}
}

.txt {
	text-align: center;
	margin: 5% auto;
	color: var(--color-white);
	font-size: var(--font-size-sm);
	line-height: 1.5;
	padding: 1vh 2vw;
}

.contact {
	display: flex;
	align-items: center;
	justify-content: space-around;
	width: 100%;
}

.contact-info {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
@media (max-width: 610px) {
	.contact {
		flex-direction: column;
	}
	.banner {
		animation: slide 20s linear infinite;
	}
}

.contact-info p:not(.txt) {
	font-size: var(--font-size-xs);
	text-align: center;
}

.background-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 0 30%;
	filter: brightness(0.2);
}

.txt-on-background {
	position: relative;
	display: flex;
	width: 100%;
	padding: 8vh;
}
