/*/css/index.css*/

* {
    font-family: Arial, sans-serif;
    --base_text_color: #AEABAF;
    --border_color: #282828;
    --base_bg: #121212;
    --accent-color: #ff4d4f;
    box-sizing: border-box;
    --span-font-size: 0.85em;
    background: transparent;
    --border_radius: 1.5rem;
}

h1, h2, h3, h4, h5, p, span, textarea, a, input {
    overflow-wrap: break-all;
    word-wrap: break-all;
    word-break: break-all;
    text-align: center;
    text-align: start;
    color: var(--base_text_color);
    outline: none;
    font-size: var(--span-font-size);
    text-decoration: none;
}

h1 {
    font-size: 0.9em;
    color: var(--base_text_color);
}

span {
    font-size: var(--span-font-size);
    display: flex;
    flex-direction: column;
    place-items: center;
    place-content: center;
    border-radius: 20px;
    color: var(--base_text_color);
    position: relative;
    outline: none;
    background-color: #282828;
    text-align: start;
    padding: 0.1rem 0.5rem;
}

svg {
    background: transparent;
}

body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    background: var(--base_bg);
    color: var(--base_text_color);
    padding: 0rem 1rem;
    margin: 0;
}

header {
    display: flex;
    flex-direction: column;
    background: transparent;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 2000;
    padding-right: 2.0rem;
}

header .menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background: transparent;
    place-content: center;
    place-items: center;
    justify-content: space-between;
    padding-top: 1.0rem;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1000;
    background: transparent;
    width: 100%;
    position: fixed;
    bottom: 0;
    z-index: 2000;
    place-content: center;
    place-items: center;
    gap: 10px;
    padding-top: 0.2rem;
    padding-bottom: 0.5rem;
}

img {
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px;
}

a {
    text-decoration: none;
}

section {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    place-content: center;
    place-items: center;
    gap: 1.0rem;
}

main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    background-color: transparent;
    color: var(--base_text_color);
    margin-top: 5.0rem;
    margin-bottom: 5.0rem;
    gap: 1.0rem;
}

.loader {
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    place-content: center;
    place-items: center;
    z-index: 1000;
}

.loader svg {
    height: 48px;
    width: 64px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 100%;
    background: var(--base_bg);
    color: var(--base_text_color);
    padding: 0.1rem;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 5000;
    gap: 0.1rem;
    border-radius: var(--border_radius);
    transform: translateX(-100%);
    transition: transform 0.1s cubic-bezier(0.34, 1.56, 0.64, 1);
    place-content: start;
    place-items: center;
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar a {
    display: flex;
    color: var(--base_text_color);
    padding: 10px;
    text-decoration: none;
    border-radius: 20px;
}

.sidebar img {
    width: 100%;
    height: 100%;
}

.sidebar a:hover {
    background: #575757;
}

.main_header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    place-content: center;
    place-items: center;
    justify-content: space-evenly;
}

.files {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    grid-template-rows: repeat(1, 1);
    position: relative;
    background-color: transparent;
    justify-content: space-between;
    place-items: center;
    place-content: center;
}

.file {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background-color: rgba(0, 110, 255, 0.075);
    padding: 0.01rem;
    border-radius: var(--border_radius);
    outline: none;
    color: black;
    border: none;
    place-items: center;
    place-content: center;
    justify-content: space-evenly;
}

.metadata {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    place-content: center;
    place-items: center;
}

.file section {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    place-content: center;
    place-items: center;
    padding: 0.3rem;
    background: var(--base_bg);
    border-radius: 0.8rem;
}

.file .file_preview {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    height: auto;
    background: transparent;
    position: relative;
}

.preview {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    place-content: center;
    place-items: center;
    padding: 0.3rem;
    background: transparent;
    border-radius: 0.8rem;
}

.file_upload {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0.01rem;
    justify-content: space-evenly;
    border-radius: var(--border_radius);
    outline: none;
    color: black;
    border: none;
}

.progress {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    place-content: center;
    place-items: center;
    width: 100%;
    justify-content: space-between;
}

.progress_span {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    place-content: center;
    place-items: center;
    background: transparent;
    width: 100%;
}

.progresses {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    border-radius: var(--border_radius);
    border: 0.1rem solid var(--border_color);
    width: 100%;
}

.extra_progresses {
    display: flex;
    flex-direction: row;
    padding: 0rem;
    justify-content: space-evenly;
    border-radius: var(--border_radius);
    border: 0.1rem solid var(--border_color);
    width: 100%;
}

.sticky_file {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background: transparent;
    width: 100%;
    place-content: center;
    place-items: center;
    justify-content: space-between;
}

.loader_area {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background: transparent;
    width: 90%;
    justify-content: flex-end;
}

.progress input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 0.7rem;
    background: transparent;
    border-radius: 5px;
    outline: none;
}

.progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.1em;
    height: 1.1em;
    background: #020024;
    border-radius: 50%;
    cursor: pointer;
    overflow: visible;
}

.main_eof {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background: transparent;
    place-content: center;
    place-items: center;
    justify-content: space-between;
};