* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 16px;
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    color: #1d1c1f;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #1e112a;
    display: flex;
    flex-direction: column;
}

/* Header */

#header {
    font-size: 2em;
    padding: 0.5em 1em;
    background-color: #f1f1f1;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
}

/* #header #marking {
    font-size: 2em;
} */

#header #marking a,
#header #marking a:active,
#header #marking a:visited {
    text-decoration: none;
    color: #1d1c1f;
}

#header #marking a,
#header #marking a .marking-cont {
    display: flex;
    justify-content: start;
    align-items: center;
}

#header #marking a .marking-cont {
    column-gap: 0.625em;
}

#marking-main > img {
    height: 3em;
    width: auto;
}

#marking-main h1 span:last-child {
     color: #8120ab;
}

#marking-extra h2 {
    font-size: 0.75em;
}

#marking-extra h2 span:first-child {
    margin-left: 0.625em;
}

#buttons {
    display: flex;
    justify-content: end;
    align-items: center;
}

#bluemap > img {
    height: 3em;
    width: auto;

    border-radius: 0.25em;
}

/* Main */

#content {
    flex-basis: 100%;
    flex-shrink: 1;
    flex-grow: 0;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    
    padding: 4em 2em;

    color: #fbfbfb;

    column-gap: 2.5em;
}

#file-list {
    height: 100%;
    flex-basis: 60%;
    flex-shrink: 1;
    flex-grow: 0;

    display: flex;
    flex-direction: column;
    justify-content: start;

    row-gap: 0.625em;

    font-size: 2em;
}

.file {
    width: 100%;
    padding: 0.625em 1.25em;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #4b2b69;
    filter: drop-shadow(0.3125em 0.3125em 0.1875em #150d1e);
    cursor: pointer;
}

.file div, .file a {
    display: flex;
    align-items: center;
    column-gap: 0.625em;
}

.file div img {
    height: 1.5em;
    width: auto;
}

.file div a > img:hover {
    transform: scale(1.05);
}

.file.selected {
    background-color: #7a46ab;
    transform: scale(1.01);
}


#file-properties {
    height: 100%;
    flex-basis: 40%;
    flex-shrink: 1;
    flex-grow: 0;

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;

    row-gap: 0.9375em;

    background-color: #260544;
    filter: drop-shadow(0.3125em 0.3125em 0.1875em #150d1e);

    border-radius: 0.125em;
    padding: 1.25em 1.5625em;
}

#file-properties .file-properties-field {
    width: 100%;

    border-radius: 0.25em;

    background-color: #38045d;
    filter: drop-shadow(0.3125em 0.3125em 0.1875em #210237);
}

#file-properties .no_file_selected {
    text-align: center;
    font-size: 3em;
}

#first {
    display: flex;
    justify-content: center;
    align-items: start;
}

#first > div {
    flex-basis: 50%;
    flex-shrink: 1;
    flex-grow: 0;
}

#first .left {
    padding: 0.3125em;
    height: 100%;

    display: flex;
    justify-content: end;
    align-items: center;
}

#first .left img {
    height: auto;
    width: 100%;

    border-radius: 0.125em;
}

#first .right {
    height: 100%;
}

.column-info-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    row-gap: 0.625em;
    padding: 0.625em;
}

.info-container {
    width: 100%;
    padding: 0.3125em 0.625em;
    background-color: #52346c;
    border-radius: 0.125em;

    font-size: 1.3em;

    box-shadow: inset 0.125em 0.125em 0.25em #2a1b37;
}

.info-container .title {
    font-size: 0.8em;
    color: #abaaaa;
}



@media (1280px < width <= 1600px) {
    :root {
        font-size: 14px;
    }
}

@media (920px < width <= 1280px) {
    :root {
        font-size: 12px;
    }
}

@media (width <= 920px) {
    :root {
        font-size: 10px;
    }

    #content {
        flex-direction: column;
        justify-content: start;
        align-items: center;
        row-gap: 2em;
    }

    #file-list {
        flex-basis: 0;
        width: 100%;
    }
}

@media (width <= 760px) {
    :root {
        font-size: 10px;
    }

    #header {
        row-gap: 1em;
    }

    #marking > a{
        flex-direction: column;
    }

    #marking-extra h2 > span:first-child {
        display: none;
    }
}

@media (width <= 480px) {
    #header {
        font-size: 1.5em;
    }
}

@media (width <= 380px) {
    #header {
        font-size: 1.25em;
    }
}


.hidden {
    display: none !important;
}
