* {
    box-sizing: border-box;
}

body {
    font-family: Arial;
    margin: 0;
}

a {
    color: #333;
}

.container {
    width: 1200px;
    border: 1px solid black;
    margin: auto;
}

.container .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
    justify-content: center;
    align-content:center;
    padding: 10px;
}

.container .header .text {
    width: 80%;
}

.container .header .image {
    width: 20%;
    padding: 3px;
}

.container .header .image img {
    width: 100%;
    min-width: 235px;
}

.container .menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-items: center;
    background-color: #333;
}

.container .menu .menu-item {
    text-align: center;
    margin: 3px;
    padding: 18px 16px;
    width: 20%;
    color: white;
}

.container .menu .menu-item:hover {
    text-decoration: underline;
}

.container .menu .menu-item.active {
    text-decoration: underline;
}

.container .content {
    display: flex;
    justify-content: space-between;
}

.container .content .sidebar {
    width: 30%;
    background-color: #eee;
    padding: 10px;
}

.container .content .main-content {
    width: 70%;
    padding: 10px;
}

.container .content .main-content p {
    text-align: justify;
}

.container .content .main-content .obavestenje {
    width: 100%;
    border-bottom: 1px dashed black;
    margin-bottom: 5px;
}

.container .content .main-content .obavestenje .predmet {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
}

.container .content .main-content .obavestenje .sadrzaj {
    text-align: justify;
    font-size: 16px;
}

.container .content .main-content .obavestenje .datum {
    text-align: right;
    text-decoration: italic;
    font-size: 14px;
    margin: 0;
}


.container .footer {
    padding: 20px;
    background-color: #333;
}

.container .footer  p {
    text-align: center;
    color: white;
}

.big {
    font-size: 40px;
}

.medium {
    font-size: 28px;
}

.small {
    font-size: 18px;
}

.no-margin {
    margin: 0;
}

.no-margin-bottom{
    margin-bottom: 0;
}

.aktuelno {
    color:red;
}

.italic {
    font-style: italic;
}

@media only screen and (max-width: 1200px) {
    body {
        margin: 20px;
    }
    .container {
        width: 100%;
    }
    .container .header .image img {
        min-width: 180px;
    }
}

@media only screen and (max-width: 950px) {
    
    body {
        margin: 20px;
    }
    .container {
        width: 100%;
    }
    .container .header {
        display: flex;
        flex-direction: column-reverse;
        padding: 10px;
    }

    .container .header .text {
        text-align: center;
    }
    .container .header .image {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .container .header .image img {
        max-width: 235px;
    }

    .container .menu {
        flex-direction: column;
    }

    .container .menu .menu-item {
        width: 100%;
    }

    .container .content {
        flex-direction: column;
    }

    .container .content .sidebar {
        width: 100%;
    }

    .container .content .main-content {
        width: 100%;
    } 
}

