html
{
    margin: 0;
    overflow-x: hidden;
}

body
{
    height: auto;
    margin: 0;
    font-family: 'League Spartan', sans-serif;
    height: auto;
    overflow-x: hidden;
}

/* Header de la page */

header 
{
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 0.5fr 2fr 0.5fr;
    margin-left: auto;
    margin-right: auto;
    position: fixed;
    z-index: 1;
    background: white;
}

.redirection
{
    height: 5vw;
    margin: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: 1;
}

#logo
{
    max-width: 80%;
}

/* Menu hamburger */

.hamburger 
{
    display: none;
}

.bar 
{
    width: 30px;
    height: 3px;
    background-color: #000000;
    margin: 3px 0;
}

#closeButton
{
    display: none;
}

/* Navbar */

.menu
{
    height: 6vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

ul, li
{
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

li, a
{
    display: flex;
    text-decoration: none;
    margin: 20px;
}

.nav-link
{
    color: rgb(0, 0, 0);
    font-size: 20px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
    transition-duration: 0.3s;
}

.nav-link:hover
{
    border-bottom: 2px solid rgb(0, 0, 0);
}

/****  Valley Menu   *****/

#arrowMenu
{
    width: 5%;
    transform: rotate(90deg);
    filter: none;
}

.nav-dropdown
{
    position: relative;
    height: 60px;
    display: flex;
    justify-content: left;
    align-items: center;
    width: 20%;
    margin: 15px;
}

ul.dropdown-menu
{
    padding: 0;
}

.dropdown-menu 
{
    height: auto;
    display: none;
    position: absolute;
    top: 80%;
    left: 10%;
    background-color: #ffffff;
    transition-duration: 0.3s;
    border-radius: 3px;
}

.nav-dropdown:hover .dropdown-menu 
{
    display: block;
}

.dropdown-menu li
{
    height: 40px;
    margin: 0px;
}

.dropdown-menu li a 
{
    color: black;
    transition-duration: 0.5s;
    font-size: 18px;
    transition-duration: 0.5s;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.dropdown-menu li a:hover{
    border-bottom: 2px solid black;
}

/* Langue site Fr/En */

#arrowMenu2
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10px;
    height: 10px;
    transform: rotate(90deg);
    padding: 5px;
}

.selected-lang
{
    font-size: 18px;
    color: #000000;
    border-bottom: 2px solid transparent;
    right: 0;
}


.lang-dropdown
{
    display: flex;
    position: absolute;
    right: 0;
    margin-right: 15%;
    grid-column: 3;
}

ul.select-lang
{
    padding: 0;
}

.select-lang
{
    height: auto;
    display: none;
    position: absolute;
    top: 70%;
    background-color: #ffffff;
    transition-duration: 0.3s;
    border-radius: 3px;
}

.lang-dropdown:hover .select-lang
{
    display: block;
}

.select-lang li
{
    height: 40px;
    margin: 0px;
}

.select-lang li a 
{
    color: rgb(0, 0, 0);
    font-size: 18px;
    transition-duration: 0.5s;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.select-lang li a:hover
{
    border-bottom: 2px solid rgb(0, 0, 0);
}

.select-lang.white-bg
{
    background-color: white;
    box-shadow: none;
}
  
.select-lang.white-bg li a
{
    color: black;
}

.en
{
    display: none;
}

/* Section pour les info du projet */

.gridInfo
{
    display: grid;
    width: 100%;
    height: 600px;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.divInfo
{
    display: grid;
    width: 60%;
    height: 350px;
    background: white;
    grid-template-columns: 2fr;
    grid-template-rows: 0.2fr 0.2fr 0.4fr 0.5fr;
    border-radius: 35px;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}

#titleInfo
{
    color: black;
    font-size: 30px;
    font-family: 'Shrikhand', serif;
    text-align: center;
}

.About
{
    display: flex;
    justify-content: left;
    align-items: flex-start;
    flex-direction: column;
    grid-column: 1;
}

#titleAbout
{
    color: black;
    font-weight: bold;
    font-size: 30px;
    font-family: 'League Spartan', sans-serif;
    margin: 25px;
}

#textAbout, .continue
{
    font-family: 'League Spartan', sans-serif;
    color: black;
    font-size: 18px;
    line-height: 2;
    text-align: justify;
    width: 95%;
    margin: 10px;
}

/* Footer du site */

footer
{
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr 0.1fr 1fr 1fr;
    grid-template-rows: repeat(1, 1r);
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.contact
{
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1r);
    display: flex;
    justify-content: center;
    align-items: center;
}

.positionReseaux
{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    grid-column: 1;
}

#insta
{
    width: 1.5vw;
    margin: 20px;
    opacity: 0.70;
}

#youtube
{
    width: 2.25vw;
    margin: 20px;
    opacity: 0.70;
}

#tiktok
{
    width: 1.25vw;
    margin: 20px;
    filter: brightness(0%) contrast(40%) saturate(0%) grayscale(100%);
}

.link-contact
{
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 50px;
}

#titleContact, #copyright
{
    font-weight: bold;
    margin: 20px;
}

.logoFooterDiv, .copyrightDiv
{
    display: flex;
    justify-content: center;
    align-items: center;
}

#logoFooter
{
    width: 8%;
    filter: brightness(0%) contrast(40%) saturate(0%) grayscale(100%);
}

/* Partie responsive du site */

@media (max-width: 1082px)
{
    ul,li
    {
        padding: 0;
    }

    li, .nav-link
    {
        font-size: 15px;
        margin: 15px;
    }

    .dropdown-menu 
    {
        top: 80%;
    }
}

@media (max-width: 850px)
{
    header
    {
        display: grid;
        height: auto;
        grid-template-columns: 0.2fr 2fr 0.2fr;
        grid-template-rows: repeat(1, 1fr);
    }

    .hamburger 
    {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        cursor: pointer;
        width: auto;
        height: auto;
        border-radius: 5px;
        margin: 20px;
    }

    .bar
    {
        background: rgb(0, 0, 0);
    }

    #closeButton
    {
        display: block;
        color: rgb(0, 0, 0);
        border-radius: 30px;
        background: none;
        border: none;
        position: absolute;
        margin: 30px;
        font-size: x-large;
        position: absolute;
        right: 0;
        top: 0;
    }

    .menu
    {
        margin-left: 0;
        transform: translateX(-150%);
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        left: 0;
        top: 0;
        background-color: #ffffff;
        width: 50%;
        height: 100%;
        font-size: x-large;
        z-index: 1000;
        transition: transform 0.3s ease-in-out;
    }

    .menu ul 
    {
        position: absolute;
        left: 0;
        top: 0;
        text-align: center;
        width: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        height: 100%;
        margin-top: 20%;
    }

    .menu li , ul
    {
        margin: 0px;
    }

    .menu  a 
    {
        font-size: 15px;
        color: rgb(0, 0, 0);
        font-weight: bold;
    }

    #arrowMenu
    {
        filter: none;
    }

    .nav-dropdown
    {
        width: 30%;
        justify-content: center;
    }

    ul.dropdown-menu 
    {
        display: none;
        position: absolute;
        top: 50%;
        text-align: center;
    }

    .dropdown-menu li a
    {
        color: #000000;
        font-size: 14px;
    }
    
    .dropdown-menu.active 
    {
        display: flex;
        flex-direction: column;
    }

    .redirection
    {
        display: flex;
        justify-content: center;
        align-items: center;
        height: auto;
        grid-column: 2;
    }

    #logo
    {
       width: 30%;
    }

    #arrowMenu2
    {
        filter: none;
        width: 2.25%;
    }

    .lang-dropdown
    {
        display: none;
    }

    .en-responsive
    {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 10%;
    }

    .en
    {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 10%;
        color: #000000;
    }

    #en, #fr
    {
        font-size: 15px;
    }

    .divInfo
    {
        width: 70%;
    }

    footer
    {
        display: grid;
        grid-template-columns: 1fr 0.1fr 0.1fr 1fr;
        height: auto;
        width: 100%;
    }

    .contact
    {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: auto;
        grid-column: 2/4;
    }

    #insta
    {
        width: 25px;
        margin: 25px;
    }

    #tiktok
    {
        width: 25px;
        margin: 25px;
    }

    #youtube
    {
        width: 30px;
        margin: 25px;
    }

    .link-contact
    {
       color: grey;
       display: flex;
       justify-content: left;
       align-items: center;
       grid-column: 4;
       grid-row: 2;
    }

    #titleContact
    {
        margin: 0;
    }

    .logoFooterDiv
    {
        height: 0px;
        width: 0px;
    }

    #logoFooter
    {
        visibility: hidden;
    }

    .copyrightDiv
    {
        grid-column: 1/3;
        grid-row: 2;
        display: flex;
        justify-content: right;
        align-items: center;
        margin: 10px;
    }

    #copyright
    {
        margin: 0;
    }
}

@media (max-width: 600px)
{
    #logo
    {
        width: 40%;
    }

    .menu
    {
        width: 80%;
        height: 100%;
    }

    .gridInfo
    {
        background: white;
        margin-top: 0%;
        border-radius: 0;
    }

    #titleInfo
    {
        font-size: 25px;
    }

    #titleAbout, #titleService, #titleAvancement
    {
        font-size: 25px;
    }

    #textAbout, #textService, #textAvancement
    {
        line-height: 1.5;
    }

    #imgAvancement
    {
        width: 100%;
        margin-top: -15%;
    }

    .contact
    {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 15px;
    }

    #insta, #tiktok
    {
        width: 20px;
        margin: 25px;
    }

    #youtube
    {
        width: 25px;
        margin: 25px;
    }

    #logoFooter
    {
        display: none;
    }

    .copyrightDiv
    {
        grid-column: 1/3;
    }

    .link-contact
    {
        grid-column: 4;
    }
}

@media (max-width: 480px)
{
    header
    {
        grid-template-columns: 0.3fr 1fr 0.3fr;
        height: auto;
    }

    #logo
    {
        width: 50%;
    }

    .positionImage
    {
        margin-top: 10%;
    }
}

@media (max-width: 450px)
{
    #logo
    {
        width: 50%;
    }

    .About
    {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    #titleAbout, #titleService, #titleAvancement
    {
        font-size: 20px;
        text-align: center;
    }

    .divInfo
    {
        width: 100%;
    }

    #textAbout
    {
        width: 90%;
        text-align: center;
        font-size: 15px;
    }
}

@media (max-width: 390px)
{
    #logo
    {
        width: 60%;
    }

    #notreProjet
    {
        width: 90%;
    }

    .nav-dropdown
    {
        width: 50%;
    }

    #textAbout
    {
        text-align: center;
    }
}

@media screen and (max-height: 530px)
{
    .en-responsive
    {
        bottom: 0%;
    }

    .gridInfo
    {
        height: 400px;
    }

    .divInfo
    {
        height: 300px;
    }
}

@media screen and (max-height: 400px)
{
    .en-responsive
    {
        right: 0;
    }

    .dropdown-menu li a
    {
        padding: 0;
        margin: 5px;
    }

    .menu li
    {
        margin: 0;
        height: 30px;
    }

    a.nav-link
    {
        margin: 0;
    }
}