* {
    box-sizing: border-box;
}

body {
    font-family: Bebas Neue;
    background: #484848;
}

.column {
    float: left;
}

.left {
    width: 70%;
    padding: 40px 10px 10px 40px;
}

.right {
    width: 30%;
    padding: 40px 40px 20px 0px;
}

.row {margin: 0 -5px;}

.row:after {
    content: "";
    display: table;
    clear: both;
}

:root {
   --border: 2px solid #ddd;
   --left-msg-bg: rgba(255, 255, 255, 0.9);
   --right-msg-bg: rgba(0, 0, 0, 0.9);
}

.card{
    width: 100%;
    height: 88%;
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-color: #1A1A1A;
}

.backR {
    width: 50%;
    height: 30%;
    position: relative;
    float: left;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    background-image: url(images/3.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 12%;
    margin-left: 25%;
}
.koalaBox {
    width: 50%;
    height: 40%;
    display: flex;
    align-items: center;
    position: relative;
    float: left;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    background-image: url(images/rectangle_4.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 12%;
    margin-left: 25%;
    justify-content: center;
}
.msgR {
    color: rgba(197.0000034570694, 31.000000052154064, 34.00000177323818, 1);;
    width: 100%;
    height: 15%;
    text-align: center;
    font-size: 4vh;
    letter-spacing: 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msgR1{
    color: rgba(255, 255, 255, 1);
    width: 100%;
    text-align: center;
    font-size: 2.5vh;
    margin-top: -5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msgR2{
    color: rgba(197.0000034570694, 31.000000052154064, 34.00000177323818, 1);
    width: 100%;
    text-align: center;
    font-size: 3vh;
    font-weight: bold;
    display: flex;
    justify-content: center;
    margin-bottom: 0vw;
}

.msger {
    width: 100%;
    height: 88%;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-image: url(images/1_1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.msger-chat {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

.msger-chat::-webkit-scrollbar {
    width: 6px;
}

.msger-chat::-webkit-scrollbar-track {
    background: #ddd;
}

.msger-chat::-webkit-scrollbar-thumb {
    background: #bdbdbd;
}

.msg {
    display: flex;
    align-items: flex-end;
    margin-bottom: 10px;
}
.msg:last-of-type {
    margin: 0;
}

.msg-bubble {
    max-width: 450px;
    padding: 15px;
    border-radius: 15px;
    background: var(--left-msg-bg);
}

.msg-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.msg-info-name {
    margin-right: 10px;
    font-weight: bold;
}

.msg-info-time {
    font-size: 0.85em;
}

.left-msg .msg-bubble {
    border-bottom-left-radius: 0;
}

.right-msg {
    flex-direction: row-reverse;
}

.right-msg .msg-bubble {
    background: var(--right-msg-bg);
    color: #fff;
    border-bottom-right-radius: 0;
}

.msger-inputarea {
    display: flex;
    padding: 18px;
    margin-bottom: 0vw;
    backdrop-filter: blur(4px);
}

.msger-inputarea * {
    padding: 10px;
    border: none;
    border-radius: 3px;
    font-size: 1em;
}

.msger-input {
    flex: 1;
    backdrop-filter: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    background-color: rgba(255, 255, 255, 0.4);
}

.msger-send-btn {
    margin-left: 18px;
    background: #484848;
    color: #fff;
    font-size: 100%;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.23s;
}

.msger-send-btn:hover {
    background: rgba(197.0000034570694, 31.000000052154064, 34.00000177323818, 1);
}

*::placeholder {
    color: black;
    font-weight: 500;
    font-size: 100%;
}


/* Responsive columns - one column layout (vertical) on small screens */
@media screen and (max-width: 600px) {

  *,
  *:before,
  *:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
  }

  body {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .column {
    width: 100%;
    height: 80%;
    display: block;
    margin-bottom: -22vh;
    padding: 6%;
  }

  .card {
    height: 75%;
    padding: 1vh;
  }

  .msgR1 {
    margin-top: 0;
  }

  .msgR2 {
    font-size: 100%;
  }

  .msger {
    height: 75%;
    padding: 1vh;
  }

  .msger-chat {
    width: 100%;
    padding: 0;
  }

  .koalaBox {
    margin-top: 2vh;
  }

  .msger-inputarea {
    width: 100%;
    padding: 0;
  }
}
