/* 
    Home 
*/

.home-hero {
    position: relative;
    height: calc(100vh - 3rem);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem;
}

.home-hero-nav {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.home-hero-nav-item {
    padding: 0.5rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 4px;
    color: white;
}

.home-hero-project {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-hero-project-cover {
    width: 100%;
    height: 100%;
}

.home-hero-project-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-hero-project-cover .slideshow-slide,
.home-hero-project-cover .slideshow-slide-picture,
.home-hero-project-cover .slideshow-slide-picture-image {
    width: 100%;
    height: 100%;
}


.home-hero-project-thumbnails {
    position: absolute;
    left: 0.5rem;
    right: 0;
    bottom: 0.5rem;
    padding-right: 0.5rem;
    z-index: 10;
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
}

.home-hero-project-thumbnails .thumbnail {
    height: 25vh;
    width: auto;
    aspect-ratio: 4/3;
    min-width: 50vw;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.5);
}

/* Tablet (> 768px) */
@media screen and (min-width: 48rem) {
    .home-hero-project-thumbnails {
        left: unset;
        right: 0.5rem;
        bottom: 0.5rem;
        padding-right: 0;
    }

    .home-hero-project-thumbnails .thumbnail {
        min-width: unset;
    }
}


/* Timeline */
.home-timeline {
    height: calc(100vh - 4rem);
}

/* Tablet (>768px) */
@media screen and (min-width: 40rem) {
    .home-timeline {
        position: relative;
        height: calc(100vh - 2.3rem);
    }

    .home-timeline .card-timeline {
        width: 33vw;
        position: absolute;
        left: var(--randomX, 50%);
        top: var(--randomY, 50%);
        translate: -50% -50%;
    }

    .home-timeline .card-timeline.text {
        width: 20vw;
    }
}