
.matrix-background {
    position: absolute;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}


.button{
    width: fit-content;
    margin: 40px auto;
    font-size: 16px;
    cursor: pointer;
    background-color: #fb8902;
    min-width: 300px;
    min-height: 45px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease-in 0.3s;
    border: #fb8902 solid 5px;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.button:hover{
    background-color: transparent;
    color: black;
    border-color: black;
}



.shroud{
    width: 100vw;
    height: 100vh;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.16);
    position: absolute;
    left: 0;
    top: 0;
}


li{
    list-style-type: none;
}

a{
    text-decoration: none;
    color: black;
}

.matrix-wrapper{
    width: 70%;
    margin: 0 auto;
}

.page_main h1{
    margin-bottom: 10px;
}

.page_main .book-ad{
    margin-bottom: 100px;
}

.page_main .book-ad > div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.page_main .book-ad h1{
    text-align: center;
    margin-bottom: 15px;
}

.page_main .book-ad img{
    display: flex;
    max-width: 200px;
    width: 100%;
    box-shadow: 0px 0px 13px 2px rgba(0, 0, 0, 0.445);
}

.page_main .book-ad > div > div{
    margin-right: 40px;
}

.page_main .book-ad .button{
    min-width: 220px;
    font-weight: bold;
}

header .logo img{
    width: 80px;
}

/* header > div:first-of-type{
    background-color: #f2f0f3;
    height: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

header > div:first-of-type > h1{
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 5px;
} */

/* header > div:last-of-type > div{
    position: relative;
}
header > div:last-of-type > div{
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

header .right_panel{
    display: flex;
    align-items: center;
    right: 0;
    position: absolute;
}

header .right_panel > div > span{
    padding: 5px;    
    margin: 0 6px;
    text-transform: uppercase;
    font-size: 0.75em;
    position: relative;
    color: #0c2340;
    cursor: pointer;
}

header .right_panel > div > span > div{
    content: "";
    position: absolute;
    width: 0%;
    height: 1px;
    background-color: #0c2340;
    bottom: 0;
    transition: ease-in 0.2s;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}
header .right_panel > div > span:hover > div{
    width: 100%;
}

header .right_panel > aside{
    margin-left: 10px;
}

header .right_panel > aside img{
    height: 30px;
}

header .nav_bar{
    height: 100%;
}

header .nav_button{
    position: absolute;
    left: 0;
    box-sizing: border-box;
    height: 100%;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: ease-in 0.2s;
}

header .nav_button > div:first-of-type{
    margin-bottom: 7px;
}

header .nav_button > div{
    background-color: #0c2340;
    width: 30px;
    height: 3px;
    transition: ease-in 0.18s;
}

header .nav_button:hover > div{
    background-color: #fb8902;
}

header .nav{
    background-color: transparent;
    z-index: 12;
    left: 0;
    top: 0;
    position: absolute;
    display: none;
}

header .nav img{
    margin-top: 10px;
    width: 50px;
}

header #base_nav_slide_1,
header #base_nav_slide_2{
    transition: ease-in-out 0.24s;
    height: 100vh;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

header #base_nav_slide_1{
    background-color: #fb8902;
}

header #base_nav_slide_2{
    transition: ease-in-out 0.32s;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

header #base_nav_slide_3{
    left: 0px;
    display: flex;
    flex-direction: column;
}

header #base_nav_slide_3 li{
    position: absolute;
    left: 0;
    transition: ease-in 0.2s;
}

header #base_nav_slide_3 li:nth-last-child(2){
    transition: ease-in 0.3s;
}

header #base_nav_slide_3 li:nth-last-child(1){
    transition: ease-in 0.4s;
}

header .nav a{
    box-sizing: border-box;
    display: block;
    padding: 20px 20px;
    text-decoration: none;
    color: #191919;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    font-size: 0.75em;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-transform: uppercase;
    transition: ease-in 0.2s;
}

header #base_nav_slide_3 li{
    margin-left: 10px;
    transition: ease-in 0.2s;
    border-left: 2px solid transparent;
}
header #base_nav_slide_3 li:hover{
    border-left-color: black;
}
header #base_nav_slide_3 li:hover a{
    transform: translateX(15px);
} */



