.elementor-1603 .elementor-element.elementor-element-ffc5e36{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1603 .elementor-element.elementor-element-ffc5e36::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .e-con-inner > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .e-con-inner > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-image:url("https://astrovizija.com.hr/wp-content/uploads/2024/06/vrste-odnosa-medu-plaanetima.webp");--background-overlay:'';background-position:center left;}.elementor-1603 .elementor-element.elementor-element-215d260 > .elementor-widget-container{margin:-73px 0px 0px 43px;}.elementor-1603 .elementor-element.elementor-element-1ee38c8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1603 .elementor-element.elementor-element-71b84a3{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:0.19;}.elementor-1603 .elementor-element.elementor-element-71b84a3::before, .elementor-1603 .elementor-element.elementor-element-71b84a3 > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-71b84a3 > .e-con-inner > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-71b84a3 > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-71b84a3 > .e-con-inner > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-71b84a3 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-1603 .elementor-element.elementor-element-a3e7fea{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--overlay-opacity:0;}.elementor-1603 .elementor-element.elementor-element-a3e7fea::before, .elementor-1603 .elementor-element.elementor-element-a3e7fea > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-a3e7fea > .e-con-inner > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-a3e7fea > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-a3e7fea > .e-con-inner > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-a3e7fea > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{--background-overlay:'';}.elementor-1603 .elementor-element.elementor-element-b2221d7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1603 .elementor-element.elementor-element-8d8db32{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:1024px){.elementor-1603 .elementor-element.elementor-element-1ee38c8{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}}@media(max-width:767px){.elementor-1603 .elementor-element.elementor-element-ffc5e36::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .e-con-inner > .elementor-background-video-container::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .e-con-inner > .elementor-background-slideshow::before, .elementor-1603 .elementor-element.elementor-element-ffc5e36 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-position:center center;background-size:cover;}.elementor-1603 .elementor-element.elementor-element-215d260 > .elementor-widget-container{padding:2px 2px 2px 2px;}.elementor-1603 .elementor-element.elementor-element-215d260 .elementor-button{font-size:14px;}}/* Start custom CSS for button, class: .elementor-element-215d260 *//* Stil za Elementor gumb */
.elementor-button {
    background: linear-gradient(135deg, #FFD700, #FF8C00); /* Zlatno-narančasti gradient */
    color: #1C1E45; /* Tamnoplavi tekst */
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Suptilna sjena */
    transition: transform 0.9s ease, box-shadow 0.9s ease; /* Glatka animacija */
    cursor: pointer;
}

/* Hover efekt za gumb */
.elementor-button:hover {
    background: linear-gradient(135deg, #FF8C00, #FFD700); /* Obrnuti gradient */
    box-shadow: 0 10px 30px rgba(255, 223, 0, 0.5); /* Jači sjaj */
    transform: scale(1.05); /* Lagano povećanje */
}
.sadržaj button:hover {
    transform: scale(1.05); /* Blago povećanje */
    box-shadow: 0 10px 20px rgba(255, 223, 0, 0.6); /* Zlatni sjaj */
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-ffc5e36 */.glavni-kontejner-natalna {
    position: relative;
    background: radial-gradient(circle, #1A1E3C 30%, #0C0F25 100%);
    background-size: 400% 400%;
    animation: backgroundMove 20s ease infinite;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Animacija pozadine */
@keyframes backgroundMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glavni-kontejner-natalna::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Zvijezde */
.zvijezda {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: sparkle 4s infinite ease-in-out, starTwinkle 6s infinite ease-in-out, rotateTwinkle 8s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

@keyframes sparkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0.2; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-5px); }
}

@keyframes rotateTwinkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

.zvijezda:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.zvijezda:nth-child(2) { top: 20%; left: 45%; animation-delay: 1s; }
.zvijezda:nth-child(3) { top: 70%; left: 30%; animation-delay: 2s; }
.zvijezda:nth-child(4) { top: 80%; left: 80%; animation-delay: 3s; }
.zvijezda:nth-child(5) { top: 40%; left: 10%; animation-delay: 4s; }
.zvijezda:nth-child(6) { top: 5%; left: 70%; animation-delay: 5s; }
.zvijezda:nth-child(7) { top: 90%; left: 50%; animation-delay: 6s; }

/* Planete */
.planet {
    position: absolute;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite, planet-rotacija 40s linear infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

.planet-1 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #FFD700, #FF8C00);
    top: 15%;
    left: 20%;
}

.planet-2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, #87CEFA, #4682B4);
    top: 50%;
    left: 75%;
}

.planet-3 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #FF69B4, #C71585);
    top: 10%;
    left: 70%;
}

.planet-4 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, #FFA500, #FF4500);
    top: 60%;
    left: 30%;
    animation-delay: 4s;
}

