body{
    margin: 0;
    font-size: 62.5%;
}


/*---===== NAVBAR =====---*/

.navbar_wrapper{
    width: 100%;
    position: fixed;
    z-index: 2;
}

.navbar{
    position: relative;
    display: flex;
    height: 7.3em;
    overflow: hidden;
    font-family: lato-light,lato,sans-serif;
}

.skew_left{
    height: 100%;
    width: 10em;
    margin: 0 0 0 auto;
    background-color: #333;
    transform: skewX(30deg) translateX(25%);

}

.nav_ul {
    display: flex;
    width: max-content;
    margin: 0;
    list-style-type: none;
    overflow: hidden;
    background-color: #333;
    padding: 0;
    z-index: 10;
}

.nav_li{
    line-height: 7.3em;
    float: left;
    cursor: pointer;
}

.nav_li a{
    display: block;
    padding: 0 1em;
    text-decoration: unset;
    color: white;
    font-size: 1.5em;
    transition: 0.4s;
}

.nav_li a:hover{
    background-color: #4d4d4d;
}

.nav_icon_a_wrap{
    height: 100%;
    width: 8%;
    background-color: #333;
}

.nav_icon_a{
    height: 100%;
    display: flex;
    background-color: #333;
    width: min-content;
    margin: auto;
    padding: 0 2em 0 2em;
}

.navbar_logo_icon{
    position: relative;
    margin: auto;
    height: 70%;
}


/*============= INDEX PAGE =============*/
/*---===== WELCOME =====---*/

.welcome_block{
    position: relative;
    height: 90vh;
    width: 100%;
}

