body {
    background-color: #f0f0f0;
    font-family: Inter, sans-serif;
    display: flex;

    flex-direction: column;
    gap: 30px;
    justify-content: center;
    margin: 0px;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.part {
    display: flex;
    width: 100%;
}

#part1 {
    height: 30%;
    justify-content: space-between;
}

#part2 {
    height: 70%;
    justify-content: center;
}

#formule, #reponse {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#formule {
    display: flex;
    width: 55%;
    text-align: center;
    font-size: 80px;
   align-items:center;
}

#reponse {
    width: 45%;
}

#input {
    width: 100%;
    max-width: 700px;
    background-color: #002250;
    color: #FFFFFF;
    padding: 20px 30px;
    border-radius: 4px;
    border: 2px solid #002250;
    box-sizing: border-box;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-align: center;
}


.line-map-container {
    display: flex;
    align-items: center;
    padding: 0 100px 0 0;
    border-radius: 8px;
    width: 100%;
    max-width: calc(100% - 200px);
    box-sizing: border-box;
}

.line-track-wrapper {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-left: 40px;
    height: 120px;
}

.line-bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 8px;
    border-radius: 4px;
    z-index: 1;
}

#line_bar_progression {
    width: 0%;
    transition: all 400ms;
}

.stations-list {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.station-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 0;
}

.station-node {
    width: 16px;
    height: 16px;
    background-color: #FFCD00;
    border: 3px solid #FFCD00;
    border-radius: 50%;
    box-sizing: border-box;
}



.bg { background-color: lightgrey; }

.icon_ligne {
    width: 64px;
}

#track.color0 .color-bg {
    background-color: #FFCE00;
}
#track.color0 .station-node {
    background-color: #FFCE00;
    border: 3px solid #FFCE00;
}

#track.color1 .color-bg {
    background-color: #0064B0;
}
#track.color1 .station-node {
    background-color: #0064B0;
    border: 3px solid #0064B0;
}

#track.color2 .color-bg {
    background-color: #9F9825;
}
#track.color2 .station-node {
    background-color: #9F9825;
    border: 3px solid #9F9825;
}

#track.color3 .color-bg {
    background-color: #98D4E2;
}
#track.color3 .station-node {
    background-color: #98D4E2;
    border: 3px solid #98D4E2;
}

#track.color4 .color-bg {
    background-color: #C04191;
}
#track.color4 .station-node {
    background-color: #C04191;
    border: 3px solid #C04191;
}

#track.color5 .color-bg {
    background-color: #F28E42;
}
#track.color5 .station-node {
    background-color: #F28E42;
    border: 3px solid #F28E42;
}

#track.color6 .color-bg {
    background-color: #83C491;
}
#track.color6 .station-node {
    background-color: #83C491;
    border: 3px solid #83C491;
}

#track.color7 .color-bg {
    background-color: #F3A4BA;
}
#track.color7 .station-node {
    background-color: #F3A4BA;
    border: 3px solid #F3A4BA;
}

#track.color8 .color-bg {
    background-color: #CEADD2;
}
#track.color8 .station-node {
    background-color: #CEADD2;
    border: 3px solid #CEADD2;
}

#track.color9 .color-bg {
    background-color: #D5C900;
}
#track.color9 .station-node {
    background-color: #D5C900;
    border: 3px solid #D5C900;
}

#track.color10 .color-bg {
    background-color: #E3B32A;
}
#track.color10 .station-node {
    background-color: #E3B32A;
    border: 3px solid #E3B32A;
}

#track.color11 .color-bg {
    background-color: #8D5E2A;
}
#track.color11 .station-node {
    background-color: #8D5E2A;
    border: 3px solid #8D5E2A;
}

#track.color12 .color-bg {
    background-color: #00814F;
}
#track.color12 .station-node {
    background-color: #00814F;
    border: 3px solid #00814F;
}

#track.color13 .color-bg {
    background-color: #662483;
}
#track.color13 .station-node {
    background-color: #662483;
    border: 3px solid #662483;
}

#track.color14 .color-bg {
    background-color: #B90845;
}
#track.color14 .station-node {
    background-color: #B90845;
    border: 3px solid #B90845;
}

#track.color15 .color-bg {
    background-color: #00A88F;
}
#track.color15 .station-node {
    background-color: #00A88F;
    border: 3px solid #00A88F;
}

.station-node.unknown {
    background-color: lightgrey !important;
    border: 3px solid lightgrey !important; 
}

.station-node.hub {
    width: 20px;
    height: 20px;
    background-color: #ffffff !important;
    border: 3px solid #000000 !important;
    margin-top: -2px;
}

.station-node.hub.unknown {
    border: 3px solid lightgrey !important; 
}

.station-info {
    position: absolute;
    bottom: 20px;
    left: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: rotate(-30deg);
    transform-origin: bottom left;
    white-space: nowrap;
}

.station-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0b489f;
    padding-bottom: 4px;
}