* {
    box-sizing: border-box;
}

body {
    font-family: 'Sour Gummy', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

h2, h3 {
    color: rgb(22, 22, 53);
}

.left-align {
    text-align: left;
}

.featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.caption {
    margin-top: 10px;
    font-size: 13px;
    color: black;
    text-align: center;
}

.navbar {
    background-color: rgba(0, 0, 0, 0.297); 
    padding: 10px 20px; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
}

.navbar ul {
    list-style-type: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    justify-content: center; 
}

.navbar li {
    margin: 0 15px; 
}

.navbar a {
    color: white; 
    text-decoration: none; 
    font-weight: 400; 
}

.navbar a:hover {
    font-weight: bold;
}

.header {
    background-image: url('assets tkj/fotbar\ xi\ tkj\ 2.jpeg'); 
    background-size: cover; 
    background-position: center; 
    height: 400px; 
    color: white; 
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

main {
    padding: 20px;
    display: flex;
    gap: 1.5rem;
}

header {
    display: inline;
}

#content {
    flex: 5;
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem 2rem;
    text-align: center;
}

aside {
    flex: 1; 
    background-color: white;
    border: 1px solid #ccc;
    font-size: small;
}

.profile header {
    text-align: center;
}

footer {
    padding: 20px;
    background-color: rgb(22, 22, 53);
    color: white;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .navbar ul {
        flex-direction: column; 
        align-items: center; 
    }
    .navbar li {
        margin: 10px 0; 
    }
    main {
        flex-direction: column; 
    }
    #content {
        flex: none; 
        width: 100%; 
    }
    aside {
        flex: none; 
        width: 100%; 
    }
    .featured-image {
        max-height: 250px; 
    }
}

@media screen and (max-width: 900px) {
    .navbar ul {
        justify-content: space-around; 
    }
    main {
        flex-direction: column; 
    }
    aside {
        margin-top: 20px; 
    }
}

@media screen and (min-width: 901px) {
    .navbar ul {
        justify-content: center; 
    }
    main {
        flex-direction: row; 
    }
    aside {
        margin-top: 0; 
    }
}