@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-BoldItalic.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("fonts/Lato-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

:root {
    --color_primary: rgb(10, 63, 61);
    /* white */
    /* --bg_primary: rgb(69, 86, 175); */
    /* --bg_primary: rgb(255 170 60); */
    --bg_primary: rgb(255, 255, 255);
    /* blue */
    /* --color_secondary: rgb(100, 194, 158); */
    /* --color_secondary: rgb(130, 100, 190); */
    --color_secondary: rgb(10, 63, 61);
    /* Green */
    --bg_secondary: rgb(255, 255, 255);
    /* White */

    --breakpoint_responsive_max: 900px;
}

html {
    scroll-behavior: smooth;
    min-width: 300px;
    overflow-x: hidden;
}

html,
button,
input,
select,
textarea {
    font-family: sans-serif;
}

a {
    color: initial;
    text-decoration: none;
}

h1 {
    margin: 0;
    max-width: 406px;
    text-align: center;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

.row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 30px 0;
}

.hide {
    display: none;
}

img {
    opacity: 0;
    -webkit-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1 !important;
}

.line-through {
    text-decoration: line-through;
}

body {
    position: relative;
    min-width: 230px;
    min-height: calc(100vh - 130px);
    margin: 0;
    padding-bottom: 300px;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 28px;
    text-align: justify;
    overflow-x: hidden;
    color: var(--color_primary);
    background: var(--bg_primary);
    /*     background: linear-gradient(109deg, var(--bg_primary) 0%, rgba(2, 0, 36, 1) 50%, rgba(0, 212, 255, 1) 100%);
    background-repeat: no-repeat; */
}

header {
    color: var(--color_primary);
    overflow: hidden;
}

header .container {
    display: block;
}

header .container-responsive {
    display: none;
}

header .logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 65px;
    height: 400px;
    margin: 100px auto 50px auto;
    background-image: url(imgs/logo.png);
    background-size: 419px;
    background-repeat: no-repeat;
    background-position: 13px top;
    color: #fff;
    -webkit-transition: -webkit-filter 0.5s ease;
    transition: -webkit-filter 0.5s ease;
    -o-transition: filter 0.5s ease;
    transition: filter 0.5s ease;
    transition: filter 0.5s ease, -webkit-filter 0.5s ease;
}

header .logo>* {
    margin: auto;
    font-weight: bold;
    line-height: 35px;
}

header .logo p:nth-child(1) {
    font-size: 30.5px;
    letter-spacing: 0.5px;
}

header .logo p:nth-child(2) {
    padding-left: 13px;
    letter-spacing: 12px;
    font-size: 28px;
}

header .logo p:nth-child(3) {
    padding-left: 16px;
    letter-spacing: 29.9px;
    font-size: 31px;
}

nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-padding-start: 0;
    padding-inline-start: 0;
    padding: 10px 0 20px 0px;
    max-width: 500px;
    margin: auto;
}


nav ul li a {
    display: inline-block;
    padding-bottom: 5px;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    color: var(--color_primary);
}

nav ul li.active a,
nav ul li a:hover {
    color: var(--color_secondary);
}

nav ul li a:hover {
    -webkit-transform: scale(1.4);
    -ms-transform: scale(1.4);
    transform: scale(1.4);
}

nav ul li.active a {
    border-style: solid;
    border-width: 0 0 3px 0;
    border-color: var(--color_secondary);
}

footer nav {
    margin: 50px 0;
}

