body {
    margin: 0;
    box-sizing: border-box;
    margin: 0;
    color: #071013;
    background-color: #FCFDFD;
    overflow-y: scroll;
}

/* Nav */

.menu-area {
    position: fixed;
    top: 0;
    margin-left: 0px;
    margin-top: 10px;
    animation: menu-appear-anim 1s 1;
}

/* Main Menu */

.main-menu {
    list-style-type: none;
    padding: 0;
    margin: 10px;
    overflow: hidden;
    width: 200px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
}

.main-menu-item {
    width: 100%;
}

.main-menu-item a {
    padding: 10px;
    text-decoration: none;
    display: block;
    color: #071013;
    font-size: 15px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.main-menu-item a:hover {
    background-color: #F0F1F1;
}

.first-item a {
    padding-top: 0;
    font-size: 18px;
}

.first-item a:hover {
    background-color: #FCFDFD;
}

.last-item a {
    border-bottom: none;
}

#contact-btn {
    cursor: pointer;
}

/* Logo Area */

.logo-box {
    width: 60px;
    margin: 0 auto;
    margin-top: 10px;
}

.logo-text {
    font-family: 'Exo', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 22px;
    text-align: center;
    cursor: default;
}

/* Creation button Form */

.creation-btn {
    margin: 10px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    background-color: #FCFDFD;
    border-radius: 5px;
    width: calc(200px - 20px);
    font-family: 'Exo', sans-serif;
    transition: background-color 0.3s ease;
    padding: 10px;
    color: #071013;
    font-size: 15px;
    cursor: pointer;
}

.creation-btn:hover {
    background-color: #F0F1F1;
}

.centered-txt {
    text-align: center;
    padding: 0;
}

/* Sign in Form */

.sign-form {
    list-style-type: none;
    padding: 0;
    margin: 10px;
    overflow: hidden;
    width: 200px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
}

.text-input {
    margin: 10px;
    margin-bottom: 0;
    width: calc(100% - 32px);
    border: solid 1px rgba(0, 0, 0, 0.1);
    font-family: 'Exo', sans-serif;
    color: #071013;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    padding: 5px;
    font-size: 15px;
    transition: width 0.25s ease;
    -webkit-transition: width 0.25s ease;
    -moz-transition: width 0.25s ease;
    -ms-transition: width 0.25s ease;
    -o-transition: width 0.25s ease;
}

.text-input:focus {
    background-color: #F0F1F1;
    outline: none;
}

.sign-form-footer {
    margin-top: 10px;
}

.signin-btn {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    border-right: solid 1px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: calc(50% - 21px);
    font-size: 14px;
    transition: background-color 0.3s ease;
    float: left;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
}

.signin-btn:hover {
    background-color: #F0F1F1;
    cursor: pointer;
}

.signup-btn {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: calc(50% - 20px);
    font-size: 14px;
    transition: background-color 0.3s ease;
    float: left;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -ms-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
}

.signup-btn:hover {
    background-color: #F0F1F1;
    cursor: pointer;
}

/* Card Filter Form */

.cardfilter-container {
    list-style-type: none;
    padding: 0;
    margin: 10px;
    overflow: hidden;
    width: 200px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
}

.cardfilter-text {
    margin: 15px;
    margin-top: 15px;
    margin-right: 4px;
    font-family: 'Exo', sans-serif;
    color: #071013;
    font-size: 15px;
    float: left;
    width: 30%;
}

.cardfilter {
    margin: 9px;
    border: solid 1px rgba(0, 0, 0, 0.1);
    font-family: 'Exo', sans-serif;
    color: #071013;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    padding: 5px;
    font-size: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    float: left;
    width: calc(70% - 39px);
}

.cardfilter:hover {
    background-color: #F0F1F1;
}

.cardfilter:focus {
    background-color: #F0F1F1;
    outline: none;
}

/* Modal form */

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    animation: open-modal-bg 0.5s 1;
}

/* Modals content */

.signup-modal-content {
    padding: 0;
    margin: 100px auto;
    overflow: hidden;
    width: 400px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
    animation: open-modal 1s 1;
}

.create-modal-content {
    padding: 0;
    margin: 100px auto;
    overflow: hidden;
    width: 500px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
    animation: open-modal 1s 1;
}

