/* moj CSS */

@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,700|Playfair+Display+SC:400,700);

/**  Basic Page CSS **/

html,
body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: black;
    font-weight: 400;
    font-size: 1.6em;
    line-height: 1.4;
    position: relative;
}

h1,
h3 {
    font-family: 'Playfair Display SC', serif;
    font-weight: 700;
    margin: 0;
}

h2,
h4,
h5,
h6 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 700;
}


/**  Header Navigation **/

.navbar {
    background: rgba(0, 0, 0, .2);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    -webkit-transform: translate3d(0px, 0px, 1000px);
    transform: translate3d(0px, 0px, 1000px);
}

.navbar-fixed-top {
    background: rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(2px);
    -webkit-transform: translate3d(0px, 0px, 1000px);
    transform: translate3d(0px, 0px, 1000px);
}

header .navbar {
    /* padding: 30px 0; */
    top: 30px;
    /* transition: all .5s ease-out; */
}

header .navbar-default {
    will-change: padding;
    border: none;
}

header .navbar-default .navbar-nav a {
    font-weight: 700;
    color: white;
    padding: 5px 8px;
    margin: 8px 0 8px 0;
}

header .navbar-default .navbar-nav a:hover {
    color: #ffbb00;
}

@media (max-width:767px) {
    header .navbar-default .navbar-nav a {
        border-bottom: 1px solid #ffffff;
    }
}

header .navbar-default .navbar-nav .active a {
    color: #ffbb00;
    background: transparent;
    border-bottom: 3px solid #ffbb00;
    text-shadow: none;
}

header .navbar-default .navbar-nav .active a:hover {
    color: #CCC;
    background: transparent;
    text-shadow: none;
}


/**  Navbar Brand **/

header .navbar-brand {
    background: url(../img/logo.svg);
    background-repeat: no-repeat;
    background-position: 15px 0;
    height: auto;
    padding: 35px 150px;
    margin-top: -15px;
}

@media only screen and (max-width: 400px) {
    header .navbar-brand {
        margin-top: -50px;
        margin-left: 10px;
        background-size: 200px;
    }
}


/**  Navbar Toggle **/

header .navbar-toggle {
    background-color: #CCCCCC;
}

header .navbar-default .navbar-toggle .icon-bar {
    background-color: black;
}


/**  nav inbody **/

header .inbody {
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

header .navbar.inbody {
    /* top: 30px; */
    /* transition: all .5s ease-out; */
    animation: menimrd .5s ease-in forwards;
    /* padding-top: 0;
    padding-bottom: 0; */
}

@keyframes menimrd {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-30px);
    }
}

header .navbar.inbody .navbar-nav {
    padding-top: 10px;
}

header .inbody .navbar-brand {
    background-position: top left;
    margin-top: 5px;
    padding: 38px 70px 0 70px;
    margin-left: 10px;
    background-size: contain;
}

header .inbody .navbar-brand h1 {
    font-size: 1.1em;
    padding-left: 38px;
}

header .inbody .navbar-brand span.subhead {
    display: none;
}


/**  Navbar pp **/

.backHome .navbar {
    background: rgba(0, 0, 0, .7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    -webkit-transform: translate3d(0px, 0px, 1000px);
    transform: translate3d(0px, 0px, 1000px);
}

.previous {
    float: left;
}

.next {
    float: right;
}

.btn.outline {
    background: none;
}

.btn-primary.outline {
    position: relative;
    border: none;
    color: #fff100;
    margin: auto auto;
    display: block;
}

.btn-primary.outline:hover,
.btn-primary.outline:focus,
.btn-primary.outline:active,
.btn-primary.outline.active,
.open>.dropdown-toggle.btn-primary {
    color: #33a6cc;
    border-color: #33a6cc;
}

.btn-group-lg>.btn,
.btn-lg {
    padding: 0;
}

.nopadding {
    padding: 0;
}

.portfolioNav .navbar-nav {
    width: 100%;
    text-align: center;
    margin: 0;
}

.portfolioNav .navbar-nav>li {
    float: none;
    display: inline-block;
}

.portfolioNav .nav.navbar-nav a {
    color: #ffbb00;
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
    color: white;
}


/**  Page **/

.page {
    padding: 50px 0;
}

.page h2 {
    text-align: center;
    margin: 20px;
    font-size: 36px;
}

#services h3 {
    margin-bottom: 20px;
}

