* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100vh;
    width: 100vw;
    background-color: var(--colors-gray1);
    font-family: 'Hanken Grotesk', Arial, sans-serif;
}

h2 {
    color: var(--colors-gray13);
    font-size: 1.5rem;
}

#logs-header {
    margin-top: 3em;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.project {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 100vh;
    margin: 0px auto;
    overflow: hidden;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 96px;
    margin-bottom: 96px;
}

.project-item {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% + 32px);
    position: relative;
    overflow: hidden;
    padding: 12px;
    margin: -12px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-radius: 12px;
    outline: 0px;
}


.item:hover {
    border-radius: 10px;
    background-color: var(--colors-grayA2);
}

.heading {
    display: inline-block;
    color: var(--colors-gray12);
    font-weight: 500;
    line-height: 28px;
    font-size: 14;
}

.sub-heading {
    margin-left: -8px;
    display: inline-block;
    color: var(--colors-gray10);
    font-weight: 400;
    line-height: 28px;
    font-size: 14px;
}

.line {
    flex: 1 1 0%;
    position: relative;
}

.line::before {
    content: "";
    position: absolute;
    bottom: -1px;
    height: 1px;
    width: 0px;
    z-index: 3;
    animation: 2s ease 0s 1 normal forwards running key1;
}

.line::after {
    content: "";
    position: absolute;
    bottom: -1px;
    height: 1px;
    width: 0px;
    animation: 2s ease 0s 1 normal forwards running key2;
}

.year {
    color: var(--colors-gray10);
    font-weight: 400;
    line-height: 28px;
    font-size: 14px;
}

@keyframes key1 {
    0% {
        background: transparent;
    }
    50% {
        background: var(--colors-gray10);
    }
    100% {
        width: 100%;
        background: transparent;
    }
}

@keyframes key2 {
    0% {
        background: transparent;
    }
    50% {
        background: var(--colors-gray5);
    }
    100% {
        width: 100%;
        background: var(--colors-gray8);
    }
}

@media (max-width: 728px) {
    .sub-heading {
        display: none;
    }

    .project {
        margin-top: 48px;
        margin-bottom: 48px;
    }

    #logs-header {
        margin-top: 1.25em;
    }
}


