@import url("https://fonts.googleapis.com/css2?family=Homenaje&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

body {
    margin: 0;
    padding: 0;
    font-family: "Nunito", serif;
    background: #edf2f4;
}

.container {
    width: 100%;
}

.top {
    width: 100%;
    background: black;
    color: #edf2f4;
    padding: 16px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.5);
}

.top p,
.top h1 {
    margin: 0;
}

.timeline {
    padding: 0px 8px;
    margin-top: 16px;
    margin-bottom: 16px;

    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline .point {
    display: flex;
    flex-direction: column;

    border-radius: 8px;
    /* border: 2px solid red; */
    padding: 8px;

    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.timeline .point.highlight {
}

/* effect-shine */
.highlight {
    background: black;
    color: white;
    -webkit-mask-image: linear-gradient(
        -75deg,
        #000 30%,
        rgba(0, 0, 0, 0.6) 50%,
        #000 70%
    );
    mask-image: linear-gradient(
        -75deg,
        #000 30%,
        rgba(0, 0, 0, 0.6) 50%,
        #000 70%
    );
    -webkit-mask-size: 200%;
    mask-size: 200%;
    animation: shine 5s infinite linear;
}

@keyframes shine {
    from {
        -webkit-mask-position: 150%;
    }

    to {
        -webkit-mask-position: -50%;
    }
}

.timeline .point .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline .point .header .title {
    font-size: 28px;
    font-weight: bold;
}
.timeline .point .header .date {
    opacity: 0.5;
}
