* {
    margin: 0;
    padding: 0;
}
body{
    background: rgb(37, 37, 37);
    background-image: url(../img/gun\ background.jpg);
    /* background: radial-gradient(circle farthest-side at center center, #ff0000 0%, #ffff00 40%, #00b9ff 80%); */
    text-align: center;
    color: white;
}
h1 {
    background-size: 100%;
    font-size: 5em;
}
#container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* grid-template-columns: repeat(3, 1fr); */
    grid-column-gap: 5vw;
    grid-row-gap: 5vh;
    /* width: 100%; */
    padding: 20px;
    /* box-sizing: border-box; */
    max-width: 1980px;
    
    /* for positioning in the center horizontally */
    position: relative;
    margin: 0 auto;
}
.boxes{
    background-color: transparent;
    width: 100%;
    min-height: 200px;
    /* height: 400px; */
    /* border: 5px dotted rgb(193, 67, 67); */
    box-shadow: 17px 19px 16px 2px rgba(0,0,0,0.65);
-webkit-box-shadow: 17px 19px 16px 2px rgba(0,0,0,0.65);
-moz-box-shadow: 17px 19px 16px 2px rgba(0,0,0,0.65);
    /* border-radius: 23px; */
    height: fit-content;
}
@media only screen and (max-width: 1024px) {
    #container{
        grid-template-columns: 1fr 1fr;
    }
    /* .boxes{
        background-color: blueviolet;
    } */

}
@media only screen and (max-width: 640px) {
    #container{
        grid-template-columns: 1fr;
    }
    /* .boxes{
        background-color: initial;
    } */

}

figure.boxes img{
    width: 100%;
    /* border-radius: 19px; */
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform-origin: center;
    transition: all o.2s ease-in
} 
.boxes img:hover {
    transform: scale(1.5);
}
.img {
    float: left;
    width:  100px;
    height: 100px;
    background-size: cover;
}
figcaption {
    position: center;
    font-size: 1.5em;
    font-weight: bolder;
    background-color: transparent;
}