/* =====================================================
   CONTAINER
===================================================== */

.__diagrama_part_1 {
    width: 100%;
    max-width: 700px;

    margin: 0 auto;
}


/* =====================================================
   TÍTULO
===================================================== */

.__diagrama_part_1_title {
    text-align: center;

    font-size: clamp(20px, 6vw, 30px);
    font-weight: 700;

    margin-bottom: 40px;
}


/* =====================================================
   SOCIEDADE INDUSTRIAL
===================================================== */

.__diagrama_part_1_society {
    width: min(100%, 280px);

    margin: 0 auto;

    padding: 16px;

    border: 1px solid #666;

    text-align: center;

    font-size: 14px;
    font-weight: 700;
}


/* =====================================================
   LINHA VERTICAL
===================================================== */

.__diagrama_part_1_v-line {
    width: 1px;
    height: 35px;

    background: #555;

    margin: 0 auto;
}


/* =====================================================
   RAMIFICAÇÃO
===================================================== */

.__diagrama_part_1_branch {
    position: relative;

    width: 100%;
    height: 35px;
}


/*
    Linha horizontal principal
*/

.__diagrama_part_1_branch-horizontal {
    position: absolute;

    top: 0;
    left: 16.66%;
    right: 16.66%;

    height: 1px;

    background: #555;
}


/*
    Linhas verticais
*/

.__diagrama_part_1_branch-left,
.__diagrama_part_1_branch-center,
.__diagrama_part_1_branch-right {

    position: absolute;

    top: 0;

    width: 1px;
    height: 35px;

    background: #555;
}

.__diagrama_part_1_branch-left {
    left: 16.66%;
}

.__diagrama_part_1_branch-center {
    left: 50%;
}

.__diagrama_part_1_branch-right {
    right: 16.66%;
}


/* =====================================================
   SETAS
===================================================== */

.__diagrama_part_1_arrow {
    position: absolute;

    bottom: -1px;

    transform: translateX(-50%);

    font-size: 14px;

    color: #777;
}

.__diagrama_part_1_arrow-left {
    left: 16.66%;
}

.__diagrama_part_1_arrow-center {
    left: 50%;
}

.__diagrama_part_1_arrow-right {
    left: 83.33%;
}


/* =====================================================
   TRÊS PODERES
===================================================== */

.__diagrama_part_1_powers {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;

    width: 100%;
}


.__diagrama_part_1_power {
    min-height: 95px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 12px;

    border: 1px solid #555;

    text-align: center;

    font-size: clamp(10px, 2.5vw, 14px);
    font-weight: 700;
}


/* =====================================================
   CONEXÕES INFERIORES
===================================================== */

.__diagrama_part_1_connections {
    position: relative;

    height: 180px;

    width: 100%;
}




.__diagrama_part_1_connection-left,
.__diagrama_part_1_connection-center,
.__diagrama_part_1_connection-right {

    position: absolute;

    top: 0;

    width: 1px;

    height: 90px;

    background: #444;
}

.__diagrama_part_1_connection-left {
    left: 16.66%;
}

.__diagrama_part_1_connection-center {
    left: 50%;
}

.__diagrama_part_1_connection-right {
    left: 83.33%;
}


/*
    Linha do poder econômico
*/

.__diagrama_part_1_economic-route {
    position: absolute;

    top: 90px;
    left: 16.66%;

    width: 33.33%;

    height: 1px;

    background: #444;
}


/*
    Linha do cultural para econômico
    com bloqueio
*/

.__diagrama_part_1_cultural-route {
    position: absolute;

    top: 90px;
    left: 50%;

    width: 33.33%;

    height: 1px;

    background: #444;
}


/*
    Cruzamento / bloqueio
*/

.__diagrama_part_1_block {
    position: absolute;

    top: 80px;
    left: 83.33%;

    transform: translateX(-50%);

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0b0b0b;

    color: #777;

    font-size: 18px;
    font-weight: 400;
}


/*
    Linha vertical que leva ao econômico
*/

.__diagrama_part_1_economic-down {
    position: absolute;

    top: 90px;
    left: 16.66%;

    width: 1px;
    height: 45px;

    background: #444;
}


/*
    Linha horizontal final
*/

.__diagrama_part_1_final-route {
    position: absolute;

    top: 134px;
    left: 16.66%;

    width: 33.33%;

    height: 1px;

    background: #444;
}


/*
    Linha vertical final
*/

.__diagrama_part_1_final-down {
    position: absolute;

    top: 134px;
    left: 50%;

    width: 1px;
    height: 45px;

    background: #444;
}


/* =====================================================
   PODER ECONÔMICO FINAL
===================================================== */

.__diagrama_part_1_economic-final {

    width: min(100%, 230px);

    margin: 0 auto;

    padding: 20px 15px;

    border: 1px solid #777;

    text-align: center;

    font-size: 15px;
    font-weight: 700;
}


/* =====================================================
   LEGENDA
===================================================== */

.__diagrama_part_1_legend {

    margin-top: 45px;

    padding: 20px;

    border-top: 1px solid #222;

    color: #777;

    font-size: 13px;
    line-height: 1.6;
}

.__diagrama_part_1_legend strong {
    color: #ddd;
}


