body {
  margin: 0;
  padding: 0;
  width: 100%;

  background: #E9E9E9;
  font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
}

/* menu */

#navbar {
  width: 900px;
  height: 30px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

#right li {
  display: inline-flex;
  margin-left: 15px;
  padding-top: 4px;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: #2495B2;
}

.active {
  border-top: 2px solid #2495B2;
}

/* General */

.container {
  width: 400px;
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Blog */

#prev {
  display: flex;
  justify-content: space-between;


}

.prevcol {
  display: flex;
  flex-direction: column;
}

.prevbox {
  background: white;
  width: 300px;
  margin-bottom: 30px;
}

.prevbox img {
  width: 250px;
  height: 150px;
  padding-left: 25px;
  padding-right: 25px;
}

.prevbox h3 {
  padding: 0 25px
}

.preview {
  padding: 15px 25px;
}

.article {
  display: flex;
  width: 100%;
}

.author {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 280px;
  order: 2;
}

.content {
  padding: 15px;
  width: 100%;
  min-height: 180px;
  order: 1;
  background: white;
}

.comment {
  display: flex;
  width: 100%;
}

.com-author {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 140px;
  order: 1;
}

.com-content {
  padding: 15px;
  width: 100%;
  order: 2;
  background: white;
}

.button{
  background:#2495B2;
  color:white;
  text-decoration: none;
  font-weight: bold;
  font-size:17px;
  padding: 5px;
  margin-right: 5px;
}

.button:hover {
  color: black;
}

.userm {
/*  width: 150px;
  margin: auto;
  display: flex;
  justify-content: flex-end;  */
}

.userm a {
  text-decoration: underline;
  margin: 0 4px 0 4px;
}

/* Login */

#signIn {
  float: left;
  display: flex;
  justify-content: space-around;
}

#register {
  float: left;
  display: flex;
  justify-content: space-around;
}

form ul {
  list-style: none;
}



form li {
  padding: 10px;
  border: 1px solid #B9B9B9;
  margin-bottom: 30px;
}



form label {
  display: block;
    float: left;
    margin-top: -20px;

    background: #E9E9E9;
    height: 14px;
    padding: 2px 5px 2px 5px;
    font-size: 14px;
    overflow: hidden;
    margin-bottom: 0px;
    text-align: center;
}

form li > span{
    background: #F3F3F3;
    display: block;
    padding: 3px;
    margin: 5px -10px -10px -10px;
    text-align: center;
    color: #2495B2;   /* color: #C0C0C0; */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}


form input[type="text"],
form input[type="password"] {
  background: none;
  border: none;
  border-bottom: 1px solid black;
  width: 100%;
}

form button[type="submit"] {
  background: #2495B2;
  padding: 10px;
  border: none;
  text-align: center;
  cursor: pointer;
  border-radius:10%;
}

form button[type="submit"]:hover {
  background: #00ace6;
}

button[type="button"] {
  background: #2495B2;
  padding: 10px;
  border: none;
  text-align: center;
  cursor: pointer;
  border-radius:10%;
}

button[type="button"]:hover {
  background: #00ace6;
}

#separator {

  border-left: 1px solid black;
}

/* error 404 */

.err4 {
  display: flex;
  justify-content: center;
  align-items:center;
  margin-top: 15%;
}

.err4 p {
  margin-left: 20px;
  font-weight: bold;
}

/* Profile */

#profile {
  display: flex;
  justify-content: center;
  flex-direction: column;
}

#profileOpt {
  margin-top: -30px;
  background: white;
  order:3;
  z-index:-1;
}

#profileSpacing {
  height: 40px;
}

/* NavIcon */
#nav-icon {
  width: 60px;
  height: 45px;
  position: relative;
  margin: 50px auto;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon span {
  display: block;
  position: absolute;
  height: 9px;
  width: 100%;
  background: #d3531a;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon {
}

#nav-icon span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(2) {
  top: 18px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon span:nth-child(3) {
  top: 36px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

#nav-icon.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 39px;
  left: 8px;
}
