
html, body {
    height: 100%;
 margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

#page {
    width: 90%;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
 display: flex;
    flex-direction: column;
}

iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    display: block;
}

img {
    border: 0;
}

/* HEADER / CONTENT */

#header {
    padding: 40px 0;
    position: relative;
}

h2 {
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.navigation {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
}

.navigation li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #333;
    background: #f2f2f2;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    transition: 0.2s ease;
}

 ul.navigation li.selected a {
    background: #2b6cb0;
    color: #fff;
    font-weight: 600;
}

/* efekt hover */
.navigation li a:hover {
    background: #ddd;
}

#content #news {
    padding: 40px 0 0 40px;
    height: 220px;
    width: 450px;
    overflow: hidden;
}

/*
#content #figure {
    float: right;
    height: 461px;
    width: 570px;
    margin: -143px 0 0;
}
*/
#content {
    flex: 1; 
}

#content #section {
    width: 100%;
    padding: 20px 10px;
    display: block;

}

/* FOOTER */

#footer {
   text-align: center;	
}


@media (max-width: 768px) {

html, body {
    height: 100%;
 margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

    #page {
        width: 80%;
    }

    #content {
        height: auto;
        background-size: cover;
    }

    #content #news,
    #content ul.navigation,
    #content #figure,
    #content #section {
        width: 100%;
        float: none;
        margin: 0;
        padding: 10px;
        height: auto;
    }

    #content ul.navigation {
        padding: 0;
    }

    #content ul.navigation li {
        margin-left: 0;
        width: 100%;
    }

    #content #figure {
        text-align: center;
    }

    #content #section {
        padding: 10px;
    }
}