#services h2 {
    margin-bottom: 60px;
}

.page h4 {
    margin-bottom: 15px;
    line-height: 1.4;
}

#triD {
    will-change: text-shadow;
    transform: transale3d(0, 0, 0);
}

.e3dsPoz1 {
    text-shadow: 0 -1px 0 rgba(204, 204, 204, 1), 0 -2px 0 rgba(204, 204, 204, 0.8), 0 -3px 0 rgba(204, 204, 204, 0.6), 0 -4px 0 rgba(204, 204, 204, 0.4), 0 -5px 0 rgba(204, 204, 204, 0.2), 0 -10px 10px rgba(0, 0, 0, .6);
}

.e3dsPoz2 {
    text-shadow: 0 -1px 0 rgba(204, 204, 204, 1), 0 -2px 0 rgba(204, 204, 204, 0.8), 0 -3px 0 rgba(204, 204, 204, 0.6), 0 -4px 0 rgba(204, 204, 204, 0.4), 0 -8px 8px rgba(0, 0, 0, .6);
}

.e3dsPoz3 {
    text-shadow: 0 -1px 0 rgba(204, 204, 204, 1), 0 -2px 0 rgba(204, 204, 204, 0.8), 0 -3px 0 rgba(204, 204, 204, 0.6), 0 -6px 6px rgba(0, 0, 0, .6);
}

.e3dsPoz4 {
    text-shadow: 0 -1px 0 rgba(204, 204, 204, 1), 0 -2px 0 rgba(204, 204, 204, 0.8), 0 -4px 4px rgba(0, 0, 0, .6);
}

.e3dsPoz5 {
    text-shadow: 0 -1px 0 rgba(204, 204, 204, 1), 0 -2px 2px rgba(0, 0, 0, .6);
}

.e3dsPoz6 {
    text-shadow: 0 1px 0 rgba(204, 204, 204, 1), 0 2px 2px rgba(0, 0, 0, .6);
}

.e3dsPoz6 {
    text-shadow: 0 1px 0 rgba(204, 204, 204, 1), 0 2px 0 rgba(204, 204, 204, 0.8), 0 4px 4px rgba(0, 0, 0, .6);
}

.e3dsPoz7 {
    text-shadow: 0 1px 0 rgba(204, 204, 204, 1), 0 2px 0 rgba(204, 204, 204, 0.8), 0 3px 0 rgba(204, 204, 204, 0.6), 0 6px 6px rgba(0, 0, 0, .6);
}

.e3dsPoz8 {
    text-shadow: 0 1px 0 rgba(204, 204, 204, 1), 0 2px 0 rgba(204, 204, 204, 0.8), 0 3px 0 rgba(204, 204, 204, 0.6), 0 4px 0 rgba(204, 204, 204, 0.4), 0 8px 8px rgba(0, 0, 0, .6);
}

.e3dsPoz9 {
    text-shadow: 0 1px 0 rgba(204, 204, 204, 1), 0 2px 0 rgba(204, 204, 204, 0.8), 0 3px 0 rgba(204, 204, 204, 0.6), 0 4px 0 rgba(204, 204, 204, 0.4), 0 5px 0 rgba(204, 204, 204, 0.2), 0 10px 10px rgba(0, 0, 0, .6);
}



/* animacija h1 */

.mainTxtAnim {
    padding-top: 150px;
    position: fixed;
    width: 600px;
    height: 400px;
    transform: perspective(1500px) rotateY(35deg) translate3d(0);
}

.pen {
    position: fixed;
    will-change: stroke-dashoffset;
    stroke-dashoffset: 0%;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000;
    -webkit-perspective: 1000;
    transition: stroke-dashoffset .5s linear;
}

@keyframes draw {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: 100%;
    }
}

.h1AnimWrapper {
    position: relative;
    margin: 0 0 0 20%;
    transform: perspective(1500px) rotateY(35deg);
    z-index: 6;
}

.maska {
    overflow: hidden;
    width: 100%;
}

.maska h1 {
    color: #409DFF;
    font-size: 8em;
}

.maska .h1design {
    color: #ffbb00;
}

.moveTxt.h1you {
    font-size: 6em;
}

.moveTxt.h1in {
    font-size: 5em;
    margin-left: 120px;
}

