html {
    overflow: -moz-scrollbars-vertical;
}

body {
    background: #ffffff;
    font-family: 'DM Sans';
    font-size: 18px;
    color: #3c3d3f;
    text-align: left;
    max-width: 100%;
    margin: auto;
}

#main-content {
    font-family: inherit;
    max-width: 60%;
    margin: auto;
}

#login-form {
    font-family: inherit;
    max-width: 60%;
    margin: auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    margin-left: 20px;
    margin-right: 20px;
    height: 64px;
}

footer {
    margin-bottom: 20px;
}

header #title {
    color: black;
    text-decoration: none;
    margin: auto;
    font-size: 48px;
}

header #header-spacer {
    width: 320px;
}

#user-pagination {
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.image-form-cont {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 20px;
}
  
.current-img {
    width: 60%;
    height: 30%;
    margin: auto;
}

.img-buttons {
    width: 60%;
    margin: auto;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

img {
    width: 100%;
    border-radius: 5px;
}

.img-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
}

.img-info h2 {
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 3px;
}

.img-info h4 {
    margin-top: 0px;
    margin-bottom: 10px;
    font-weight: normal;
}

.current-img-cont {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    margin-top: 20px;
    text-align: center;
}

.alert {
    color: red;
}

.icon {
    width: 35px;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: all .2s ease-in-out;
}

.icon:hover {
    transform: scale(1.08) perspective(1px);
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.delete-icon {
    background-image: url("../media/delete.png");
}

.cmt-up {
    background-image: url("../media/up.png");
}

.cmt-down {
    background-image: url("../media/down.png");
}

.comment-cont {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.toggle-cmt-spacer {
    width: 35px;
}

.cmt-button-row {
    display: flex;
    flex-direction: row;
    padding: 10px;
    border-radius: 10px;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 20px;
    background-color: #f2f1f6;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.current-comments {
    padding: 10px;
    border-radius: 10px;
    background-color: #ecebf2;
}

.comment {
    font-size: 15px;
    display: flex;
    flex-direction: column;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    background-color:#ffffff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.comment .comment_user {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment .comment_content {
    font-size: 18px;
    margin-left: 4px;
}

.comment .delete_cont {
    display: flex;
    flex-direction: row;
    justify-content: end;
    margin-bottom: 5px;
}

button {
    border-radius: 10px;
    border-width: 0px;
    text-align: center;
    font-size: 15px;
    font-family: inherit;
    color: #ffffff;
    background: #1f1f4c;
    padding: 5px 10px 5px 10px;
    margin: auto;
    transition: all .2s ease-in-out;
}

button:hover {
    transform: scale(1.08) perspective(1px);
    transition: all .2s ease-in-out;
    cursor: pointer;
}
  