body {
    margin: 0;
    min-height: 100vh;
    background-image: url('/images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.heroo {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-card {
    background: white;
    border-top-left-radius: 2vw;
    border-top-right-radius: 2vw;
    width: 80vw;
    padding: 1.5rem;
    position: relative;
    margin-top: 15.5vh;
    margin-bottom: 5vh;
}

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2vw;
}

.logo {
    color: #0800ff;
    font-size: 2vw;
}

.nav-links {
    display: flex;
    gap: 2vw;
}

.nav-links p {
    color: black;
    text-decoration: none;
    font-size: 1.2vw;
}

.nav-right {
    color: #0800ff;
    font-size: 2vh;
}

.hero-text {
    font-family: Blowbrush;
    text-align: center;
}

.period-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 1.5rem;

    max-height: 70vh;
    overflow-y: auto;

    padding-right: .5rem;
}

.period-card {
    position: relative;

    border-radius: 24px;
    overflow: hidden;

    aspect-ratio: 1;
    cursor: pointer;
}

.period-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: .3s;
}

.period-card:hover img {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 1rem;

    color: white;

    background: linear-gradient(transparent,
            rgba(0, 0, 0, .75));
}

.period-grid::-webkit-scrollbar {
    width: 8px;
}

.period-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 100px;
}

.timeline-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
    white-space: nowrap;
}

.timeline-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #777;
    cursor: pointer;
    transition: .25s;
    padding: .6rem 1rem;
    border-radius: 999px;
}

.timeline-btn:hover {
    color: black;
}

.timeline-btn.active {
    background: black;
    color: white;
}

.arrow {
    color: #999;
    font-size: 1.5rem;
}

.timeline-content {
    margin-top: 2rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 67fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.image-grid img {
    object-fit: cover;
    border-radius: 20px;
    transition: .3s;
    width: 300px;
    height: 225px;
}

.image-grid img:hover {
    transform: scale(1.03);

}

.dates {
    opacity: .7;
    margin-top: -10px;
}