body {
    --mn: min(1vw, 1vh);
    --mx: max(1vw, 1vh);
}

button img {
    width: 1rem;
}

#extract-section {
    display: none;
    gap: 2vh;
    flex-direction: column;
    align-items: center;
}

#extract-section button {
   align-self: start; 
}

#extracted-file {
    background: #333;
    border-color: #222;
    border-style: solid;
    border-radius: 4vw;
    margin: 0;
    padding: 2vw;
    text-align: center;
    max-width: 36vw;
}

#extracted-file figcaption {
    overflow-wrap: break-word;
    max-width: 100%;
}

#extracted-file img {
    max-width: 35vw;
}

#extracted-files-section {
    display: none;
    text-align: center;
    background: #333;
    border-radius: 1rem;
    border-width: 0.3rem;
    border-color: #222;
    border-style: solid;
}

or {
    display: flex;
    overflow: scroll;
    gap: 2vw;
    list-style: none;
    max-width: 80vw;
    padding: 2vw;
}

or figure {
    display: flex;
    gap: 1vw;
    flex-direction: column;
    min-width: 33%;
    border-color: #222;
    border-style: solid;
    border-radius: 1vw;
    margin: 0;
    padding: 2vw;
    align-items: center;
}

@media (min-width: 700px) {
    or figure {
        min-width: 20%;
    }
}

or figure figcaption {
    font-size: 0.8rem;
    overflow-wrap: break-word;
    max-width: 100%;
    max-height: 10vh;
    overflow: scroll;
    flex-grow: 1;
    align-content: center;
}

or figure img {
    background-color: #222;
    border-radius: 1vw;
    padding: 1vw;
    width: 80%;
}

#compress-section {
    display: none;
    flex-direction: column;
    gap: 3px;
    max-width: 80%;
    align-items: start;
}

#compress-wrapper {
    display: flex;
    max-width: 100%;
    gap: 1vw;
    flex-direction: column;
    background: #333;
    border-color: #202020;
    border-style: solid;
    border-radius: 2vw;
    padding: 1.5vw;
    min-height: 40vh;
    max-height: 60vh;
}

#filename-container {
    /* width: 80vw; */
    display: flex;
    gap: 1vw;
    padding: 1vw;
    align-items: center;
}

#filename-container label {
    width: min-content;
}

#filename {
    display: inline-block;
    padding: 4px;
    min-width: 4ch;
    width: 4ch;
    max-width: 100%;
    overflow: hidden;
    max-height: 30vh;
    min-height: 1rem;
    height: 1rem;
}

#filename-extension {
    background-color: #2e2e2e;
    padding: 6px;
    border-radius: 0.6rem;
}

#file-list {
    display: flex;
    flex-direction: column;
    gap: 0.6vw;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    overflow: scroll;
    flex-grow: 1;
    border-color: #222;

    border-top-style: solid;
    border-bottom-style: solid;
}

.file {
    display: flex;
    gap: 6px;
    background: #2a2a2a;
    padding: 0.6vw;
    margin-left: 1.2vw;
    margin-right: 1.2vw;
    border-radius: 1vw;
    align-items: center;
}

.fileName {
    margin-left: 1vw;
    width: 100%;
}

.icon {
    width: 1rem;
    padding: 0.8vw;
}

.removeBtn {
    height: 1.8rem;
    width: 1.8rem;
}

#compress-section-choice {
    display: flex;
    gap: 1vw;
}

#compress-btn {
    flex-grow: 1;
}

#add-btn {
    display: flex;
    width: calc(var(--mx) * 6);
    height: calc(var(--mx) * 6);
    justify-content: center;
    align-content: center;
}

.FileDialog_info {
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.FileDialog_info img {
    width: 80%;
    align-self: center;
}

.FileInfo_label {
    display: flex;
    justify-content: space-between;
}

.FileInfo_label label {
    margin-right: 2vw;
}

.FileInfo_label span {
    text-align: right;
    overflow: scroll;
}
