/* Reset osnovnih postavki */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Futuristička pozadina */
body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    font-family: Arial, sans-serif;
    color: #f5f5f5;
    overflow-x: hidden;
}

/* Izgled zaglavlja */
header {
    background-color: rgba(255, 255, 255, 0.1);
    height: 90px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
    margin: 20px auto;
    max-width: 90%;
}

.naslov h1 {
    font-family: 'Orbitron', sans-serif;
    color: #00e5ff;
    font-size: 2.5rem;
}

/* Stil za glavni sadržaj */
main {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

/* Izbornik stil */
#izbornik {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* Stil za kutije */
.box {
    width: 250px;
    padding: 20px;
    text-align: center;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid #00e5ff;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 15px rgba(0, 229, 255, 0.2);
}

.box1:hover {
    background: #00e5ff;
    color: #0f0c29;
    transform: scale(1.05);
    box-shadow: 0 12px 20px rgba(0, 255, 255, 0.4);
}

.box:active {
    transform: scale(0.98);
}

/* Stil za linkove */
a {
    font-size: 1.2rem;
    color: inherit;
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
}

/* Responsive prilagodba */
@media (max-width: 768px) {
    header {
        height: 70px;
    }

    .naslov h1 {
        font-size: 1.8rem;
    }

    #izbornik {
        flex-direction: column;
    }

    .box {
        width: 80%;
    }
}
