body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4efe7;
    color: #2b2520;
}

#stranica {
    width: 96%;
    min-height: 96vh;
    margin: 2vh auto;

    display: grid;
    grid-template-columns: 1fr 3fr;
    grid-template-areas:
        "header header"
        "nav section"
        "article aside"
        "footer footer";
    gap: 10px;
}

header {
    grid-area: header;
    background-color: #4b2e24;
    color: white;
    text-align: center;
    padding: 35px;
}

nav {
    grid-area: nav;
    background-color: #8a5a44;
    padding: 20px;
}

nav a {
    display: block;
    background-color: #d9a066;
    color: #2b2520;
    text-decoration: none;
    padding: 18px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

section {
    grid-area: section;
    background-color: #c46f4f;
    padding: 20px;
    display: flex;
    gap: 15px;
}

.tema {
    width: 33.33%;
    background-color: #f4efe7;
    padding: 10px;
    box-sizing: border-box;
}

.tema img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.tema h2 {
    text-align: center;
    color: #4b2e24;
}

.tema p {
    text-align: center;
}

article {
    grid-area: article;
    background-color: #ead2ac;
    padding: 25px;
    min-height: 320px;
    font-size: 18px;
}

article h2,
aside h3 {
    text-align: center;
}

article p {
    text-align: center;
}

iframe {
    width: 100%;
    height: 200px;
    border: 3px solid #8a5a44;
    border-radius: 8px;
    margin: 15px 0;
}

aside {
    grid-area: aside;
    background-color: #a9573e;
    color: white;
    padding: 25px;
    min-height: 320px;
    font-size: 26px;
}

footer {
    grid-area: footer;
    background-color: #4b2e24;
    color: white;
    text-align: center;
    padding: 20px;
}

.mreze {
    margin-top: 10px;
}

.mreze a {
    text-decoration: none;
}

.mreze img {
    width: 45px;
    height: 45px;
    margin: 0 10px;
    transition: 0.3s;
}

.mreze img:hover {
    transform: scale(1.15);
}

/* TABLET */
@media screen and (max-width: 800px) {

    body {
        background-color: red;
    }

    header,
    footer {
        background-color: #556b5d;
    }

    #stranica {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "nav"
            "section"
            "article"
            "aside"
            "footer";
    }

    section {
        flex-direction: column;
    }

    .tema {
        width: 100%;
    }

    iframe {
        height: 260px;
    }
}

/* MOBITEL */
@media screen and (max-width: 500px) {

    body {
        background-color: #yellow;
    }

    header,
    footer {
        background-color: #7a4634;
    }

    #stranica {
        width: 100%;
        margin: 0;
    }

    header {
        padding: 25px;
    }

    nav a {
        font-size: 16px;
        padding: 14px;
    }

    .tema img {
        height: 180px;
    }

    iframe {
        height: 220px;
    }
}

aside p{
	text-align:center;
}