body, html {
    margin: 0px;
    padding: 0px;
    border: 0px;
    width: 100vw;
    height: 100vh;
    font-size: 1vw;
    user-select: none;
    --color: DodgerBlue;
    --color_hover: red;
}

::-webkit-scrollbar {
    width: 0.5vw;
    height: 0.5vw;
    background-color: transparent;

}

::-webkit-scrollbar-track {
    border-radius: 0.5vw;
    background-color: white;

}

::-webkit-scrollbar-thumb {
    border-radius: 0.5vw;
    background-color: var(--color);
}

img, video {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    user-select: none;
    -webkit-user-drag: none;
}

img:hover{
    cursor: pointer;
}

video:hover{
    cursor: pointer;
}

a {
    outline: none;
    -webkit-user-drag: none;
}

button {
    border: 0px;
    padding: 0px;
    margin: 0px;
    outline: none;
    box-shadow: none;
    font-size: 1em;
    color: var(--color);
    background-color: transparent;
}

button:hover{
    cursor: pointer;
    color: var(--color_hover);
}

label {
    margin: 0px;
    padding: 0px;
    border: 0px;
    outline: none;
}

select {
    width: auto;
    padding: 0px;
    margin: 0px;
    outline: none;
    border: 0px;
    background: none;
    font-size: 1em;
    height: 1.5em;
    text-align: left;
    text-align-last: left;
    color: var(--color);
    box-shadow: 0px -1px 0px 0px var(--color) inset;
}

option {
    border: 0px;
    background: none;
    color: var(--color);
    font-size: 1em;
}

::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(100%);
}

input {
    outline: none;
    width: auto;
    margin: 0px;
    border: 0px;
    padding: 0px;
    font-size: 1em;
    line-height: 1.3em;
    text-align: left;
    background-color: transparent;
    color: white;
    box-shadow: 0px -1px 0px 0px var(--color) inset;
}

textarea {
    outline: none;
    width: auto;
    height: auto;
    margin: 0px;
    border: 0px;
    padding: 0px;
    resize: none;
    background-color: transparent;
    font-size: 1em;
    line-height: 1.3em;
    color: white;
    box-shadow: 0px -1px 0px 0px var(--color) inset;
}

p {
    margin: 0px;
    border: 0px;
    padding: 0px;
}

i {
    margin: 0px;
    border: 0px;
    padding: 0px;
}

div {
    margin: 0px;
    border: 0px;
    padding: 0px;
}

.flex {
    width: auto;
    height: auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 0px;
    padding: 0px;
    border: 0px;
    background-color: transparent;
    position: relative;
    transition: all 0.5s;
    overflow: auto;
    flex-shrink: 0;
}

.container {
    width: 100%;
    height: 100%;
}

.content {
    width: 100%;
    height: 100%;
    justify-content: space-around;
    align-items: flex-start;
    align-content: flex-start;
}

.file-input {
    width: auto;
    height: auto;
    box-shadow: 0px -1px 0px 0px var(--color) inset;
}

.file-input label {
    width: 100%;
    font-size: 1em;
    line-height: 1.3em;
    text-align: left;
    background-color: transparent;
    color: white;
}

.file-input input {
    display: none;
}

.modal {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0, 0.8);
    z-index: 9999;
    font-size: 2em;
    color: white;
}

.modal-content {
    width: 30%;
    height: auto;
    color: white;
    background-color: transparent;
    flex-flow: column wrap;
    animation: modal-fadein;
    animation-duration: 0.5s;
}

@keyframes modal-fadein {
    0% {opacity: 0.5; transform: scale(0.01);}
    100% {opacity: 1; transform: scale(1);}
}

.modal-content input {
    width: 100%;
    box-shadow: 0px -1px 0px 0px white inset;
    margin: 0.5em 0px 0.5em 0px;
}

.modal-content textarea {
    width: 100%;
    box-shadow: 0px -1px 0px 0px white inset;
    margin: 0.5em 0px 0.5em 0px;
}

.modal-content p {
    width: 100%;
    color: white;
    overflow: hidden;
}

