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

body {
    background: black;
    color: white;
    font-family: Arial, sans-serif;
}

.page {
    padding: 30px;
}

.back {
    color: deepskyblue;
    text-decoration: none;
}

h1 {
    margin-top: 30px;
    font-size: 40px;
}

.subtitle {
    margin-top: 10px;
    color: gray;
}

.timeline {
    margin-top: 40px;
    width: 100%;
    overflow: auto;
    cursor: crosshair;
}

.months {
    display: flex;
    height: 40px;
    width: max-content;
}

.months span {
    flex-shrink: 0;
    padding: 10px;
    text-align: center;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    color: gray;
    font-size: 13px;
}

.timeline {
    margin-top: 40px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
}

.months {
    display: flex;
    height: 50px;
    width: max-content;
}

.months span {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 12px;
    text-align: center;
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
    color: gray;
    font-size: 14px;
}

#timeline {
    position: relative;
    width: max-content;
}

.timeline-row {
    position: relative;
    height: 60px;
    border-bottom: 1px solid #222;
}

.project {
    position: absolute;
    top: 10px;
    height: 35px;
    background: #063b55;
    color: white;
    border: 1px solid deepskyblue;
    padding: 0 10px;
    cursor: pointer;
    white-space: nowrap;
}

.project:hover {
    background: deepskyblue;
    color: black;
}

#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.panel {
    background: #111;
    border: 1px solid #444;
    padding: 30px;
    width: 600px;
    max-width: 100%;
    position: relative;
}

#close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    color: white;
    border: none;
    font-size: 25px;
    cursor: pointer;
}

#project-title {
    color: deepskyblue;
    margin-bottom: 20px;
}

#project-dates {
    color: gray;
    margin-bottom: 20px;
}

#project-description {
    line-height: 1.6;
    margin-bottom: 20px;
}

#project-built {
    color: lightgray;
    margin-bottom: 20px;
}

#project-links a {
    display: inline-block;
    color: deepskyblue;
    margin-right: 15px;
}

.zoom-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.zoom-controls button {
    padding: 8px 16px;
    background: #111;
    color: deepskyblue;
    border: 1px solid deepskyblue;
    cursor: pointer;
}

.zoom-controls button:hover {
    background: deepskyblue;
    color: black;
}


