/* -------------------- Global -------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

/* -------------------- Variables -------------------- */
:root{
    --black: #000000;
	--tBlack: rgba(0,0,0,0.8);
    --white: #ffffff;
    --tWhite: rgba(255,255,255,0.8);
	--lgBlue1: #a3d8ed;
	--lgBlue2: #5bbedb;
	--lgBlue3: #4b8daa;
	--lgBlue4: #3d6e8e;
	--lgBlue5: #373b5a;
	--lgBlue6: #24193e;
	--lgRed: #be1d2d;
    --lgPink: #d45c66;
    --lgPinkLight: #EBA2AE;
}

/* -------------------- Style de base -------------------- */
body{
    font-family: Roboto, Verdana, Geneva, Tahoma, sans-serif;
    color: var(--black);
    font-size: 1rem;
}
/* Text */
h1, .h1 {
    font-size: 2rem;
}

/* -------------------- Layout -------------------- */
/* Header */
header, footer {
    background-color: var(--lgBlue5);
}
header {
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    border-bottom: 1px solid var(--lgBlue6);
}
header img {
    width: 150px;
    padding: 10px;
}
header nav {
    display: flex;
    max-width: 1600px;
    padding: 0px 60px 0px 40px;
}
header nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    color: var(--white);
    gap: 15px;
}
header nav ul li a {
    text-decoration: none;
    color: var(--white);
    font-size: 1.3rem;
    text-shadow: 1px 2px 1px var(--black);
    transition: 0.2s all;
}
header nav ul li a:hover {
    color: var(--lgBlue2);
}
/* Classe active dynamique */
nav ul li a.active {
    color: var(--lgBlue2);
    font-weight: bold;
}
/* Sidebar */
#sidebar {
    position: absolute;
    background: rgba(55, 59, 90, 0.9);
    color: var(--white);
    width: 100%;
    text-shadow: 2px 2px 1px var(--black);
    transform: translateX(-100%);
    padding: 20px;
    transition: 0.4s all;
}
/* Faire apparaitre la sidebar */
#sidebar.open-sidebar {
    transform: translateX(0%);
}
#sidebar nav ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 15px;
    list-style: none;
}
#sidebar nav ul li a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--white);
    transition: 0.2s all;
    padding: 15px 0px 15px 0px;
}
#sidebar nav ul li a:hover {
    color: var(--lgBlue2);
}
#sidebar .off i {
    color: var(--white);
    transition: 0.2s all;
}
#sidebar .off i:hover {
    color: var(--lgBlue6);
}
/* Bouton  */
.hamburger {
    display: flex;
    align-items: center;
    font-size: 30px;
    color: var(--white);
    text-decoration: none;
    background-color: var(--lgBlue5);
    border: none;
/* cacher le bouton de menu */
    display: none;
}
.hamburger img {
    width: 100px;
}

/* Footer */
footer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 150px;
    width: 100%;
    padding: 0px 20px 0px 20px;
}
footer img {
    width: 200px;
}
footer p {
    color: var(--white);
    line-height: 1.5rem;
}

/* -------------------- Pages -------------------- */
/* Section Accueil */
.section_accueil {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-image: url(../assets/ls-background-2274px.png);
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}
.section_accueil .services {
    width: 800px;
    padding-top: 50px;
}
.section_accueil .communication_img {
    width: 600px;
    padding: 50px 0px 50px 0px;
}

/* Page Life Sciences */
.life_sciences {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--lgBlue1);
    height: 100%;
    padding: 0px 50px 50px 50px;
}
.life_sciences .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    gap: 50px;
    padding-bottom: 50px;
}
.life_sciences .wrap h2{
    padding-bottom: 5px;
}
.life_sciences .wrap article {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.life_sciences img {
    width: 300px;
    padding-bottom: 15px;
}
.life_sciences .big {
    width: 600px;
}

/* Page Communication */
.communication {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--lgPink);
    color: var(--white);
    text-shadow: 2px 2px 1px var(--black);
}
.communication .communication_nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 0px 100px 0px;
}
.communication ul li {
    font-size: 22px;
}
.communication img {
    padding-top: 100px;
    width: 40%;
}

/*Page qui sommes nous */
.about_us {
    display: flex;
    flex-direction: column;
    background-color: var(--lgBlue4);
    color: var(--white);
    padding-bottom: 80px;
}
.about_us .h1 {
    padding: 80px 80px 80px 80px;
    text-shadow: 1px 2px 1px var(--black);
}
.about_us .team_names {
    display: flex;
    padding: 0px 0px 50px 80px;
    gap: 15px;
}
.cards_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    padding: 30px;
}
.aboutus_cards {
    display: flex;
    flex-direction: column;
    width: 550px;
    gap: 25px;
    background-color: var(--white);
    color: var(--black);
    padding: 40px;
    border-radius: 5px;
}
.aboutus_cards2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 550px;
    gap: 5px;
    background-color: var(--white);
    color: var(--black);
    padding: 30px;
    border-radius: 5px;
}
.aboutus_cards2 img {
    width: 330px;
    align-self: center;
    padding-top: 20px;
}
.aboutus_cards2 h2 {
    font-size: 32px;
    padding: 20px;
    text-align: center;
}
.aboutus_cards2 a:hover {
    text-decoration: none;
}

