@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;700&display=swap');

* {
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

main {
    padding: 20px;
    overflow: auto;
}

header {
    display: inline;
}

nav {
    background-color: #e55b2d;
    padding: 5px;
    position: sticky;
    top: 0;
    z-index: 1;
}

nav li {
    display: inline;
    list-style-type: none;
    margin-right: 20px;
}

nav a {
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    color: white;
}

nav a:hover {
    font-weight: bold;
}

.active {
    text-decoration: underline;
    text-decoration-color: white;
    text-decoration-thickness: 1.5px;
}

h2, h3 {
    color: #e55b2d;
}

p a, .profile a {
    text-decoration: none;
    color: #e55b2d;
    transition: .2s;
}

p a:hover, .profile a:hover {
    font-weight: bold;
}

footer {
    padding: 20px;
    color: white;
    background-color: #e55b2d;
    text-align: center;
}

footer a {
    font-weight: bold;
    color: white;
    transition: .2s;
}

footer a:hover {
    color: #ed8e24;
}

.jumbotron {
    padding: 60px;
    background-color: #ed8e24;
    text-align: center;
    font-size: 20px;
    color: white;
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 20px;
    margin-top: 20px;
}

.featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.img-top {
    object-position: top;
}

.img-logo {
    width: 50%;
}

.featured-image:hover {
    transform: scale(1.02);
}

.profile header {
    text-align: center;
}

.profile-picture {
    width: 200px;
    border-radius: 50%;
}

.profile th {
    text-align: left;
    padding-right: 10px;
}

.profile tr {
    height: 150%;
}

#content {
    float: left;
    width: 65%;
}

aside {
    float: right;
    width: 35%;
    padding-left: 20px;
}

.flex-container-column {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 10%;
    text-align: right;
}

.flex-container-row {
    display: flex;
}

.logo-icon {
    flex-basis: 33%;
    font-size: 1.5em;
    text-align: center;
    padding: 20px;
}

.logo-icon img {
    width: 42px;
}

.container {
    border-radius: 5px;
    background-color: #f5dba0;
    padding: 20px;
}

input[type=text], input[type=email], select, textarea {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    background-color: #f4eddb;
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    resize: vertical;
}

input[type=submit] {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    background-color: #ed8e24;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: .2s;
}

input[type=submit]:hover {
    background-color: #e55b2d;
}

@media screen and (max-width: 1200px) {
    #content, aside {
        width: 100%;
        padding: 0;
    }
}

@media screen and (max-width: 550px) {
    .img-logo {
        width: 100%;
    }
}
