@font-face {
    font-family: "briceFont";
    src: url("/assets/font/Hey\ Comic.otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "briceFont";
}

/* =======================  Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

header.sticky {
    background: #fff;
    padding: 10px 100px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.5s;
}

header.sticky .logo {
    color: #111;

}

header .logo {
    color: #fff;
    font-weight: 700;
    font-size: 2em;
    text-decoration: none;
}

header .logo span {
    color: #f00;
}

header .navigation {
    position: relative;
    display: flex;
}

header .navigation li {
    list-style: none;
    margin-left: 30px;
    color: #111;
}

header.navigation li a {
    text-decoration: none;
    color: #fff;
    font-weight: 300;

}

header a {
    color: #fff;
}

header a:hover {
    color: #2980b9;
}

header.sticky .navigation li a {

    color: #111;
}

header.sticky .navigation li a:hover {

    color: rgb(255, 0, 0);
}

/* =======================  Fin de la navbar */



/* =======================  navbar en burger */

@media all and (max-width : 840px) {
    header,

    header.sticky {
        padding: 10px 20px;
        transition: 0.8s;

    }

    header #navigation {
        display: none;
    }

    header #navigation.active {
        width: 100%;
        height: calc(100% - 68px);
        position: fixed;
        top: 68px;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: #fff;
    }

    header .navigation li {
        margin-left: 0;
    }

    header .navigation li {
        color: #111;
        font-size: 2em;
    }

    header.sticky.menuToggle {
        filter: invert(1);
    }

    .menuToggle {
        position: relative;
        width: 40px;
        height: 40px;
        background: url(assets/img/bars-solid.svg);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        padding-right: 6rem;
    }

    .menuToggle.active {
        background: url(assets/img/times-solid.svg);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
        padding-right: 6rem;
    }

    .banner .content h2 {
        font-size: 3.2rem;
    }

    header a{
        color: #111
    }

}

/* =======================  Fin de la navbar buger*/

.image {
    width: 42%;
    /* transform: translate(10%, 0%); */
}

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

@media all and (max-width : 840px) {
    .image {
        width: 100%;
        transform: translate(10%, 0%);
    }

    .banner {
        padding: 25px;
    }

    .banner h2 {
        font-size: 2em;
    }

    .contentBX .btn {
        margin-bottom: 20px;
    }

    .quiSommeNous{
        padding: 0;
    }

    .project-text h4 img {
        width: 14%!;
    }
    .project-technologies {
        font-size: 1.5rem;
    }



}

section {
    padding: 60px;
}

.banner {
    position: relative;
    min-height: 100vh;
    /* background: url(); */
    background-color: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner h1 {
    font-size: 3em;
    color: #fff;
    font-weight: 500;
    line-height: 1.5em;
}

.banner h1 span {
    font-weight: 500;
    font-size: 1.5em;
}

.banner h2 {
    font-size: 1.5em;
    color: #fff;
    font-weight: 500;
}

.btn {
    position: relative;
    background: #2980b9;
    display: inline-block;
    color: #fff;
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
}

.quiSommeNous h2 {
    font-weight: 600;
}

p {
    font-size: 1.1rem;
}


/* Section project */


.project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    background-color: #fff;
    box-shadow: 0.3rem 0.3rem 0.5rem #777;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.5s;
}

.project:hover {
    box-shadow: 1rem 1rem 1rem #777;
}

.project-text {
    text-align: center;
    letter-spacing: 0.1rem;
    position: absolute;
    top: -13rem;
    z-index: 10;
    transition: top 0.3s;
}

.project:hover .project-text {
    top: 5rem;
    transition: top 0.3s 0.3s;
}

.project-name {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    text-transform: capitalize;
}

.project-technologies {
    font-size: 1.8rem;
    color: #f00;
}

.project-img {
    width: 40rem;
    transition: opacity 0.3s;
}

.project:hover .project-img {
    opacity: 0.2;
}

.project-link {
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.1rem;
    border: 0.3rem solid #f00;
    padding: 0 1rem;
    background-color: #fff;
    position: absolute;
    bottom: -6rem;
    transition: bottom 0.3s;
}

.project:hover .project-link {
    bottom: 8.2rem;
    transition: bottom 0.4s 0.4s;
    text-decoration: none;
}

a:hover {
    color: #111;
}

.realisation {
    font-weight: 700;
    font-size: 1.9rem;
    color: #111;
}

#divCards {
    background-color: #111;
}


/* .project-text h4 img {
    width: 20%!;
} */

#divCards {
    margin: 0;
}

@media all and (max-width : 840px) {

    .project-link {
        bottom: -6rem;
        font-size: 1.5rem;
    }


    .project-name {
        font-size: 2rem;
    }

    #project-technologies {
        font-size: 1.3rem;
    }

    .project-text {
        top: -13rem;
    }

    .project-text h4 img {
        width: 18%;
    }
    .contact-form-btn {
    margin-top: 0.4em;
    }
}


/* End of Section project */




.contact-section {
    background: url(assets/img/bureau1-1.jpg) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    padding: 40px 0;
    width: 100%;
}

.contact-section h2 {
    text-align: center;
    color: rgb(250, 250, 250);
    font-weight: 600;
    font-size: 3rem;
    text-shadow: 1px 1px;
}

.border {
    width: 100px;
    height: 10px;
    background: #34495e;
    margin: 40px auto;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    padding: 0 10px;
    overflow: hidden;
}

.contact-form-text {

    width: 100%;
    box-sizing: border-box;
    margin: 16px 0;
    border: 0;
    background: #111;
    padding: 20px 40px;
    outline: none;
    color: #ddd;
    transition: 0.5s;
}

.contact-form-text:focus {
    box-shadow: 0 0 10px 4px #34495e;
}

textarea.contact-form-text {
    resize: none;
    height: 120px;
}

.contact-form-btn {
    float: right;
    border: 0;
    background: #34495e;
    color: #fff;
    padding: 12px 50px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.5s;
}

.contact-form-btn:hover {
    background: #2980b9;
}

footer {
    float: right;
    width: 100%;
}



.contentQuiSommeNous {
    display: flex;
    justify-content: space-between;
}

.headQuiSOmmeNous h2 {
    color: #111;
}

.headQuiSOmmeNous span {
    color: #f00;
}

.contentBx {
    padding-right: 30px;
}

.contentBX h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

#imgWork {
    max-width: 100%;
}


footer {
    color: #fff;
}    

@media all and (max-width : 840px) {

    #linkedin {
            width: 3%;
        }
    }
    
    @media all and (max-width : 440px) {
    
    #linkedin {
            width: 8%;
        }
    }