.moveTxt.h1design {
    font-size: 3em;
}

.h1designmove {
    margin: -58px 0 0 20px;
}

.portfolioNav li {
    font-size: 22px;
    font-weight: 700;
}

@media only screen and (max-width: 400px) {
    .portfolioNav li {
        font-size: 15px;
    }
}

@media only screen and (max-width: 768px) {
    body {
        line-height: 1.5;
        font-size: 1.8em;
    }

    .maska {
        width: 100%;
    }

    .maska h1 {
        font-size: 5em;
    }

    .moveTxt.h1you {
        font-size: 4em;
    }

    .moveTxt.h1in {
        font-size: 3em;
        margin-left: 87px;
    }

    .moveTxt.h1design {
        font-size: 2em;
    }

    .h1designmove {
        margin: -38px 0 0 20px;
    }

    .backToHomeContainer {
        width: 100px;
    }

    .h1AnimWrapper {
        font-size: 12px;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .maska {
        width: 100%;
    }

    .maska h1 {
        font-size: 6em;
    }

    .moveTxt.h1you {
        font-size: 5em;
    }

    .moveTxt.h1in {
        font-size: 4em;
        margin-left: 120px;
    }

    .moveTxt.h1design {
        font-size: 2.5em;
    }

    .h1designmove {
        margin: -48px 0 0 36px;
    }
}

@media only screen and (max-height: 400px) {
    .maska {
        width: 100%;
    }

    .maska h1 {
        font-size: 3em;
    }

    .moveTxt.h1you {
        font-size: 2.5em;
    }

    .moveTxt.h1in {
        font-size: 2.5em;
        margin-left: 120px;
    }

    .moveTxt.h1design {
        font-size: 1.5em;
    }

    .h1designmove {
        margin: -30px 0 0 70px;
    }

    .h1youmove {
        margin: -46px 0 0 120px;
    }
}

.moveTxt {
    transform: translateY(200px);
    animation: moving .5s;
    animation-fill-mode: forwards;
    -webkit-transform: translateY(200px);
    -webkit-animation: moving .5s;
    -webkit-animation-fill-mode: forwards;
}

.h1are {
    animation-delay: .5s;
    -webkit-animation-delay: .5s;
    margin-top: 120px;
}

.h1you {
    animation-delay: 1s;
    -webkit-animation-delay: 1s;
}

.h1in {
    animation-delay: 1.5s;
    -webkit-animation-delay: 1.5s;
}

.h1design {
    animation-delay: 2s;
    -webkit-animation-delay: 2s;
}

@-webkit-keyframes moving {
    from {
        -webkit-transform: translateY(200px);
    }

    to {
        -webkit-transform: translateY(0px);
    }
}

@keyframes moving {
    from {
        -webkit-transform: translateY(200px);
    }

    to {
        -webkit-transform: translateY(0px);
    }
}


/* /animacija h1 */

#services {
    color: white;
    position: relative;
    z-index: 12;
}


/**  Page -- portfolio **/

.btn-info {
    color: black;
    background-color: #ffbb00;
    border-color: #ebac00;
}

.btn-info:hover {
    color: white;
    background-color: #dc9c1f;
    border-color: #c08c00;
}

#portfolio {
    position: relative;
    z-index: 22;
    padding: 0;
    background-color: #ffbb00;
}

#portfolio .project {
    margin: 0;
    padding: 0;
    border-left: none;
    height: 410px;
    min-height: 500px;
    position: relative;
}

#portfolio .project .address {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 5%;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0 0 0 30px;
    color: white;
    font-weight: 700;
}

#portfolio .project .moreInfo {
    background-color: rgba(255, 255, 255, .6);
    padding: 10px 5%;
    position: absolute;
    bottom: 0;
    width: 85%;
    font-weight: 400;
    border-radius: 0 30px 0 0;
}

