html
{
	background-color: #000;
	padding: 0;
	margin: 0;
}

body
{
	margin: 0;
	color: #fff;
	font-family: "Noto Sans", sans-serif;
	font-weight: 350;
}

header
{
	padding: 0 0 20px 0;
}

div#wrapper
{
	padding: 0 20px 20px 20px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	max-width: 1370px;
}

div#logos
{
	display: flex;
	flex-direction: row-reverse;
	height: 768px;
}

div#logos > div
{
	height: 100%;
	width: 100%;
	background-size: 88%;
	background-repeat: no-repeat;
	background-position-y: 80%;
	background-position-x: center;
}

div#logos > div#logo_1
{
	background-image: url(media/img_1.jpg);
	background-size: cover;
}

div#logos > div#logo_2
{
	background-image: url(media/logo.png);
	position: relative;
}

div#logos > div#logo_2 > h1
{
	margin: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	top: 77%;
	text-align: center;
	color: #dfad62;
	font-weight: 350;
	font-style: normal;
	font-size: 18px;
	letter-spacing: 1px;
}

article
{
	max-width: 1220px;
	margin-left: auto;
	margin-right: auto;
}

article h1
{
	font-size: 56.76px;
	font-weight: 350;
	font-style: normal;
	letter-spacing: 2.5px;
	color: rgb(223, 173, 98);
	margin: 35px 0 35px 0;
}

article p
{
	font-size: 21px;
	line-height: 33px;
	letter-spacing: 1.5px;
	padding: 0;
	padding: 20px 0 20px 0;
}

article > h1,
article > p
{
	opacity: 0;
	animation: from_left 0.8s ease-out forwards;
}

article > h1:nth-child(2),
article > p:nth-child(2)
{
	animation-delay: 0.5s;
}

article > h1:nth-child(3),
article > p:nth-child(3)
{
	animation-delay: 1s;
}

article > h1:nth-child(4),
article > p:nth-child(4)
{
	animation-delay: 1.5s;
}

article > h1:nth-child(5),
article > p:nth-child(5)
{
	animation-delay: 2s;
}

article a
{
	color: rgb(223, 173, 98);
	text-decoration: none;
}

span.star
{
	width: 1em;
	height: 1em;
	vertical-align: bottom;
	display: inline-block;
	background-image: url(media/star.png);
	background-size: 140%;
	background-position: 40% 50%;
	margin: 0 -0.1em 0 -0.1em;
}

ul.tabs_big
{
	margin: 60px 0 30px 0;
	padding: 0;
	display: flex;
	gap: 30px 60px;
}

ul.tabs_big > li
{
	margin: 0;
	display: block;
	background-color: #dfad62;
	border-radius: 30px;
	color: #000;
	padding: 33px 25px 20px 25px;
	flex: 1;
	min-width: 0;
}

ul.tabs_big > li > h2
{
	text-align: center;
	font-size: 32.12px;
	font-weight: 350;
	margin: 10px 0 10px 0;
}

ul.tabs_big > li > p
{
	padding: 0;
	margin: 0;
	font-size: 16.34px;
	line-height: 26px;
	text-align: center;
}

ul.tabs_big > li > img
{
	display: block;
	max-width: 100%;
	height: auto;
	padding-bottom: 30px;
	border-bottom: 2px solid #3a4149;
	aspect-ratio: 16 / 11.5;
	object-fit: cover;
}

ul.tabs_small
{
	margin: 60px 0 40px 0;
	padding: 0;
	display: flex;
	gap: 30px 40px;
}

ul.tabs_small > li
{
	display: block;
	background-color: #dfad62;
	border-radius: 25px;
	color: #000;
	padding: 0 5px 15px 5px;
	flex: 1;
	min-width: 0;
	margin-top: 80px;
	position: relative;
}

