* {
    font-family: 'Poppings', sans-serif;
    color: white;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
}

#title-bar-header {
    left: 0;
    top: 0;
    position: sticky;
    margin: 0;
}

#title-bar {
    display: flex;
    flex-direction: row;
    align-items: center;

    padding: 0.5em;
}

#title-logo {
    max-width: 10%;
    max-height: auto;
}

#title-title {
    display: inline-block;
    flex-grow: 1;
    text-align: center;
}

#page-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #38940c;
}

#login-frame {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex-grow: 1;
    height: 100%;
    margin: 0;
    padding: 2em;
    background-color: #e0f4d4;
}

#login-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min-content;

    border: 0.1em solid #38940c;
    background-color: white;
    padding: 0;
    margin: 0;
}

#login-columns {
    display: grid;
    gap: 1em;
    padding: 1em;
}

#login-columns label {
    padding: 0.2em;
    background-color: transparent;
    color: #38940c;
}

#login-columns input {
    padding: 0.2em;
    border: none;
    background-color: transparent;
    color: #4e555e;
}

#login-user-label {
    grid-row-start: 1;
    grid-column-start: 1;
}

#login-user-input {
    grid-row-start: 1;
    grid-column-start: 2;
}

#login-pass-label {
    grid-row-start: 2;
    grid-column-start: 1;
}

#login-pass-input {
    grid-row-start: 2;
    grid-column-start: 2;
}

#login-button-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

#login-submit {
    border: none;
    background-color: transparent;
    color: #4e555e;
    font-size: large;
    padding: 0.5em;
}

#login-submit[disabled]:hover {
    background-color: transparent;
    color: #4e555e;
}

#login-submit:hover {
    background-color: #38940c;
    color: white;
}

#login-error-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 1em;
    background-color: #f77979;
}

#login-error-msg {
    color: white;
    flex-grow: 1;
}

#files-frame {
    padding: 1em;
}

#button-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#button-bar button {
    border: none;
    border-radius: 0;
    padding: 0.7em;
    background-color: transparent;
    color: #4e555e;
}

#button-bar button:hover {
    background-color: #38940c;
    color: white;
}

#path {
    flex-grow: 1;
    color: #38940c;
    margin-left: 1em;
}

#files-box {
    border: 0.1em solid #38940c;
    margin-top: 1em;
    background-color: white;
}

.file, .file-guide {
    padding: 0.2em;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.file-guide {
    background-color: #7ed957;
    padding: 0.4em;
}

.file-icon {
    width: 50px;
}

.file-name {
    width: 30%;
}

.file-name-input {
    border: none;
    background-color: transparent;
    color: #38940c;
}

.file-owner {
    width: 10%;
    color: #38940c;
}

.file-mode {
    width: 10%;
}

.file-mode-select {
    border: none;
    background-color: transparent;
    color: #38940c;
}

.file-ma {
    color: #38940c;
}

input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.file-selected {
    background-color: #e0f4d4;
}

.file-selected * {
    color: #4e555e;
}

.file-mode-select[disabled] {
    border: 0 !important;  /*Removes border*/
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-overflow:'';
    text-indent: 0.01px; /* Removes default arrow from firefox*/
    text-overflow: "";  /*Removes default arrow from firefox*/
}

.file-guide * {
    color: white;
    font-size: large;
}

#files-error {
    display: flex;
    flex-direction: row;
    align-items: center;

    padding: 0.2em;
    background-color: #f77979;
}

#error-icon {
    width: 50px;
}

#error-title {
    color: white;
}

#error-msg {
    color: white;
}

.main {
    background-color: #7ed957;
    font-size: 2rem;
}

.highlight {
    font-family: 'Poppings', sans-serif;
    color: white;
}

.secondary {
    background-color: #e0f4d4;
    flex-grow: 1;
}

.button {
    background-color: #80858b;
}

::selection {
    background-color: #10cbff;
}

[hidden] {
    display: none !important;
}