:root {
  /*--body-bg: linear-gradient(135deg, #010101 0%, #232323 100%);*/
  --body-bg:#000; 
  --msg-bg: #000;
  --border: 2px solid #666;
  --left-msg-bg: #272727;
  --right-msg-bg: #1e213c;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  color:#f7e3b0;
  font-family: Helvetica, Arial, Geneva, sans-serif;
  -webkit-transition: all 0.2s ease;
  -moz-transition:    all 0.2s ease;
  -ms-transition:     all 0.2s ease;
  -o-transition:      all 0.2s ease;
  transition:      all 0.2s ease;

}

body {
	text-align:center;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  /*background-image: var(--body-bg);*/
  background: var(--body-bg);
  justify-content: center;
}
h1{
text-align:center;
padding:50px;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f7e3b0;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/*
.topnav a:hover {
  background-color: #ddd;
  color: black;
}
*/

.active {
  color: white;
}

.topnav .icon {
  display: none;
}
.hamburger-wrapper{
	padding:0!important;
}
.hamburger{
	width:50px;
	height:50px;
}
.wide{
	display: block;
	margin-left: auto;
	margin-right: auto;
	width:80%;
}
.main_content{
	width:80%;
	margin:auto;
}

.shadow{
	position:relative;
	padding:20px;
}
.shadow::after
{
	box-shadow: inset 0px 0px 1em 1em #000000;
	content: '';
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: block;
	margin: 0 auto;
	width:80%;
}
.service{
	display:inline-block;
	width: 400px;
	height: 400px;
	line-height:400px;
	background: #f7e3b0;
	margin: 20px;
	text-align: center;
	box-shadow: inset 0px 0px 2em 2em #000000;
}

.service p{
	color: black;
	font-size: 3em;
	line-height: 1.5;
	display: inline-block;
	vertical-align: middle;
}
.center {
	line-height: 200px;
	height: 200px;
	border: 3px solid green;
	text-align: center;
}

.center p {
	line-height: 1.5;
	display: inline-block;
	vertical-align: middle;
}

.narrow{
	max-width:50%;
	margin:auto;
}
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
  .wide{
	  width:100%;
  }
  .shadow::after
  {
	  width: 100%;
  }
  .service{
	  width: 300px;
	  height: 300px;
	  line-height:300px;
	  margin: 10px;
  }

  .service p{
	  font-size: 2em;
  }
  .narrow{
	  max-width:90%;
	  margin:auto;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

html {
  box-sizing: border-box;
}


/*
body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: var(--body-bg);
  font-family: Helvetica, sans-serif;
}
*/


.msg {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 867px;
  height: 100%;
  border: var(--border);
  border-radius: 5px;
  background: var(--msg-bg);
  box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}
@media only screen and (max-width: 768px) {
  /* For mobile phones: */
	body {
  		height: calc(100vh - 56px);
	}
	.msg{border:none};
}

.msg-header {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: var(--border);
  background: #444;
  color: #fff;
}

#msg-chat {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
#msg-chat::-webkit-scrollbar {
  width: 6px;
}
#msg-chat::-webkit-scrollbar-track {
  background: #ddd;
}
#msg-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}
.msg_ {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}
.msg_:last-of-type {
  margin: 0;
}
.msg-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  background: #ddd;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}
.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;
  color: #fff;
}

.right-msg {
  flex-direction: row-reverse;
}
.right-msg .msg-bubble {
  background: var(--right-msg-bg);
  color: #fff;
  border-bottom-right-radius: 0;
}
.right-msg .msg-img {
  margin: 0 0 0 10px;
}

.msg-inputarea {
  display: flex;
  padding: 10px;
  border-top: var(--border);
  background: #333;
}
.msg-inputarea * {
  padding: 10px;
  border: none;
  border-radius: 3px;
  font-size: 1em;
}

#msg-input {
  flex: 1;
  background: #000;
  color:#fff;
}

#msg-input {
  flex: 1;
  background: #000;
  color:#fff;
}
input:focus {
    outline: none !important;
    border:1px solid white;
}

.msg-send-btn {
  margin-left: 10px;
  background: rgb(0, 196, 65);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.msg-send-btn:hover {
  background: rgb(0, 180, 50);
}

#msg-chat {
  background-color: #000;
}
