.hero {
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

.hero > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero > img {
    animation: zoomIn 15s forwards;
}

.hero video {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: var(--color-black);
    opacity: .25;
}

.hero .grid-container {
    position: relative;
    z-index: 3;
}


@keyframes zoomIn {
    to {
        transform: scale(1.25);
    }
}

@media (min-width: 64rem) {

    .hero {
        height: 100vh;
    }

    .hero h1 {
        font-size: 5rem;
        line-height: 1.2;
    }

    .hero--homepage h1 {
        font-size: 7.5rem;
    }

    .hero-paragraph {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    
}
@media (max-width: 63.9375rem) {
    .hero {
        aspect-ratio: 1;
    }
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero--homepage h1 {
        font-size: 3rem;
    }
}