body > #main_content{
    background-image: url('../images/bc_pattern.jpg');
    background-repeat: repeat;
    background-size: auto;
}





footer .lvl_1{
    background-color: #fff;
    width: 100%;
    height: 35px;
}

footer .lvl_2{
    background-color: #fb8902;
}

footer .lvl_2 > div{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

footer .lvl_2 h1{
    font-size: 1.175em;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 10px;
    text-align: center;
}

footer .lvl_2 section{
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: center;
}

footer .lvl_2 section p:first-of-type{
    margin-bottom: 5px;
}

footer .lvl_2 img{
    width: 80px;
}

footer .lvl_3 > div{
    height: 26px;
    display: flex;
    align-items: center;
}

footer .lvl_3 h3{
    font-size: 0.75em;
}

.download-app div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#download-app-caption {
    color: #f2f0f3;
    background-color: #fb8902;
    width: 100%;
    margin-top: -30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#download-app-caption img {
    width: 40px;
    margin-top: 5px;
    margin-left: 20px;
    margin-right: 20px;
}

#download-app-caption img:last-of-type {
    margin-left: 10px;
}




#matrix_canvas{
    width: 100%;
    margin: 0 auto;
    border: 1px solid black;
}



.page_main #--lang--main_text{
    line-height: 2em;
    margin-top: 50px;
    color: #707070;
    white-space: pre-wrap;
    text-align: justify;
}

.page_main .download-app{
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page_main .download-app > h1{
    text-align: center;
}

.page_main .download-app .text{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 20px auto;
}

.page_main .download-app .buttons{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.page_main .download-app .text p{
    line-height: 2em;
    color: #707070;
    white-space: pre-wrap;
}

.page_main .download-app .buttons .button{
    margin: 10px auto;
    background-color: #191919;
    border-color: #191919;
    color: #f2f0f3;
    min-width: 200px;
}

.page_main .download-app .buttons .button:hover{
    margin: 10px auto;
    background-color: #fb8902;
    border-color: #fb8902;
    color: #191919;
}


.page_404 h1{
    font-size: 6em;
}


.page_main .matrix-wrapper > h1{
    color: #0c2340;
}


.page_main .matrix-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100%;
}

.page_publications .button a{
    color: #fff;
}

.page_publications #--lang--text{
    text-align: justify;
    white-space: pre-wrap;
}

.page_publications img,
.page_publications aside{
    margin: 0 auto;
    width: 200px;
    display: block;
}

.page_publications aside{
    margin: 0px auto;
    margin-top: 30px;
    box-shadow: 0px 0px 7px 2px rgba(0, 0, 0, 0.445);
}

.page_publications .button{
    margin-top: 20px;
    margin-bottom: 20px;
}






.page_about section img{
    width: 30%;
    float: right;
}



.page_contacts .button{
    margin-top: 20px;
}

.page_contacts a{
    display: flex;
    max-width: 300px;
    padding: 5px 0;
    align-items: center;
    margin-top: 5px;
}
.page_contacts img{
    width: 30px;
}

.page_contacts a:first-of-type{
    margin-top: 20px;
}

.page_contacts a > div{
    margin-right: 10px;
}





/*---------MATRIX---------*/
.matrix{
    position: relative;
    width: 100%;
    transform-origin: 0;
    box-sizing: border-box;
    margin-top: 50px;
    font-family: "Inter";
}