#portfolio #si {
    background: url(../img/si.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #bo {
    background: url(../img/bo.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #nab {
    background: url(../img/nab.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #pa {
    background: url(../img/pa.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #md {
    background: url(../img/md.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #rt {
    background: url(../img/rtr.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #mag {
    background: url(../img/mag.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #zde {
    background: url(../img/zde.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #mm {
    background: url(../img/mm.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #tb {
    background: url(../img/tab.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #amc {
    background: url(../img/amc.jpg) no-repeat center center;
    background-size: cover;
}

#portfolio #od {
    background: url(../img/od.jpg) no-repeat center center;
    background-size: cover;
}

.forLink {
    height: 410px;
}


/*Single page portfolio*/

.ppBackgound {
    width: 100%;
    padding-top: 70px;
}

.ppBgbo {
    background: url(../img/pp/bobg.jpg) no-repeat center 80px fixed;
}

.ppBgsi {
    background: url(../img/pp/sibg.jpg) no-repeat center 80px fixed;
}

.ppBgpa {
    background: url(../img/pp/pabg.jpg) no-repeat center 80px fixed;
}

.ppBgmd {
    background: url(../img/pp/mdbg.jpg) no-repeat center 80px fixed;
}

.ppBgnab {
    background: url(../img/pp/nabbg.jpg) no-repeat center 80px fixed;
}

.ppBgMag {
    background: url(../img/pp/magbg.jpg) no-repeat center 80px fixed;
}

.ppBgTb {
    background: url(../img/pp/tbbg.jpg) no-repeat center 80px fixed;
}

.ppBgZd {
    background: url(../img/pp/zdbg.jpg) no-repeat center 80px fixed;
}

.ppBgRt {
    background: url(../img/pp/rtbg.jpg) no-repeat center 80px fixed;
}

.ppBgMm {
    background: url(../img/pp/mmbg.jpg) no-repeat center 80px fixed;
}

.ppBgAmc {
    background: url(../img/pp/amcbg.jpg) no-repeat center 80px fixed;
}

.ppcontainer .container-fluid {
    background: white;
    padding: 0;
}


/*------------------------eventualno za naslov*/

.ppcaption {
    background-image: url(../img/pp/logobgpat.svg);
    background-repeat: repeat;
}

.linija {
    border-bottom: 1px dashed #D3D9E3;
    margin-bottom: 15px;
}

.ppcontainer .btn-info {
    font-size: 18px;
    color: #000;
    background-color: #ffbb00;
    border-color: #ffbb00;
}

.ppcontainer .btn-info:hover {
    color: #fff;
    background-color: #7b5a00;
    border-color: #7b5a00;
}

.ppcontainer h2 {
    font-size: 40px;
    font-size: 4rem;
    margin: 40px 0 20px 0;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    color: #1e1e1e;
}

.ppcontainer h3 {
    margin: 20px 0;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    color: #1e1e1e;
    line-height: 1.6;
}

.ppcontainer p,
.ppcontainer ul {
    color: #888;
    font-size: 17px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 33px;
    vertical-align: baseline;
}

.ppcontainer p {
    padding: 15px 0;
}

.ppSectionGray {
    position: relative;
    width: 100%;
    padding: 20px 15px;
    margin: 0 auto;
    background-color: rgb(244, 244, 244);
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.slikadesno {
    float: right;
    padding: 15px;
}

@media (max-width:992px) {
    .slikadesno {
        width: 100%;
        float: none;
        margin: 0 auto;
    }
}

.slikalevo {
    float: left;
    padding: 15px;
}

@media (max-width:767px) {
    .slikalevo {
        width: 100%;
    }
}

#aboutIcontact {
    /*paper pravi problemi
	position: relative;*/
    background: linear-gradient(rgba(215, 215, 225, 1), rgba(240, 150, 155, 1) 60%, rgba(100, 100, 130, 1));
    z-index: 40;
}

#about {
    overflow: hidden;
    color: #000000;
    padding-top: 0;
    position: relative;
    z-index: 41;
}

p {
    z-index: 90;
}

#aboutAccordion {
    position: relative;
    height: 200px;
    z-index: 25;
    font-size: 16px;
    text-align: center;
}

#aboutAccordion h4 {
    font-size: 24px;
}

#aboutAccordion .panel-default>.panel-heading {
    background-color: rgba(0, 0, 0, 0.05);
}

#aboutAccordion .panel {
    background-color: rgba(255, 255, 255, 0.8);
}

.panel-title {
    font-size: 18px;
}

.panel>.panel-heading {
    position: relative;
    padding: 15px;
}

.panel-title>a.collapsed:after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 4px;
}

.panel-title>a:after {
    content: '-';
    position: absolute;
    right: 4px;
    top: 4px;
}

@media only screen and (max-width: 768px) {
    #about .container {
        padding: 0 5px;
    }

    #aboutAccordion {
        font-size: 14px;
    }

    #aboutAccordion h4 {
        font-size: 18px;
    }

    #konj {
        padding-top: 170px;
    }
}

