body {
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}
.navbar {
    background-color: #2c954b !important;
}
.hero-content h1 {
    color: #ffffff;
    font-size: 110px;
    text-shadow: 4px 10px 8px rgba(0, 0, 0, 0.5);
}
.hero-content p {
    color: #f0f0f0;
    font-size: 26px;
    text-shadow: 4px 10px 8px rgba(0, 0, 0, 0.5);
}
.hero-content a {
    color: #2c954b;
    padding: 1.3rem 4rem;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.3s;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-content a:hover {
    background-color: #2c954b;
    transform: scale(1.05);
    color: white;
}
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}
.hero-content h1, .hero-content p, .hero-content a {
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}
.animate-fade-delay { animation-delay: 0.5s; }
@keyframes fadeIn { to { opacity: 1; } }

.icon-circle {
    font-size: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #2c954b;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s forwards;
}
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

.fullscreen {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c954b, #05ff4e);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.categories-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.category-col { flex: 1 1 200px; max-width: 220px; }
.category-card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    background-color: #ffffff;
    color: black;
    text-align: center;
    border-radius: 15px;
    padding: 2rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}
.category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    background-color: #05ff4e;
    color: white;
}

.answer { display: block; margin: 10px 0; padding: 12px; border-radius: 5px; cursor: pointer; transition: transform 0.2s, background 0.2s; }
.answer:hover { transform: scale(1.03); }

#timer-circle { position: relative; width: 120px; height: 120px; margin: 20px auto; }
#timer-circle svg { transform: rotate(-90deg); width: 100%; height: 100%; }
#timer-circle circle { fill: none; stroke-width: 10; }
#timer-circle circle:first-child { stroke: #e9ecef; }
#timer-progress { stroke: #0d6efd; stroke-dasharray: 282.6; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }
#timer-seconds { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 1.5rem; font-weight: bold; color: black; }
#timer-image { z-index: -1; }
.categories-section h2 {
    font-size: 4rem; /* povećava naslov kategorija */
    font-weight: 700;
    color: #ffffff;
   
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.category-card {
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    background-color: #ffffff;
    color: black;
    text-align: center;
    border-radius: 15px;
    
}
.category-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    background-color: #05ff4e;
    color: white;
}
.category-card {
   margin-top: 10px;
}
.categories-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

    background: url('upitnik3.jpg') no-repeat center center; /* tvoja pozadinska slika */
    background-size: cover; /* slika se prilagođava veličini sekcije */
   
}
