/*-------------------------------------------------------------------------- 
[Master Stylesheet] 
 
Project:		BARS računovodske storitve     
Version:		1.00 
Last change:	06/12/26
--------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

html { scroll-behavior: smooth; }
body {
	color: #231f20; 
	font-size: 20px;
	font-family: "DM Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

h1, h2, h3 { font-weight: normal; }

h2 { font-size: 20px; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
h2 > span { display: inline-block; background-color: #231f20; color: #ffffff; padding: 0.5em 1em 0.5em 100px; margin: 0 0 0 -100px; }

.section_bg_black > h2 > span { background-color: #ffffff; color: #231f20; }

h3 { font-size: 72px; font-weight: 300; padding: 0 0 0 0; margin-top: 100px; letter-spacing: -0.5px; line-height: 1.35; }

p { line-height: 1.6; padding-top: 1.5em; }

ul, ol { padding-top: 1.5em; }
li { line-height: 1.6; }

a:link, a:visited { color: inherit; }
a:hover { text-decoration: none; }

img { display: block; }
a img { border: 0; }

.wrap_outer { width: 100%; max-width: 1920px; margin: 0 auto; }

.logo { position: absolute; top: 42px; left: 100px; width: 75px; height: auto; }
.logo_footer { width: 150px; height: auto; }
.full {
	position: relative;
 	min-height: 100vh; 
 	min-height: 100svh;
	display: table;
	width: 100%;
	background: url('img/zeng-yili-H8EFX9jpdys-unsplash__1080.webp') center center / cover no-repeat;
}
.absolute { display: table-cell; vertical-align: middle; }

.full > .absolute > h1 { font-size: 96px; line-height: 1.05; color: #ffffff; font-weight: 200; padding-left: 100px; text-transform: uppercase; }
.full > .absolute > h1 > strong { font-weight: 100; }
.full > .absolute > h1 + p { color: #ffffff; padding-left: 100px; padding-right: 100px; }

/*
Photo by <a href="https://unsplash.com/@zengyili?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">ZENG YILI</a> on <a href="https://unsplash.com/photos/a-black-and-white-photo-of-an-empty-room-H8EFX9jpdys?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
https://unsplash.com/photos/a-black-and-white-photo-of-an-empty-room-H8EFX9jpdys
*/

.main { background: url('img/bars-bg.svg') center center / cover no-repeat fixed; position: relative; }

.main > *,
section > * { position: relative; z-index: 1; }