@media only screen and (max-width: 400px) {
    #about .container {
        padding: 0 3px;
    }

    #konj {
        padding-top: 300px;
    }
}

#gradientSunRBg,
#gradientSunRBg1,
#gradientSunRBg2,
#gradientSunRBg3,
#gradientSunRBg4,
#gradientSunRBg5,
#gradientSunRBg6,
#gradientSunRBg7,
#gradientSunRBg8 {
    will-change: opacity;
    position: fixed;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    height: 100%;
    height: 100vh;
    width: 100%;
    width: 100vw;
    transition: opacity 0.3s ease-out;
    z-index: 11;
}

#gradientSunRBg1 {
    background: linear-gradient(rgba(215, 215, 225, 1), rgba(240, 150, 155, 1) 60%, rgba(100, 100, 130, 1));
}

.gradientSunRAnimPoz1On {
    opacity: .99;
}

#gradientSunRBg2 {
    background: linear-gradient(rgba(98, 167, 231, 1), rgba(172, 172, 229, 1) 25%, rgba(255, 174, 124, 1));
}

.gradientSunRAnimPoz2On {
    opacity: .99;
}

#gradientSunRBg3 {
    background: linear-gradient(rgba(30, 120, 190, 1), rgba(230, 230, 230, 1) 70%, rgba(255, 159, 21, 1) 90%, rgba(255, 80, 8, 1));
}

.gradientSunRAnimPoz3On {
    opacity: .99;
}

#gradientSunRBg4 {
    background: linear-gradient(rgba(37, 182, 255, 1) 7.14%, rgba(80, 183, 255, 1) 30.67%, rgba(109, 203, 255, 1) 64.29%, rgba(215, 244, 255, 1) 87.82%, rgba(255, 217, 90, 1));
}

.gradientSunRAnimPoz4Off {
    opacity: 0;
}

.gradientSunRAnimPoz4On {
    opacity: 1;
}

#gradientSunRBg5 {
    background: linear-gradient(rgba(26, 171, 255, 1) 7%, rgba(92, 200, 255, 1) 64%, rgba(187, 234, 255, 1));
}

.gradientSunRAnimPoz5Off {
    opacity: 0;
}

.gradientSunRAnimPoz5On {
    opacity: 1;
}

#gradientSunRBg6 {
    background: linear-gradient(to bottom, #90dffe 0%, #38a3d1 100%);
}

.gradientSunRAnimPoz6Off {
    opacity: 0;
}

.gradientSunRAnimPoz6On {
    opacity: 1;
}

#gradientSunRBg7 {
    background: linear-gradient(to bottom, #9be2fe 0%, #67d1fb 100%);
}

.gradientSunRAnimPoz7Off {
    opacity: 0;
}

.gradientSunRAnimPoz7On {
    opacity: 1;
}

#gradientSunRBg8 {
    background: linear-gradient(to bottom, #b7eaff 0%, #94dfff 100%);
}

.gradientSunRAnimPoz8Off {
    opacity: 0;
}

.gradientSunRAnimPoz8On {
    opacity: 1;
}

.oOff {
    opacity: 0;
}

.oOn {
    opacity: 1;
}

#servicesBg {
    background: linear-gradient(rgba(0, 50, 150, 0) 60%, rgba(120, 120, 130, 0.5) 85%, rgba(255, 150, 0, 0.6) 96%, rgba(255, 80, 0, 0.7));
    z-index: 11;
}

.servicesBgOff {
    opacity: 0;
}

.servicesBgOn {
    opacity: 1;
}

#portfolioBg {
    background: linear-gradient(rgba(40, 80, 120, 0), rgba(43, 85, 128, 0.27) 37.39%, rgba(111, 185, 255, 0.5) 64.29%, rgba(255, 219, 5, 0.82) 89.08%, rgba(255, 210, 5, 0.96) 94.96%, rgba(255, 143, 5, 1));
    z-index: 21;
}

.portfolioBgOff {
    opacity: 0;
}

.portfolioBgOn {
    opacity: 1;
}

