#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
}

#project {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 10vw;
}

#project-headline {
    display: flex;
    height: 4vw;
}

#project-title {
    width: 80%;
    margin: auto 0 auto 10%;
    color: white;
    text-align: center;
    font-size: 0.8vw;
}

#project-close-button {
    color: lightgray;
    font-size: 4vw;
    line-height: 4vw;
    width: 10%;
    text-align: right;
    cursor: pointer;
}

#project-close-button:hover {
    color: white;
}

#project-image-line {
    display: flex;
    margin: 1vw 0;
}

#project-image {
    border: 0.05vw solid gray;
    max-height: 70vh;
    max-width: 70vw;
    display: block;
    margin: auto;
}

#project-image-line-left, #project-image-line-right {
    color: lightgray;
    font-size: 4vw;
    margin: auto 0;
    cursor: pointer;
}

#project-image-line-left:hover, #project-image-line-right:hover {
    color: white;
}

#project-description {
    color: white;
    font-size: 0.8vw;
    height: 7vw;
    width: 80vw;
    text-align: center;
}