*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
}
body{
    background: #333;
}
.container{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-gap: 1rem;
}
::-webkit-scrollbar{
    display: none;
}
.container > div{
    height: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: .5rem;
}
.bg1{
    background-image: url('img/pexels-errin-casano-2356045.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: rgba(0,0,0,0.8);
    transition: .5s all ease;
}
.bg2{
    background-image: url('img/pexels-tim-grundtner-3856635.jpg');
    box-shadow: inset 1px 2px 50px black;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    transition: 1s background ease;
}
.bg2:hover,.bg1:hover{
    background: rgba(255, 255, 255, .2);
    scale: .97;
}
.container > div:nth-of-type(1){
    grid-column: 1 / 3;
}
.container > div:nth-of-type(6){
    grid-column: 3 / 5;
}
.container > div:nth-of-type(8){
    grid-column: 5 / 2;
}