*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
section{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #333;
}
section h2{
    position: relative;
    width: 100%;
    height: 100vh;
    text-align: center;
    line-height: 100vh;
    font-size: 10vw;
    color: white;
    font-weight: 700;
}
.banner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
}
.banner .blocks{
    position: relative;
    display: block;
    width: 5vw;
    height: 5vh;
    animation: animate 0.5s ease-in-out forwards;
}
.banner .blocks:nth-child(even){
    animation: animate 1s ease-in-out forwards;
}
.banner .blocks:nth-child(7n+3){
    animation: animate 2.5s ease-in-out forwards;
}
.banner .blocks:nth-child(7n+7){
    animation: animate 1.5s ease-in-out forwards;
}
@keyframes animate {
    0%{
        opacity: 0;
        top:1000px;
    }
    50%{
        opacity: 1;
        background-image: url(thanos.jpeg);
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
    }
    100%{
        opacity: 1;
        top:0px;
        background-image: url(thanos.jpeg);
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
    }
}
@media (max-width: 500px) {
    @keyframes animate {
        0%{
            opacity: 0;
            top:1000px;
        }
        50%{
            opacity: 1;
            background-image: url(thanos_mobile.jpg);
            background-position: center;
            background-attachment: fixed;
            background-size: cover;
        }
        100%{
            opacity: 1;
            top:0px;
            background-image: url(thanos_mobile.jpg);
            background-position: center;
            background-attachment: fixed;
            background-size: cover;
        }
    }
}