.matrix .out_circle *{
    box-sizing: border-box;
    position: absolute;
    font-size: 1.5em;
    transition: ease-in-out 0.3s;    
}
/*out circle*/
.matrix > .out_circle{
    position: absolute;
    width: 90%;
    height: 90%;
    left: 5%;
    top: 5%;
    border-radius: 100%;
    border: 2px solid #cec7bd;
    /* --shadowColor: #55a4b3;
    -moz-box-shadow: inset 0 0 3vw var(--shadowColor);
    -webkit-box-shadow: inset 0 0 3vw var(--shadowColor);
    box-shadow: inset 0 0 3vw var(--shadowColor); */
}
@media screen and (max-width: 1080px) {
    .page_calc_personal .content{
        flex-direction: column;
        align-items: center;
    }
}
@media screen and (min-width: 1080px) {
    .matrix{
        width: 50vw;
    }
}
@media screen and (min-width: 1800px) {
    .matrix{
        width: 40vw;
    }
}
.matrix > .out_circle:hover{
    --shadowColor: #fafafa;
    -moz-box-shadow: inset 0 0 6vw var(--shadowColor);
    -webkit-box-shadow: inset 0 0 6vw var(--shadowColor);
    box-shadow: inset 0 0 6vw var(--shadowColor); 
}

