:root {
    --primary-color: #333;
    --secondary-color: #ababab;
    --tertiary-color: #ddd;
/*    --accent-color: #ff2e3f;*/
    --accent-color: #ff4b00;
    --unit: calc(1rem * 0.5);
}

::selection {
    background: var(--accent-color);
    color: white;
}

body {
    font-family: "EB Garamond", serif;
    text-rendering: optimizeLegibility;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    letter-spacing: -0.02rem;
    line-height: 1;
    display: flex;
    height: 100dvh;
    margin: 0;
    align-items: center;
    color: var(--primary-color);
/*    background-color: #ffffff;
    background-image:  radial-gradient(#dbdbdb 0.5px, transparent 0.5px), radial-gradient(#dbdbdb 0.5px, #ffffff 0.5px);
    background-size: 20px 20px;
    background-position: 0 0,10px 10px;*/
/*    background-image: radial-gradient(#e3e3e3 0.5px, #ffffff 0.5px);
    background-size: 10px 10px;*/
  }

h1 {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 1.25rem;
    letter-spacing: -0.03rem;
    margin: 0;
}

p {
    margin: 0;
}

.main-content {
    width: 520px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
/*    margin-bottom: 2rem;*/
}

.section-header {
    font-family: "VT323", serif;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 400;
    font-style: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bullet {
    font-size: 2rem;
    color: var(--accent-color);
    /*-webkit-animation: fadeinout 2s ease-in-out infinite;
            animation: fadeinout 2s ease-in-out infinite;
            opacity: 0;*/
}

.section-number {
    color: var(--secondary-color);
}

.divider {
    border-top: 1px solid #ddd;
    margin: 2rem 0;
}

.secondary-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
}

.vertical-divider {
    position: absolute;
    left: 50%;
    top: 25%;
    bottom: 0;
    width: 1px;
    height: 50%;
    background-color: var(--tertiary-color);
}

@media (max-width: 767px) {
    .secondary-sections {
        grid-template-columns: 1fr;
    }

    .vertical-divider {
        height: 1px;
        width: 100%;
        margin: 4rem 0;
        transform: translateX(-50%);
    }
}

.link-list,
.work-list {
    font-size: 0.9rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li,
.work-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    line-height: 1.1;*/
}

.square {
    aspect-ratio: 1/1;
    height: 5px;
    background-color: var(--secondary-color);
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.work-list .date {
    color: var(--secondary-color);
}

.arrow {
/*    color: var(--secondary-color);*/
}

.work-list a:nth-child(1) .square {
    background-color: #0e4ff2;
}
.work-list a:nth-child(2) .square {
    background-color: #ff207d;
}
.work-list a:nth-child(3) .square {
    background-color: #0ec244;
}
.work-list a:nth-child(4) .square {
    background-color: #ff792d;
}
.work-list a:nth-child(5) .square {
    background-color: #e45f4f;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.secondary-sections a {
    color: inherit;
    text-decoration: none;
}

.secondary-sections a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.secondary-sections a:hover .date {
    color: var(--accent-color);
    text-decoration: none;
}

@-webkit-keyframes fadeinout {
    50% {
        opacity: 1;
    }
}

@keyframes fadeinout {
    50% {
        opacity: 1;
    }
}
