* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

#home {
    padding: 25px;
    margin-bottom: 50px;
}

.flex-space-between {
    display: flex;
    align-items: center;
}

#qrcode > * {
    height: 96px;
}
#qrcode {
    margin-left: auto;
    margin-right: 3px;
}

.flex {
    display: flex;
}


#codeInput {
    display: block;
    border: none;
    padding: 0;
    width: 9ch;
    background: repeating-linear-gradient(90deg, dimgrey 0, dimgrey 1ch, transparent 0, transparent 1.5ch) 0 100%/ 8.5ch 2px no-repeat;
    font: 5ch droid sans mono, consolas, monospace;
    letter-spacing: 0.5ch;
}

#codeInput:focus {
    outline: none;
    color: dodgerblue;
}

#codeInputField > p {
    font: 2ch droid sans mono, consolas, monospace;
    color: gray;
}

.hiden{
    display: none !important;
}

#container {
    width: min(800px, 99%);
    margin: 15px;

    border: 3px solid gray;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
}

#container > * {
    margin: 15px;
    border: 3px solid gray;
    border-radius: 10px;
}

#containerHeader {
    display: flex;
    height: 100px;
    margin-top: 15px;
    align-items: center;
    justify-content: space-between;
}

#containerFiles {
    min-height: 650px;
    height: 100%;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    #containerFiles {
        min-height: 70vh;
        height: 100%;
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
    }
}



#noFiles-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
}

#noFiles {
    margin-bottom: 70px;
    font-weight: 300;
}
#noFiles > h1 {
    margin-bottom: 14px;
    font-size: 28px;
    font-weight: 300;
}
#noFiles > p {
    color: gray;
    font-size: 12px;
}

#nav-home {
    margin: 15px;
    border: 3px solid gray;
    border-radius: 10px;
    height: 70px;
    width: 70px;
    display: flex;
    justify-content: center;
}

#nav-home a {
    height: 95%;
    width: 95%;
}
#nav-home img {
    height: 100%;
    width: 100%;
}

#label {
    margin-top: 6px;
    font-size: 15px;
    margin-left: 3px;
    color: gray;
}

#containerId {
    font-size: 50px;
    font-weight: 400;
    position:relative;
    margin-top: -7px;
}
#files {
    display: flex;
    flex-direction: column;
}

.file, .progressBar {
    border: 3px solid gray;
    border-radius: 7px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#progressBars {
    --barTextWidth: 70%;
    display: flex;
    flex-direction: column;
}

#progressBars, #files {
    margin: 10px 10px 0 10px;
    gap: 10px;
}   

.file > * {
    margin: 0 5px;
}

.progressBar {
    position: relative;
    transition: width 0.3s ease;
}

.bar {
    height: 30px;
    background-color: green;
    transition: width 0.3s ease;
    border-radius: 4px;
    margin: 0 -2px;
    padding-right: 2px;
}

.activeBar {
    border-left-width: 5px
}

.activeBar .fileName {
    left: 3px !important;
}

.activeBarRight {
    border-right-width: 5px
}

.activeBarRight > .bar {
    padding-right: 4px !important;
}

.activeBarRight .progressPercentage {
    margin-right: -2px;
}

.progressBar .fileName, .progressBar .progressPercentage {
    position: absolute;
}

.progressBar .fileName {
    left: 5px;
    top: 4px;
}

.progressBar .progressPercentage {
    right: 5px;
    top: 5px;
}

.fileName {
    max-width: var(--barTextWidth);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.deleteLink {
    background: none;
    border: none;
    color: black;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    margin-bottom: 3px;
}

#someSpace {
    height: 30px;
}
