@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900");
@import url("fontawesome-all.min.css");

/* Reset */
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;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	appearance: none;
}

/* Basic */
html {
	box-sizing: border-box;
}

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

body {
	background: #fff;
	overflow-x: hidden;
	overflow-y: auto;
	color: #fff;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15pt;
	font-weight: 300 !important;
	letter-spacing: -0.025em;
	line-height: 1.75em;
}

a {
	transition: border-color 0.2s ease-in-out;
	border-bottom: dotted 1px;
	color: inherit;
	outline: 0;
	text-decoration: none;
}

a:hover {
	border-color: transparent;
}

/* Icon */
.icon {
	text-decoration: none;
	position: relative;
}

.icon:before {
	font-family: 'Font Awesome 5 Free';
	font-weight: 400;
	display: inline-block;
	line-height: 1;
}

.icon.solid:before {
	font-weight: 900;
}

.icon.brands:before {
	font-family: 'Font Awesome 5 Brands';
}

/* Wrapper */
#wrapper {
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
}

/* BG */
#bg {
	background: none !important;
}

/* Main */
#main {
	height: 100%;
	left: 0;
	position: fixed;
	text-align: center;
	top: 0;
	width: 100%;
}

#main:before {
	content: '';
	display: inline-block;
	height: 100%;
	margin-right: 0;
	vertical-align: middle;
	width: 1px;
}

/* Header */
#header {
	cursor: default;
	display: inline-block;
	position: relative;
	text-align: center;
	top: -1em;
	vertical-align: middle;
	width: 90%;
}

#header h1 {
	font-size: 4.35em;
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 1em;
}

#header p {
	font-size: 1.25em;
	margin: 0.75em 0 0.25em 0;
	opacity: 0.75;
}

#header nav {
	margin: 1.5em 0 0 0;
}

#header nav li {
	display: inline-block;
	height: auto;
	line-height: normal;
	width: 5.35em;
	margin: 0 0.5em;
}

#header nav a {
	border: 0;
	display: inline-block;
	color: white;
}

#header nav a:before {
	border-radius: 100%;
	border: solid 1px #fff;
	display: block;
	font-size: 1.75em;
	height: 2.5em;
	line-height: 2.5em;
	text-align: center;
	width: 2.5em;
	margin: 0 auto;
}

#header nav a:hover:before {
	background-color: rgba(255, 255, 255, 0.175);
}

#header nav a span {
	display: block;
	font-size: 1em;
	margin-top: 0.2em; /* По-близо до иконата */
	line-height: 1.2em;
}

/* Footer */
#footer {
	bottom: 0;
	cursor: default;
	height: 6em;
	left: 0;
	line-height: 8em;
	position: absolute;
	text-align: center;
	width: 100%;
}

/* Mobile video fix */
@media screen and (max-width: 768px) {
    #bg-video {
        object-fit: cover;
        background-color: transparent;
    }
}

/* Mobile Adjustments */
@media screen and (max-width: 736px) {
	#header h1 {
		font-size: 2.5em;
	}
	#header p {
		font-size: 1em;
	}
	#header nav li {
		width: 4.5em;
	}
	#header nav a span {
		font-size: 0.85em;
	}
}
/* --- Видео фон с размазване за мобилна оптимизация --- */

/* Размазано фоново видео */
#bg-video-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px) brightness(0.7);
    z-index: -2;
}

/* Основно видео */
#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Запазва пропорциите */
    z-index: -1;
    background-color: black;
}@