body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #dce1e8;
}
#myProgress {
width: 100%;
background-color: #ddd;
opacity: 0;
}

#myBar {
width: 1%;
height: 30px;
background-color: #598392;
text-align: center;
line-height: 30px;
color: white;
}
#viewerContainer {
    position: relative;
    width: 100%;
    z-index: 1;
} 

#uploadContainer {
    width: 100%;
    margin-top: 10px;
    opacity: 0;
}

#fileInputContainer {
    position: absolute;
    margin: 5px;
    background-color: #ffffff80;
    z-index: 3;
}
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #124559;
    color: white;
    padding: 10px 20px;
}

.nav-left, .nav-right {
    flex: 1;
}

.slicer-title {
    flex: 2; /* Gives the title more space and centers it */
    text-align: center;
    margin: 0; /* Removes default margin from the h1 tag */
}

.nav-item {
    background-color: #598392;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.textinput {
    padding: 10px 20px;
    text-align: left;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    width: 50%;
}
.secondary-nav-item{
    padding: 10px 20px;
}

.nav-item:hover {
    background-color: #01161E;
}
.secondary-nav-item:hover {
    color: #01161E;
}
#uploadButton {
/* Add any specific styles for the "Slice" button here */
/* Example: making the button slightly larger */
font-size: 18px; /* Larger text */
padding: 12px 24px; /* Larger padding */
}
#filesContainer {
    display: flex;
    flex-direction: column;
    height: 70%;
    width: fit-content;
    gap: 10px;
    padding: 40px;
    overflow: scroll;
}

.file-item {
    display: flex;
    align-items: center;
    background-color: #6f8b9e;
    border-radius: 20px;
    padding: 10px;
    width: 500px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.5);
}


.thumbnail {
    width: 70px;
    height: 70px;
    background-color: #f8f8f8;
    border-radius: 10px;
    margin-right: 20px;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.file-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.file-name {
    flex-grow: 1;
    color: #fff;
}

.download-button {
    width: 50px;
    height: 50px;
    background-color: #375d81; 
    border: none;
    border-radius: 50%;
    background-image: url('download-icon.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.download-button:hover {
    width: 50px;
    height: 50px;
    background-color: #01161E; 
    border: none;
    border-radius: 50%;
    background-image: url('download-icon-hover.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}