#boxOfImages{
    max-width: 200px;
    height: 175px;
    overflow: hidden;
    margin: 15px;
    margin-top: 0px;
    margin-bottom: 2px;
    float: left;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#boxOfImages img{
    width: 100%;
    object-fit: cover;
    max-height: 150px;
}

#boxOfImages p, #boxOfText p{
    margin: 5px 0 5px 0;
    font-size: 12px;
    text-align: center;
}

h6{
    margin: 5px 0 5px 0px;
    font-size: 12px;
}

#boxOfText{
    width: 100%; 
    max-width: 440px;
    height: 175px;
    float: left;
    overflow: hidden;
    margin-bottom: 2px;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 600px;
}

  
#boxOfImages:hover {opacity: 0.7;}

@media only screen and (max-width: 985px) {
    
}
@media only screen and (max-width: 930px) {
    
}
@media only screen and (max-width: 830px) {
}

@media only screen and (max-width: 770px) {     
   
}

@media only screen and (max-width: 490px) {
    #boxOfImages{
        max-width: 150px;
        height: 175px;
    }    
    #boxOfImages p { margin: 0px;}
}
@media only screen and (max-width: 390px) {
    #boxOfImages{
        max-width: 135px;
        height: 180px;
    }   
}
@media only screen and (max-width: 357px) {
    
}