.neutral_color {
    background-color: #212121;
}

.choose_container {
    width: 100%;
    height: 100vh;
    background-color: #212121;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
}

.dev_container {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.dev_container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/choose/bg_dev_choose.png);
    background-position: right;
    filter: blur(8px) grayscale(50%);
    transform: scale(1.1);
    z-index: -1;
    -webkit-filter: blur(8px) grayscale(100%);
    background-size: var(--zoom-level, cover);
    transition: filter 0.3s ease-in-out;
    -webkit-transition: filter 0.3s ease-in-out;
    -moz-transition: filter 0.3s ease-in-out;
    -ms-transition: filter 0.3s ease-in-out;
    -o-transition: filter 0.3s ease-in-out;
}

/* On écoute le hover sur le parent, mais on applique l'effet sur le before */
.dev_container:hover::before {
    filter: blur(3px) grayscale(30%);
    -webkit-filter: blur(3px) grayscale(30%);
}

.dev_container:hover {
    width: 70%;
}

/* On cible le badge qui est dans le SEPARATEUR qui suit le container survolé */
.dev_container:hover ~ .separator .separator-badge {
    border: 10px solid var(--bleu_foncer);
}

/* Et si tu veux la même chose pour le côté tech (avec une autre couleur peut-être ?) */
.tech_container:hover ~ .separator .separator-badge {
    border: 10px solid var(--vert_pcb);
}
.dev_container:hover ~ .separator {
    left: 58.3%;
}

.txt_dev {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: large;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.txt_dev h1 {
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.txt_dev h4 {
    padding: 10px;
    background-color: var(--bleu_foncer);
    color: white;
    border-radius: 20px 20px 0px 0px;
    -webkit-border-radius: 20px 20px 0px 0px;
    -moz-border-radius: 20px 20px 0px 0px;
    -ms-border-radius: 20px 20px 0px 0px;
    -o-border-radius: 20px 20px 0px 0px;
}

.txt_dev ul {
    width: 100%;
    text-align: center;
    color: var(--bleu_foncer);
    list-style: none;
}

.dev_container:hover .txt_dev {
    opacity: 0;
    /* Pas besoin de redéclarer la transition ici, celle du parent suffit */
}

.tech_container {
    width: 50%;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.tech_container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/choose/bg_tech_choose.png);
    background-size: cover;
    background-position: left;
    filter: blur(8px) grayscale(50%);
    transform: scale(1.1);
    z-index: -1;
    -webkit-filter: blur(8px) grayscale(100%);
    transition: filter 0.3s ease-in-out;
    -webkit-transition: filter 0.3s ease-in-out;
    -moz-transition: filter 0.3s ease-in-out;
    -ms-transition: filter 0.3s ease-in-out;
    -o-transition: filter 0.3s ease-in-out;
}

/* On écoute le hover sur le parent, mais on applique l'effet sur le before */
.tech_container:hover::before {
    filter: blur(3px) grayscale(30%);
    -webkit-filter: blur(3px) grayscale(30%);
}

.tech_container:hover {
    width: 70%;
}

.tech_container:hover ~ .separator {
    left: 41.7%;
}

.txt_tech {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: large;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.txt_tech h1 {
    font-weight: bold;
    width: 100%;
    text-align: center;
    color: var(--vert_pcb);
}

.txt_tech h4 {
    padding: 10px;
    background-color: var(--vert_pcb);
    color: white;
    border-radius: 20px 20px 0px 0px;
    -webkit-border-radius: 20px 20px 0px 0px;
    -moz-border-radius: 20px 20px 0px 0px;
    -ms-border-radius: 20px 20px 0px 0px;
    -o-border-radius: 20px 20px 0px 0px;
}

.txt_tech ul {
    width: 100%;
    text-align: center;
    color: var(--vert_pcb);
    list-style: none;
}

.tech_container:hover .txt_tech {
    opacity: 0;
    /* Pas besoin de redéclarer la transition ici, celle du parent suffit */
}

:root {
    --glow_color: rgba(0, 71, 171, 0.4);
}

.separator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 60px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.line {
    width: 8px;
    height: calc(
        50% - 40px
    ); /* On laisse de la place pour le badge au milieu */
    background: linear-gradient(to bottom, transparent, white);
    box-shadow: 0 0 20px var(--glow_color);
}

/* La deuxième ligne part du bleu vers le transparent en bas */
.line:last-child {
    background: linear-gradient(to top, transparent, white);
}

.separator-badge {
    width: 50px;
    height: 50px;
    border: 2px solid var(--bleu_clair);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-family: sans-serif;
    box-shadow: 0 0 15px var(--glow_color);
    z-index: 11;
    background-color: #212121;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

@media all and (max-width: 992px) {
    .choose_container {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .dev_container,
    .tech_container {
        width: 100%;
        height: 50%;
    }

    .separator {
        height: 60px;
        width: 100%;
        flex-direction: row;
    }

    .line {
        height: 8px;
        width: calc(
            50% - 40px
        ); /* On laisse de la place pour le badge au milieu */
        background: linear-gradient(to bottom, transparent, white);
        box-shadow: 0 0 20px var(--glow_color);
    }

    .txt_dev,
    .txt_tech {
        width: 90%;
        height: 90%;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .txt_dev h1,
    .txt_tech h1 {
        font-size: 24px;
    }

    .txt_dev ul,
    .txt_tech ul {
        padding: 30px 0;
        margin: 0;
    }

    .txt_dev ul li,
    .txt_tech ul li {
        font-size: 8px;
    }

    .tech_container:hover {
        width: 100%;
        height: 50%;
    }

    .dev_container:hover {
        width: 100%;
        height: 50%;
    }
}
