* {
  box-sizing: border-box;
  transition: all .3s ease;
}

body {
  margin: 0;
  background-color: #ededed;
  font-family: Verdana, sans-serif;
}

form {
  padding: 15px 25px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

p {
  padding-left: 16px;
  padding-right: 16px;
}

.p1 {
  font-size: 60px;
  font-weight: bold;
  text-align: center;
  background-color: #ededed;
  color: #ff0000;
  margin: 0;
}

.header {
  overflow: hidden;
  background-image: url("../img/bg.jpg");
  font-size: 50px;
  text-align: center;
  font-weight: bold;
  color: #ededed;
  height: 100px;
}

#navbar {
  overflow: hidden;
  background-color: #000;
}

#navbaritem {
//  background-color: inherit;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 5px 14px;
  transition: 0.3s;
  font-weight: bold;
  color: #ededed;
}

#navbar button {
  float: left;
  cursor: pointer;
  display: block;
  background-color: #000;
  color: #ededed;
  text-decoration: none;
  padding: 5px 14px;
  border: 0;
}

#navbar button:hover {
  background-color: #00008b;
  color: #ededed;
}

#navbar button.active {
  background-color: #4682B4;
  color: #ededed;
}

.content {
  padding: 16px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + .content {
  padding-top: 100px;
}

.column {
  float: left;
}

.column.left {
  width: 20%;
  background-color: #ededed;
}

.column.right {
  width: 80%;
  background-color: #ededed;
  padding: 5px 15px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

  #wrapper,
  #loginform {
    margin: 0 auto;
    padding-bottom: 25px;
    background: #eee;
    width: 600px;
    max-width: 100%;
    border: 2px solid #212121;
    border-radius: 4px;
  }
  
  #loginform {
    padding-top: 18px;
    text-align: center;
  }
  
  #loginform p {
    padding: 15px 25px;
    font-size: 1.4rem;
    font-weight: bold;
  }
  
  #chatbox {
    text-align: left;
    margin: 0 auto;
    margin-bottom: 25px;
    padding: 10px;
    background: #fff;
    height: 300px;
    width: 530px;
    border: 1px solid #a7a7a7;
    overflow: auto;
    border-radius: 4px;
    border-bottom: 4px solid #a7a7a7;
  }
  
  #usermsg {
    flex: 1;
    border-radius: 4px;
    border: 1px solid #ff9800;
  }
  
  #name {
    border-radius: 4px;
    border: 1px solid #ff9800;
    padding: 2px 8px;
  }
  
  #submitmsg,
  #enter{
    background: #ff9800;
    border: 2px solid #e65100;
    color: white;
    padding: 4px 10px;
    font-weight: bold;
    border-radius: 4px;
  }
  
  .error {
    color: #ff0000;
  }
  
  #menu {
    padding: 15px 25px;
    display: flex;
  }
  
  #menu p.welcome {
    flex: 1;
  }
  
  a#exit {
    color: white;
    background: #c62828;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
  }
  
  .msgln {
    margin: 0 0 5px 0;
  }
  
  .msgln span.left-info {
    color: orangered;
  }
  
  .msgln span.chat-time {
    color: #666;
    font-size: 60%;
    vertical-align: super;
  }
  
  .msgln b.user-name, .msgln b.user-name-left {
    font-weight: bold;
    background: #546e7a;
    color: white;
    padding: 2px 4px;
    font-size: 90%;
    border-radius: 4px;
    margin: 0 5px 0 0;
  }
  
  .msgln b.user-name-left {
    background: orangered;
  }

.footer {
  width: 100%;
  background-color: #000056;
  font-size: 10px;
  font-weight: bold;
  color: #ededed;
  padding: 3px 10px;
  position: fixed;
  bottom: 0;
  z-index: 10;
}
  
