﻿@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800,900&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#710c19;

}

section {
    position:relative;
    width:100%;
    height:100vh;
    transform-style:preserve-3d;
    perspective:500px;
}

section h2{
    position: relative;
    width: 100%;
    height: 100vh;
    text-align:center;
    line-height:100vh;
    font-size:10vh;
    color:#fff;
    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: 5vh;
        height: 5vh;
        /*background:#fff;*/
        animation: animate 2s ease-in-out forwards;
        animation-delay: 1s;
    }

@keyframes animate{
    0%{
        transform:translateZ(2000px);
        background: url("26-Fundo.jpg");
        background-position:center;
        background-attachment:fixed;
        background-size:cover;
        box-shadow:0 5px 15px rgba(0,0,0,0.5); 
    }

    100% {
        transform: translateZ(0px);
        background: url("26-Fundo.jpg");
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
        /*border:1px solid rgba(0,0,0,.1);*/
        box-shadow: 0 5px 15px rgba(0,0,0,0);
    }
}

section.active .banner .blocks {
    animation: animateTwo 2s ease-in-out forwards;
    background: url("26-Fundo.jpg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    border: 1px solid rgba(0,0,0,.1);
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.5);*/
}

@keyframes animateTwo {
    0% {
        transform: translateZ(0px);
        background: url("26-Fundo.jpg");
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

    100% {
        transform: translateZ(2000px);
        background: url("26-Fundo.jpg");
        background-position: center;
        background-attachment: fixed;
        background-size: cover;
        border: 1px solid rgba(0,0,0,.1);
        box-shadow: 0 5px 15px rgba(0,0,0,0);
    }
}

