body{
    margin: 0%;
    background-color: #ffdbff;
}


.gallery {
    background-color: #ffdbff;
    /* background coulor*/
    font-family: Arial, Helvetica, sans-serif;
    margin: 0%;
}

.list-font{
    
    font-size: x-large;
    font-weight: 500;
    
}


.galleryh2 {

    text-decoration: underline;
    margin-top: 1%;
    text-align: center;
    font-size: 30px;
}

.galleryh3 {
    text-align: center;
    background-color: rgb(73, 73, 73);
    margin-bottom: 0%;
    padding-top: 10px;
    color: white;
}


/*creation of a flex box system for images*/

.gallery-flex-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgb(73, 73, 73);
    padding-bottom: 20px;

}

.gallery-flex-img div {
    flex-direction: row;
    margin-left: 20px;
    margin-top: 20px;
    border: 2px solid black;
    background-color: black;
    border-top: 5px solid black;
    color: white;
    border-radius: 6px;

}

.gallery-flex-img div img {
    display: block;
    width: auto;
    height: 250px;
    margin: auto;
    border-radius: 6px;
}

.gallery-flex-img div p {
    width: 150px;
    text-align: center;
    margin: auto;

}




/*end of creation of a flex box system for images*/

@media only screen and (max-width: 600px) {

    /*media queries fixes erros for mobile devices*/
    .gallery-flex-img div {
        flex-direction: column;
    }

    .gallery-flex-img div {
        margin-left: 0%;
        width: 90%;
    }

    .gallery-flex-img div img {
        width: 100%;
        height: auto;
    }

    .gallery-flex-img div p {
        width: 95%;
    }
    
    .list-font{
    
    font-size: x-large;
    font-weight: 500;
    
}
}