.contact-modal-content {
    padding: 0;
    margin: 100px auto;
    overflow: hidden;
    width: 500px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
    animation: open-modal 1s 1;
}

.palette-modal-content {
    padding: 0;
    margin: 100px auto;
    overflow: hidden;
    width: 500px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
    animation: open-modal 1s 1;
}

.settings-modal-content {
    padding: 0;
    margin: 100px auto;
    overflow: hidden;
    width: 500px;
    border-radius: 5px;
    background-color: #FCFDFD;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    font-family: 'Exo', sans-serif;
    animation: open-modal 1s 1;
}

/* Modal Anims */

@keyframes open-modal {
    0% {
        margin-top: -300px;
        opacity: 0;
    }
    50% {
        margin-top: 120px;
    }
    100% {
        opacity: 1;
    }
}

@keyframes open-modal-bg {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes close-modal {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes close-modal-bg {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Modal Elements */

.modal-header {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

.modal-title {
    padding: 10px;
    margin: 0;
}

.modal-text {
    padding: 10px;
    margin: 0;
    padding-bottom: 0px;
}

.modal-element {
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    padding-bottom: 10px; 
}

.last-modal-element {
    padding-bottom: 0;
    border: none;
    margin-bottom: 10px;
}
















/* Loader */


.modal-loader {
    display: none;
}

.modal-loading-loader {
    display: inline-block;
}

.modal-loading-input {
    width: calc(90% - 45px);
}

















.modal-footer-btn {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: calc(100% - 20px);
    font-size: 14px;
    transition: background-color 0.3s ease;
    float: left;
    text-align: center;
}

.modal-footer-btn:hover {
    background-color: #F0F1F1;
    cursor: pointer;
}

.modal-close {
    color: rgba(0, 0, 0, 0.1);
    float: right;
    padding: 10px;
    transition: color 0.3s ease;
    -webkit-transition: color 0.3s ease;
    -moz-transition: color 0.3s ease;
    -ms-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #071013;
    cursor: pointer;
}

.textarea-input {
    margin: 10px;
    margin-bottom: 0;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    min-width: calc(100% - 32px);
    height: 100px;
    min-height: 100px;
    max-height: 400px;
    border: solid 1px rgba(0, 0, 0, 0.1);
    font-family: 'Exo', sans-serif;
    color: #071013;
    border-radius: 3px;
    transition: background-color 0.3s ease;
    padding: 5px;
    font-size: 15px;
}

.textarea-input:focus {
    background-color: #F0F1F1;
    outline: none;
}

/* Avatar Edit Form */

.settings-profile-avatar {
    padding: 10px;
    float: right;
}

.settings-avatar-palette {
    list-style-type: none;
    height: 150px;
    width: 150px;
    margin: 0;
    padding: 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    overflow: hidden;
}

.settings-avatar-inputs {
    float: right;
    width: calc(100% - 171px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: -10px;
    padding-bottom: 10px; 
}

/* Palette Edit Form */

.palette-edit-container {
    width: 50%;
    float: left;
    margin: 0px;
}

.colorcard-preview-container {
    width: calc(50% - 1px);
    float: left;
    border-left: solid 1px rgba(0, 0, 0, 0.1);
}

/* ColorCard */

.colorcard {
    background-color: #FCFDFD;
    width: 200px;
    border-radius: 5px;
    margin: 10px;
    font-family: 'Exo', sans-serif;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
    position: relative;
    animation: cards-appear-anim 1s;
    float: left;
}

.colorcard:hover {
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);
}

.colorcard-topmenu {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    padding: 5px 8px;
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    cursor: pointer;
    display: none;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-transition: background 0.3s ease, color 0.3s ease;
    -moz-transition: background 0.3s ease, color 0.3s ease;
    -ms-transition: background 0.3s ease, color 0.3s ease;
    -o-transition: background 0.3s ease, color 0.3s ease;
}

.colorcard:hover .colorcard-topmenu {
    display: block;
}

.colorcard-topmenu:hover {
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 1);
}

.colorcard-palette {
    list-style-type: none;
    height: 200px;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.colorcard-color-3-1 {
    position: relative;
    height: 45%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.colorcard-color-3-2 {
    position: relative;
    height: 35%;
}

.colorcard-color-3-3 {
    position: relative;
    height: 20%;
}

.colorcard-color-4-1 {
    position: relative;
    height: 40%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.colorcard-color-4-2 {
    position: relative;
    height: 30%;
}

.colorcard-color-4-3 {
    position: relative;
    height: 20%;
}

.colorcard-color-4-4 {
    position: relative;
    height: 10%;
}

.colorcard-color-5-1 {
    position: relative;
    height: 32%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.colorcard-color-5-2 {
    position: relative;
    height: 27%;
}

.colorcard-color-5-3 {
    position: relative;
    height: 19%;
}

.colorcard-color-5-4 {
    position: relative;
    height: 13%;
}

.colorcard-color-5-5 {
    position: relative;
    height: 9%;
}

.colorcard-color-6-1 {
    position: relative;
    height: 28%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.colorcard-color-6-2 {
    position: relative;
    height: 22%;
}

.colorcard-color-6-3 {
    position: relative;
    height: 17%;
}

/* .color-bg {
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -ms-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.15);
    width: 100%;
    height: 100%;
}

.colorcard-color-1 .color-bg {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

.colorcard-palette>li:hover .color-bg {
    opacity: 1;
} */

.colorcode-container {
    position: fixed;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    -moz-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    z-index: 900;
}

.colorcode {
    padding: 10px;
    display: block;
    color: #E6E6E6;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    border-top-right-radius: 5px;
}

.colorcard-color-1:hover .colorcode-container {
    opacity: 1;
}

.colorcard-color-2:hover .colorcode-container {
    opacity: 1;
}

.colorcard-color-3:hover .colorcode-container {
    opacity: 1;
}

.colorcard-color-4:hover .colorcode-container {
    opacity: 1;
}

.colorcard-body {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    overflow-wrap: break-word;
    cursor: pointer;
}

.colorcard-title {
    margin: 10px;
    margin-bottom: 0px;
    font-size: 15px;
    text-transform: uppercase;
    word-wrap: break-word;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: text;
	height: 1.3em;
}

.colorcard-author {
    margin: 10px;
    margin-top: 0px;
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
    word-wrap: break-word;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: text;
}

.colorcard-footer {
    background-color: #FCFDFD;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: 10px;
    clear: both;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}

.colorcard-footer-text {
    opacity: 1;
    height: auto;
    padding: 10px;
    transition: opacity 1s ease;
}

.colorcard-footer:hover .colorcard-footer-text {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.colorcard-likecount {
    float: left;
    font-size: 12px;
}

.colorcard-posttime {
    float: right;
    font-size: 12px;
}

.colorcard-footer-buttons {
    transition: opacity 1s ease;
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.colorcard-footer:hover .colorcard-footer-buttons {
    opacity: 1;
    height: auto;
}

.colorcard-likebutton {
    float: left;
    width: 99px;
    font-size: 12px;
    text-align: center;
    border-right: solid 1px rgba(0, 0, 0, 0.1);
    padding-top: 10px;
    padding-bottom: 10px;
    transition: background-color 0.3s ease;
    animation: clickbutton-anim-p1 0.2s 1;
}

.colorcard-likebutton:hover {
    background-color: #F0F1F1;
    cursor: pointer;
    border-bottom-left-radius: 5px;
}

.colorcard-sharebutton {
    float: left;
    width: 100px;
    font-size: 12px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: background-color 0.3s ease;
}

.colorcard-sharebutton:hover {
    background-color: #F0F1F1;
    cursor: pointer;
    border-bottom-right-radius: 5px;
}

.colorcard-likebutton:after {
    background-color: red;
}

.pseudo-creator {
	cursor: pointer;
	font-weight: bold;
}
.pseudo-creator:hover {
	text-decoration: underline;
}

/* Preview ColorCard */

#preview-colorcard {
    float: none;
    margin: 20px auto;
}

.preview-colorcard {
    background-color: #FCFDFD;
    width: 200px;
    border-radius: 5px;
    margin: 10px;
    font-family: 'Exo', sans-serif;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.3);
    float: left;
    transition: box-shadow 0.3s ease;
}

.preview-colorcard:hover {
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.5);
}

.preview-colorcard-palette {
    list-style-type: none;
    height: 200px;
    margin: 0;
    padding: 0;
}

.preview-colorcard-color-1 {
    height: 40%;
    background-color: #5C5C5C;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.preview-colorcard-color-2 {
    height: 30%;
    background-color: #8A8B8B;
}

.preview-colorcard-color-3 {
    height: 20%;
    background-color: #B8B9B9;
}

.preview-colorcard-color-4 {
    height: 10%;
    background-color: #E6E6E6;
}

.preview-colorcard-body {
    border-top: solid 1px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    overflow-wrap: break-word;
}

.preview-colorcard-title {
    margin: 10px;
    margin-bottom: 0px;
    font-size: 15px;
    text-transform: uppercase;
    word-wrap: break-word;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-colorcard-author {
    margin: 10px;
    margin-top: 0px;
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
    word-wrap: break-word;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-colorcard-footer {
    background-color: #FCFDFD;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-top: 10px;
    clear: both;
    border-top: solid 1px rgba(0, 0, 0, 0.1);
}

.preview-colorcard-footer-text {
    opacity: 1;
    height: auto;
    padding: 10px;
    transition: opacity 1s ease;
}

.preview-colorcard-footer:hover .colorcard-footer-text {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.preview-colorcard-likecount {
    float: left;
    font-size: 12px;
}

.preview-colorcard-posttime {
    float: right;
    font-size: 12px;
}

/* Bordel */

@keyframes click-button {
    0% {
        font-size: 12px;
        height: 16px;
    }
    50% {
        font-size: 8px;
        height: 16px;
    }
    100% {
        font-size: 12px;
        height: 16px;
    }
}

.animate {
    animation: click-button 0.2s 1;
}

.main-area {
    margin-left: 220px;
    margin-top: 10px;
    animation: cards-appear-anim 1s;
}

.wrap {
    max-width: 1760px;
    margin: 0 auto;
    position: relative;
}

.active {
    background-color: #F0F1F1;
}

.clear {
    clear: both;
}

@keyframes cards-appear-anim {
    0% {
        opacity: 0;
        margin-top: -100px;
    }
    50% {
        margin-top: 30px;
    }
    100% {
        opacity: 1;
        margin-top: 10px;
    }
}

@keyframes menu-appear-anim {
    0% {
        opacity: 0;
        margin-top: -200px;
    }
    50% {
        margin-top: 50px;
    }
    100% {
        opacity: 1;
        margin-top: 10px;
    }
}

.cards-container {
    display: none;
}

.profile-page {
    display: none;
}

.other-profile-page {
    display: none;
}

.display-none {
    display: none;
}

.activetab {
    display: block;
}

.footer-placeholder {
    height: 100px;
    width: 100%;
    clear: both;
}

/* Media Queries for responsive */

@media screen and (max-width: 685px) {
    .menu-area {
        position: relative;
        width: 200px;
        margin: 0 auto;
        margin-top: 10px;
    }
    .main-area {
        width: 200px;
        margin: 0 auto;
        animation: cards-appear-anim 1s;
    }
    .signup-modal-content {
        width: 300px;
    }
    .create-modal-content {
        width: 300px;
    }
    .contact-modal-content {
        width: 300px;
    }
    .settings-modal-content {
        width: 300px;
    }
    .settings-avatar-inputs {
        width: 100%;
        border-left: none;
    }
    .settings-avatar-palette {
        width: 280px;
        height: 280px;
        margin-bottom: -10px;
    }
    .palette-edit-container {
        width: 100%;
        float: left;
        margin: 0px;
        border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    }
    .colorcard-preview-container {
        width: 100%;
        border-left: none;
    }
}

@media screen and (max-width: 1774px) {
    .wrap {
        max-width: 1540px;
    }
}

@media screen and (max-width: 1554px) {
    .wrap {
        max-width: 1320px;
    }
}

@media screen and (max-width: 1334px) {
    .wrap {
        max-width: 1100px;
    }
}

@media screen and (max-width: 1114px) {
    .wrap {
        max-width: 880px;
    }
}

@media screen and (max-width: 994px) {
    .wrap {
        max-width: 660px;
    }
}