#aboutBg {
    background: linear-gradient(rgba(21, 103, 144, 0.76) 7.14%, rgba(41, 94, 131, 0.88) 30.67%, rgba(83, 155, 195, 0.96) 64.29%, rgba(172, 195, 204, 0.99) 87.82%, rgba(242, 206, 85, 1));
    z-index: 21;
}

.aboutBgOff {
    opacity: 0;
}

.aboutBgOn {
    opacity: 1;
}

#contact {
    position: relative;
    z-index: 51;
    background-color: #299100;
}

#contactBg {
    background: linear-gradient(rgba(23, 151, 225, 0.76) 7.14%, rgba(92, 200, 255, 1) 64.29%, rgba(187, 234, 255, 1));
    z-index: 21;
}

.contactBgOff {
    opacity: 0;
}

.contactBgOn {
    opacity: 1;
}

#contact .panel-default>.panel-heading {
    background-color: white;
    border-color: #299100;
}

@keyframes moveleft1 {
    0% {
        transform: translateX(200vh);
    }

    100% {
        transform: translateX(-50vh);
    }

    /* 0% {margin-left: 200vh;}
	100% {margin-left: -50vh;} */
}

@keyframes moveleft2 {
    0% {
        transform: translateX(200vh);
    }

    100% {
        transform: translateX(-50vh);
    }
}

/* @keyframes moveleft2 {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-1500%);
    }
} */

#clouds {
    position: relative;
}

#cloud1 {
    position: relative;
    top: 80%;
    animation: moveleft1 8s linear infinite;
    z-index: 22;
}

#cloud2 {
    position: relative;
    top: 50%;
    /* transform: translateX(-1500%); */
    animation: moveleft2 5s linear infinite;
    z-index: 23;
}

#konj {
    z-index: 24;
    margin-bottom: -58px;
}


/* CSS ANIMACIJA 
- procentite za gradien za plavo igrejnebo
da se sredi izgrej sonce za stari gradienti, transform-origin kaj spin anim
*/


/* za prefrluvanje - veke go ima izgleda*/

#nebo {
    position: relative;
    z-index: 3;
}

#svgStar1 {
    position: fixed;
}

#zvezdi {
    display: none;
    position: fixed;
    will-change: transform, rotate;
    top: 0px;
    transform: transale3d(0, 0, 0);
    transform-origin: 30% 30%;
    transition: transform 3s cubic-bezier(0.25, 0, 0.5, 1);
    z-index: 2;
}

.zvezdiAnimPozStart {
    transform: rotate(3deg) scale(0.3, 0.3);
}

.zvezdiAnimPoz1 {
    transform: rotate(45deg) scale(0.7, 0.7);
}

.zvezdiAnimPoz2 {
    transform: rotate(90deg) scale(0.8, 0.8);
}

.zvezdiAnimPoz3 {
    transform: rotate(135deg) scale(1, 1);
}

.zvezdiAnimPoz4 {
    transform: rotate(180deg) scale(1.3, 1.3);
}

.zvezdiAnimPoz5 {
    transform: rotate(225deg) scale(1.6, 1.6);
}

.zvezdiAnimPoz6 {
    transform: rotate(270deg) scale(2, 2);
}

.zvezdiAnimPoz7 {
    transform: rotate(315deg) scale(3, 3);
}

.zvezdiAnimPoz8 {
    transform: rotate(360deg) scale(4, 6);
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */


/* Carousel base class */

.home_c .carousel {
    height: 500px;
}


/* Since positioning the image, we need to help out the caption */

.home_c .carousel-caption {
    z-index: 10;
    top: 20px;
}


/* Declare heights because of positioning of img element */

.home_c .carousel .item {
    height: 500px;
    background-color: #FFF;
}

.home_c .carousel-inner>.item>img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 500px;
}

.home_c h1 {
    color: #000;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.home_c p {
    color: #000;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.YTcontainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.YTif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 20px;
        font-size: 21px;
        line-height: 1.4;
    }
}

@media (max-width: 767px) {
    .home_c {
        height: 300px;
    }

    .home_c .carousel {
        height: 300px;
        margin-top: 55px;
    }

    .home_c .carousel-inner {
        height: 300px;
    }

    h3 {
        position: relative;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }
}

.curHeader {
    display: table;
    height: 100%;
    width: 100%;
    position: relative;
    background-color: white;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.cur {
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
    margin: 80px auto;
    background: rgba(0, 0, 0, 0.4);
}