/*Efeito botão animado*/
.btn-animated {		
    animation: bounce-top 2.2s ease-out 0s infinite normal none;
}

@keyframes bounce-top {
            
    0% {
        transform:translateY(0);
    }
    25% {
        transform:translateY(0);
    }
    40% {
        transform:translateY(-2.4rem);
    }
    55% {
        transform:translateY(0);
    }
    65% {
        transform:translateY(-1.2rem);
    }
    75% {
        transform:translateY(0);
    }
    82% {
        transform:translateY(-0.6rem);
    }
    87% {
        transform:translateY(0);
    }
    93% {
        transform:translateY(-0.4rem);
    }
    100% {
        transform:translateY(0);
    }
}

/*Efeito reveal nas divs*/
.reveal {
    position: relative;
    transform: translateY(14.4rem);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/*Background animado*/
@keyframes cube {
    from {
        transform: scale(0) rotate(0deg) translate(-50%, -50%);
        opacity: 1;
    }
    to {
        transform: scale(20) rotate(960deg) translate(-50%, -50%);
        opacity: 0;
    }
}

.background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    background: #fff111;
    z-index: -22;
}

.background li {
    position: absolute;
    top: 80vh;
    left: 45vw;
    width: 10px;
    height: 10px;
    border: solid 1px #e5d80f;
    color: transparent;
    transform-origin: top left;
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    animation: cube 13s ease-in forwards infinite;
}

.background li:nth-child(0) {
    animation-delay: 0s;
    left: 79vw;
    top: 97vh;
    border-color: #ffff12;
}

.background li:nth-child(1) {
    animation-delay: 2s;
    left: 37vw;
    top: 69vh;
}

.background li:nth-child(2) {
    animation-delay: 4s;
    left: 45vw;
    top: 29vh;
    border-color: #ffff12;
}

.background li:nth-child(3) {
    animation-delay: 6s;
    left: 65vw;
    top: 81vh;
}

.background li:nth-child(4) {
    animation-delay: 8s;
    left: 10vw;
    top: 55vh;
    border-color: #ffff12;
}

.background li:nth-child(5) {
    animation-delay: 10s;
    left: 94vw;
    top: 11vh;
}

.background li:nth-child(6) {
    animation-delay: 12s;
    left: 59vw;
    top: 23vh;
}

.background li:nth-child(7) {
    animation-delay: 14s;
    left: 20vw;
    top: 46vh;
    border-color: #ffff12;
}

/*Border das imagens*/
.border-pic {
    border: solid 1rem #fff555;
    padding: 1.5rem;
}

/*pop-up galeria*/
.mfp-img {
    width: auto !important;
}

.mfp-close {
    color: black !important;
    cursor: default !important;
}