.modal-content select {
    width: 100%;
    color: white;
    box-shadow: 0px -1px 0px 0px white inset;
    margin: 0.5em 0px 0.5em 0px;
}

.modal-content .file-input {
    width: 100%;
    box-shadow: 0px -1px 0px 0px white inset;
    margin: 0.5em 0px 0.5em 0px;
}

.modal-action {
    margin-top: 1em;
    width: 80%;
    justify-content: space-around;
}

.modal-action button {
    color: white;
}

.modal-action button:hover {
    color: var(--color_hover);
}

.modal-list {
    width: 100%;
    max-height: 50vh;
    flex-flow: column;
    justify-content: flex-start;
}

.modal-row {
    width: 100%;
    margin-top: 0.2em;
    justify-content: space-between;
}

.toolbar {
    position: fixed;
    right: 0vw;
    bottom: 1vw;
    width: auto;
    height: auto;
    flex-flow: column wrap;
    justify-content: flex-start;
    color: var(--color);
}

.toolbar-item {
    font-size: 2.5vw;
    color: var(--color);
    overflow: hidden;
    padding: 0.2em;
}

.toolbar-item:hover {
    cursor: pointer;
    color: var(--color_hover);
}

.toolbar-item-selected {
    color: var(--color_hover);
}

.mask {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
}

.mask-text {
    font-size: 1em;
    padding: 0.2em 0.5em 0.2em 0.5em;
    max-width: 75%;
    overflow: hidden;
    justify-content: flex-start;
}

.mask-background {
    background-color: rgba(0, 0, 0, 0.5);
}

.mask-icon {
    font-size: 1em;
    width: 1.5em;
    height: 1.5em;
}

.mask-left-top {
    position: absolute;
    color: white;
    left: 0px;
    top: 0px;
}

.mask-left-bottom {
    position: absolute;
    color: white;
    left: 0px;
    bottom: 0px;
}

.mask-right-top {
    position: absolute;
    color: white;
    right: 0px;
    top: 0px;
}

.mask-right-bottom {
    position: absolute;
    color: white;
    right: 0px;
    bottom: 0px;
}

.warning {
    color: red;
}

.red-highlight {
    color: red;
}

.left {
    width: 20%;
    height: 100%;
    flex-flow: column;
    justify-content: flex-start;
    background-color: var(--color);
}

.right {
    width: 80%;
    height: 100%;
    justify-content: space-around;
    align-items: flex-start;
    align-content: flex-start;
}

.tab {
    width: 90%;
    height: 2em;
    font-size: 2em;
    margin-left: 10%;
    color: white;
    background-color: transparent;
}

.tab-current {
    color: black;
    background-color: white;
}

.media-item {
    width: 18%;
    height: auto;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

.media-background-item {
    width: 18vw;
    height: 10.125vw;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

.magnify-right-top {
    position: absolute;
    right: 0px;
    top: 0.1em;
    color: white;
    font-size: 1.5em;
}

.magnify-right-top:hover {
    color: red;
}

.magnify-left-top {
    position: absolute;
    left: 0px;
    top: 0.1em;
    color: white;
    font-size: 1.5em;
}

.magnify-left-top:hover {
    color: red;
}

.magnify-content {
    width: 80%;
    height: auto;
}

.dislike {
    color: white;
}

.dislike:hover{
    color: white;
    filter: invert(0%);
}

.like {
    color: red;
}

.like:hover{
    color: red;
    filter: invert(0%);
}

.qr {
    width: 20vw;
    height: 20vw;
}

.qr:hover {
    cursor: none;
    width: 30vw;
    height: 30vw;
}

.background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media only screen and (max-width: 800px) {
    body, html {
        font-size: 5vw;
    }

    .toolbar-item {
        font-size: 8vw;
    }

    .modal-content {
        width: 80%;
        margin-bottom: 10%;
    }

    .magnify-content {
        width: 100%;
    }

    .media-item {
        width: 100%;
    }

    .media-background-item {
        width: 100%;
        height: 20%;
    }
}

