* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(98, 36, 132);
    font-size: 120%;
    width: 100%;
}

@media screen and (max-width: 1199px) {
    body {
        font-size: 110%;
    }
}

@media screen and (max-width: 999px) {
    body {
        font-size: 100%;
    }
}

@media screen and (max-width: 899px) {
    body {
        font-size: 90%;
    }
}

@media screen and (max-width: 799px) {
    body {
        font-size: 80%;
    }
}

body::-webkit-scrollbar {
    display: none;
}

.btn {
    width: 100%;
    height: 45px;
    background: rgb(192, 163, 46);
    border: 3px solid rgb(192, 163, 46);
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.3em;
    color: rgb(98, 36, 132);
    font-weight: 500;
    transition: .25s;
}

.btn:hover {
    background: rgb(98, 36, 132);
    color: rgb(192, 163, 46);
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75em;
    border-bottom: 3px solid rgb(192, 163, 46);
    border-left: 3px solid rgb(192, 163, 46);
    border-bottom-left-radius: 20px;
    color: rgb(192, 163, 46);
    background-color: rgb(98, 36, 132);
    transition: .25s;
    cursor: pointer;
}

.close:hover {
    color: rgb(98, 36, 132);
    background-color: rgb(192, 163, 46);
}

.navigation {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 1vh 0;
    background: rgb(192, 163, 46);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    font-size: 120%;
}

.navigation .title-bottom {
    margin-top: -5px;
}

.navigation a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.navigation .left {
    display: flex;
    flex-direction: row;
    font-size: 1.4em;
    color: rgb(98, 36, 132);
}

.navigation .left i {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
}

.navigation .left a {
    margin-left: 2vh;
    position: relative;
    color: rgb(98, 36, 132);
    text-decoration: none;
}

.navigation .left .title {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    position: relative;
    margin-left: 1vh;
}

.navigation .left .title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 3px;
    background: rgb(98, 36, 132);
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .25s;
}

.navigation .left .title:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

.navigation .left a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 3px;
    background: rgb(98, 36, 132);
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .25s;
}

.navigation .left a:hover::after {
    transform-origin: left;
    transform: scaleX(1);
}

/* RIGHT */

.navigation .right {
    display: flex;
    flex-direction: row;
    font-size: 1.4em;
}

.navigation .right .profile {
    text-decoration: none;
    padding-right: 2vh;
    color: rgb(98, 36, 132);
}

.navigation .right .profile i {
    padding-right: .5vh;
}

.nav-btn {
    background: transparent;
    border: 2px solid rgb(98, 36, 132);
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2em;
    color: rgb(98, 36, 132);
    font-weight: 500;
    transition: .25s;
    overflow: hidden;
    text-align: center;
    margin-right: 2vh;
}

.nav-btn:hover {
    background: rgb(98, 36, 132);
    color: rgb(192, 163, 46);
    overflow: hidden;
}

@media screen and (max-width: 849px) {
    .navigation .right .profile {
        display: none;
    }
}

/* Chat */

.chat-wrapper {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
}

.chat-wrapper .left {
    width: 20%;
    height: 100%;
}

.chat-wrapper .chat-box {
    width: 60%;
    height: 100%;
    min-width: 50vh;
}

.chat-wrapper .chat-box .chat {
    height: 80%;
    position: relative;
    z-index: 0;
}

.chat-wrapper .chat-box .chat .display {
    height: 92%;
    overflow-y: scroll;
    /* margin: 2%; */
}

.empty {
    height: 6.5vh;
}

.chat-wrapper .chat-box .chat .display::-webkit-scrollbar {
    display: none;
}

.chat-wrapper .chat-box .chat .msg-right {
    width: 100%;
    display: flex;
    justify-content: right;
    position: relative;
    z-index: 5;
}

.chat-wrapper .chat-box .chat .msg-left {
    width: 100%;
    display: flex;
    justify-content: left;
    position: relative;
    z-index: 5;
}

.chat-wrapper .chat-box .chat .msg {
    margin-bottom: 1.5%;
    border-radius: 10px;
    max-width: 80%;
    font-size: 110%;
    margin: 2%;
}

.chat-wrapper .chat-box .chat .msg .header {
    padding: 0%;
    min-width: 25vh;
}

.chat-wrapper .chat-box .chat .msg .content {
    padding: 0%;
}

.chat-wrapper .chat-box .send {
    height: 20%;
    padding-left: 2%;
    padding-right: 2%;
}

.chat-wrapper .chat-box .send .crypt-info {
    margin-top: .5%;
    margin-bottom: .5%;
}

.chat-wrapper .chat-box .send .editable {
    height: 10vh;
    overflow-y: scroll;
    padding: .25%;
    border-radius: 10px;
}

.chat-wrapper .chat-box .send .editable::-webkit-scrollbar {
    display: none;
}

.chat-wrapper .chat-box .send .tools {
    margin-top: 1%;
    display: flex;
    justify-content: space-between;
}

.chat-wrapper .chat-box .send .tools .left {
    display: flex;
    flex-direction: row;
}

.chat-wrapper .chat-box .send .tools .left p {
    margin-left: 2%;
}

.chat-wrapper .chat-box .send .tools .right {
    width: auto;
}

.chat-wrapper .right {
    width: 20%;
    height: 100%;
}

.chat-wrapper .chat-box .selection {
    padding: 2%;
    height: 60%;
}

.chat-wrapper .chat-box .selection .option {
    border: 2px solid rgb(192, 163, 46);
    margin-bottom: 2%;
    padding: .25%;
    display: flex;
    flex-direction: column;
}

.chat-wrapper .chat-box .selection .option a {
    color: rgb(192, 163, 46);
    width: max-content;
}

.chat-wrapper .chat-box .selection .option a:hover {
    color: rgb(237, 45, 7);
}

.chat-wrapper .chat-box .selection .config {
    border: 2px solid rgb(192, 163, 46);
    margin-bottom: 2%;
    padding: .25%;
    display: flex;
    flex-direction: column;
}

.chat-wrapper .chat-box .selection .config .string-display {
    display: flex;
    flex-direction: row;
}

.chat-wrapper .chat-box .selection .config .string-display i {
    margin-left: 1%;
    margin-top: .25%;    
    font-size: 120%;
    cursor: pointer;
}