/* DIGITAL BALTIC APP WEBSITE v.3 (14.03.2025)        */
/*                                                    */
/* FOR ORDER OBR CTM S.A. GDYNIA (ctm.gdynia.pl)      */
/* AUTHOR: Szymon Rzepnikowski                        */



/* ======== IMPORT FONTÓW ======== */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');


/* ======== MAIN STYLES ======== */
body {
	color: #272829;
	background-color: #ffffff;
	font-family: "Gowun Dodum", "Lexend", "Roboto", sans-serif;
	overflow-x: hidden;
}

:root {
	scroll-behavior: smooth;
}

a {
	color: #0563bb;
	text-decoration: none;
	transition: 0.3s;
}

a:hover {
	color: color-mix(in srgb, #0563bb, transparent 25%);
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #45505b;
	font-family: "Lexend", "Roboto", sans-serif;
}


/* ======== SECTION STYLES ======== */
section,
.section {
	color: #272829;
	background-color: #ffffff;
	padding: 60px 0;
	overflow: clip;
}

.section i {
	color: rgba(1, 222, 248, 0.7)
}

.section-title {
	text-align: center;
	padding-bottom: 30px;
	position: relative;
	margin-bottom: 0 !important;
}

.section-title h2 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 20px;
	padding-bottom: 20px;
	position: relative;
}

.section-title h2:before {
	content: "";
	position: absolute;
	display: block;
	width: 160px;
	height: 1px;
	background: color-mix(in srgb, #272829, transparent 60%);
	left: 0;
	right: 0;
	bottom: 1px;
	margin: auto;
}

.section-title h2::after {
	content: "";
	position: absolute;
	display: block;
	width: 60px;
	height: 3px;
	background: rgba(1, 222, 248, 0.7);
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.section-title p {
	margin-bottom: 0;
}

/* ======== LOGIN BUTTON ======== */
.btn-digital {
	background-color: transparent;
	color: rgba(1, 222, 248, 0.7);
	padding: 10px 20px;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.4;
	min-width: 180px;
	border: 2px solid rgba(1, 222, 248, 0.4);
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
	text-align: center;
	display: inline-block;
	text-decoration: none;
}

.btn-digital:hover {
	background-color: rgba(1, 222, 248, 0.7);
	color: #fff;
	border-color: rgba(1, 222, 248, 0.7);
}


/* ======== HEADER + LEFT NAVBAR ======== */
.header {
	color: #272829;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	padding: 0 15px;
	transition: all ease-in-out 0.3s;
	overflow-y: auto;
	z-index: 997;
	min-width: 200px;
}

@media (max-width: 1199px) {
	.header {
		background-color: #ffffff;
		border-right: 1px solid color-mix(in srgb, #272829, transparent 90%);
		width: 300px;
		left: -100%;
	}
}

@media (min-width: 1200px) and (max-width: 1600px) {
	.header~main {
		margin-left: 160px;
	}

	.header~main .home {
		margin-left: -160px;
		width: 100vw;
	}
}

.header.header-show {
	left: 0;
}

.header .header-toggle {
	color: #ffffff;
	background-color: rgba(1, 222, 248, 0.7);
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	position: fixed;
	top: 15px;
	right: 15px;
	z-index: 9999;
	transition: background-color 0.3s;
}

.header .header-toggle:hover {
	color: #ffffff;
	background-color: rgba(1, 222, 248, 0.7);
}

.navmenu {
	padding: 0;
	z-index: 9997;
}

.navmenu ul {
	list-style: none;
	padding: 0 0 20px 0;
	margin: 0;
	width: 140px;
}

.navmenu a,
.navmenu a:focus {
	color: #45505b;
	font-family: "Lexend", "Roboto", sans-serif;
	display: flex;
	align-items: center;
	padding: 10px 18px;
	margin-bottom: 8px;
	font-size: 15px;
	border-radius: 50px;
	background: color-mix(in srgb, #272829, transparent 85%);
	height: 56px;
	width: 100%;
	overflow: hidden;
	transition: 0.3s;
}

.navmenu a i,
.navmenu a:focus i {
	font-size: 20px;
}

.navmenu a span,
.navmenu a:focus span {
	padding: 0 5px 0 7px;
}

@media (min-width: 992px) {
	.navmenu a,
	.navmenu a:focus {
		max-width: 56px;
	}

	.navmenu a span,
	.navmenu a:focus span {
		display: none;
	}
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus,
.navmenu li:hover>a {
	color: #ffffff);
	background: rgba(1, 222, 248, 0.7);
}

.navmenu a:hover,
.navmenu li:hover>a {
	max-width: 100%;
	color: #ffffff;
}

.navmenu a:hover span,
.navmenu li:hover>a span {
	display: block;
}


/* ======== FOOTER ======== */
.footer {
	color: #272829;
	background-color: #ffffff;
	font-size: 14px;
	text-align: center;
	padding: 30px 0;
	position: relative;
}

.footer p {
	font-size: 13px;
	padding: 0;
}

.footer .copyright {
	padding-top: 25px;
	border-top: 1px solid color-mix(in srgb, #272829, transparent 90%);
}

.footer img {
	margin-top: -25px;
	width: 10% !important;
}

@media (max-width: 768px) {
	.footer img {
		width: 40% !important;
	}
}


/* ======== SCROLL UP ======== */
.scroll-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: -15px;
	z-index: 99999;
	background-color: rgba(1, 222, 248, 0.7);
	width: 44px;
	height: 44px;
	border-radius: 50px;
	transition: all 0.4s;
}

.scroll-top i {
	font-size: 24px;
	color: #ffffff;
	line-height: 0;
}

.scroll-top:hover {
	background-color: rgba(1, 222, 248, 0.5);
	color: #ffffff);
}

.scroll-top.active {
	visibility: visible;
	opacity: 1;
	bottom: 15px;
}


/* ======== SECTION: HOME ======== */
.home {
	width: 100%;
	min-height: 100vh;
	position: relative;
	padding: 80px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.home:before {
	content: "";
	background: color-mix(in srgb, #ffffff, transparent 90%);
	position: absolute;
	inset: 0;
	z-index: 2;
}