:root {
    --text-color: #f0f4f5;
    --background-color:#263343; 
    --accent-color:#d49466;
    --color-color: rgb(238, 230, 231);
}

body, html {
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--color-color);
}

a{
    text-decoration: none;
    color: var(--text-color);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    padding: 8px 12px;
    height: 5%;
}
.navbar_logo {
    font-size: 24px;
    color: var(--text-color);
}
.navbar_logo i {
    color: var(--accent-color);
}
.navbar_menu {
    display: flex;
    list-style: none;
    padding-left: 0;
}
.navbar_menu li {
    padding: 8px 12px;
}
.navbar_menu li:hover {
    background-color: var(--accent-color);
    border-radius: 4px;
}
.navbar_icons {
    list-style: none;
    color: var(--text-color);
    display: flex;
    padding-left: 0;
}
.navbar_icons li{
    padding: 8px 12px;
}

.navbar_togleBtn{
    display: none;
    position: absolute;
    right: 32px;
    font-size: 24px;
    color: var(--accent-color);
}

@media screen and (max-width:768px) {
    .navbar{
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 24px;
    }
    .navbar_menu{
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .navbar_menu li {
        width: 100%;
        text-align: center;
    }
    .navbar_icons {
        display: none;
        justify-content: center;
        width: 100%;
    }
    .navbar_togleBtn {
        display: block;
    }
    .navbar_menu.active,
    .navbar_icons.active {
        display: flex;
    }
}
@media screen and (max-width:1300px) {
    .localvideo {
        margin-top: 30px;
        margin-bottom: 50px;
    }
}
.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    align-items: center;
}
/*                                                   */
.videoContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 8px 24px;
    
}
.localvideo {
    flex-grow: 0;
    -webkit-transform:rotateY(180deg);
}
.remotevideo {
    flex-grow: 0;
    -webkit-transform:rotateY(180deg);
}
#hangupButton {
    background-color: red;
    color:white;
    border: none;
    border-radius: 3px;
}
/*                                                 */
.chattingContainer {
    display: flex;
    flex:12;
    width: 50%;
    
    overflow-y: scroll;
    flex-direction: row;
    align-content: center;

}
.chatInputContainer {
    width: 50%;
    flex: 2;
    display: flex;
    justify-content: stretch;
    align-items: stretch;
}
.chatInputContainer span {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.3rem;
    width: 100%;
}
.chatting-input {
    font-size: 12px;
    height: 100%;
    width: 50%;
    flex: 8;
    /* border: none; */
}
.sendButton {
    flex: 1;
    background: #ffeb33;
    height: 100%;
    border-radius: 3px;
    border: none;
}
.chatList {
    width: 100%;
}
.chatList li {
    width: 90%;
    padding: 0.3rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-top: 0.5rem;

}

.message {
    border-radius: 5px;
    padding: 0,5rem;
    font-size: 12px;
    margin: 0 5px;
    flex: 7;
}
.time {
    font-size: 10px;
    margin: 0 5px;
}
.sent {
    flex-direction: row-reverse;
    float: right;
}
.sent .message{
    background-color: #ffeb33;
}
.received .message {
    background-color: #fff;
}

.tlkio {
    display: none;
}

.tlkio.active {
    display: flex;
}