* {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

h2, h3 {
    color: #f1ab28;
}


footer {
    padding: 20px;
    color: white;
    background-color: #f3b440;
    text-align: center;
    font-weight: bold;
}

nav a {
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: white;
}

nav a:hover {
    font-weight: bold;
}

.profile header {
    text-align: center;
}

.featured-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
}

.profile img {
    width: 200px;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}

.jumbotron {
    font-size: 20px;
    padding: 60px;
    background-color: #f3b440;
    text-align: center;
    color: white;
}

nav ul {
    padding-inline: 4rem;
    display: flex;
}

nav li {
    list-style-type: none;
    margin-right: 20px;
}

nav {
    background-color: #b49151;
    padding: 5px;
    position: sticky;
    top: 0;
}

main {
    padding: 20px;
    display: flex;
    gap: 1.5rem;
}

#content {
    flex: 5;
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem 2rem;
}

aside {
    flex: 1;
}

header {
    display: inline;
}

@media screen and (max-width: 1200px) {
    main {
        flex-flow: column nowrap;
    }
    main aside {
        align-self: center;
    }
    figure img {
        display: block;
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        justify-content: center;
        flex-wrap: wrap
    }
    main aside {
        align-self: stretch;
    }

    figure img {
        display: block;
        margin: auto;
    }
}

.profile table {
    text-align: left;
}

.profile h2, p, figcaption, h3 {
    text-align: center;
}


