/* CSS styles can be added here or in a separate CSS file */

/* General */
* {
    box-sizing: border-box;
}

@media screen and (max-width: 1000px) {

    #content,
    aside {
        width: 100%;
        padding: 0;
    }
}

/* Header */
.header {
    background-color: #243e80;
    color: #fff;
    padding: 10px 0;
    align-items: center;
    text-align: center;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.title-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-nav h1 {
    margin: 0;
}

nav {
    background-color: #243e80;
    padding: 5px;
    position: sticky;
    top: 0;
}

nav a {
    font-size: 18px;

    font-weight: 400;
    text-decoration: none;

    color: white;
    padding: 0 10px;
}

nav a:hover {
    font-weight: bold;
    color: #ffbd07;
}

nav li {
    display: inline;
    margin-right: 20px;
}

/* Body */
body {
    font-family: work sans, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

main {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    overflow: auto;
}

main section {
    width: 70%;
}

main aside {
    width: 25%;
    background-color: #ddd;
    padding: 10px;
}

#content {
    float: left;
    width: 75%;
}

.featured-image {
    width: 100%;
    max-height: 300px;

    object-fit: cover;
    object-position: center;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;

    padding: 20px;
    margin-top: 20px;
}

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

.small-card {
    width: calc(33.33% - 20px);
    background-color: #f0f0f0;
    margin-bottom: 20px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.small-card img {
    width: 100%;
    max-width: 150px;
    margin-bottom: 10px;
}

.small-card h3,
.small-card p {
    margin: 0;
}

.small-card h3 {
    font-size: 18px;
}

.small-card p {
    font-size: 14px;
    color: #888;
}



/* Aside */
aside {
    float: right;
    width: 25%;

    padding-left: 20px;
}

.profile img {
    max-width: 100%;
    height: auto;
    display: block;
}

.info-table {
    width: 100%;
}

/* Footer */
footer {
    background-color: #243e80;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    bottom: 0;
    width: 100%;
}