/* Rotacija planeta */
@keyframes planet-rotacija {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Lebdenje */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sadržaj */
.sadržaj h1 {
    font-size: 42px;
    color: #FFD700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 2s ease;
}

.sadržaj p {
    font-size: 18px;
    color: #FFF;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
}

.sadržaj {
    animation: lebdenje 6s ease-in-out infinite;
}

@keyframes lebdenje {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Linije */
.linija {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    transform-origin: top;
    animation: pulsate 2s infinite ease-in-out;
    z-index: 1;
}

.linija-1 {
    top: 10%;
    left: 25%;
    transform: rotate(20deg);
    animation-delay: 0.5s;
}

.linija-2 {
    top: 40%;
    left: 60%;
    transform: rotate(-10deg);
    animation-delay: 1s;
}

.linija-3 {
    top: 70%;
    left: 35%;
    transform: rotate(15deg);
    animation-delay: 1.5s;
}

.linija-4 {
    top: 20%;
    left: 80%;
    transform: rotate(-15deg);
    animation-delay: 2s;
}

@keyframes pulsate {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Simboli unutar planeta */
/* Simboli unutar planeta */
.simbol {
    position: absolute;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    animation: simbol-bljesak 4s ease-in-out infinite, simbol-rotacija 20s linear infinite; /* Dodano: rotacija */
    z-index: 3;
    pointer-events: none;
}

/* Pozicije simbola */
.simbol-sunce {
    top: calc(8% + 20px);
    left: calc(20% + 20px);
}

.simbol-mars {
    top: calc(60% + 35px);
    left: calc(30% + 35px);
}

.simbol-saturn {
    top: calc(2% + 25px);
    left: calc(70% + 25px);
}

.simbol-neptun {
    top: calc(50% + 40px);
    left: calc(75% + 40px);
}

/* Animacija bljeska i rotacije simbola */
@keyframes simbol-bljesak {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes simbol-rotacija {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Animacija bljeska i promjene boja simbola */
@keyframes simbol-bljesak {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes simbol-pulsacija {
    0%, 100% { color: rgba(255, 255, 255, 0.7); }
    50% { color: rgba(255, 223, 0, 0.9); }
}
/* Padajuće zvijezde */
.padajuća-zvijezda {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    animation: padajuća 2s infinite ease-in-out;
    opacity: 0;
}

@keyframes padajuća {
    0% {
        opacity: 1;
        transform: translate(-50px, -50px) rotate(45deg);
    }
    100% {
        opacity: 0;
        transform: translate(300px, 300px) rotate(45deg);
    }
}
/* Zvijezde padalice – popravljeno */
.glavni-kontejner-natalna {
    position: relative;
    overflow: hidden; /* Sprječava horizontalni scroll */
}

.padajuća-zvijezda {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    animation: padajuća 2s infinite ease-in-out;
    opacity: 0;
    pointer-events: none; /* Sprječava interakcije */
    clip-path: inset(0 0 0 0); /* Odsječe zvijezde izvan okvira */
}

@keyframes padajuća {
    0% {
        opacity: 1;
        transform: translate(0, -50px) rotate(45deg);
    }
    100% {
        opacity: 0;
        transform: translate(200px, 200px) rotate(45deg);
    }
}
/* Ograničavanje kretanja zvijezda padalica */
.glavni-kontejner-natalna {
    position: relative;
    overflow: hidden; /* Sprječava izlazak sadržaja iz kontejnera */
}

.padajuća-zvijezda {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    animation: padajuća 2s linear infinite;
    opacity: 0;
    pointer-events: none; /* Sprječava interakciju */
}

@keyframes padajuća {
    0% {
        opacity: 1;
        transform: translateY(-20px); /* Početak izvan vidljivog prostora */
    }
    100% {
        opacity: 0;
        transform: translateY(100vh); /* Ograničeno kretanje prema dolje */
    }
}
html, body {
    overflow-x: hidden; /* Sprječava horizontalni pomak na razini cijele stranice */
    margin: 0; /* Uklanja neželjene margine */
    padding: 0; /* Uklanja neželjene paddinge */
}

.glavni-kontejner-natalna {
    max-width: 100vw; /* Ograničava širinu kontejnera na širinu viewporta */
    overflow: hidden; /* Ograničava sadržaj unutar kontejnera */
}
.padajuća-zvijezda {
    max-width: 100%; /* Ograničava širinu zvijezda */
    max-height: 100%; /* Ograničava visinu zvijezda */
    clip-path: inset(0 0 0 0); /* Sprječava prikaz izvan kontejnera */
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-1ee38c8 *//* Drugi kontejner */
.drugi-kontejner {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background: linear-gradient(to bottom right, #0C0F25, #1A1E3C);
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    color: #FFF;
    overflow: hidden;
}

/* Tekst u kontejneru */
.drugi-kontejner .tekst {
    width: 100%;
    max-width: 800px; /* Maksimalna širina teksta */
    text-align: center; /* Centriranje teksta */
    position: relative;
    z-index: 2;
}

.drugi-kontejner h2 {
    font-size: 36px;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 215, 0, 0.5);
    padding-bottom: 10px;
}

.drugi-kontejner p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.drugi-kontejner p strong {
    color: #FFD700;
}

.drugi-kontejner p em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* Pozadinski efekt - suptilne točkice */
.drugi-kontejner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.2;
    animation: svjetlucanje 5s infinite ease-in-out alternate;
    z-index: 0;
}

/* Animacija svjetlucanja */
@keyframes svjetlucanje {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responzivnost za tablete */
@media (max-width: 1024px) {
    .drugi-kontejner {
        padding: 30px;
    }

    .drugi-kontejner h2 {
        font-size: 28px;
    }

    .drugi-kontejner p {
        font-size: 16px;
    }
}

/* Responzivnost za mobitele */
@media (max-width: 768px) {
    .drugi-kontejner {
        padding: 20px;
    }

    .drugi-kontejner h2 {
        font-size: 24px;
    }

    .drugi-kontejner p {
        font-size: 14px;
        line-height: 1.6;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-71b84a3 */.treci-kontejner {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start; /* Poravnanje prema vrhu */
    padding: 50px;
    background: linear-gradient(135deg, #2A2E56, #1C1F37, #3C3F73);
    background-size: 200% 200%;
    animation: gradijentAnimacija 12s ease infinite;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    color: #FFF;
    overflow: hidden;
}

/* Gradijentna animacija */
@keyframes gradijentAnimacija {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tekstualni dio */
.treci-kontejner .tekst {
    width: 65%;
    padding-right: 20px; /* Dodajemo razmak od kruga */
    z-index: 2;
}

.treci-kontejner h2 {
    font-size: 36px;
    color: #FFD700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.treci-kontejner h3 {
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #FFD700;
    text-transform: uppercase;
}

.treci-kontejner p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.treci-kontejner .citati {
    font-size: 20px;
    font-style: italic;
    border-left: 4px solid #FFD700;
    padding-left: 10px;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: citatSvjetlucanje 4s infinite alternate;
}

/* Planeti i citat */
.treci-kontejner .planeti {
    position: relative;
    bottom: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: kruznaAnimacija 20s linear infinite, pulsiranjeKruga 6s ease-in-out infinite;
    display: flex; /* Koristimo flexbox za centriranje */
    align-items: center; /* Vertikalno centriranje */
    justify-content: center; /* Horizontalno centriranje */
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.2);
}

.treci-kontejner .planeti .citati {
    transform: none; /* Uklanjamo nagib teksta */
    text-align: center;
    font-size: 18px;
    font-style: italic;
    color: #FFD700;
    animation: citatGlow 3s ease-in-out infinite alternate, tekstSvjetlucanje 4s ease-in-out infinite;
    max-width: 80%; /* Ako tekst postane duži, osiguravamo da ostane unutar kruga */
}

/* Pozadinske zvijezde */
.treci-kontejner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
    background-size: cover;
    opacity: 0.6; /* Optimalna vidljivost za sve uređaje */
    animation: pozadinskeZvijezde 15s linear infinite;
    z-index: 0; /* Postavljanje iza svih elemenata */
}

/* Animacija zvijezda */
@keyframes pozadinskeZvijezde {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}

/* Animacija svjetlucanja citata */
@keyframes citatSvjetlucanje {
    0% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
    100% { text-shadow: 0 0 20px rgba(255, 215, 0, 1); }
}

/* Animacija kružnog elementa */
@keyframes kruznaAnimacija {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulsiranjeKruga {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

/* Responzivne prilagodbe za tablete */
@media (max-width: 1024px) {
    .treci-kontejner {
        flex-direction: column; /* Tekst i planeti idu jedan ispod drugog */
        align-items: center;
        padding: 30px;
    }

    .treci-kontejner .tekst {
        width: 100%;
    }

    .treci-kontejner h2 {
        font-size: 28px;
    }

    .treci-kontejner p {
        font-size: 16px;
    }

    .treci-kontejner .planeti {
        width: 200px;
        height: 200px;
        margin-top: 20px;
    }
}

/* Responzivne prilagodbe za mobitele */
@media (max-width: 768px) {
    .treci-kontejner h2 {
        font-size: 22px; /* Smanjujemo naslov */
    }

    .treci-kontejner .tekst p, 
    .treci-kontejner .tekst h3 {
        font-size: 14px; /* Manji font za tekst */
    }

    .treci-kontejner .planeti {
        width: 140px;
        height: 140px;
        margin-top: 15px;
    }

    .treci-kontejner .planeti .citati {
        font-size: 12px; /* Manji citat unutar kruga */
    }
}
.sekcija {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.8s ease-in-out;
}

.sekcija.vidljivo {
    opacity: 1;
    transform: translateY(0);
}
.infografika {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Osigurava da bude ispod glavnog sadržaja */
}
.sekcija {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid transparent; /* Crta kreće kao nevidljiva */
}

.sekcija::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: rgba(255, 215, 0, 0.8); /* Zlatna boja crte */
    transition: width 1.6s ease-in-out;
    z-index: 1;
}

.sekcija.vidljivo::after {
    width: 100%; /* Crta se animirano širi od lijeva prema desno */
}
.treci-kontejner .tekst h3 .ikona {
    font-size: 20px;
    margin-right: 10px;
    animation: svjetlucanjeIkone 2s ease-in-out infinite; /* Animacija svjetlucanja */
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Ključne točke animacije za svjetlucanje */
@keyframes svjetlucanjeIkone {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.8);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 1);
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-a3e7fea */.cetvrti-kontejner {
    position: relative;
    padding: 50px;
    background: linear-gradient(135deg, #1E213A, #3C3F73);
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    color: #FFF;
    overflow: hidden;
}

.pozadina-zvijezde {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.zvijezda {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    animation: kretanje-zvijezde 10s linear infinite;
}

@keyframes kretanje-zvijezde {
    from {
        transform: translateY(-10px);
        opacity: 1;
    }
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.cetvrti-kontejner .naslov {
    text-align: center;
    margin-bottom: 40px;
    z-index: 1;
    position: relative;
}

.cetvrti-kontejner .naslov h2 {
    font-size: 36px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.cetvrti-kontejner .naslov p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.cetvrti-kontejner .komponente {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
    z-index: 1;
    position: relative;
}

.kartica {
    position: relative;
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kartica:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.kartica-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.kartica-header .ikona {
    font-size: 24px;
    margin-right: 10px;
    color: #FFD700;
    animation: svjetlucanjeIkona 2s infinite alternate;
}

.kartica-header h3 {
    font-size: 20px;
    color: #FFD700;
}

.kratki-opis {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.detalji {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.kartica:hover .detalji {
    max-height: 500px;
}

/* Animacija svjetlucanja ikona */
@keyframes svjetlucanjeIkona {
    0% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    100% { text-shadow: 0 0 15px rgba(255, 215, 0, 1); }
}

/* Responzivne prilagodbe */
@media (max-width: 768px) {
    .cetvrti-kontejner .komponente {
        flex-direction: column;
        align-items: center;
    }

    .kartica {
        max-width: 90%;
    }
}
/* 1. Zvjezdano nebo kao pozadina */
.pozadina-zvijezde {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: radial-gradient(circle, #1A1E3C, #0C0F25); /* Zvjezdano nebo */
}

/* Zvijezde na nebu */
.zvijezda {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    animation: svjetlucanje 5s infinite ease-in-out alternate;
}

/* Povremene svjetlosne crte (komete) */
.kometa {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    opacity: 0;
    animation: kometaAnimacija 5s linear infinite;
}

/* Kartice lebdeće animacije */
.kartica {
    animation: lebdenje 4s ease-in-out infinite, sjajHover 2s ease infinite;
}

.kartica:hover {
    animation: lebdenje-hover 2s infinite;
}

/* Animacije za zvijezde i komete */
@keyframes svjetlucanje {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 1;
    }
}

@keyframes kometaAnimacija {
    0% {
        top: -50px;
        left: 10%;
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
    100% {
        top: 100%;
        left: 90%;
        opacity: 0;
    }
}

/* Animacija lebdenja kartica */
@keyframes lebdenje {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes lebdenje-hover {
    0%, 100% {
        transform: translateY(-3px);
    }
    50% {
        transform: translateY(-8px);
    }
}
/* Stil za polumjesec */
.polumjesec {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #FFF 30%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    clip-path: circle(50% at 60% 50%); /* Izrezuje dio za polumjesec */
    z-index: 0;
    animation: polumjesec-pulsiranje 5s infinite alternate;
}

/* Animacija za polumjesec */
@keyframes polumjesec-pulsiranje {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
    50% {
        transform: rotate(5deg) scale(1.1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}
/* Zvjezdano nebo kao pozadina */
.pozadina-zvijezde {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: radial-gradient(circle, #1A1E3C, #0C0F25);
    overflow: hidden;
}

/* Zvijezde */
.zvijezda {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    animation: svjetlucanje 4s infinite ease-in-out alternate, padanje 10s linear infinite;
}

/* Komete */
.kometa {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    animation: kometaAnimacija 6s linear infinite;
}

/* Polumjesec */
.polumjesec {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #FFF 30%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    clip-path: circle(50% at 60% 50%);
    z-index: 1;
    animation: polumjesec-pulsiranje 5s infinite alternate;
}

/* Animacije */
@keyframes svjetlucanje {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes padanje {
    from {
        transform: translateY(-100px);
    }
    to {
        transform: translateY(100vh);
    }
}

@keyframes kometaAnimacija {
    0% {
        top: -50px;
        left: 10%;
        opacity: 0.5;
    }
    100% {
        top: 100%;
        left: 90%;
        opacity: 0;
    }
}

@keyframes polumjesec-pulsiranje {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}
/* Zvjezdano nebo - dodaje se ispod ostalih elemenata */
.pozadina-zvijezde::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.2;
    animation: svjetlucanje 5s infinite ease-in-out alternate;
    z-index: -1; /* Ispod svega */
}

/* Animacija svjetlucanja */
@keyframes svjetlucanje {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.4;
    }
}

/* Postojeće zvijezde i komete */
.zvijezda {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
    animation: svjetlucanje 4s infinite ease-in-out alternate, padanje 10s linear infinite;
}

.kometa {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    animation: kometaAnimacija 6s linear infinite;
}
.cetvrti-kontejner {
    position: relative;
    padding: 50px;
    background: linear-gradient(135deg, #1E213A, #3C3F73); /* Podloga */
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    color: #FFF;
    overflow: hidden;
    z-index: 1; /* Osigurava da sadržaj bude iznad pozadine */
}

.cetvrti-kontejner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #1A1E3C, #0C0F25), url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.5; /* Suptilno zvjezdano nebo */
    z-index: -1; /* Ispod sadržaja */
    animation: svjetlucanje 5s infinite alternate;
}

/* Animacija svjetlucanja zvijezda */
@keyframes svjetlucanje {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.7;
    }
}
.cetvrti-kontejner {
    position: relative;
    padding: 50px;
    background: linear-gradient(135deg, #1E213A, #3C3F73); /* Glavna pozadina */
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    color: #FFF;
    overflow: hidden;
    z-index: 1; /* Osigurava da sadržaj bude iznad pozadine */
}

.cetvrti-kontejner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%; /* Proširujemo za efekt kretanja */
    height: 200%; /* Proširujemo za efekt kretanja */
    background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat, radial-gradient(circle, #1A1E3C, #0C0F25);
    background-size: 400px 400px; /* Dimenzije uzorka */
    animation: pomicanje-pozadine 90s linear infinite; /* Animacija pomicanja */
    opacity: 0.7; /* Suptilni efekt */
    z-index: -1; /* Ispod sadržaja */
    border-radius: inherit; /* Zadržava zakrivljenost kontejnera */
}

/* Animacija pomicanja pozadine */
@keyframes pomicanje-pozadine {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-b2221d7 *//* Glavni stil za peti kontejner */
.peti-kontejner {
    position: relative;
    padding: 50px 20px;
    background: linear-gradient(135deg, #1A1E3C, #0C0F25), url('https://www.transparenttextures.com/patterns/stardust.png');
    background-size: cover;
    color: #FFF;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-align: center;
}

/* Naslov i uvodni tekst */
.tekstualni-sadrzaj h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    animation: fadeIn 1.5s ease-out;
}

.tekstualni-sadrzaj p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Slika natalne karte */
.slika-wrapper {
    text-align: center;
    margin: 20px 0;
}

.natalna-slika {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 1.5s ease;
}

/* Detalji kuća */
.detalji-kuce {
    text-align: left;
    max-width: 800px;
    margin: 30px auto;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.detalji-kuce h3 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
}

/* Osi - horizontalna i vertikalna */
.detalji-osi {
    margin: 40px auto;
    text-align: left;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.detalji-osi h3 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
}

.osi-kontejner {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.horizontalna-os, .vertikalna-os {
    flex: 1;
}

.horizontalna-os h4, .vertikalna-os h4 {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
}

/* Zaključak */
.tyl-zakljucak blockquote {
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-left: 5px solid #FFD700;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    text-align: left;
}

/* Animacije */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responzivnost */
@media (max-width: 768px) {
    .tekstualni-sadrzaj h2 { font-size: 32px; }
    .tekstualni-sadrzaj p { font-size: 16px; }
    .detalji-kuce p, .horizontalna-os h4, .vertikalna-os h4 { font-size: 14px; }
    .osi-kontejner { flex-direction: column; }
    .natalna-slika { max-width: 90%; }
}

@media (max-width: 480px) {
    .tekstualni-sadrzaj h2 { font-size: 28px; }
    .tekstualni-sadrzaj p { font-size: 14px; }
    .detalji-kuce p { font-size: 12px; }
}
.peti-kontejner {
    position: relative;
    padding: 50px 20px;
    background: linear-gradient(135deg, #1A1E3C, #0C0F25), url('https://www.transparenttextures.com/patterns/circles.png');
    background-size: cover;
    color: #FFF;
    border-radius: 15px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-align: center;
}

/* Zvjezdano nebo - pokretne zvjezdice */
.peti-kontejner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 80%);
    animation: zvjezdano-nebo 10s linear infinite;
    opacity: 0.2;
    z-index: -1;
}

/* Animacija za svjetlucavi efekt pozadine */
@keyframes zvjezdano-nebo {
    0% {
        transform: translate(-50%, -50%);
    }
    100% {
        transform: translate(50%, 50%);
    }
}

/* Suptilno svjetlucanje zvijezda */
.zvjezdica {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: svjetlucanje 5s ease-in-out infinite alternate;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* Zvjezdice se pojavljuju nasumično */
.zvjezdica:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.zvjezdica:nth-child(2) { top: 40%; left: 70%; animation-delay: 1s; }
.zvjezdica:nth-child(3) { top: 10%; left: 50%; animation-delay: 2s; }
.zvjezdica:nth-child(4) { top: 60%; left: 20%; animation-delay: 3s; }
.zvjezdica:nth-child(5) { top: 80%; left: 90%; animation-delay: 4s; }

/* Animacija za svjetlucanje */
@keyframes svjetlucanje {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}
.tyl-zakljucak blockquote {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 215, 0, 0.2));
    border-left: 5px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    padding: 20px;
    animation: svjetlosni-sjaj 3s infinite alternate;
}

/* Animacija za svjetlucavi efekt */
@keyframes svjetlosni-sjaj {
    0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
    100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}
.peti-kontejner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    background-size: cover;
    opacity: 0.5; /* Poboljšava vidljivost */
    animation: zvjezdano-nebo 20s linear infinite;
    z-index: 0; /* Postavlja animaciju ispod sadržaja, ali iznad pozadine */
}

/* Animacija pozadine */
@keyframes zvjezdano-nebo {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}
/* Povećanje broja zvjezdica */
.peti-kontejner .zvjezdica {
    position: absolute;
    width: 4px; /* Lagano povećanje */
    height: 4px;
    background: rgba(255, 255, 255, 0.9); /* Pojačava svjetlinu */
    border-radius: 50%;
    animation: svjetlucanje 6s ease-in-out infinite alternate;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); /* Pojačava sjaj */
}

/* Nasumična pozicija za više zvjezdica */
.peti-kontejner .zvjezdica:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.peti-kontejner .zvjezdica:nth-child(2) { top: 30%; left: 50%; animation-delay: 1s; }
.peti-kontejner .zvjezdica:nth-child(3) { top: 50%; left: 80%; animation-delay: 2s; }
.peti-kontejner .zvjezdica:nth-child(4) { top: 70%; left: 30%; animation-delay: 3s; }
.peti-kontejner .zvjezdica:nth-child(5) { top: 20%; left: 90%; animation-delay: 4s; }
.peti-kontejner .zvjezdica:nth-child(6) { top: 40%; left: 10%; animation-delay: 5s; }
.peti-kontejner .zvjezdica:nth-child(7) { top: 60%; left: 40%; animation-delay: 6s; }

/* Svjetlucanje animacija */
@keyframes svjetlucanje {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}
@keyframes meteor {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translate(800px, 800px) rotate(45deg);
        opacity: 0;
    }
}
@keyframes colorShift {
    0% { background-color: #1A1E3C; }
    50% { background-color: #3C3F73; }
    100% { background-color: #1A1E3C; }
}

.peti-kontejner {
    animation: colorShift 10s infinite alternate;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-8d8db32 *//* Glavni kontejner */
.sesti-kontejner {
    position: relative;
    padding: 50px;
    background: radial-gradient(circle, #1A1E3C, #0C0F25);
    color: #FFF;
    text-align: center;
    overflow: hidden;
    border-radius: 15px;
}

/* Naslov i opis */
.tekstualni-sadrzaj h2 {
    font-size: 36px;
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.tekstualni-sadrzaj p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

/* Znakovi horoskopa */
.znakovi-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
}

.znak {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.znak:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Random lebdenje animacija */
.animacija-lebdenja {
    animation: lebdenje 3s infinite alternate;
    background: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

/* Tooltip - opis horoskopa */
.znak::after {
    content: attr(data-opis);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #FFF;
    padding: 8px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.znak:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Simboli horoskopa - pozadina */
.simbol-horoskop {
    position: absolute;
    font-size: 48px;
    color: rgba(255, 255, 255, 0.2);
    animation: lebdenje 10s linear infinite, fadeInOut 6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

/* Animacija lebdenja */
@keyframes lebdenje {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
/* Čestice u pozadini */
.sesti-kontejner {
    position: relative;
    padding: 50px;
    background: radial-gradient(circle, #1A1E3C, #0C0F25);
    color: #FFF;
    text-align: center;
    overflow: hidden;
    border-radius: 15px;
}

.cestica {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: lebdenje-cestice 10s linear infinite;
    pointer-events: none;
}

/* Animacije za čestice */
@keyframes lebdenje-cestice {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50px, 50px) scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: translate(50px, -50px) scale(1);
        opacity: 1;
    }
}
/* Astrološki aspekti - poboljšanje dizajna */
.aspekt {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 15px auto;
    border-radius: 10px;
    color: #FFD700;
    max-width: 300px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.aspekt:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.aspekt h4 {
    color: #FFF;
    margin-bottom: 10px;
}
/* Stil za horizontalnu sekciju */
.aspekti-horizontal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF;
}

/* Stil za tekst */
.tekstualni-dio {
    flex: 1;
    padding: 20px;
    animation: fadeInLeft 1s ease;
}

.tekstualni-dio h3 {
    font-size: 28px;
    color: #FFD700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.tekstualni-dio p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Stil za sliku */
.slika-dio {
    flex: 1;
    text-align: center;
}

.slika-dio img {
    max-width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slika-dio img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Animacija teksta */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pozadinske zvjezdice */
.pozadinske-zvjezdice {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle, transparent, rgba(255, 255, 255, 0.1), transparent);
    overflow: hidden;
}

.pozadinske-zvjezdice::before,
.pozadinske-zvjezdice::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('https://astrovizija.com.hr/wp-content/uploads/2025/01/stars.png') repeat;
    opacity: 0.2;
    animation: kretanje-zvjezdica 60s linear infinite;
}

.pozadinske-zvjezdice::after {
    opacity: 0.1;
    animation-duration: 120s;
}

@keyframes kretanje-zvjezdica {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

/* Hover efekti na opis */
.aspekt-kartica p:hover {
    color: #FFD700;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px;
    transform: scale(1.02);
    transition: all 0.3s ease-in-out;
}

/* Animacije za naslove */
.aspekt-kartica h3 .ikona {
    display: inline-block;
    animation: pulsiranje 2s infinite;
}

@keyframes pulsiranje {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Stil za kartice */
.aspekt-kartica {
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    color: #FFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-in-out;
}

.aspekt-kartica:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

/* Stil za naslove */
.aspekt-kartica h3 {
    font-size: 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Stil za tekst primjera */
.primjer {
    color: #FFD700;
    font-style: italic;
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}
/* Stil za kartice */
.aspekt-kartica {
    width: 100%; /* Osiguraj da zauzima maksimalno prostor */
    max-width: 900px; /* Fiksna maksimalna širina kartica */
    padding: 30px; /* Više prostora unutar kartice */
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    margin: 25px auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
    box-sizing: border-box; /* Izbjegavanje problema sa paddingom */
}

/* Nježan hover efekt */
.aspekt-kartica:hover {
    transform: scale(1.02); /* Suptilno povećanje */
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Stil za naslove */
.aspekt-kartica h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Animacija ikona */
.aspekt-kartica h3 .ikona {
    animation: pulsiranje 2.5s infinite ease-in-out;
}

/* Stil za tekst */
.aspekt-kartica p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.85);
}

/* Lagani hover na paragraf */
.aspekt-kartica p:hover {
    color: #FFD700;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 5px;
    transition: all 0.3s ease-in-out;
}

/* Stil za primjere */
.primjer {
    color: #FFD700;
    font-style: italic;
    font-size: 16px;
    margin-top: 8px;
    display: block;
}
/* Kontejner za svjetlosne crte */
.svjetlosne-crte {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin: 50px 0;
}

/* Svaka pojedinačna crta */
.svjetlosne-crte .crta {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 215, 0, 1) 50%, rgba(255, 255, 255, 0) 100%);
    animation: svjetlosna-animacija 4s linear infinite;
    transform: translateY(-50%);
}

/* Različite brzine i pozicije za efekt dubine */
.svjetlosne-crte .crta:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 4s;
}
.svjetlosne-crte .crta:nth-child(2) {
    top: 55%;
    animation-delay: 1s;
    animation-duration: 6s;
}
.svjetlosne-crte .crta:nth-child(3) {
    top: 45%;
    animation-delay: 2s;
    animation-duration: 5s;
}

/* Animacija svjetlosnih crta */
@keyframes svjetlosna-animacija {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}/* End custom CSS */