*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    background-color: #fff;
    color: #222;
    border: 1px solid;
    height: 100vh;
    padding: 1rem;
}

header {
    display: flex;
    flex-direction: row-reverse;
    border: 1px solid;
    padding: 1rem;
}

header button {
    background-color: lightgreen;
    padding: .5rem 2rem;
}

main {
    border: 1px solid;
    width: 100%;
    display: flex;
    height: 80%;
}

.container {
    flex: 1;
    display: flex;
}

.main-left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1rem;
    padding: 1rem;
    flex: 1;
}

.main-right {
    padding: 1rem;
    flex: 1;
    border-left: 1px solid;
    display: flex;
}

.right-content {
    background-color: lightgray;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed;
}

.card {
    display: flex;
    flex-direction: column;
    width: 400px;
    height: 200px;
    border: 1px solid;
}

.card-top {
    flex: 3;
    display: flex;
    justify-content: right;
    align-items: top;
    color: blue;
    border-bottom: 1px solid black;
    padding: .4rem;
}

.card-bottom {
    flex: 1;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
}

.icon {
    background-color: lightgreen;
    border-radius: 10%;
    height: 100%;
    aspect-ratio: 1;
}

.content1 {
    grid-row: 1 / 4;
    border: 1px solid;
}

.content2 {
    grid-row: 4 / 7;
    border: 1px solid;
}

.content3 {
    grid-row: 1 / 3;
    border: 1px solid;
}

.content4 {
    grid-row: 3 / 7;
    border: 1px solid;
}

aside {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
    padding: 0.5rem;
    border-left: 1px solid;
}

footer {
    border: 1px solid;
    display: flex;
    justify-content: space-between;
    border: 1px solid;
    padding: 0.5rem;
}

.footer-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.circle {
    width: 2rem;
    height: 2rem;
    border: 1px solid;
    border-radius: 50%;
}