section { width: 100%; padding: 100px; position: relative; box-sizing: border-box; border-bottom: 1px solid #231f20; }
section + .section_bg_black { border-bottom: none; }

.section_bg_black { background: #231f20 url('img/bars-bg-dark.svg') center center / cover no-repeat fixed; color: #ffffff; border-bottom: none; }

.main::after,
.section_bg_black::after { content: ""; position: absolute; inset: 0; opacity: 1; transition: opacity 2s ease; pointer-events: none; }

.main::after { background: #ffffff; }
.section_bg_black::after { background: #231f20; }

.section_bg_visible::after { opacity: 0; }

.content { width: 50%; margin-top: 100px; margin-left: auto; padding: 0; }
.content > p:first-child,
.content > ul:first-child { padding-top: 0; }

.main_privacy .content { width: 100%; }

.content_contact_info {
    position: absolute;
    left: 100px;
    bottom: 100px;
    display: flex;
    gap: 30px;
    align-items: center;
}
.intro_contact_info {
	color: #ffffff;
    position: absolute;
    right: 100px;
    bottom: 42px;
    display: flex;
    gap: 30px;
    align-items: center;
}
.intro_nav {
	color: #ffffff;
    position: absolute;
    left: 100px;
    bottom: 42px;
    display: flex;
    gap: 30px;
    align-items: center;
}
.intro_nav a,
.contact_info a { color: inherit; text-decoration: none; display: inline-block; line-height: 42px; }

.intro_nav a,
.contact_info a,
.contact_info span { font-weight: 600; }

.scroll-arrow {
    position: absolute;
    left: 50%;
    bottom: 42px;
	width: 24px;
    height: 24px;
    transform: translateX(-50%);
    /*
    animation: scrollArrow 1.75s ease-in-out infinite;
    animation: scrollArrow 1.75s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    */

    animation: scrollArrow 1.75s cubic-bezier(.4,0,.2,1) infinite;
   

}

.scroll-arrow::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    transform: rotate(-45deg);
}
/*
.scroll-arrow::before { transform: translateX(-16px) rotate(55deg); }
.scroll-arrow::after { transform: translateX(-16px) rotate(125deg);	}
*/

@keyframes scrollArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(32px);
    }
}

/*
.full::after { content: ''; width: 1px; height: 100%; background-color: lime; left: 50%; position: absolute; top: 0; z-index: 111; }
*/

/*--------------------------------------------------------------------------
#Splitting.js
*/

.translated-wrap { overflow: hidden; display: block; vertical-align: top; }
.translated-part {
	display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition:
        transform .5s cubic-bezier(.4,0,.2,1),
        opacity .5s ease;
    transition-delay: var(--delay, 0s); 
}
.translated-init .translated-part { opacity: 1; transform: translateY(0); }

.translated-default .word {
    opacity: 0;
    transform: translateY(50px);
    transition: transform .6s cubic-bezier(.4,0,.2,1),
                opacity .6s ease;
	transition-delay: calc(var(--line-index) * 0.18s + (var(--word-index) * 0.025s));
}
.translated-init .word { opacity: 1; transform: translateY(0); }

.word,
.whitespace { vertical-align: top; }

/* Recommended styles for Splitting */
.splitting .word,
.splitting .char { display: inline-block; }

/* Psuedo-element chars */
.splitting .char { position: relative; }

/**
 * Populate the psuedo elements with the character to allow for expanded effects
 * Set to `display: none` by default; just add `display: block` when you want
 * to use the psuedo elements
 */
.splitting .char::before,
.splitting .char::after {
	content: attr(data-char);
	position: absolute;
	top: 0;
	left: 0;
	visibility: hidden;
	transition: inherit;
	user-select: none;
}

/* Expanded CSS Variables */
.splitting {
	/* The center word index */
	--word-center: calc((var(--word-total) - 1) / 2);

	/* The center character index */
	--char-center: calc((var(--char-total) - 1) / 2);

	/* The center character index */
	--line-center: calc((var(--line-total) - 1) / 2);
}

.splitting .word {
	/* Pecent (0-1) of the word's position */
	--word-percent: calc(var(--word-index) / var(--word-total));

	/* Pecent (0-1) of the line's position */
	--line-percent: calc(var(--line-index) / var(--line-total));
}

.splitting .char {
	/* Percent (0-1) of the char's position */
	--char-percent: calc(var(--char-index) / var(--char-total));

	/* Offset from center, positive & negative */
	--char-offset: calc(var(--char-index) - var(--char-center));

	/* Absolute distance from center, only positive */
	--distance: calc(
	 (var(--char-offset) * var(--char-offset)) / var(--char-center)
	);

	/* Distance from center where -1 is the far left, 0 is center, 1 is far right */
	--distance-sine: calc(var(--char-offset) / var(--char-center));

	/* Distance from center where 1 is far left/far right, 0 is center */
	--distance-percent: calc((var(--distance) / var(--char-center)));
}

/*--------------------------------------------------------------------------
#Contact Form
*/

.field-wrap { margin: 1.5em 0 0; }
.field-wrap-full { width: 100%; }

.contactform > div:first-child > .field-wrap { margin-top: 0; }

.field-wrap_flex { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: flex-start; gap: 1.5em; }
.field-wrap_flex > .field-wrap { width: calc((100% - 3em) / 3); }

.submit {
	background-color: #231f20;
	color: #ffffff;
    line-height: 1.5;
    text-decoration: none; 
    margin: 1.5em auto 0;
    border: none;
    display: inline-block;
    position: relative;
    padding: 0.65em 1.75em;
	 		appearance: none;
       -moz-appearance: none; 
    -webkit-appearance: none; 
}
.submit:hover { cursor: pointer; }

.label { padding: 0 0 0.35em; display: inline-block; }

.input-text:nth-of-type(2) { display: none; }
.input_area { height: 200px; }

.input-select,
.input_area,
.input-text { background: none; border: 1px solid #231f20; line-height: 18px; outline: none; padding: 10px 9px; text-align: left; width: 100%; box-sizing: border-box; }

.input-select:focus,
.input_area:focus,
.input-text:focus { background-color: #231f20; color: #ffffff;  }

/* Chrome/Opera/Safari */
/* Firefox 19+ */
/* IE 10+ */
/* Firefox 18- */
::-webkit-input-placeholder,
::-moz-placeholder,
:-ms-input-placeholder,
:-moz-placeholder { color: #231f20; opacity: 1; }

.submit, .label, .input-text, .input-select, .input_area { 
	color: #231f20; 
	font-size: 20px;
	font-family: "DM Sans", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}
.label { font-weight: 600; }
.submit { color: #ffffff; font-weight: 600; }

/*--------------------------------------------------------------------------
#footer
*/

footer a { text-decoration: none; }
footer a:hover { color: #ffffff; }

.footer_columns {
	margin-left: auto;
	margin-right: auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
}

.footer_columns > div > ul { padding-top: 0; list-style-type: none; }
.footer_columns > div > ul > li { line-height: 42px; }
.footer_columns > div:nth-of-type(1) > p:nth-of-type(1) { padding-top: 42px; }
.footer_columns > div:nth-of-type(1) > p:nth-of-type(1) + p { padding-top: 42px; }
.footer_columns > div:nth-of-type(2) > ul > li { text-transform: uppercase; letter-spacing: 1px; }
.footer_columns > div:nth-of-type(3) { text-align: right; }
.footer_columns > div:nth-of-type(3) > ul > li > a > svg { height: 42px; width: auto; margin-top: 42px; fill: #ffffff; }

.copy { font-variant: small-caps; text-transform: lowercase; padding: 42px 0 0 0; color: #8B8284; display: flex; gap: 30px; align-items: center; }

/*--------------------------------------------------------------------------
#various
*/

.bold, strong { font-weight: 600; }

.tiskane, .uppercase { text-transform: uppercase; letter-spacing: 1px; }
.capped { font-variant: small-caps; }

.align-center { text-align: center; }
.align-right { text-align: right; }

.no-padding-top { padding-top: 0; }
.no-padding-bottom { padding-bottom: 0; }

.no-mrg-top { margin-top: 0; }
.no-mrg-right { margin-right: 0; }

.spacer { clear: both; }

@media only screen and (max-width : 1920px) {}	
@media only screen and (max-width : 1680px) {
	h3 { margin-top: 75px; }
	h2 > span { padding: 0.5em 1em 0.5em 75px; margin: 0 0 0 -75px; }
	.logo { left: 75px; }
	.full > .absolute > h1 { padding-left: 75px; }
	.full > .absolute > h1 + p { padding-left: 75px; padding-right: 75px; }
	section { padding: 75px; }
	.content { margin-top: 75px; }
	.content_contact_info { left: 75px; bottom: 75px; }
	.intro_contact_info { right: 75px; bottom: 42px; }
	.intro_nav { left: 75px; bottom: 42px; }
}	
@media only screen and (max-width : 1600px) {
	.full > .absolute > h1 { font-size: 72px; line-height: 1.05; }
	h3 { font-size: 64px; line-height: 1.35; }

	h3 { margin-top: 55px; }
	h2 > span { padding: 0.5em 1em 0.5em 55px; margin: 0 0 0 -55px; }
	.logo { left: 55px; }
	.full > .absolute > h1 { padding-left: 55px; }
	.full > .absolute > h1 + p { padding-left: 55px; padding-right: 55px; }
	section { padding: 55px; }
	.content { margin-top: 55px; }
	.content_contact_info { left: 55px; bottom: 55px; }
	.intro_contact_info { right: 55px; bottom: 42px; }
	.intro_nav { left: 55px; bottom: 42px; }

	.logo_footer { width: 75px; height: auto; }
}	
@media only screen and (max-width : 1500px) {
	.field-wrap_flex { gap: 1.5em; }
	.field-wrap_flex > .field-wrap { width: calc(50% - 0.75em); }
	.field-wrap_flex > .field-wrap:nth-of-type(3) { width: 100%; }
}	
@media only screen and (max-width : 1368px) {
	.full > .absolute > h1 { font-size: 64px; line-height: 1.15; }
	h3 { font-size: 56px; line-height: 1.35; }
}	
@media only screen and (max-width : 1300px) {}	
@media only screen and (max-width : 1280px) {
	body { font-size: 18px; }
	.full > .absolute > h1 { font-size: 56px; line-height: 1.15; }
	h3 { font-size: 48px; line-height: 1.35; }

	/*
	.scroll-arrow { height: 36px; }
	.scroll-arrow::before,
	.scroll-arrow::after { width: 10px; }
	.scroll-arrow::before { transform: translateX(0) rotate(55deg); left: -10px; }
	.scroll-arrow::after { transform: translateX(0) rotate(125deg); left: -9px; }
	*/
}	
@media only screen and (max-width : 1200px) {
	h3 { margin-top: 45px; }
	h2 > span { padding: 0.5em 1em 0.5em 45px; margin: 0 0 0 -45px; }
	.logo { left: 45px; }
	.full > .absolute > h1 { padding-left: 45px; }
	.full > .absolute > h1 + p { padding-left: 45px; padding-right: 45px; }
	section { padding: 45px; }
	.content { margin-top: 45px; }
	.content_contact_info { left: 45px; bottom: 45px; }
	.intro_contact_info { right: 45px; bottom: 42px; }
	.intro_nav { left: 45px; bottom: 42px; }

	.content { width: 65%; }

	.content_contact_info { position: relative; left: auto; bottom: auto; margin-top: 45px; }
	.content_contact_info > p { padding-top: 0; }
}
@media only screen and (max-width : 1152px) {}	
@media only screen and (max-width : 1024px) {
	.intro_contact_info { display: block; }
	.intro_contact_info > p { display: block; padding: 0; }
}	
@media only screen and (max-width : 900px) {
	.content { padding-left: 90px; width: 100%; box-sizing: border-box; }
	.copy { line-height: 42px; }
	.copy,
	.copy > a,
	.copy > span { display: block; }
}	
@media only screen and (max-width : 800px) {
	.footer_columns { grid-template-columns: 1fr; }
	.footer_columns > div:nth-of-type(2),
	.footer_columns > div:nth-of-type(3) { margin-top: 42px; }
	.footer_columns > div:nth-of-type(3) { text-align: left; }
}	
@media only screen and (max-width : 768px) {
	h3 { font-size: 40px; line-height: 1.35; }
	.full { background: url('img/zeng-yili-H8EFX9jpdys-unsplash__1152.jpg') center center / cover no-repeat; }
	.main { background: #ffffff }
	.section_bg_black { background: #231f20 url('img/bars-bg-dark.svg') center center / cover no-repeat; }
}	
@media only screen and (max-width : 700px) {}	
@media only screen and (max-width : 600px) {
	.content { padding-left: 0; }
	.intro_contact_info { right: 45px; top: 42px; bottom: auto; }
	.intro_contact_info > p:nth-of-type(1) { text-shadow: 0 0 10px rgba(0,0,0,0.55); }
	.intro_contact_info > p:nth-of-type(2),
	.intro_contact_info > p:nth-of-type(3) { display: none; }
	
	.scroll-arrow { left: auto; right: 42px; bottom: 42px; width: 24px; height: 24px; transform: translateX(0); }

	@keyframes scrollArrow {
	    0%, 100% {
	        transform: translateX(0) translateY(0);
	    }

	    50% {
	        transform: translateX(0) translateY(24px);
	    }
	}
	.content_contact_info { display: block; }
	.content_contact_info > p { display: block; padding: 0; }
}	
@media only screen and (max-width : 550px) {
	.full > .absolute > h1 { font-size: 48px; line-height: 1.15; }
	h3 { font-size: 36px; line-height: 1.35; }
	h3 { margin-top: 36px; }
	h2 > span { padding: 0.5em 1em 0.5em 36px; margin: 0 0 0 -36px; }
	.logo { left: 36px; top: 36px; }
	.full > .absolute > h1 { padding-left: 36px; }
	.full > .absolute > h1 + p { padding-left: 36px; padding-right: 36px; }
	section { padding: 36px; }
	.content { margin-top: 36px; }
	.intro_contact_info { right: 36px; top: 36px; bottom: auto; }
	.intro_nav { left: 36px; bottom: 36px; }
	.content_contact_info { margin-top: 36px; }
	.intro_contact_info { right: 36px; }
	.footer_columns > div:nth-of-type(2),
	.footer_columns > div:nth-of-type(3) { margin-top: 36px; }
	.footer_columns > div:nth-of-type(3) > ul > li > a > svg { margin-top: 36px; }
	.copy { padding: 36px 0 0 0; }
	.content > ul { padding-left: 1em; }
}
@media only screen and (max-width : 500px) {
	.field-wrap_flex > .field-wrap { width: 100%; }
	.submit { padding: 0.65em 0; width: 50%; }
}	
@media only screen and (max-width : 450px) {
	h3 { margin-top: 30px; }
	h2 > span { padding: 0.5em 1em 0.5em 30px; margin: 0 0 0 -30px; }
	.logo { left: 30px; top: 30px; }
	.full > .absolute > h1 { padding-left: 30px; }
	.full > .absolute > h1 + p { padding-left: 30px; padding-right: 30px; }
	section { padding: 30px; }
	.content { margin-top: 30px; }
	.intro_contact_info { right: 30px; top: 30px; bottom: auto; }
	.intro_nav { left: 30px; bottom: 30px; }
	.content_contact_info { margin-top: 45px; }
	.intro_contact_info { right: 30px; }
	.footer_columns > div:nth-of-type(2),
	.footer_columns > div:nth-of-type(3) { margin-top: 30px; }
	.footer_columns > div:nth-of-type(3) > ul > li > a > svg { margin-top: 30px; }
	.copy { padding: 30px 0 0 0; }
}	
@media only screen and (max-width : 435px) {
	.full > .absolute > h1 { font-size: 40px; line-height: 1.15; }
	h3 { font-size: 32px; line-height: 1.35; }
}
@media only screen and (max-width : 370px) {
	.full > .absolute > h1 { font-size: 36px; line-height: 1.2; }
	h3 { font-size: 30px; line-height: 1.35; }
}