/* Page Nos Projects */
.projects {
    height: 100vh;
    background-color: var(--lgBlue4);
    display: flex;
    flex-direction: column;
    gap: 200px;
}
.projects .titre,
.projects .text {
    color: var(--white);
    text-shadow: 1px 2px 1px var(--black);
}
.projects .titre {
    padding: 100px 0px 0px 150px;
}
.projects .text {
    text-align: center;
}

/* Page Contact */
.contact {
    display: flex;
    justify-content: space-around;
    align-items: end;
    background-color: var(--lgBlue4);
    color: var(--white);
    padding: 100px 0px 200px 0px;
}
.contact .info_contact,
.contact .media {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 400px;
    line-height: 1.5rem;
}
.contact .info_contact h1,
.contact .info_contact p,
.contact .media p {
    text-shadow: 1px 2px 1px var(--black);
}
.contact .media a {
    color: var(--black);
    text-decoration: underline;
}
.contact .info_contact .white_background p,
.contact .media .white_background p {
    text-shadow: none;
}
.white_background {
    background-color: var(--white);
    color: var(--black);
    padding: 30px;
    border-radius: 5px;
}
.white_background div {
    gap: 15px;
    padding: 10px;
}
.white_background img {
    width: 40px;
    transition: 0.2s all;
}
.white_background img:hover {
    scale: 1.1;
}
.white_background a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}
.white_background a:hover {
    text-decoration: none;
}

/* -------------------- Media Queries -------------------- */
/* Header */
@media screen and (max-width: 820px) {
    header nav {
        padding: 0px 30px 0px 0px;
    }
    header nav ul li a {
        font-size: 18px;
    }
}

@media screen and (max-width: 640px) {
    header {
        justify-content: space-evenly;
        gap: 0px;
    }
/* Cacher la navigation desktop */
    header nav {
        display: none;
    }
/* Faire apparaitre le bouton menu */
    .hamburger {
        display: flex;
    }
/* Autres media queries à 640px */
    .communication img {
        width: 80%;
    }
    .aboutus_cards {
        padding: 20px;
    }
    .aboutus_cards2 {
        padding: 15px;
    }
    .about_us .h1 {
        text-align: center;
        padding: 80px 20px 80px 20px;
    }
    .about_us .team_names {
        flex-direction: column;
        text-align: center;
        padding: 0px 0px 20px 0px;
        gap: 0x;
    }
    .about_us .rotate {
        transform: rotate(-90deg);
    }
    .projects .titre {
        text-align: center;
        padding: 100px 0px 0px 0px;
    }
}
@media screen and (max-width: 350px) {
    header {
        justify-content: center;
    }
}
@media screen and (max-width: 330px) {
    header {
        height: 110px;
    }
    header img {
        width: 100px;
        padding: 5px;
    }
    .hamburger {
        font-size: 24px;
    }
    .hamburger img {
        width: 80px;
    }
}

/* Accueil */
@media screen and (max-width: 820px) {
    .section_accueil .services {
        width: 90%;
    }
    .section_accueil .communication_img {
        width: 75%;
    }
}

/* Life Science */
@media screen and (max-width: 820px) {
    .life_sciences {
        padding: 0px 20px 20px 20px;
    }
}
@media screen and (max-width: 600px) {
    .life_sciences img {
        width: 250px;
        padding-bottom: 15px;
    }
    .life_sciences .big {
        width: 500px;
    } 
}
@media screen and (max-width: 500px) {
    .life_sciences img {
        width: 200px;
        padding-bottom: 15px;
    }
    .life_sciences .big {
        width: 400px;
    } 
}
@media screen and (max-width: 400px) {
    .life_sciences img {
        width: 150px;
        padding-bottom: 15px;
    }
    .life_sciences .big {
        width: 300px;
    } 
}

/* Communication */
@media screen and (max-width: 1600px) {
    .communication img {
        width: 45%;
    }
}
@media screen and (max-width: 1400px) {
    .communication img {
        width: 50%;
    }
}
@media screen and (max-width: 1100px) {
    .communication img {
        width: 60%;
    }
}
@media screen and (max-width: 800px) {
    .communication img {
        width: 70%;
    }
}
@media screen and (max-width: 540px) {
    .communication img {
        width: 90%;
    }
}
@media screen and (max-width: 400px) {
    .communication img {
        width: 95%;
    }
    .communication ul li {
        font-size: 18px;
    }
}

/* Qui sommes nous */
@media screen and (max-width: 450px) {
    .aboutus_cards2 img {
        width: 90%;
    }
}

/* Projets */
@media screen and (max-width: 330px) {
    .projects .titre h1,
    .projects .text .h1 {
        font-size: 1.5rem;
    }
}

/* Contact */
@media screen and (max-width: 830px) {
    .contact {
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 200px 20px;
    }
    .contact .media {
        gap: 50px;
        padding-top: 80px;
    }
}

/* Footer */
@media screen and (max-width: 980px) {
    footer p {
        font-size: 14px;
    }
}
@media screen and (max-width: 880px) {
    footer {
        height: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px 0px 20px 0px;
        gap: 10px;
    }
}