body {
    background: #f4f3f5;
    background: -webkit-linear-gradient(right, rgba(255, 255, 255, 0.6), rgba(220, 211, 232, 0.5));
    background: -o-linear-gradient(right, rgba(255, 255, 255, 0.6), rgba(220, 211, 232, 0.5));
    background: -moz-linear-gradient(right, rgba(255, 255, 255, 0.6), rgba(220, 211, 232, 0.5));
    background: linear-gradient(right, rgba(255, 255, 255, 0.6) , rgba(220, 211, 232, 0.5));
    font-family: 'Helvetica Neue', helvetica, arial, sans-serif;
    overflow-x: hidden
}
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}
.container {
    width: 1070px;
    margin: auto
}
a {
    text-decoration: none;
    transition: all .2s ease-in-out
}
hr {
    border: none;
    border-top: 1px solid #ebebeb;
    margin-bottom: 5px;
    margin-top: 0
}
.box {
    margin-bottom: 8px;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #e7e7e7;
    border-radius: 4px
}
[contenteditable] {
    color: #555;
    font-size: 15px;
}
[contenteditable]:empty:before {
    content: attr(data-placeholder);
    font-size: 15px;
    color: #a4a4a4;
    cursor: text;
}
[contenteditable]:focus:before {
    visibility: hidden
}

.fadeIn {
    animation: fadeIn 1s
}
@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1
    }
}

ul {
    margin: 0;
    padding: 0
}
li {
    list-style: none
}
.form {
    width: 350px;
    margin: 25% auto 0
}
.switch {
    background-color: #fff;
    overflow: hidden;
    border: 1px solid #ececec;
    border-bottom-color: #f2f2f2;
    border-radius: 5px 5px 0 0;
}
.sign-up {
    display: none;
}
.switch li {
    width: 50%;
    text-align: center;
    padding: 10px;
    color: #555;
    float: left;
    cursor: pointer;
    -webkit-transition: all .1s ease;
    -moz-transition: all .1s ease;
    -ms-transition: all .1s ease;
    -o-transition: all .1s ease;
    transition: all .1s ease
}
.switch li:hover {
    background-color: #673AB7;
    color:#fff
}
.switch li:active {
    background-color: #512DA8;
    color:#fff
}
.switch li.active,
.switch li.active:hover,
.switch li.active:active {
    background-color: #673AB7;
    color:#fff
}
.form h2 {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 0;
    color: #777
}
.form input {
    margin-bottom: 10px;
}
.box input:last-of-type {
    margin-top: 10px;
    margin-bottom: 0;
    width:100%;
}
.box.sign-up input:nth-child(4),
.box.login input:nth-child(3) {
    margin-bottom: 0
}
.form .box {
    border-top: 0
}

.home {
    width: 500px;
    margin: 20px auto 0
}
.home .nav {
    padding: 0;
    overflow: hidden
}
.home .nav a {
    color: #555;
    padding: 10px;
    font-size: 15px;
    display: inline-block;
    transition: all .1s ease-in-out
}
.home .nav a i {
    cursor: pointer
}
.home .nav a:last-of-type {
    float: right
}
.home .nav a.home-page {
    color: #2196F3
}
.home .nav a.profile {
    color: #009688
}
.home .nav a:last-of-type {
    color: #e53935
}
.home .nav a.signup {
    color: #4CAF50
}
.home .nav a.posts {
    color: #673AB7
} 
.home .nav a:hover {
    background-color: #673AB7;
    color: #fff
}
.home .nav a:active {
    background-color: #512DA8;
    color: #fff
}
.home .nav a.active:hover,
.home .nav a.active:active,
.home .nav a.active {
    background-color: #673AB7;
    color: #fff
}
.home .add-post {
    overflow: hidden;
    padding: 0
}
.home .add-post [contenteditable] {
    padding: 20px 10px
}
.home .add-post footer {
    padding: 4px 10px 10px;
    border-top: 1px solid #ebebeb;
    background-color: #fcfcfc
}
.home .add-post button {
    float: right;
    padding: 4px 15px
}
.home .post .post-head span {
    color: #555;
    font-size: 12px
}
.home .post .post-head a {
    color: #673AB7;
    font-size: 12px;
    font-weight: bold
}
.home .post .post-head a:hover {
    text-decoration: underline
}
.home .post .post-head i.fa-caret-right {
    color: #BEB8C6;
    font-size: 14px;
    margin-left: 8px;
    margin-right: 8px
}
.home .post .post-head i.fa-close {
    color: #f44336;
    float: right;
    transition: all .3s ease;
    cursor: pointer
}
.home .post .post-head i.fa-close:hover {
    color: #ff7c73
}
.home .post .post-head i.fa-close:active {
    color: #d32f2f
}
.home .post hr {
   margin-top: 5px 
}
.home .post .post-content {
    color: #555;
    font-size: 14px;
    font-family: tahoma, sans-serif
}
.profile h2 {
    color: #555;
    text-align: center
}