.project-gallery{
    margin-top: 0px;
    height: 500px;
    width: 400px;
    float: right;
    overflow: scroll;
    scrollbar-color: rgba(73, 78, 63, .5);
    margin-left: 30px;
    margin-bottom: 30px;
}
.project-gallery a{
    display: block;
    height: 100%;
}


.gallery-imgs{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    float: right;
    gap: 1.5em;
    height: 100%;
   
}

video{
    height: 500px;
    width: auto;
}
.gallery-imgs img{
    width: 400px;
    overflow: scroll;
    border-radius: 5px;
}

.proj-description{
   text-align: right;
   margin-left: 80px;
   padding-right: 10px;
   margin-top: 30px;
}

li{
    list-style: none;
}
.programs{
    float: right;
    padding-top: 70px;

}
.programs h3, .programs li{
    float: right;
    
}
.programs h3, .programs ul{
    display: flex;
    flex-direction: column;
    
}
.programs ul{
    clear: both;
}

.img-resize{
    scale: 95%;
    margin: 0;
    padding: 0;
}

#book-frame{
    height: 485px;
}
.previous-next{
    padding-top: 30px;
    
    border-top: 2px solid rgba(93, 109, 62, 0.75);
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    
}
.previous-next a{
    color: rgba(93, 109, 62, 0.75);
    font-size: 20px;
   
    text-decoration: none;
}
.previous{
    display: flex;
    float: left;
    margin-left: 0;
    margin-right: auto;
}
.next{
    display: flex;
    float: right;
    margin-right: 0;
    margin-left: auto;
}
.previous a, .previous img, .next a, .next img{
    display: inline-flex;
    align-items: center;
}


@media (max-width: 940px){
    .project-gallery{
        
        float: none;
        margin-left: auto;
        margin-right: 0px;
        height: 495px;
        
    }
    
    .programs{
        padding-top: 20px;
        border: 2px;
    }
   
}

@media (max-width: 630px){
    video{
        height: 300px;
        width: auto;
    }
    .project-wrapper{
        display: flex;
        flex-direction: column;
    }
    .proj-description, .programs{
      order: 1;
        text-align: left;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .programs h3, .programs li{
        float: none;
        text-align: left;
        
    }
    .programs li, .programs ul{
        padding-left: 0;
    }
    
    .project-gallery{
        height: 100%;
        width: auto;
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
        order: 2;
        
        
    }
    .gallery-imgs img{
        width: 100%;
        border-radius: 5px;
    }
}