:root {
    --bg-color: #eae4da;
}

body,
html {
    height: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.card {
    height: 350px;
    width: 265px;
    border-radius: 10px;
    background-color: white;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0px 0px 50px 2px #00000022;
}

h1 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.message {
    display: flex;
    margin-bottom: 10px;
}

.message--meta {
    margin-left: 10px;
    flex-shrink: 1;
    font-size: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name {
    font-weight: bold;
    margin-bottom: 5px;
}

.avatar {
    height: 70px;
    width: 70px;
    border-radius: 5px;
    flex: 0 0 70px;
}

.message:nth-of-type(1) .avatar {
    background-color: #ecb22d;
}

.message:nth-of-type(2) .avatar {
    background-color: #2fb67e !important;
}

.graph {
    margin-top: 5px;
    width: 100%;
    height: 100px;
    background-color: #f6f6f6;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    display: flex;
}

.file {
    width: 37px;
    height: 45px;
    border-radius: 1px;
    border: 1px solid #007a5c;
    margin-top: 15px;
    margin-left: 10px;
}

.file > .content {
    position: relative;
    height: 21px;
    top: 20%;
    left: -15%;
    display: flex;
    width: 115%;
}

.file .logo {
    height: 100%;
    width: 25px;
    background-color: #007a5c;
}

.file .lines {
    margin-top: 3px;
    height: 70%;
    flex: 1;
    margin-left: 2px;
    margin-right: 2px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.file .lines > .line {
    height: 1px;
    width: 100%;
    background-color: #007a5c;
}

.table {
    flex-grow: 1;
    background-color: white;
    border: 1px solid #d8d8d8;
    height: 70%;
    margin: 0 10px;
    margin-top: 5.5%;
    border-radius: 5px;
    display: flex;
    padding: 10px 0 10px 8px;
    box-sizing: border-box;
}

.table .photo,
.table .text {
    height: 30px;
    width: 55px;
    border-radius: 8px;
    background-color: #eaeaea;
}

.table .text {
    height: 11px;
    margin-top: 7px;
}

.table .cells {
    height: 100%;
    width: 100%;
    display: grid;
    margin-left: 5px;
    display: table;
}

tr:nth-of-type(2) > td,
tr:nth-of-type(4) > td,
tr:nth-of-type(6) > td {
    background-color: #eaeaea;
}

td {
    border: 1px solid #d8d8d8;
    border-top: none;
    border-bottom: none;
}

.reactions {
    display: flex;
    margin-top: 8px;
    font-size: 0.75rem;
}

.reaction {
    margin-right: 10px;
    border-radius: 5px;
    background-color: #eaeaea;
    padding: 2px 4px;
}
