* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, Helvetica, sans-serif; } :root { --dark-color: #333; --light-color: #f4f4f4; --bg-dark: #444; --bg-light: #f4f4f4; --bg-lighter: #f6f6f6; --svg-dark-mode: #fff; --svg-light-mode: rgba(128, 128, 128, 0.786); --bg-message: #e5ddd5; --bg-selected: #ebebeb; --bg-hover: #ebebeb73; } body { width: 100%; height: 100%; color: var(--dark-color); } input { outline: none; border: none; border-radius: 20px; padding: 0 20px; } input::placeholder { color: rgba(128, 128, 128, 0.536); font-size: 14px; } a { text-decoration: none !important; color: inherit; } svg { color: var(--svg-light-mode); } svg:hover { cursor: pointer; } #all { width: 100%; height: 100%; display: flex; justify-content: space-between; } /* Utility Classes */ .head { background: var(--bg-light); } /* Right Section */ #right { display: none; width: 69%; height: 100%; flex: 2.5; } #right .right-head { width: 100%; height: 70px; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; } #right .right-head:hover { cursor: pointer; } #right .right-head img { width: 50px; height: 50px; border-radius: 50%; } #right .right-head .profile-name { width: 82%; justify-self: flex-start; } #right .right-head .profile-name h4 { font-size: 19px; font-weight: lighter; } #right .right-head .profile-name p { padding-top: 3px; color: rgba(51, 51, 51, 0.608); font-size: 14px; } #right .tools svg { margin-right: 20px; } /* Message */ #right .message { width: 100%; height: 656px; background: var(--bg-message); } /* Send Message */ #right .write-box { width: 100%; height: 60px; display: flex; justify-content: space-between; padding: 0 15px; align-items: center; background: var(--bg-light); } #right .write-box input { width: 83%; height: 70%; } #right .write-box svg { margin-right: 20px; } #right .write-box div:last-child svg { margin-left: 30; } /* Left Section */ #left { width: 29%; height: 100%; flex: 1; } /* Head */ #left .left-head { width: 100%; height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 1em; border-right: 1px solid rgba(128, 128, 128, 0.236); } #left .left-head img { width: 50px; height: 50px; border-radius: 50%; } #left .left-head .tools svg { margin-right: 20px; } /* Search Box */ #left .search-box { width: 100%; height: 50px; display: flex; justify-content: center; align-items: center; border-top: 2px solid #fff; background: var(--bg-lighter); position: relative; } #left .search-box .searchbox { width: 96%; display: flex; } #left .search-box .searchbox input { width: 100%; text-align: center; color: #333; padding: 7px 0; font-size: 1em; } #left .search-box .searchbox svg { position: absolute; margin: 5px 0 0 10px; } /* Contacts */ #left .contacts { width: 100%; height: 666px; background: #fff; } #left .contacts .contact { width: 100%; height: 73px; display: flex; justify-content: space-between; align-items: center; } #left .contacts .contact:hover { cursor: pointer; background: var(--bg-hover); } #left .contacts .contact img { width: 50px; height: 50px; border-radius: 50%; margin: 10px; } #left .contacts .contact .contents { border-bottom: 1px solid var(--light-color); flex: 3; padding: 13px 0; } #left .contacts .contact .contents .acc { width: 100%; height: 100%; display: flex; justify-content: space-between; align-items: center; } #left .contacts .contact .contents .acc .acc-l { justify-self: flex-start; } #left .contacts .contact .contents .acc .acc-l p { margin-top: 4px; } #left .contacts .contact .contents .acc .acc-r { align-self: flex-start; justify-self: flex-end; padding-right: 20px; } @media screen and (min-width: 769px) { #right { display: block; } .selected { background: var(--bg-selected); } .selected:hover { background-color: var(--bg-selected) !important; } } @media screen and (max-width: 320px) { * { font-size: 99%; } }