body>footer {
    position: absolute;
    bottom: 0;
    padding-bottom: 30px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    min-height: 130px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body>footer>*:not(nav) {
    font-size: 0.75em;
    margin: 5px 0;
}

.icon {
    width: 30px;
    height: 30px;
    margin: 10px;
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: center;
    opacity: 1;
    color: transparent;
    font-size: 1px;
}

.icon:hover {
    opacity: 0.7;
}

.icon.icon-linkedin {
    filter: grayscale(1);
    -webkit-filter: grayscale(1);
    background-image: url(./imgs/icon-linkedin.svg);
}

.sep {
    height: 3px;
    width: 50px;
    margin: 30px auto;
    border-radius: 3px;
    background-color: var(--color_primary);
}

h3 {
    padding: 10px;
    color: var(--bg_secondary);
    border: 1px solid var(--color_primary);
    background-color: var(--color_primary);
}

.table-header {
    font-weight: bold;

}

.table-header,
.table-content {
    padding: 10px;
    text-align: left;
}

/* Content ----- */
section {
    height: auto;
    min-height: 250px;
    max-width: 920px;
    margin: auto;
    padding: 30px;
    overflow: hidden;

    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    /* border: 1px solid white; */
    margin: 20px auto;

    -webkit-transition: all 0.4s ease-in-out;

    -o-transition: all 0.4s ease-in-out;

    transition: all 0.4s ease-in-out;
}

section:nth-child(1n) {
    /* transform: matrix3d(0.94, 0, 0.34, 0.0003, 0, 1, 0, 0, 0.34, 0, 0.94, 0, 1, 0, 10, 1) translateX(67px); */
    -webkit-box-shadow: 0 0 9px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 9px 0px rgba(0, 0, 0, 0.3);
}

section:nth-child(2n) {
    /* transform: matrix3d(0.94, 0, 0.34, -0.0003, 0, 1, 0, 0, -0.34, 0, 0.94, 0, 1, 0, 10, 1) translateX(-75px); */
    -webkit-box-shadow: 0 0 9px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 9px 0px rgba(0, 0, 0, 0.3);
}

section:hover {
    -webkit-transform: initial;
    -ms-transform: initial;
    transform: initial;
    /* box-shadow: none; */
}

/*section:nth-child(odd) {
    color: var(--color_secondary);
    background-color: var(--bg_secondary);
}*/

section#intro {
    min-height: 80px;
    color: var(--color_primary);
    -webkit-box-shadow: none;
    box-shadow: none;
    /*     background-image: url(imgs/logo.png);
    background-size: 445px;
    background-repeat: no-repeat;
    background-position: center 55px; */
}

section#offers h2 {
    font-size: 2em;
    margin-bottom: 80px;
}

section#offers .bi {
    margin-right: 10px;
}

section #projects {
    text-align: center;
}

section#about {
    padding-bottom: 100px;
    color: var(--color_primary);
    opacity: 0;
    -webkit-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    border-top: solid 2px var(--color_primary);
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

section#about .icons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 600px;
    margin: 50px auto;
}

section#about .icons .icon_service {
    margin: 0;
}

section#contact {
    color: var(--color_primary);
    /*
    padding-bottom: 510px;
    background-image: url(imgs/man_99.png);
    background-size: 535px;
    background-repeat: no-repeat;
    background-position: center bottom;
    */
    -webkit-box-shadow: none;
    box-shadow: none;
}

section#lost {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-top: 355px;
    color: var(--color_primary);
    background-image: url(imgs/404.png);
    background-size: 535px;
    background-repeat: no-repeat;
    background-position: center center;
}

section#technos {
    max-width: 445px;
    min-height: auto;
    margin: auto;
    text-align: center;
}

.icon_service {
    height: 100px;
    width: 100px;
    margin: 15px auto;
    background-size: 100px;
    background-repeat: no-repeat;
    background-position: center center;
}

.icon_service#icon_service-1 {
    background-image: url(imgs/logo_service_1.png);
}

.icon_service#icon_service-2 {
    background-image: url(imgs/logo_service_2.png);
}

.icon_service#icon_service-3 {
    background-image: url(imgs/logo_service_3.png);
}

.icon_service#icon_service-4 {
    background-image: url(imgs/logo_service_4.png);
}

.icon_service#icon_service-5 {
    background-image: url(imgs/logo_service_5.png);
}

.icon_service#icon_formation-1 {
    background-image: url(imgs/logo_formation_1.png);
}

.icon_service#icon_formation-2 {
    background-image: url(imgs/logo_formation_2.png);
}

