:root {
    --midnight: #2c3e50;
    --white: #fff;
}

body {
    font-family: Nanum Gothic, Arial, sans-serif; /* 20231116*/
    line-height: 1.5;
}

.timeline {
    background-color: #062952;
    margin-top: 200px;
    height: 5px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.dot {
    z-index: 99;
    transition: 0.3s ease-in-out;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    text-align: center;
    cursor: pointer;
    top: -15px;
}

.dot:nth-child(1) {
    background-color: var(--midnight);
}

.dot:nth-child(2) {
    background-color: var(--midnight);
}

.dot:nth-child(3) {
    background-color: var(--midnight);
}

.dot:nth-child(4) {
    background-color: var(--midnight);
}

.dot:nth-child(5) {
    background-color: var(--midnight);
}

.dot:nth-child(6) {
    background-color: var(--midnight);
}

.dot:hover {
    transform: scale(1.2);
}

.dot title {
    font-family: Arial;
    font-size: 1rem;
    display: block;
    position: relative;
    top: -75px;
    text-align: center;
    color: #062952;
    font-weight: bold;
    white-space: nowrap; /* 텍스트를 한 줄로 강제 표시 */
    overflow: visible; /* 텍스트가 넘치는 경우 말줄임표 없이 모두 표시 */
    transform: rotate(345deg); /* 텍스트를 45도로 기울이기 */
}

.dot span {
    display: inline-block;
    margin-top: 10px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    position: relative;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
