*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container{
    width: 800px;
    height: 200px;
    display:grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: 1fr;
    gap: 5px;
}

.box{
    height: 200px;
    width: 200px;
    background-color: orange;
}

img{
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 900px){
    .container{
        height: 400px;
        width: 400px;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,1fr);
    }
}

@media screen and (max-width: 500px){
    .container{
        height: 800px;
        width: 200px;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4,1fr);
    }
}