#index {
    font-size: 20px;
    margin: 0%;
    word-wrap: break-word;
    font-family: Helvetica;
    background-color: #c3f0c8;
    justify-content: center;
    text-align: center;
}

#processbook {
    font-size: 20px;
    margin: 4%;
    word-wrap: break-word;
    font-family: Helvetica;
    background-color: #c3f0c8;
    justify-content: center;
}

.title {
    background-color: #333;
    color: white;
    padding: 1%;
}

.line-div{
    fill: black;
}

.d3-tip {
    width: 20%;
}

.graphic {
    padding: 1%;
    border: black 1px solid;
}

.compare {
    width: 30%;
}

.map-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3%;
}

#geospatial-map {
    position: relative;
}

.content {
    display: flex;
    justify-content: center;
    margin-top: 2%;
    align-items: stretch;
}

.row {
    padding: 1%;
}

#comparison {
    justify-content: center;
    padding: 2%;

}

.compare-btn {
    margin: 1%;
    margin-top: 2%;
}

.compare-options {
    display: flex;
    justify-content: space-evenly;
}

.heatmap-options {
    display: flex;
    justify-content: space-between;
    margin-top: 1%;
}

.header {
    background-color: #f1f1f1;
    font-size: 30px;
    padding: 10px;
    text-align: center;
}

.h1 {
    font-size: 32px;
}

.h2 {
    font-size: 26px;
}

.info {
    font-size: 16px;
    padding: 10px;
}

a:link {
    color: rgba(44, 44, 44, 0.77);
    text-decoration: none;
}

a:visited {
    color: rgba(152, 42, 215, 0.67);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

strong {
    font-size: 24px;
    display: block;
}

p {
    font-size: 18px;
    margin-bottom: 16px;
}

ol li {
    font-size: 18px;
    margin-bottom: 16px;
}

.related-work {
    position: relative;
    width: 30%;
    margin: auto;
    padding: 10px;
    text-align: center;
}

.exploratory {
    position: relative;
    width: 50%;
    margin: auto;
    padding: 10px;
    text-align: center;
}

.exploratory-image {
    position: relative;
    display: inline-block;
    width: 50%;
    max-width: 600px;
    margin: auto;
    padding: 0 10px 0 10px;
}

.design {
    position: relative;
    width: 100%;
    margin: auto;
    padding: 10px;
    text-align: center;
}

.sketch-image {
    position: relative;
    display: inline-block;
    width: 60%;
    max-width: 600px;
    margin: auto;
    padding: 0 10px 0 10px;
}

.gantt-chart {
    width: 50%;
    margin: 10px 10px 10px 20px;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.gantt-chart th,
.gantt-chart td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.gantt-chart th {
    background-color: #f9f9f9;
    color: #333;
}

.gantt-chart tr:nth-child(even) {
    background-color: #f9f9f9;
}

.gantt-chart td {
    background-color: #fff;
}

#tooltip1 {
    z-index: 1;
    max-width: 600px;
    padding: 10px;
    box-sizing: border-box;
}

.x-mark {
    cursor: pointer;
}

.x-mark:hover {
    color: red;
}

.albums-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 items in a row */
    gap: 10px;
    /* space between items */
    margin-top: 10px;
}

.album-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
}


.album-cover-link {
    position: relative;
    display: inline-block;
    max-width: 100px;
    max-height: 100px;
}

.album-cover {
    display: block;
    width: 100%;
    height: auto;
}

.spotify-overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 5px 0;
}

.album-cover-link:hover .spotify-overlay {
    opacity: 1;
}


#instructions {
    display: block;
}

#song_chart {
    position: relative;
}

.tooltip {
    position: absolute;
}

#map-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#zoom_in, #zoom_out {
    width: 30px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
    margin: 5px;
}

#map-legend div {
    margin-bottom: 5px;
}

#map-legend span {
    vertical-align: middle;
    margin-right: 5px;
}