* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: "Montserrat", sans-serif;
    background: #f4e9d6;
    color: #211c26;
    scrollbar-width: thin;
    scrollbar-color: #613225 #B37B5A;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #613225;
}

::-webkit-scrollbar-track {
    background: #B37B5A;
}

header {
    width: 100%;
    height: 100vh;
    position: relative;
}

header h1 {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-family: "Orbitron", sans-serif;
}

header h1::before,
header h1::after {
    content: "Chopper";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

header h1::after {
    color: #613225;
    animation: expand-after 1s forwards;
    animation-timing-function: ease-out;
    animation-delay: 0.5s;
}

header h1::before {
    color: #b37b5a;
    animation: expand-before 1s forwards;
    animation-timing-function: ease-out;
    animation-delay: 1s;
}

#page {
    max-width: 1000px;
    margin: auto;
    text-align: justify;
    font-size: 17px;
    padding: 10px 20px 50px;
}

#page.wide {
    max-width: 1200px;
}

#page> :last-child {
    margin-bottom: 0;
}

p {
    margin: 0 0 25px;
    line-height: 24px;
}

.conversation {
    width: 100%;
    border: 1px solid #b37b5a;
    background: #613225;
    color: #f4e9d6;
    margin: 0 0 25px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.65);
    font-size: 16px;
    text-align: left;
}

.message {
    display: flex;
    gap: 16px;
    padding: 8px 16px;
}

.message:first-child {
    padding-top: 14px;
}

.message:last-child {
    padding-bottom: 14px;
}

.message:nth-child(even) {
    background: rgba(255, 255, 255, 0.05);
}

.avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: drop-shadow(rgba(0, 0, 0, 0.16) 0px 4px 4px);
}

.user {
    font-weight: 600;
}

.text {
    font-size: 15px;
    font-style: italic;
}

.text img {
    width: 256px;
    margin-top: 4px;
    border: 1px solid #b37b5a;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
    display: block;
    max-width: 100%;
}

.separator {
    border-top: 2px dashed #613225;
    margin: 40px 0;
}

h2 {
    font-size: 24px;
    margin: 0;
    margin-bottom: 15px;
}

#list {
    text-align: left;
    background: #613225;
    color: #F4E9D6;
    font-size: 16px;
    border-collapse: collapse;
}

#list tr:not(:first-child) {
    border-top: 1px solid #B37B5A;
}

#list tr:nth-child(2n) {
    background: rgba(255, 255, 255, 0.05);
}

#list th,
#list td {
    padding: 4px 8px;
}

#list th {
    white-space: nowrap;
}

#list .aliases {
    display: block;
    font-style: italic;
}

#footer {
    margin-top: 20px;
    font-size: 13px;
    font-style: italic;
}

a {
    color: #613225;
    text-decoration: none;
    font-weight: 600;
}

@keyframes expand-after {
    0% {
        top: 0;
        left: 0;
    }

    100% {
        top: -5px;
        left: 5px;
    }
}

@keyframes expand-before {
    0% {
        top: 0;
        left: 0;
    }

    100% {
        top: -10px;
        left: 10px;
    }
}

@media screen and (max-width: 990px) {
    header h1 {
        font-size: 80px;
    }

    #modal .body {
        top: 20px;
        left: 20px;
        transform: none;
    }
}

@media screen and (max-width: 550px) {
    header h1 {
        font-size: 55px;
    }

    #page {
        font-size: 16px;
    }

    p {
        line-height: 20px;
    }
}