#body{
    display: flex;
    justify-content: center;
    align-content: flex-start;  
    flex-direction: row;
    background-color: var(--dark-color);; 
    padding-bottom: 5vh;
    min-height: 80vh;
    gap: 5vw;
    flex-wrap: wrap;
    padding-left: max(5vw, calc((100% - 1000px) / 2));
    padding-right: max(5vw, calc((100% - 1000px) / 2));
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

.project-button{
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 5vmin;
    margin-bottom: 5vmin;
    /* flex: 1; */
    max-width: 30vmin;
    aspect-ratio: 1/1;
    border: 1vmin;
    border-style: solid;
    border-color: white;
    transition: transform 0.2s ease
}

.project-button:hover {
    transform: scale(1.1)
  }

#project1-button{
    background-image: url("images/milkyway.png");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    background-size: cover;     
    background-position: center;  
    text-align: center;
}

#project2-button{
    background-image: url("images/venus.png");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    background-size: cover;     
    background-position: center;  
    text-align: center;
}

#project3-button{
    background-image: url("images/meteor.png");
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    background-size: cover;     
    background-position: center;  
    text-align: center;
}

#runaway_pdf{
    height:50vh;
    width: 50vw
}

.repo-button{
    background-color: var(--medium-color);
    padding: 1.5vmin;
    display: flex;
    flex-direction: row;
    text-decoration: none;
    border-radius: 20px;
    border-style: none;
    justify-items: center;
    align-items: center;
    font-family: "DM Sans", sans-serif; 
    border-radius: 20px;
    background-color: var(--dark-color);; 
    border-color: white;
    color: white;
    cursor: pointer;
    margin-top: 3vh;
    gap: 1%;
    height: 7vmin;
}

.repo-button:hover{
    transition-duration: 0.2s;
    color: var(--dark-color);
    background-color: var(--medium-color);
}

.repo-button .text{
    white-space: nowrap;
}

.repo-button img{
    height: 5vmin;
    width: auto;  
    object-fit: contain;
}

.pop-ups{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: flex-start;
    justify-content: center;
    z-index: 999;
    overflow-y: auto;
    padding-top: 10vh;
  }
  
.pop-up-content{
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
    border-radius: 20px;
    padding: 5vmin;
    margin-left: 10vw;
    margin-right: 10vw;
    margin-bottom: 15vh;  
    margin-top: 5vmin;
    min-width: 60%;
    position: relative;  
    padding-bottom: 5vh;
    padding-top: 5vh;
}

.pop-up-desc{
    margin-top: 3vh;
    text-align: justify;
}

.pop-up-images-section{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    flex-wrap: wrap;  
    gap: 2vw;
}

.pop-up-images{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
}
  
.pop-up-images img{
    height: 25vmin;
    object-fit: contain;
    border-radius: 20px;
    max-width: 100%;
    padding-top: 5px;
}

#poster {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#poster img{
    height: 45vmin;
    border-radius: 5px;
    max-width: 100%;
}

.close-button{
    position: absolute;
    top: 1px;        
    right: 15px; 
    font-size: 30px;
    text-decoration: none;
    color:  var(--dark-color);
}

.pop-ups:target{
    display: flex;
    justify-content: center;
}


