#main {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0;
}

#title {
    height: 4rem;
    margin: 10px;
    text-align: center;
    line-height: 4rem;
    border: solid 3px darkviolet;
    border-radius: 25px;
}

#map-window {
    position: absolute;
    top: 6rem;
    left: 5px;
    bottom: 5px;
    width: 1110px;
    overflow: scroll;
}

#map-container {
    width: 1100px;
    height: 2275px;
}

#table-window {
    position: absolute;
    top: 6rem;
    right: 5px;
    bottom: 5px;
    width: calc(100% - 1130px);
    overflow: scroll;
}

#total-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    line-height: 2rem;
    text-align: center;
    font-weight: bold;
    padding: 0.5rem;
    margin: 1rem;
    border: solid 2px #5B26F7;
    border-radius: 0.5rem;
    color: #5B26F7;
    background-color: #ECE6FE;
}

#table-container {
    width: 100%;
    height: calc(100% - 5rem);
    overflow: scroll;
}
#segment-table {
    width: 100%;
    border-collapse: collapse;
}
#segment-table thead th {
    color: #000000;
    background-color: #C326F7;
}
#segment-table td {
    text-align: center;
}
#segment-table tbody tr.title th {
    background-color: #ECE6FE;
}
#segment-table tbody tr.details td {
    background-color: #CBBAFD;
}
#segment-table tbody tr.details:not(:last-child) td {
    border-bottom-width: 3px;
}
#segment-table tfoot th {
    color: #000000;
    background-color: #C326F7;
}
#segment-table th, #segment-table td {
    padding: 1rem;
    border: solid 1px #5B26F7;
}
#segment-table td.difficulty-1 {
    color: blue;
}
#segment-table td.difficulty-2 {
    color: blueviolet;
}
#segment-table td.difficulty-3 {
    color: green;
}
#segment-table td.difficulty-4 {
    color: red;
}
#segment-table td.difficulty-5 {
    color: black;
}
