

h1 {
    text-align: center;
    font-size: 2.5em;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
}


main {
    padding: 40px 0;
}

section {
    margin-bottom: 40px;
}

h2 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #008CBA;
}

p {
    font-size: 1.1em;
    line-height: 1.8;
}


code {
    display: block;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1em;
}


footer {
    text-align: center;
    background-color: #008CBA;
    color: white;
    padding: 20px;
    position: fixed;
    bottom: 0;
    width: 100%;
}


/* Globalni reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}


header {
    background-color: #008CBA;
    color: white;
    padding: 40px 0;
    text-align: center;
    text-decoration: none;
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    text-decoration: none;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.intro {
    font-size: 1.2em;
}


main {
    padding: 40px 0;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-decoration: none;
}

/* Box stilovi */
.box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px; 
    height: 400px; 
}

.box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px #008CBA;
}

h2 {
    font-size: 1.8em;
    color: #008CBA;
    margin-bottom: 15px;
}

p {
    font-size: 1.1em;
    line-height: 1.8;
}

/* Responzivnost - Flexbox za raspored boxova */
.content, .examples {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.box {
    flex: 1;
    min-width: 300px;
    max-width: 31%;
}


footer {
    text-align: center;
    background-color: #008CBA;
    color: white;
    padding: 20px;
}

/* Responzivnost - prilagodba za manje uređaje */
@media (max-width: 768px) {
    .content, .examples {
        flex-direction: column;
    }

    .box {
        max-width: 100%;
        margin: 10px 0;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }

    h1 {
        font-size: 1.8em;
    }

    .box {
        margin-bottom: 15px;
    }

    footer {
        font-size: 0.9em;
    }
}
.container a{
    text-decoration: none;
    color: white;
}


.image-container {
    display: flex;
    justify-content: center;
    margin-top: 0px; 
}

img {
    width: auto; 
    height: 450px;
    max-width: 100%; 
}


.content {
    display: flex; /* Omogućava postavljanje slike i teksta u red */
    align-items: center; /* Vertikalno poravnanje u sredinu */
    padding: 10px;
}

.slika {
    margin-right: 10px; /* Razmak između slike i teksta */
    max-width: 200px; /* Možete postaviti širinu slike po želji */
    height: auto; /* Automatska visina u skladu sa širinom slike */
}
.naslov{
    color: #008CBA;
}
.naslov:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px #008CBA;
    border: 1px solid #ddd;
}