:root {
    --body-bg: #FDFCFB;
    --header-color: #1E1E1E;
    --body-color: #333;
    --link: blue;
    --selection: blue;
}

@media (prefers-color-scheme: dark) {
    :root {
        --body-bg: #1E1E1E;
        --body-color: #c2c1c1;
        --header-color: #FDFCFB;
        --link: #00DAC6;
        --selection: #BB86FC;
    }
}

.image-container {
    background-image: url("etc/pfp.svg");
    width: 140px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
}


body {
    background-color: var(--body-bg);
    font-family: monospace;
    color: var(--body-color);
    max-width: 66ch;
    margin: 8px auto;
    padding: 32px;
    line-height: 1.25em;
}


a:hover {
    border-bottom: 1px solid #5aa8c8;
}

h1,
h2 {
    color: var(--header-color);
    font-weight: normal;
    margin-bottom: 1.0em;
    margin-top: 1.0em;
}

a,
a:link,
a:visited {
    color: var(--link);
    text-decoration: none;
}

::selection {
    background: var(--selection);
}

.strava-button-container {
    text-align: center;
    margin-top: 20px;
}
  
.strava-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    color: white;
    background-color: #fc4c02;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    max-width: 200px; /* Limit the button width */
}

.strava-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    max-width: 100%;
}

.img-container {
    text-align: center;
    margin-top: 20px; /* Adjusts the space above the image */
    margin-bottom: 20px; /* Adjusts the space below the image */
}

.img-container img {
    display: block;
    margin: 0 auto;
    transform: scale(0.45);
    max-width: 100%;
    height: auto;
    /* Remove any negative margin or positioning */
    margin-top: -8cm;
    /* position: relative; */
    /* top: -20px; */
}

/* Responsive adjustments */
@media screen and (max-width: 1170px) {
    .img-container img {
        transform: scale(0.5); /* Adjust scale for smaller screens */
        margin-top: -7.5em;
    }

    .strava-button {
        padding: 8px 16px; /* Slightly reduce padding on smaller screens */
    }
}

.timeline {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.timeline-item {
    display: block; /* Ensure items are visible */
    padding: 10px;
    margin: 10px 0;
    background: #f4f4f4;
    border-left: 3px solid #00DAC6; /* Highlight color */
    color: #333; /* Default text color */
}

.timeline-date {
    font-weight: bold;
    color: #c2c1c1; /* Light color for dates */
}

.timeline-header {
    color: #BB86FC; /* Same color as timeline items */
}