body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: black;
    color: white; /* Dodano da tekst svugdje bude vidljiv */

    display: flex;
    flex-direction: column;

    min-height: 100vh;
    padding-bottom: 80px;
}

/* CONTAINER */

.container {
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    max-width: 100%;

    flex: 1;
}

/* HEADER */

header {
    background: black;
    color: white;
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid red; /* Malo bolji izgled */
}

/* NAVIGATION */

nav {
    background: #34495e;
    min-height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s; /* Glatki hover efekt */
}

nav a:hover {
    color: red;
}

/* MAIN FLEXBOX */

main {
    display: flex;
    gap: 20px;
    margin-top: 20px;

    flex-wrap: wrap;
}

/* SECTION */

section {
    flex: 3;
    background: black;
    color: white;
}

/* ARTICLE */

article {
    background: blue;
    margin-top: 10px;
    padding: 15px;
    border-radius: 10px;

    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ASIDE */

aside {
    flex: 1;
    background: #f39c12;
    color: white;
    text-align: center;

    padding: 15px;
    border-radius: 10px;
}

/* FOOTER */

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 10px;

    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
}

/* IMAGE */

figure {
    text-align: center;
    padding: 10px;
}

img {
    max-width: 100%;
    border-radius: 8px;
    height: auto;
}

/* DETAILS */

details {
    margin-top: 20px;
}

/* VIDEO */

video {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
}

/* AUDIO */

audio {
    width: 100%;
    margin-top: 10px;
}

/* RESPONSIVE DESIGN */

@media (max-width: 768px) {

    main {
        flex-direction: column;
    }

    nav {
        flex-direction: column;
        padding: 15px;
    }

    nav a {
        margin: 5px 0;
    }

}