/*main circles*/
.matrix .main_circle{
    --width: 9%;
    --height: 9%;
    /* font-size: 2.5em; */

    border-radius: 100%;
    width: var(--width);
    height: var(--height);
    border: solid 3px violet;
    background-color: violet;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.matrix .s{
    --posX: 50%;
    --posY: 10%;        
    border-color: #a66db9;
    background-color: #a66db9;
}
.matrix .s1{
    left: calc(var(--posX) - var(--width) / 2);
    top: calc( var(--width) / -2 );
}
.matrix .s2{
    top: calc(var(--posX) - var(--width) / 2);
    left: calc( var(--width) / -2 );
}

.matrix .mu{
    --posX: 100%;
    --posY: 50%;  
    border-color: #d14242;
    background-color: #d14242;
}
.matrix .mu1{
    left: calc( var(--posX) - var(--width) / 2 );
    top: calc( var(--posY) + var(--width) / -2 );
}
.matrix .mu2{
    top: calc( var(--posX) - var(--width) / 2 );
    left: calc( var(--posY) + var(--width) / -2 );
}

.matrix .t{
    --posX: 14.5%;
    --posY: 14.5%;  
    border-color: rgb(206, 199, 189);
    background-color: rgb(206, 199, 189);
}
.matrix .t1{
    left: calc( var(--posX) - var(--width) / 2 );
    top: calc( var(--posY) + var(--width) / -2 );
}
.matrix .t2{
    left: calc( 100% - var(--posX) - var(--width) / 2 );
    top: calc( var(--posY) + var(--width) / -2 );
}
.matrix .t3{
    left: calc( 100% - var(--posX) - var(--width) / 2 );
    top: calc( 100% - var(--posY) + var(--width) / -2 );
}
.matrix .t4{
    left: calc( var(--posX) - var(--width) / 2 );
    top: calc( 100% - var(--posY) + var(--width) / -2 );
}

/*small circles*/
.matrix .small_circle{
    --width: 5%;
    --height: 5%;

    border-radius: 100%;
    width: var(--width);
    height: var(--height);
    border: solid 3px violet;
    background-color: violet;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.matrix .ad{
    --posX: 50%;
    --posY: 8%;  
    border-color: #55a3b3;
    background-color: #55a3b3;
}
.matrix .ad1{
    left: calc( 100% - var(--posX) - var(--width) / 2 );
    top: calc( var(--posY) + var(--width) / -2 );
}
.matrix .ad2{
    top: calc( 100% - var(--posX) - var(--width) / 2 );
    left: calc( var(--posY) + var(--width) / -2 );
}

.matrix .v{
    --posX: 50%;
    --posY: 14.5%;  
    --width: 6%;
    width: var(--width);
    height: var(--width);

    border-color: #80cabb;
    background-color: #80cabb;
}
.matrix .v1{
    left: calc( 100% - var(--posX) - var(--width) / 2 );
    top: calc( var(--posY) + var(--width) / -2 );
}
.matrix .v2{
    top: calc( 100% - var(--posX) - var(--width) / 2 );
    left: calc( var(--posY) + var(--width) / -2 );
}

.matrix .an{
    --posX: 50%;
    --posY: 32%;
    border-color: #81be56;
    background-color: #81be56;
    font-size: 1.375em;
}
.matrix .an1{
    left: calc( 100% - var(--posX) - var(--width) / 2 );
    top: calc( var(--posY) + var(--width) / -2 );
}
.matrix .an2{
    top: calc( 100% - var(--posX) - var(--width) / 2 );
    left: calc( var(--posY) + var(--width) / -2 );
}

.matrix .st{
    --dist: 8%;
    border-color: rgb(206, 199, 189);
    background-color: rgb(206, 199, 189);
}
.matrix .st1{
    right: calc( var(--dist) + var(--width) / -2 );
    top: calc( 50% + var(--width) / -2 );
}
.matrix .st2{
    bottom: calc( var(--dist) + var(--width) / -2 );
    right: calc( 50% + var(--width) / -2 );
}
.matrix .st3{
    --dist: 32.3%;
    left: calc( 100% + var(--width) / -2 - var(--dist) );
    top: calc( 100% + var(--width) / -2 - var(--dist) );
}
.matrix .st4{
    left: calc( var(--width) / -2 + 80%  );
    top: calc( var(--width) / -2 + 63% );
}
.matrix .st5{
    top: calc( var(--width) / -2 + 80%  );
    left: calc( var(--width) / -2 + 63% );
}

.matrix .heart_img{
    --width: 8%;
    width: var(--width);
    top: calc( var(--width) / -2 + 70%  );
    left: calc( var(--width) / -2 + 58% );
    position: absolute;
}
.matrix .dollar_img{
    --width: 4%;
    width: var(--width);
    top: calc( var(--width) / -2 + 55%  );
    left: calc( var(--width) / -2 + 72% );
    position: absolute;
}

.matrix .ad,
.matrix .st{
    font-size: 1.2em;
}
.matrix .sv,
.matrix .v{
    font-size: 1.5em;
}

.matrix .sv{
    --dist: 14.5%;
    --width: 6%;
    width: var(--width);
    height: var(--width);

    border-color: #f57237;
    background-color: #f57237;
}
.matrix .sv1{
    right: calc( var(--dist) + var(--width) / -2 );
    top: calc( 50% + var(--width) / -2 );
}
.matrix .sv2{
    bottom: calc( var(--dist) + var(--width) / -2 );
    right: calc( 50% + var(--width) / -2 );
}

.matrix .ma{
    --posX: 50%;
    --posY: 50%;  
    --width: 12%;
    width: var(--width);
    height: var(--width);
    font-size: 3.5em;

    left: calc( var(--posX) - var(--width) / 2 );
    top: calc( var(--posY) + var(--width) / -2 );

    background-color: #f9cb67;
    border-color: #f9cb67;
}



/*--------LINES--------*/
.matrix .diagonal{
    --size1: 71%;/* 100 - 14.5 * 2 */
    --size2: 2px;
    
    background-color: rgb(206 199 189);
    transform-origin: center;
    position: absolute;
}
@media screen and (max-width: 640px) {
    .matrix .diagonal{
        --size2: 1px;
    }    
}

.matrix .h_t_line{
    width: var(--size1);
    height: var(--size2);
    top: calc( 14.5% - var(--size2) / 2 ) ;
    left: 14.5%;
}
.matrix .h_b_line{
    width: var(--size1);
    height: var(--size2);
    top: calc( 100% - 14.5% - var(--size2) / 2 ) ;
    left: 14.5%;
}

.matrix .v_l_line{
    width: var(--size2);
    height: var(--size1);
    top: calc( 14.5% - var(--size2) / 2 ) ;
    left: calc( 14.5% - var(--size2) / 2 );
}
.matrix .v_r_line{
    width: var(--size2);
    height: var(--size1);
    top: calc( 14.5% - var(--size2) / 2 ) ;
    right: calc( 14.5% - var(--size2) / 2 );
}

.matrix .d_tr_line{
    transform-origin: right;
    width: var(--size1);
    height: var(--size2);
    top: 50% ;
    right: 0;
    transform: rotateZ( 45deg );
}
.matrix .d_tl_line{
    transform-origin: left;
    width: var(--size1);
    height: var(--size2);
    top: 50% ;
    left: 0;
    transform: rotateZ( -45deg );
}

.matrix .d_bl_line{
    transform-origin: left;
    width: var(--size1);
    height: var(--size2);
    top: 50% ;
    left: 0;
    transform: rotateZ( 45deg );
}
.matrix .d_br_line{
    transform-origin: right;
    width: var(--size1);
    height: var(--size2);
    top: 50% ;
    right: 0;
    transform: rotateZ( -45deg );
}

.matrix .i_h_line{
    transform-origin: center;
    width: 100%;
    height: var(--size2);
    top: 50%;
    left: 0;    
}
.matrix .i_v_line{
    transform-origin: center;
    width: 100%;
    height: var(--size2);
    top: 50%;
    left: 0;    
    transform: rotateZ(90deg);
}

.matrix .i_d1_line{
    transform-origin: center;
    width: 100%;
    height: var(--size2);
    top: 50%;
    left: 0;    
    transform: rotateZ(45deg);
}
.matrix .i_d2_line{
    transform-origin: center;
    width: 100%;
    height: var(--size2);
    top: 50%;
    left: 0;    
    transform: rotateZ(-45deg);
}
.matrix .i_d3_line{
    --size2: 1px;
    transform-origin: left;
    width: 50%;
    height: var(--size2);
    top: calc( 100% - 14.5% - var(--size2) / 2 ) ;
    left: 50%;    
    transform: rotateZ(-45deg);
}


.matrix_table{
    display: grid;
    grid-template-columns: 90px 90px 90px 140px;
    height: 450px;
    margin: 20px 0;
    font-weight: 400;
}

.div_matrix_tables > h2{
    font-family: 'DM Serif Display', serif;
    text-align: center;
    font-size: 36px;
}


.matrix_table div{
    background-color: hotpink;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 5px;
}

.base-matrix-page .content{
    display: flex;
    justify-content: space-around;
}
.matrix_table .caption{
    padding: 2px 0;  
    font-size: 1.2em;
    background-color: #ebf3ff;
    color: #000;

}
.matrix_table .subcaption{
    box-sizing: border-box;
    justify-content: center;
    font-size: 1.25em;

}

.matrix_table .sahasrara{
    background-color: #a66db9;
}
.matrix_table .adjna{
    background-color: #55a3b3;
}
.matrix_table .vishudha{
    background-color: #80cabb;
}
.matrix_table .anahata{
    background-color: #81be56;
}
.matrix_table .manipura{
    background-color: #f9cb67;
}
.matrix_table .svadihstana{
    background-color: #f57237;
}
.matrix_table .muladhara{
    background-color: #d14242;
}
.matrix_table .total{
    background-color: rgb(206, 199, 189);
}

.div_matrix_tables {
    padding: 0 15px;
}

.div_matrix_tables .subtables .table{
    width: 100%;
    margin: 10px 0;
    padding: 5px 0;
    box-sizing: border-box;
    color: #000;
    border-radius: 6px;
    border: 1px solid #C5C6CA;
}

.div_matrix_tables .subtables .table .total_value{
    font-size: 1.125em;
    background-color: #32545a;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.div_matrix_tables .third_subtab h3{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.div_matrix_tables .subtables .table{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.div_matrix_tables .subtables .table aside{
    display: flex;
    margin: 4px 0;
}

.div_matrix_tables .subtables .table h3{
    min-width: 100px;
}


.detailed_table{
    margin: 50px auto;
    margin-top: 120px;    
    max-width: 1000px;
}

.detailed_table > h2{
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.detailed_table > section{
    display: flex;
    justify-content: center;
}

.detailed_table .column{
    display: grid;
    width: 33.33%;
    grid-template-columns: repeat(2,50%);
    border-right: solid 1px #0c2340;
}
.detailed_table .column_3{
    border-right: none;
}

.detailed_table .field{
    background-color: #fb8b02b4;
    box-sizing: border-box;
    font-size: 1.125em;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detailed_table .caption{
    background-color: #fb8b02;
    font-size: 1.625em;
    height: 50px;
    border-bottom: solid 1px #0c2340;
}

.column .value{
    color: #834800;
}

#first_pseudo_page .input_data {
    width: 100%;
    max-width: 510px;
    margin: 60px auto;
    margin-bottom: 40px;
}

/* #first_pseudo_page .input_data > div{
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* #first_pseudo_page .input_data select{
    border: none;
    outline: none;
    background-color: #fff;
    width: fit-content;
    padding: 3px 6px;
    border-radius: 20px;
    border-radius: 10px;
    margin: 0 5px;
    font-size: 1.25em;
} */

#second_pseudo_page{
    display: none;
    margin-top: 150px;
}

.page_calc_couple .input_data > section{
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.page_calc_couple .input_data > section > div{
    display: flex;
    justify-content: center;
    width: fit-content;
    align-items: center;
    margin: 0px 30px;
}

.page_contacts .matrix-wrapper > p:first-of-type, 
#--lang--about{
    white-space: pre-wrap;
    text-align: justify;
}

#second_pseudo_page .content{
    display: flex;
    justify-content: space-around;
}


@media screen and (max-width: 1366px) { 
    .base-matrix-container *{
        font-size: 90%;
    } 
}
@media screen and (max-width: 540px) { 
    .base-matrix-container *{
        font-size: 100%;
    }
    .matrix .t1,
    .matrix .t2,
    .matrix .t3,
    .matrix .t4 {
        font-size: 130%;
    }
    
    .matrix .small_circle {

    }

    .matrix .sv,
    .matrix .v {
        font-size: 1em;
    }
    
    #second_pseudo_page{
        margin-top: 60px;
    }
}
@media screen and (min-width: 1080px){
    .matrix-wrapper{
        width: 85%;
    }
    header .nav, 
    header #base_nav_slide_3,
    header #base_nav_slide_3 li{
        max-width: 800px;
        min-width: 500px;
    }
    
}

