* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
	font-family: 'canela';
	font-style: normal;
	font-weight: 400;
	src: local('canela'), url('../fonts/Canela-Regular.otf') format('opentype');
	font-display: swap;
}
@font-face {
	font-family: 'Lora';
	font-style: normal;
	font-weight: 400;
	font-optical-sizing: auto;
	src: local('Lora'), url('../fonts/Lora-VariableFont_wght.ttf') format('truetype');
	font-display: swap;
}

body {
    font-family: 'canela', Garamond, serif;
    background-color: #151719;
    color: #c3c3c3;
}

.app {
    display: flex;
    flex-direction: column;
}

.header {
    padding: 10px 16px;
    text-align: right;
}

.header p {
    opacity: 0.8;
}

.header p:hover {
    opacity: 1;
}

.header a {
    color: #88c3d5;
    text-decoration: none;
}

.header a:hover {
    color: #a8d8e7;
}

.container {
    display: flex;
    flex-direction: row;
/*    flex-wrap: wrap;*/
    justify-content: space-evenly;
    max-width: 1150px;
    margin: 0 auto;
}

.aside {
    padding: 0px 18px 18px 18px;
    position: sticky;
    height: 100%;
    top: 0;
}

.aside__container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 350px;
}

.aside__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

.aside__card .image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 64px;
    overflow: hidden;
}

.aside__card .image img {
    width: 100%;
}

.aside__card h3 {
    font-size: 35px;
    font-weight: bold;
}

.aside__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aside__list ul {
    list-style: none;
    margin-left: 15px;
    line-height: 28px;
}

.aside__list a {
    text-decoration: none;
    color: inherit;
}

.aside__list a:hover {
    color: #a8d8e7;
}

.aside__list li .icon {
    display: inline-block;
    width: 22px;
    margin-right: 10px;
}

.article {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 30px;
}

.article header a {
    color: inherit;
    text-decoration: none;
}

.article header a:hover {
    color: #a8d8e7;
}

.cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    display: flex;
    flex-direction: row;
    /*flex-wrap: wrap;*/
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: .2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px) scale(1.01);
}

.card__image {
    opacity: 0.8;
}

.card__image:hover {
    opacity: 1;
}

.card__image img {
    max-width: 250px;
    border-radius: 8px;
}

.card__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card__content small {
    opacity: 0.8;
}