.welcome_background{
    position: absolute;
    height: 90vh;
    width: 100%;
    z-index: -1;
    left: 0;
    filter: drop-shadow(2em 0 4em #aaa);
}

.welcome_logo_wrap{
    position: absolute;
    top: 45%;
    left: 50%;
    height: 13%;
    transform: translate(-50%, -50%);
    -webkit-filter: drop-shadow(0.5em 0.5em 0.5em #aaa);
    filter: drop-shadow(0.5em 0.5em 0.5em #aaa);
}

.welcome_logo{
    height: 15em;
}


/*---===== ABOUT US =====---*/

.about_us_block{
    min-height: 60vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.about_us_background{
    position: absolute;
    height: 90vh;
    width: 100%;
    z-index: -1;
    left: 0;
    filter: drop-shadow(4em 4em 2em #aaa);
}

.about_us_content{
    margin: auto;
    display: flex;
}

.about_us_content_text{
    margin: 0 0 0 7em;
}

.about_us_content_image_wrap{
    display: flex;
}

.about_us_content_image{
    margin: auto 0;
}

.about_us_heading{
    padding: 1em 0 1em 0.3em;
    font: 3.5em/1.4em montserrat,sans-serif;
    font-weight: bold;
}

.about_us_text_wrap{
    max-width: 80em;
}

.about_us_text_section{
    position: relative;
    font: 1.4em/1.4em lato-light,lato,sans-serif;
    text-align: justify;
    letter-spacing: 0.07em;
    line-height: 1.8em;
    padding-bottom: 3em;
}


/*---===== OUR SERVICES =====---*/

.our_services_block{
    position: relative;
    min-height: 10vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.our_services_content{
    width: max-content;
    margin: 0 auto 0 auto;
}

.our_services_section_header{
    margin: 6em 1em 0 0;
    width: 20em;
}

.our_services_header_text{
    font-size: 2.6em;
    font-weight: bold;
    font-family: montserrat,sans-serif;
    position: relative;
    z-index: 1;
}

.our_services_header_number{
    position: absolute;
    color: #42FF42AA;
    z-index: 1;
    font-family: Helvetica, sans-serif;    
    font-weight: bold;
    font-size: 18em;
    margin: -0.4em 0 0 -0.1em;
}

.commerce_number{
    color: #FF7777;
}

.rnd_number{
    color: #CCCCCC;
}

.tax_number{
    color: #74d676;
}

.our_services_square, .our_services_square_logo{
    height: 35em;
    width: 35em;
    display: flex;
}

.our_services_box_wrap_commerce .our_services_square{
    background-color: #FF7777;
    position: relative;
}

.our_services_box_wrap_rnd .our_services_square{
    background-color: #aaaaaa;
    position: relative;
}

.our_services_box_wrap_rnd .our_services_square_logo{
    display: none;
    background-color: #aaaaaa;
    position: relative;
}

.our_services_box_wrap_tax .our_services_square{
    background-color: #74d676;
    position: relative;
}

.our_services_box_wrap_tax .our_services_square_logo{
    background-color: #74d676;
    position: relative;
}

.our_services_section_commerce{
    display: flex;
    margin: 0 0 8em 0;
}

.our_services_section_rnd{
    display: flex;
    margin: 0 0 8em 0;
}

.our_services_section_tax{
    display: flex;
}

.our_services_box_header{
    position: absolute;
    width: 80%;
    font-family: montserrat,sans-serif;
    font-size: 2.3em;
    text-align: center;
    transition: opacity 0.2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.our_services_box_text{
    position: absolute;
    width: 80%;
    opacity: 0;
    text-align: center;
    font: 1.4em/1.4em lato-light,lato,sans-serif;
    letter-spacing: 0.07em;
    line-height: 1.7em;
    transition: opacity 0.2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.our_services_box_wrap_commerce{
    display: flex;
    flex-wrap: wrap;
    width: 105em;
    filter: drop-shadow(1em 0 2.5em #aaa);
}

.our_services_box_wrap_rnd{
    display: flex;
    flex-wrap: wrap;
    filter: drop-shadow(1em 0 2.5em #aaa);
}

.our_services_box_wrap_tax{
    display: flex;
    flex-wrap: wrap;
    filter: drop-shadow(1em 0 2.5em #aaa);
}

.our_services_logo{
    position: absolute;
    height: 5em;
    width: 5em;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/*---===== MAP BLOCK =====---*/

.map_block{
    position: relative;
    height: 45vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: lightsteelblue;
}


/*---===== PARTNERS =====---*/

.partners_block{
    position: relative;
    height: max-content;
    min-height: min-content;
    width: 100%;
    margin: 15em 0 10em 0;
}

.partners_heading{
    display: flex;
}

.partners_heading_text{
    margin: auto auto 0 auto;
    font: 3.5em/1.4em montserrat,sans-serif;
    font-weight: bold;
}


.partner_logos{
    display: flex;
    height: 28em;
    width: 150em;
    margin: 0 auto 0 auto;
    flex-wrap: wrap;
}

.partner_logos a{
    display: flex;
    margin: auto;
    width: 25em;
    height: 25em;
}

.partner_logo_wrap{
    height: min-content;
    margin: auto;
    padding: 4em 0;
}

.partner_logo{
    margin:auto;
    position: absolute;
    transform: translate(-50%, -50%);
}

.partner_logo_color{
    opacity: 0;
}


/*============= NN DEMO =============*/

.cnn_block{
    display: flex;
    height: 100vh;
}

.cnn_content_height{
    display: flex;
    width: 100%;
    margin: auto 0 auto 0;
}

.cnn_content_wrapper{
    display: flex;
    margin: 0 auto 0 auto;
}

.canvas_content_wrapper{
    height: min-content;
    margin: auto 0 auto auto;
}

.canvas_content{
    position: relative;
    width: min-content;
    padding: 3em 4em 3em 4em;
    background-color: ghostwhite;
    box-shadow: -0.8em 0.8em 1.5em 0 rgba(138,131,124,0.5);
}

.instructions{
    font-family: 'Avenir', sans-serif;
    font-size: 1.6em;
    padding: 0 1em;
    text-align: justify;
    -moz-text-align-last: center;
    text-align-last: center;
}

.canvas_wrapper{
    height: 560px;
    margin: 1.5em 0 1.5em 0;
    box-shadow: -0.8em 0.8em 1.5em 0 rgba(138,131,124,0.5);
}

#canvas{
    touch-action: none;
    cursor: crosshair;
}

.canvas_buttons{
    font-size: 1.6em;
}

.evaluate_button_wrapper{
    display: flex;
    justify-content: center;
    height: 3em;
    margin: 0.5em 0 0.5em 0;
}


#evaluate_button, #erase_button, #display_button{
    font-family: 'Avenir', sans-serif;
    border: none;
    background: ghostwhite;
    cursor: pointer;
}


#evaluate_button{
    width: 100%;
    font-size: 1.6em;
    padding-top: 0.2em;
    background-color: rgb(255, 80, 80);
    color: white;
    transition: background-color 300ms ease 0ms;
    box-shadow: -0.8em 0.8em 1.5em 0 rgba(138,131,124,0.5);
}

#evaluate_button:hover{
    background-color: #666666;:
}

.secondary_canvas_buttons{
    display: flex;
    justify-content: center;
    height: 3em;
}

#erase_button, #display_button{
    width: 49%;
    font-size: 1.2em;
    border: 0.1em solid #666666;
    transition: background-color 300ms ease 0ms;
    box-shadow: -0.2em 0.8em 1.5em 0 rgba(138,131,124,0.5);
    background-color: ghostwhite;
}

#erase_button:hover, #display_button:hover{
    background-color: rgb(255, 80, 80);
    border: 0.1em solid rgb(255, 80, 80);
    color: white;
}

.secondary_buttons_split{
    width: 2%;
}

.results_wrapper{
    height: min-content;
    width: min-content;
    background-color: ghostwhite;
    margin: auto auto auto 2%;
    box-shadow: 0.8em 0.8em 1.5em 0 rgba(138,131,124,0.5)
}

.results{
    height: 100%;
    width: 100%;
}

#result{
    font-family: 'Avenir', sans-serif;
    text-align: center;
    font-size: 5em;
    width: min-content;
    white-space: nowrap;
    padding: 0 0.4em 0 0.4em;
    margin: 0.5em auto 0 auto;
    border-bottom: 3px solid #74d676;
}

.demo_arrow_more{
    position: absolute;
    height: 30px;
    left:0;
    right:0;
    bottom: 5px;
    margin:0 auto;
}


/*---===== DEMO EXPLANATION =====---*/

.cnn_explanation_block{
    height: max-content;
    width: 100%;
}

.cnn_explanation_content_wrapper{
    max-width: 1210px;
    padding: 0 4.5em 4.5em 4.5em;
    margin: 5em auto;
    box-shadow: 0 0.8em 1.5em 0 rgba(138,131,124,0.5);
}

.cnn_explanation_text{
    display: flex;
    line-height: 150%;
    margin: 1em auto;
    max-width: 1100px;
    font-family: 'Avenir', sans-serif;
    font-size: 1.6em;
    text-align: justify;
    text-align-last: center;
}

.cnn_explanation_basic_params{
    display: flex;
    font-family: 'Avenir', sans-serif;
    font-size: 2em;
    text-align: center;
    text-align-last: center;
    padding: 0.8em 1em;
    color: rgb(255, 80, 80);
    justify-content: space-evenly;
}

.cnn_explanation_graph_header{
    font-family: 'Avenir', sans-serif;
    text-align: center;
    font-size: 3em;
    width: min-content;
    white-space: nowrap;
    padding: 1.5em 0.5em 0.3em 0.5em;
    margin: 0 auto 0.5em auto;
    border-bottom: 3px solid #74d676;
}

.demo_model_training_stats{
    max-width: 1300px;
    display: flex;
    margin: 0 auto;
}

.cnn_explanation_tables{
    display: flex;
    margin: 3em 0;
}

.training_history_table tr:nth-child(1), .cnn_structure_table tr:nth-child(1){
    background-color: #FF7777;
    color: white;
}

.training_history_table tr th, .cnn_structure_table tr th{
    max-width: 1100px;
    font-family: 'Avenir', sans-serif;
    font-size: 1.5em;
    text-align: center;
    text-align-last: center;
    padding: 0.8em 1em;
}

.training_history_table tr, .cnn_structure_table tr{
    border-bottom: 1px solid #DDDDDD;
}

.training_history_table tr td, .cnn_structure_table tr td{
    max-width: 1100px;
    font-family: 'Avenir', sans-serif;
    font-size: 1.5em;
    text-align: justify;
    text-align-last: center;
    padding: 0.5em 1em;
}

.demo_model_accuracy_graph, .demo_model_loss_graph{
    display: flex;
    height: 420px;
    width: 560px;
    margin: 0 auto;
    padding: 0 0 3em 0;
}

.training_history_table, .cnn_structure_table{
    margin: 0 auto 0 auto;
    border-collapse: collapse;
}

.training_history_table{
    margin: 0 auto auto auto;
}


/*============= CONTACT US PAGE =============*/

.contact_us_info_block{
    min-height: 80vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
    padding: 7.3em 0 0 0;
}

.contact_us_background{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
    margin: -7.3em 0 0 0;
    left: 0;
    filter: drop-shadow(2em 0 4em #aaa);
}

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

.contact_us_info_box{
    display: flex;
    flex-direction: column;
    height: max-content;
    padding: 5em;
    margin: auto 0 auto 0;
    box-shadow: 0 0.8em 1.5em 0 rgba(138,131,124,0.5);
    background-color: ghostwhite;
    width: max-content;
    min-width: max-content;
    margin: auto;
}

.contact_us_info_box:nth-of-type(1), .contact_us_info_box:nth-of-type(3){
    width: 240px;
    height: 260px;
}

.contact_us_info_box:nth-of-type(1){
    box-shadow: -0.4em 0.8em 1.5em 0 rgba(138,131,124,0.5)
}

.contact_us_info_box:nth-of-type(3){
    box-shadow: 0.4em 0.8em 1.5em 0 rgba(138,131,124,0.5)
}

.contact_us_info_box:nth-of-type(2){
    width: 250px;
}

.contact_us_box_icon{
    display: flex;
    height: 80px;
    filter: drop-shadow(0.4em 0.4em 0.3em #aaa);
    margin: 0 auto;
}

.contact_us_box_header{
    font-family: 'Avenir', sans-serif;
    text-align: center;
    font-size: 3em;
    width: min-content;
    white-space: nowrap;
    padding: 1.5em 0.5em 0.3em 0.5em;
    margin: 0 auto 0.5em auto;
    border-bottom: 3px solid #74d676;
}

.contact_us_box_contacts_text{
    width: 100%;
    font-family: 'Lato Medium', 'lato', sans-serif;
    text-align: center;
    font-size: 1.6em;
    padding: 0.3em 0;
}

.contact_us_box_table{
    display: flex;
    margin: 0 auto;
    font-family: 'Lato Medium', 'lato', sans-serif;
    font-size: 1.6em;
    border-collapse: collapse;
}

.contact_us_box_table tr td{
    padding: 0.3em;
}

.contact_us_map{
    width: 100%;
    height: 50vh;
    border: none;
}

.contact_us_cert_block{
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
    justify-content: center;
}

.contact_us_plaque_wrapper{
    margin: auto 0 auto 0;
}

.contact_us_plaque_a{
    height: 100%;
}

.contact_us_plaque_hover{
    background-color: #333;
}

.eu_mpo_plaque_pdf{
    height: 100vh;
    width: 100%;
}



/*============= FOOTER =============*/

.footer{
    height: max-content;
    width: 100%;
    background-color: rgba(29, 30, 33, 1);
    box-shadow: 0 1em 5em #AAA;
}

.footer_content{
    height: 80%;
    width: max-content;
    margin: auto;
    color: #FFF;
    font-family: montserrat, sans-serif;
    padding: 4em 0 0 0;
}

.footer_contact_header{
    text-align: center;
    font-weight: bold;
}

.footer_contact_header_child{
    font-size: 3em;
}

.footer_contact_contacts{
    margin: 1em 0 0 0;
    font-size: 1.8em;
}

.footer_contact_email{
    text-align: center;
}

.footer_contact_phone{
    text-align: center;
}

.footer_contact_ids{
    text-align: center;
    margin: 1em 0 0 0;
    font-size: 1.8em;
}

.footer_contact_locations{
    display: flex;
    margin: 1.2em 0 0 0;
    font-size: 1.5em;
    text-align: center;
}

.footer_contact_locations_child{
    margin: 0 auto;
}

.footer_contact_locations_header{
    font-weight: bold;
    margin-bottom: 0.2em;
}

.footer_stamp{
    height: 8em;
    background-color: rgba(29, 30, 33, 1);
    display: flex;
}

.footer_stamp_text{
    color: #888;
    font: 1.2em/1.4em lato-light,lato,sans-serif;
    margin: auto;
}








/*---======| RESPONSIVENESS |======---*/

@media only screen and (max-width: 2560px) {
    .welcome_logo{
        height: 13.5em;
    }
}

@media only screen and (max-width: 2048px) {
    .welcome_logo{
        height: 12em;
    }
}

@media only screen and (max-width: 1650px) {
    .welcome_logo{
        height: 11em;
    }
    
    .about_us_content_image {
      display: initial;
    }

    .about_us_text_wrap{
        width: 50em;
    }
  }

@media only screen and (max-width: 1520px) {
    .partner_logos{
        height: 50em;
        width: 74em;
    }
}

@media only screen and (max-width: 1330px) {
    .welcome_logo{
        height: 10.5em;
    }

    .about_us_content_text{
        margin: 0;
    }

    .about_us_content_image {
      display: none;
    }

    .about_us_text_wrap{
        width: 80em;
    }

    .our_services_section_commerce{
        display: block;
    }
    
    .our_services_section_rnd{
        display: block;
    }
    
    .our_services_section_tax{
        display: block;
    }


    .our_services_section_header{
        margin: 6em 1.5em 0 auto;
    }
}

@media only screen and (max-width: 1330px) {
    .cnn_block{
        height: max-content;
        width: 100%;
    }

    .cnn_content_wrapper{
        flex-direction: column;
        margin: 10em auto;
    }

    .canvas_content_wrapper{
        margin: 0 0 5em 0;
    }

    .demo_arrow_more{
        display: none;
    }

    .cnn_explanation_block{
        height: max-content;
    }

    .demo_model_training_stats{
        flex-direction: column;
    }

    .cnn_explanation_text{
        width: 500px;
    }

    .cnn_explanation_content_wrapper{
        width: 500px;
    }

    .demo_model_accuracy_graph, .demo_model_loss_graph{
        width: 500px;
        height: 375px;
    }

    .cnn_explanation_tables{
        flex-direction: column;
    }

    .cnn_structure_table{
        margin: 0 0 3em 0;
    }

}


@media only screen and (max-width: 1150px) {
    .contact_us_info_boxes{
        flex-direction: column;
    }

    .contact_us_info_box{
        margin: 3em auto;
    }

    .welcome_logo{
        height: 10em;
    }

    .our_services_box_wrap_commerce{
        width: 70em;
    }

    .our_services_box_wrap_rnd{
        width: 70em;
    }

    .our_services_box_wrap_tax{
        width: 70em;
    }

    .our_services_box_wrap_rnd .our_services_square_logo{
        display: flex;
    }

    .our_services_box_wrap_tax .our_services_square_logo{
        display: none;
    }
}


@media only screen and (max-width: 1000px) {
    .nav_icon_a_wrap{
        padding: 0 30px 0 0;
    }
}


@media only screen and (max-width: 890px) {
    .about_us_text_wrap{
        width: 50em;
    }
}
