*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #111;
    overflow-x: hidden;
}
section{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
section h2{
    position: relative;
    color: #fff;
    font-size: 8vw;
    font-weight: 500;
}
.container{
    position: relative;
    top: -200px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 700px;
    grid-gap: 30px;
}
.container .box{
    position: relative;
    top: 50vh;
    width: 200px;
    height: 200px;
    transition: 0.5s;
    background: #fff;
    border-radius: 10px;
}
.container .box:nth-child(3n+1){
    transform: translate(-400px,0) scale(0);
}
.container .box:nth-child(3n+2){
    transform: translate(0,400px) scale(0);
}
.container .box:nth-child(3n+3){
    transform: translate(400px,0) scale(0);
}
.container .box.active{
    transform: translate(0,0) scale(1);
}