.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.overlay-content {
    text-align: center;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    position: relative;
}

.overlay-content p{
    margin: 0;
    color: white;
    font-size: x-large;
}

.overlay div:not(.imageExpand).img{
    position: absolute;
    z-index: 1001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.overlay .close-overlay-button{
    display: none;
    outline: none;
    border: none;
    color: white;
    background-color: #3b3b3b;
    border-radius: 10px;
    font-size: x-large;
    cursor: pointer;
    padding: 5px 10px;
}

.overlay .close-overlay-button:hover{
    background-color: #2a2a2a;
}

.overlay-content .progress-bar{
    height: 20px;
    width: 0%;
    background: #4caf50;
    transition: width 0.2s ease;
}

.overlay-content .progress-bar-container{
    display: flex;
    justify-content: left;
    align-items: center;
    width: 50vw;
    outline: 3px solid white;
    background: rgb(54, 54, 54);
}

.overlay.imageExpand .overlay-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    height: 100%;
}

.overlay.imageExpand img{
    max-width: 75vw;
    max-height: 75vh;
}

.overlay.imageExpand button{
    outline: 1px solid black;
    background-color: white;
    border-radius: 10px;
    padding: 5px;
    font-size: 1.5rem;
    cursor: pointer;
}

.overlay.imageExpand button:hover{
    background-color: rgb(242, 242, 242);
}

.overlay-button-row{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}