* {
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
    scroll-behavior: smooth;
}

header {
    width: 100%;
    height: 90px;
    background-color: #000;
    display: flex;
    justify-content: space-between;
    padding: 0 10% !important;
    align-items: center;
    font-family: 'Montserrat', sans-serif !important;

}

header .branding-logo {
    color: #fff;
    display: flex;
    align-items: flex-start;
    margin-left: 20px;
    flex-direction: column;
    flex: 1;
}

.branding-logo h1 {
    margin: 0;
    font-size: 25px;
}

.branding-logo p {
    margin: 0;
    font-size: 15px;
}

ul.nav-level-one>li {
    background-color: #f4f4f4;
    color: #000;
    padding: 15px 25px;
    border-radius: 7px;
}

li.mega-menu {
    position: relative;
}

li a {
    color: #000;
}

li.mega-menu:hover ul.nav-level-two {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90%;
    left: 60%;
    width: 100%;
    color: #fff !important;
    z-index: 1;

}


li.mega-menu:hover ul.nav-level-two>li>a {
    color: #000 !important;
    padding: 15px 25px;
    border-radius: 7px;
    background-color: #fff;
    display: block;
}


body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4;
}

nav {
    height: 100%;
    flex: 2;
    max-width: 1200px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul li {
    position: relative;
}

ul.nav-level-one {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    color: #fff;
    height: 100%;
    width: 90%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
}


section.hero {
    width: 100%;
    height: calc(100vh - 90px);
    background-color: #000;
    padding-top: 45px;
}

section.hero div.hero-content {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
    gap: 55px;
}

section.hero div.hero-content div.profile-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    object-fit: contain;
    overflow: hidden !important;
}

section.hero div.hero-content div.profile-image img {
    width: 100%;
    height: 100%;
    max-width: 450px;
    max-height: 750px;
    object-fit: cover;
    object-position: center;
    border-radius: 4%;
    border: 5px solid #fff;
    box-shadow: 0 0 10px 5px #000;
}

section.hero div.hero-content .biography {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #efefef;
    margin-top: 79px;
    font-family: 'Montserrat', sans-serif !important;
}

section .biography h2 {
    font-size: 40px;
    margin: 0;
    font-weight: 600;
    margin-top: 45px;
}

section .biography p {
    font-size: 30px;
    margin: 0;
    margin-top: 20px;
    font-weight: 300;
    text-align: justify;
    line-height: 1.5;
}

section.travaux {
    width: 100%;
    height: 100%;
    background-color: #000;
    padding: 45px 0;
    padding-top: 300px;
    padding-bottom: 75px;
}

h2#travaux {
    color: #fff;
    text-align: center;
    font-size: 60px;
    margin: 0;
    font-weight: 600;
    margin: 45px 0;
    text-decoration: underline;
    text-decoration-line: overline;
}


section.travaux .integration{
    width: 80%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #fff;
    margin: 0 auto;
    gap: 45px;
}

section.travaux > div {
    transition: all 0.3s ease-in-out;
}

section.travaux > div:hover{
    border: 5px solid #fff;
    border-radius: 10px;
    padding: 15px 30px 30px;
}

section.travaux > div h3 {
    font-size: 40px;
    font-weight: 600;
    position: relative;
    margin: 0;
    text-align: left;
}

section.travaux > div h3::before {
    content: '';
    position: absolute;
    width: calc(100% - 580px);
    right: 0;
    height: 7px;
    background-color: #fff;
    bottom: 12px;
}
section.travaux .integration div.works {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
   column-gap: 30px;
   row-gap: 45px;
    flex-wrap: wrap !important;
    align-items: stretch;
}

section.travaux div.works> a {
    text-decoration: none;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 30%;
    border-radius: 7px;
    background-color: #000;
    border: 5px solid #fff;
    transition: all 0.5s ease-in-out;
}

.work-item img {
    width: 100%;
    height: 100%;
    max-width: fit-content;
    max-height: 300px;
    object-fit: cover;
}

.work-item h3 {
    font-size: 30px;
    font-weight: 600;
    margin: 20px 0;
    text-align: center;
}
section.travaux div.works> a:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.1);
}
section.travaux div.works> a h3{
    padding-left: 14px;
}