/* -- Hero -- */
.hero {
    display: grid;
    position: relative;
    width: 100%;
    height: 600px;
    /* overflow: hidden; */
}

.hero-image {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Pushes the image behind other elements */
}
.blurred-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(50%);
    filter: saturate(1.5);
    mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
    overflow: hidden;
    pointer-events: none;
    z-index: -2;
}
.blurred-hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(2, 1.25);
    filter: blur(20px);
    opacity: 0.65;
}
.hero picture, .hero source { display: contents; }

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: flex-start;
    /* justify-content: right;
    align-items: center; */
    z-index: 1;
    box-sizing: border-box;
    padding-right: var(--page-padding-horizontal);;
    padding-top: 150px;
    padding-bottom: 72px;
    height: 100%;
}
.hero-logo-heading {
    height: 5rem;
    width: auto;
}
.hero-content .available-at-amazon-button {
    background-color: rgb(from var(--gray-background) r g b / 0.5);;
    border: 0;
    padding-bottom: 0.5rem;
}
.hero-content .available-at-amazon-button:hover {
    background-color: var(--gray-background);
}

/* -- Video -- */
.preview-video-large {
    padding-left: var(--page-padding-horizontal);
    padding-right: var(--page-padding-horizontal);
    text-align: center;
    justify-items: center;
}
.preview-video-large h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}
.preview-video-large video {
    display: block;
}
.preview-video-large .button-row {
    margin-top: 1rem;
}

/* -- Mobile/Small screen support -- */
@media (max-width: 749px) {
    .hero {
        height: 400px
    }
    .hero-logo-heading {
        height: 4rem;
    }
    .hero-content {
        padding: 5%;
        align-items: flex-end;
        justify-content: center;
    }
    .hero-content .button-row {
        flex-direction: column;
    }
    .hero-content .available-at-amazon-button {
        display: none;
    }

    .preview-video-large video {
        width: 100%
    }
}