ul.tabs_small > li::before
{
	content: "&nbsp;";
	position: absolute;
	/* Rozciąga tło na obszar marginesów (wartość musi odpowiadać wielkości marginesu) */
	top: -80px;
	left: calc(50% - 40px);
	width: 80px;
	height: 80px;
	background-image: url(media/star.png);
	background-size: cover;
}

ul.tabs_small > li > h2
{
	margin: 0 0 2px 0;
	padding: 0;
	text-align: center;
	font-size: 18px;
	font-weight: 800;
}

ul.tabs_small > li > p
{
	padding: 0;
	margin: 0;
	text-align: center;
	font-size: 19px;
	font-weight: 350;
	line-height: 29px;
}

@keyframes from_left {
	0% {
		opacity: 0;
		transform: translateX(-100px);
	}
	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

ul:is(.tabs_big, .tabs_small) > li > h2,
ul:is(.tabs_big, .tabs_small) > li > p
{
	opacity: 0;
	animation: from_left 1.5s ease-out forwards;
}

ul:is(.tabs_big, .tabs_small) > li:nth-child(2) > h2,
ul:is(.tabs_big, .tabs_small) > li:nth-child(2) > p
{
	animation-delay: 0.5s;
}

ul:is(.tabs_big, .tabs_small) > li:nth-child(3) > h2,
ul:is(.tabs_big, .tabs_small) > li:nth-child(3) > p
{
	animation-delay: 1s;
}

ul:is(.tabs_big, .tabs_small) > li:nth-child(4) > h2,
ul:is(.tabs_big, .tabs_small) > li:nth-child(4) > p
{
	animation-delay: 1.5s;
}

ul:is(.tabs_big, .tabs_small) > li:nth-child(5) > h2,
ul:is(.tabs_big, .tabs_small) > li:nth-child(5) > p
{
	animation-delay: 2s;
}

ul.narrow,
h1.narrow
{
	margin-left: 20px;
	margin-right: 20px;
}

h1.spacer
{
	margin-top: 120px;
}

article > footer
{
	margin: 350px 0 0 0;
	padding: 100px 0 300px 0;
	width: 514px;
	margin-left: auto;
	margin-right: auto;
	color: rgb(223, 173, 98);
	text-align: center;
	background-image: url(media/star.png);
	background-repeat: no-repeat;
	background-size: 120px;
	background-position: center bottom 110px;
}

article > footer > h2
{
	font-family: Montserrat;
	font-size: 48px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 0 0 30px 0;
	border-bottom: 2px solid rgb(223, 173, 98);
	margin: 20px 0 20px 0;
}

article > footer > p
{
	padding: 20px 50px 0 50px;
}

body > footer
{
	background-color: #dfad62;
	padding: 50px 0 120px 0;
}

body > footer > *
{
	max-width: 872px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

body > footer > h2,
body > footer > h3
{
	font-family: Montserrat;
	font-size: 60px;
	font-weight: 450;
	text-align: center;
	color: #000;
	margin-top: 40px;
	margin-bottom: 50px;
}

body > footer > h2
{
	line-height: 60px;
}

body > footer > ul
{
	display: block;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

body > footer > ul > li
{
	display: block;
	margin:	0;
	padding: 0;
}

body > footer > ul > li > h2
{
	background-color: #242b32;
	border-radius: 30px;
	color: rgb(192, 196, 200);
	text-align: center;
	display: block;
	width: max-content;
	padding: 10px 20px 10px 20px;
	font-weight: 300;
	font-size: 22px;
	margin-top: 30px;
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
}

body > footer > ul > li > a
{
	color: #000;
	text-align: center;
	display: block;
	width: max-content;
	padding: 0;
	font-weight: 350;
	font-size: 30px;
	text-decoration: none;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width: 1090px)
{
	div#logos
	{
		flex-direction: column;
		height: 1536px;
	}

	ul.tabs_big
	{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}

	ul.tabs_big > li
	{
		max-width: 50%;
	}

}

