@charset "UTF-8";
/* CSS Document */

:root {
	--bg-header: rgb(5, 30, 30);
	--txt-white: rgb(255,255,255);
	--txt-black: rgb(30,30,30);
    --bg-timeline: rgb(255,255,255);
    --txt-timeline: rgb(20,20,20);
	--bg-timeline-container: rgb(235,235,235);
	--gradient-timeline-container: rgba(235,235,235, .2), rgba(200, 200, 220, .4);
	--border-grey: rgba(0,0,0,.1);
	--button-header-1: rgba(245,0,0);
	--button-header-2: rgb(235,235,235);
}

html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

html {
	box-sizing: border-box;
	scroll-behavior: smooth;
}

body {
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0.01em;
	font-size: 1rem;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	
	overflow-x: hidden;
}

*, *::before, *::after {
	box-sizing: inherit;
}

.logo {
	max-width: 250px;
}

.logo-ideal {
	max-width: 100px;
}

.card {
    border: 0;
    background-color: var(--bg-timeline);
    color: var(--txt-timeline);
}

.main-timeline-5 {
    position: relative;
    _max-width: 50%;
	max-width: 70%;
    margin: 0 auto;
}

.main-timeline-5::after {
    content: "";
    position: absolute;
    width: 3px;
    background-color: var(--bg-timeline);
    top: 0;
    bottom: 0;
    left: auto;
    margin-left: -3px;
}

.timeline-5 {
    position: relative;
    background-color: inherit;
    width: 100%;
}

.timeline-5::after {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    right: 1px;
    background-color: var(--bg-timeline);
    top: 18px;
    border-radius: 50%;
    z-index: 1;
}

.right-5 {
    padding: 10px 0px 10px 40px;
    left: auto;
}

/* Add arrows to the right container (pointing left) */
.right-5::before {
    content: " ";
    position: absolute;
    top: 30px;
    z-index: 1;
    left: 30px;
    border: medium solid var(--bg-timeline);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--bg-timeline) transparent transparent;
}

.right-5::after {
    left: -10px;
    top: 30px;
}

@media (max-width: 991px) {
    .main-timeline-5 {
        max-width: 100%;
    }
}

.gradient-custom-5 {
    background: var(--bg-timeline-container);
    background: -webkit-linear-gradient(180deg, var(--gradient-timeline-container));
    background: linear-gradient(180deg, var(--gradient-timeline-container));
}


.header {
	background: var(--bg-header);
	color: var(--txt-white);
}

h1 {
	font-weight: 900;
	_font-size: 4rem;
	font-size: clamp(2rem, 10vw, 4rem);
	line-height: 1.05;
}

@media (max-width: 768px) {
	h1 {
		line-height: 1.25;
	}
}


h4 {
	font-weight: 700;
	font-size: 1.65rem;
	line-height: 100%;
	display: none;
}

h2 {
	font-weight: 700;
	font-size: 2rem;
}

.brands-images {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
}

.brands-images .item {
	flex: 0 0 20%;
	max-width: 20%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;

	border-right: 1px solid var(--border-grey);
	border-bottom: 1px solid var(--border-grey);
}

/* ostatnia kolumna (5 w rzędzie) */
.brands-images .item:nth-child(5n) {
	border-right: 0;
}

/* ostatni rząd (5 elementów) */
.brands-images .item:nth-last-child(-n+5) {
	border-bottom: 0;
}

/* logo */
.brands-images .item > img {
	width: 100%;
	filter: grayscale(100%);
	transform: scale(1);
	transition: filter 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
	will-change: transform, filter;
	opacity: 0.7;
}

.brands-images .item:hover img {
	filter: grayscale(0%);
	transform: scale(1.05);
	opacity: 1;
}

/* =========================
   MOBILE – 2 W WIERSZU
   ========================= */

@media (max-width: 768px) {

	.brands-images .item {
		flex: 0 0 50%;
		max-width: 50%;
		padding: 20px;

		border-right: 1px solid var(--border-grey) !important;
		border-bottom: 1px solid var(--border-grey) !important;
	}

	.brands-images .item:nth-child(2n) {
		border-right: 0;
	}

	/* OSTATNI RZĄD */
	.brands-images .item:nth-last-child(1),
	.brands-images .item:nth-last-child(2) {
		border-bottom: 0 !important;
	}
}

/* FIX flexa w Bootstrap row */
.video-col {
  flex: 0 0 50%;
  max-width: 50%;
  width: 50%;
}

@media (max-width: 768px) {
	.video-col {
		  flex: 0 0 100%;
		  max-width: 100%;
		  width: 100%;
	}
}

/* kontener filmu */
.video-box {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #000;
  overflow: hidden;
}

/* film */
.video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-button-1,
.header-button-2 {
	padding: 20px 50px;
	text-decoration: none;
	box-sizing: border-box;
	display: inline-block;
	font-weight: 600;
	color: var(--txt-white);
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.header-button-1 {
	background-color: var(--button-header-1);
	border: 2px solid var(--button-header-1);
}

.header-button-2 {
	background-color: transparent;
	border: 2px solid var(--txt-white);
	margin-left: 10px;
}

.header-button-1:hover,
.header-button-2:hover {
	background-color: var(--txt-white);
	border-color: var(--txt-white);
	color: var(--button-header-1);
}

@media (max-width: 768px) {
    .header-button-1,
	.header-button-2 {
        margin: 5px 0;
    }
}


.footer-bg {
	position: relative;
	min-height: 450px;
	_background-image: url("../asset/images/vietnam-footer-bg-web.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

}

