@import url('./components/base.css');
@import url('./components/reset.css');
@import url('./components/card.css');

body {
 background-image: url('./images/matrix2.jpg');
    display: grid;
    place-items: center;
    min-height: 100vh;
    color: var(--White);
    font-family: "Inter", sans-serif;
   
    
}

main {
    /* update for the new animation */
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    overflow: hidden;
     
}

main::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(var(--Grey-bg),
            var(--Grey-bg rgba(0, 0, 0, 0.5)),
            var(--Grey-bg));
    animation: animate 5s linear infinite;
}

/* background animation... */
@keyframes animate {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* grid of the animation... */
main span {
    position: relative;
    display: block;
    width: calc(6.25vw - 2px);
    height: calc(6.25vw - 2px);
    background-color: var(--Grey-900);
    z-index: 10;
    transition: 1.5s;

    &:hover {
        background-color: var(--transparency-75);
        transition: 0s;
    }
}


