.tunnel {
    display: flex;
    justify-content: center;
    width: 100%;
    font-family: 'Karma', serif;
}

.tunnel_title {
    max-width: 1500px;
    text-align: center;
    font-size: 25px;
    line-height: 27px;
    color: #155144;
    margin: 40px auto;
    position: relative;
    align-self: flex-start;
    font-weight: bold;
}

.tunnel_subtitle {
    position: relative;
    padding: 10px 0;
    color: #595959;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tunnel_subtitle::before {
    content: '';
    position: absolute;
    width: 70%;
    max-width: 350px;
    height: 2px;
    bottom: 0;
    left: -10px;
    background-color: #DCB253;
}

.tunnel_tab {
    width: 100%;
    min-width: 200px;
    background-color: #595959;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: center;
    padding: 15px 20px;
    margin: 5px 15px;
}

.tunnel_tab.active {
    background-color: #DCB253;
}

.tunnel_items {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 60px;
}

.tunnel_items_headers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #595959;
    margin-top: 50px;
    margin-bottom: 5px;
}

.tunnel_items_header {
    margin-left: 80px;
}

.tunnel_items_header:first-of-type {
    margin-right: auto;
}

.tunnel_items_header:last-of-type {
    margin-right: 80px;
}

.tunnel_total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #000000;
    font-weight: 600;
    text-align: end;
    margin: 30px 60px;
}

.tunnel_total_line {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tunnel_total_ht {
    font-size: 17px;
}

.tunnel_total_tva {
    font-size: 15px;
}

.tunnel_total_ttc {
    font-size: 20px;
}

.tunnel_total_price {
    min-width: 100px;
    margin: 0 10px;
}

.tunnel_total_ht_price {
    color: #595959;
    font-size: 17px;
}

.tunnel_total_tva_price {
    color: #595959;
    font-size: 15px; 
}

.tunnel_total_ttc_price {
    color: #DCB253;
    font-size: 20px;
}

.tunnel_btns {
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 55px;
}

.tunnel_btn {
    font-family: 'lato', sans-serif;
}

.tunnel_btn + .tunnel_btn {
    margin-left: 15px;
}

.tunnel_btn--back {
    background-color: #D86018;
}

.headerTunnel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 0 10px;
    white-space: nowrap;
}

.headerTunnel_item {
    position: relative;
    padding: 7px 23px;
    background-color: #e2c7b2;
    color: white;
    border-radius: 5px;
    min-width: 185px;
    text-align: center;
    margin-left: 80px;
}

.headerTunnel_item.active {
    background-color: #145243;
}

.headerTunnel_item::before {
    content: '';
    height: 8px;
    width: 80px;
    background-color: #e2c7b2;
    position: absolute;
    left: -80px;
    top: 12px;
}

.headerTunnel_item:first-of-type {
    margin-left: 0;
    margin-top: 0;
}

.headerTunnel_item:first-of-type::before {
    display: none;
}

.headerTunnel_item.active::before {
    background-color: #145243;
}

@media all and (max-width: 1100px) {
    .headerTunnel_item {
        margin-left: 25px;
    }
    
    .headerTunnel_item::before {
        width: 25px;
        left: -25px;
    }
}

@media all and (max-width: 900px) {
    .tunnel {
        flex-wrap: wrap;
    }

    .tunnel_title {
        margin-top: 80px;
    }

    .tunnel_title::before {
        width: 25%;
    }

    .tunnel_tab {
        width: 40%;
    }

    .headerTunnel {
        flex-direction: column;
    }

    .headerTunnel_item {
        margin-left: 0;
        margin-top: 25px;
    }
    
    .headerTunnel_item::before {
        width: 8px;
        height: 25px;
        top: -25px;
        left: calc(50% - 2px);
    }
}