@media screen and (max-width: 991px){
    .matrix-wrapper{
        width: 85%;
    }
    header .nav, 
    header #base_nav_slide_3,
    header #base_nav_slide_3 li{
        max-width: 80vw;
        min-width: 300px;
    }
    .matrix_table{
        width: 100%;
        grid-template-columns: 22% 22% 22% 34%;
    }

    .div_matrix_tables{
        width: 100%;
    }
    .detailed_table .field{
        font-size: .975em;
    }
    
    .detailed_table .caption{
        background-color: #fb8b02;
        font-size: 1.0em;    
    }
    .div_matrix_tables{
        margin-top: 120px;
    }
    #second_pseudo_page .content{
        align-items: center;
        flex-direction: column;
    }
}


@media screen and (max-width: 767px) {
    .matrix_table .subcaption{
        font-size: 1em;
    }
    /* #main_content {
        min-height: 720px;
    } */
    .matrix .ma{
        font-size: 2.5em;
    }

    #second_pseudo_page .content{
        padding-bottom: 60px;
    }

    .matrix{
        margin-top: 150px;
    }
    

    .matrix .small_circle {
        --width: 6%;
        --height: 6%;
    }

    .matrix .an {
        font-size: 1em;
    }
}

@media screen and (max-width: 640px){
    .matrix-wrapper{
        width: 94%;
    }
    header .nav, 
    header #base_nav_slide_3,
    header #base_nav_slide_3 li{
        width: 75vw;
    }
    header > div:last-of-type > div{
        height: 60px;
    }
    header .logo img{
        width: 50px;
    }
    header .nav_button > div{
        width: 20px;
        height: 2px;
    }
    .matrix_table .caption{
        font-size: 1em;
    }
    .page_calc_couple .input_data > section{
        flex-direction: column;
    }
    .page_calc_couple .input_data > section > div{
        margin: 20px 30px;
    }
    .page_main .download-app .text h3 {
        font-size: 1.25em;
    }
}