a.link_btn {
    display: inline-block;
    color: var(--color_primary);
    border: 1px solid var(--color_primary);
    border-radius: 15px;
    padding: 10px 15px;
    margin: 50px 0;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

a.link_btn:hover {
    color: var(--bg_primary);
    background-color: var(--color_primary);
    opacity: 1;
}

a.link_intext {
    color: var(--color_secondary);
    text-decoration: none;
}

a.link_intext:hover {
    color: var(--color_primary);
    text-decoration: underline;
}

a.link_cloud {
    display: inline-block;
    color: var(--color_primary);
    border: 1px solid var(--color_primary);
    border-radius: 15px;
    padding: 10px 15px;
    margin: 5px;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

a.link_cloud:hover {
    color: var(--color_secondary);
    background-color: var(--bg_secondary);
}

.tables {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.table#tailor-made .table-first-column {
    display: none;
}


section#experience {
    text-align: center;
    box-shadow: none;
}

section#contact {
    text-align: center;
}

section#contact,
section#offers,
section#blog,
section#technos h2 {
    text-align: center;
}

section#wrapper-projects {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
    min-height: 250px;
    max-width: 920px;
    margin: auto;
    padding: 30px;
    text-align: center;
    overflow: hidden;
    border-top: solid 2px var(--color_primary);
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

section#wrapper-projects *:not(.sep) {
    margin: 20px 0;
    padding: 0;
}

section#wrapper-projects a {
    color: var(--color_primary);
    text-decoration: none;
}

section a:hover {
    opacity: 0.5;
}

section#wrapper-projects h4 {
    padding: 10px;
    margin-bottom: 15px;
    font-size: 24px;
    color: var(--color_primary);
    border: 1px solid var(--color_primary);
    border-width: 15px 0px 1px 0px;
}

section#wrapper-projects .reference {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: space-between;
}

section#wrapper-projects .reference>* {
    width: calc(50% - 50px);
}

section#wrapper-projects .ref-images {
    position: unset;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 50%;
    height: auto;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0);
}

section#wrapper-projects .reference img {
    width: auto;
    max-width: 100%;
    max-height: 350px;
    margin: 0 auto 5px auto;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.3);
}

section#wrapper-projects ul,
section#wrapper-projects li {
    list-style: none;
    text-align: justify;
}

section#wrapper-projects li {
    padding-left: 25px !important;
}

section#wrapper-projects li .bi {
    margin-right: 9px !important;
    margin-left: -25px;
}

section#wrapper-projects ul {
    border: 1px solid var(--color_primary);
    border-width: 0px 0px 15px 0px;
    color: var(--color_primary);
}

article {
    display: inline-block;
}

article li {
    padding: 5px;
}

article footer {
    text-align: right;
}

.cloud {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: center;
    border-style: solid;
    border-width: 1px 0 1px 0;
    padding: 20px 0;
    margin: 50px auto;
    max-width: 920px;
}

section#references h2 {
    text-align: center;
}

section#references .reference {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 100px 0;
}


section#references .reference:nth-child(odd) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

section#references .reference>* {
    width: 50%;
}

section#references .reference img {
    margin-right: 50px;
    max-width: calc(100% - 50px);
}

section#references .reference:nth-child(odd) img {
    margin-left: 50px;
}

section#wp-themes .theme {
    margin: 50px 0;
}

section#wp-themes img {
    width: 100%;
}

section#wp-themes .link_btn {
    margin: 25px 0;
}

/* ----- Content */

.video-background {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    z-index: -10;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0.2;
}

/** ---------------- Helpers ------------------ */

/* ====== TEXT ====== */

.text-left {
    text-align: left !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-muted {
    color: #6c757d !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: #198754 !important;
}

.text-primary {
    color: #0d6efd !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fst-italic {
    font-style: italic !important;
}

/* ====== DISPLAY ====== */

.d-block {
    display: block !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

.d-flex {
    display: flex !important;
}

.d-none {
    display: none !important;
}

/* ====== FLEX HELPERS ====== */

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-end {
    align-items: flex-end !important;
}

/* ====== SPACING (approx Bootstrap scale) ====== */

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.ms-0 {
    margin-left: 0 !important;
}

.me-0 {
    margin-right: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.ms-1 {
    margin-left: 0.25rem !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

/* ====== WIDTH / HEIGHT ====== */

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

/* ====== MISC ====== */

.m-auto {
    margin: auto !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.text-nowrap {
    white-space: nowrap !important;
}