* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f0f2f5;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    height: fit-content;
    min-height: fit-content;
    width: 70%;
    background-color: white;
    border-radius: 10px;
    margin-top: 25px;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}

.mini,
.results {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.selected-image {
    max-width: 500px;
    margin-bottom: 10px;
}

#output {
    margin-top: 20px;
}

.predictions {
    margin-top: 10px;
    font-size: 14px;
}

h1 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: #333333;
    margin-bottom: 20px;
}


#prediction {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #333333;
}

pre {
    font-size: 12px;
    text-align: center;
    color: #333333;
    opacity: 0.7;
    margin-top: 20px;
    margin-bottom: 25px;
}

progress {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}


.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Select some files';
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3);
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}

.custom-file-input:hover::before {
    border-color: black;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.hidden {
    display: none !important;
}

button {
    display: inline-block;
    background-color: #d8d8d8;
    border: none;
    border-radius: 8px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    color: #333;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    padding: 10px 20px;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

button:hover {
    background-color: #bdbdbd;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

button:active {
    box-shadow: none;
    transform: translateY(2px);
}

.results {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

textarea {
    width: 70vw;
    height: auto;
    resize: vertical;
    outline: none;
    border: none;
    font-size: 16px;
}

#loading {
    text-align: center;
}

.running {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


::selection {
    color: #000;
    background-color: #c1daf3;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    border-radius: 20px;
    box-shadow: 0px 0px 20px -15px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #eeeff1;
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #b5b5b7;
    border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #818282;
    border-radius: 20px;
}

.time {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    gap: 8px;
}

#fileSizeA {
    font-size: 14px;
}