#container {
    background: linear-gradient(135deg, #70758c, #40455f);
}

#back-button {
    margin: 0 2.25dvh;
    width: fit-content;
    display: flex;
    align-items: center;
    color: #e5e5ea;
}

#back-button>img {
    width: 4dvh;
    height: 4dvh;
    margin-right: auto;
    border-radius: 50%;
}

#back-button>#back-button-label {
    margin-left: 1dvh;
}

#messages-list {
    margin: 1.125dvh 2.25dvh auto 2.25dvh;
    overflow: auto;
    overscroll-behavior-block: none;
    display: flex;
    flex-direction: column;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#messages-list::-webkit-scrollbar {
    display: none;
}

#messages-list>div {
    width: fit-content;
    margin-bottom: 1dvh;
    padding: 1dvh;
    border-radius: 1dvh;
    background-color: #00000030;
    color: #e5e5ea;
    font-size: 2dvh;
    word-break: break-word;
}

#messages-list>div:not(.me)+div.me {
    margin-top: 1.5dvh;
}

#messages-list>div.me+div:not(.me) {
    margin-top: 1.5dvh;
}

#messages-list>div.me {
    align-self: flex-end;

    background-color: #ffffff30;
    text-align: right;
}

#messages-list>div>div {
    max-width: 25dvh;
}

#form {
    width: 100%;

    margin-top: 1.125dvh;

    display: flex;
    justify-content: space-between;
}

#message-box {
    margin: 0 0 2.25dvh 2.25dvh;
    padding: 1dvh;

    flex-grow: 9;

    background-color: #e5e5ea;

    border: none;
    border-radius: 1dvh;
    outline: none;

    font-size: 1.8dvh;
}

#message-box::placeholder {
    color: #8e8e93;
    opacity: 1;
}

#send {
    margin: 0 2.25dvh 2.25dvh;

    flex-grow: 1;

    color: #e5e5ea;
    font-size: 4dvh;
    text-align: center;

    cursor: pointer;
}

#loader {
    display: none;
    gap: .2dvh;

    font-size: 1.8dvh;
    text-align: center;

    align-items: center;
}

#loader>div {
    display: inline-block;

    height: .8dvh;
    width: .8dvh;

    border-radius: 50%;

    background-color: #e5e5ea;

    animation: typingAnimation 1.5s infinite ease-in-out;
}

@keyframes typingAnimation {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-.5dvh);
    }

    50% {
        transform: translateY(0);
    }
}

#loader>div:nth-child(1) {
    animation-delay: 200ms;
}

#loader>div:nth-child(2) {
    animation-delay: 300ms;
}

#loader>div:nth-child(3) {
    animation-delay: 400ms;
}