/*----------------------------------------------------------------------------------------
        Style.css    :       diaconseil.fr      By Stanislas THABAULT    2025
------------------------------------------------------------------------------------------*/
/*                                                                */
/*                                                                */
/*                             COMMUN                             */
/*                                                                */
/*                                                                */

::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
}

:root {
    --blue: #26518A;
    --white: white;
    --black: black;
}

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

body {
    font-family: "Poppins";
    overflow-y: scroll;
    -ms-overflow-style: none;
}

/*                                        */
/*                                        */
/*                 HEADER                 */
/*                                        */
/*                                        */

header {
    width: 100%;
    padding: 15px 10px 15px 10px;
    position: fixed;
    display: flex;
    backdrop-filter: blur(2.5px);
    z-index: 1000000;
}

.logoNavBar {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logoNavBar img {
    width: 90px;
    height: auto;
    display: none;
}

.logoNavBar.scroll img {
    display: flex;
}

.navBar {
    width: 80%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.mobileNavBar {
  display: none;
}

.buttonHamburger {
    display: none;
}

.navBar nav {
    width: 80%;
}

.navBar nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.homeButton {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
}

.homeButton.scroll {
    color: var(--blue);
}

.homeButton.use {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--white);
    border-bottom: 3px solid var(--white);
    text-decoration: none;
}

.aboutmeButton {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
}

.aboutmeButton.scroll {
    color: var(--blue);
}

.aboutmeButton.use {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
    text-decoration: none;
}

.actionButton {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
}

.actionButton.scroll {
    color: var(--blue);
}

.actionButton.use {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
    text-decoration: none;
}

.expertiseButton {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
}

.expertiseButton.scroll {
    color: var(--blue);
}

.expertiseButton.use {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
    text-decoration: none;
}

.experienceButton {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
}

.experienceButton.scroll {
    color: var(--blue);
}

.experienceButton.use {
    font-size: 1.2vw;
    font-weight: 400;
    color: var(--blue);
    border-bottom: 3px solid var(--blue);
    text-decoration: none;
}

.contactButton {
    width: 120%;
    height: auto;
    display: flex;
    padding: 5% 10% 5% 10%;
    font-size: 1.2vw;
    font-weight: 500;
    color: var(--blue);
    text-decoration: none;
    background-color: var(--white);
    border: 3px solid var(--white);
    border-radius: 10px;
    transition: 200ms;
}

.contactButton.scroll {
    color: var(--white);
    background-color: var(--blue);
    border: 3px solid var(--blue);
}

/*                                        */
/*                                        */
/*                 FOOTER                 */
/*                                        */
/*                                        */

.footerContainer {
    width: 100%;
    height: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--blue);
    padding: 20px 0px 20px 0px;
}

.footerContainer h3 {
    color: var(--white);
    font-family: Poppins;
    line-height: normal;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}

.footerContainer h3 a {
    text-decoration:underline;
    color: var(--white);
}

/*                                                                 */
/*                                                                 */
/*                             Accueil                             */
/*                                                                 */
/*                                                                 */

#accueil {
    width: 100vw;
    height: 100vh;
    background-color: var(--blue);
}

.homeContainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.homeContainer img {
    width: 25vw;
    height: auto;
}

.scrollButton {
    width: 3.5vw;
    height: 3.5vw;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: moveUpDown 2s ease infinite alternate;
}

@keyframes moveUpDown {
    0% {
      transform: translate(-50%, -50%) translateY(0);
    }
    100% {
      transform: translate(-50%, -50%) translateY(20px);
    }
  }

.scrollButton a {
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.scrollButton a svg {
    fill: var(--white);
    width: 100%;
    height: 100%;
}

/*                                                                     */
/*                                                                     */
/*                             Qui suis-je                             */
/*                                                                     */
/*                                                                     */

#qui-suis-je {
    width: 100vw;
    height: auto;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding-top: 130px;
}

.aboutContainer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.leftContainerAbout {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.leftContainerAbout img {
    width: 35%;
    height: auto;
    border-radius: 25px;
}

.leftContainerAbout h3 {
    color: var(--blue);
    font-size: 1.2vw;
    font-weight: 500;
}

.rightContainerAbout {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
}

.rightContainerAbout p {
    width: 60%;
    font-size: 1vw;
    color: var(--blue);
}

/*                                                                          */
/*                                                                          */
/*                             Champs d'actions                             */
/*                                                                          */
/*                                                                          */

#champs-d-action {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    padding-top: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.groupContainerAction {
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.topContainerAction {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topContainerAction h3 {
    font-size: 1.3vw;
    color: var(--blue);
}

.bottomContainerAction {
    width: 100%;
    height: 90%;
    display: flex;
    justify-content: row;
}

.leftContainerAction {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrowleftContainerAction {
    width: 100%;
    height: 170px;
    position: relative;
}

.arrowleftContainerAction svg {
    width: 178px;
    height: auto;
    position: absolute;
    right: 20px;
    top: 80px;
    transform: rotate(135deg);
}

.rightContainerAction {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrowrightContainerAction {
    width: 100%;
    height: 170px;
    position: relative;
}

.arrowrightContainerAction svg {
    width: 178px;
    height: auto;
    position: absolute;
    left: 20px;
    top: 80px;
    transform: rotate(45deg);
}

.contentContainerAction {
    width: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 20px;
    border-radius: 25px;
    border: 3px solid var(--blue);
}

.contentContainerAction h4 {
    font-size: 1vw;
    font-weight: 600;
    color: var(--blue);
}

.contentContainerAction p {
    font-size: 0.9vw;
    font-weight: 500;
    color: var(--blue);
}

/*                                                                    */
/*                                                                    */
/*                             Expertises                             */
/*                                                                    */
/*                                                                    */

#expertises{
    width: 100vw;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 200px 0px 50px 0px;
}

.expertisesContainer {
    width: 71%;
    height: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}

.cardContainer {
    width: 16vw;
    height: 50vh;
    perspective: 1000px;
}
  
.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.5s;
}

.click {
    width: 40px;
    height: auto;
    position: absolute;
    bottom:20px;
    right:20px;
}
  
.cardContainer:hover .card-inner {
    transform: rotateY(180deg);
}
  
.card1-front,
.card2-front,
.card3-front,
.card4-front,
.card5-front,
.card6-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}
  
.card1-front,
.card2-front,
.card3-front,
.card4-front,
.card5-front,
.card6-front {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
    border-radius: 25px;
    justify-content: center;
    padding: 10px;
    transform: rotateY(0deg);
}

.card1-front {
    background: linear-gradient(0deg, rgba(38, 81, 138, 0.50) 0%, rgba(38, 81, 138, 0.50) 100%), url(../src/img/card1.webp) lightgray 50% / cover no-repeat;
}

.card2-front {
    background: linear-gradient(0deg, rgba(38, 81, 138, 0.50) 0%, rgba(38, 81, 138, 0.50) 100%), url(../src/img/card2.webp) lightgray 50% / cover no-repeat;
}

.card3-front {
    background: linear-gradient(0deg, rgba(38, 81, 138, 0.50) 0%, rgba(38, 81, 138, 0.50) 100%), url(../src/img/card3.webp) lightgray 50% / cover no-repeat;
}

.card4-front {
    background: linear-gradient(0deg, rgba(38, 81, 138, 0.50) 0%, rgba(38, 81, 138, 0.50) 100%), url(../src/img/card4.webp) lightgray 50% / cover no-repeat;
}

.card5-front {
    background: linear-gradient(0deg, rgba(38, 81, 138, 0.50) 0%, rgba(38, 81, 138, 0.50) 100%), url(../src/img/card5.webp) lightgray 50% / cover no-repeat;
}

.card6-front {
    background: linear-gradient(0deg, rgba(38, 81, 138, 0.50) 0%, rgba(38, 81, 138, 0.50) 100%), url(../src/img/card6.webp) lightgray 50% / cover no-repeat;
}

.card1-front svg,
.card2-front svg,
.card3-front svg,
.card4-front svg,
.card5-front svg,
.card6-front svg {
    width: 100px;
    height: auto;
}

.card1-front p,
.card2-front p,
.card3-front p,
.card4-front p,
.card5-front p,
.card6-front p {
    font-size: 1.5vw;
    font-weight: 600;
    color: var(--white);
    text-align: center;
}
  
.card-back {
    background-color: var(--blue);
    display: flex;
    align-items: center;
    border-radius: 25px;
    justify-content: center;
    padding: 10px;
    transform: rotateY(180deg);
}

.card-back p {
    font-size: 1vw;
    font-weight: 400;
    color: var(--white);
    text-align: center;
}

/*                                                                    */
/*                                                                    */
/*                             Expérience                             */
/*                                                                    */
/*                                                                    */

#experience{
    width: 100vw;
    min-height: 100vh;
    height: auto;
    padding-top: 130px;
    display: flex;
    gap: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.experienceImg {
    width: 50%;
    height: auto;
}

.experienceImgMobile {
    display:none;
}

#experience p {
    width: 50%;
    font-size: 1vw;
    color: var(--blue);
}

/*                                                                 */
/*                                                                 */
/*                             Contact                             */
/*                                                                 */
/*                                                                 */

#contact {
    width: 100vw;
    height: 100vh;
    padding-top: 130px;
    display: flex;
    flex-direction: column;
}

.contactContainer {
    width: 100%;
    height: 90%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.leftContainerContact {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form {
    width: 70%;
    height: 100%;
    border-radius: 25px;
    gap: 10px;
    background-color: transparent;
    font-family: "Poppins";
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

label {
    width: 80%;
    text-align: left;
    font-size: 1vw;
    color: var(--blue);
}

.input-first {
    width: 80%;
    height: 6%;
    border-radius: 50px;
    border: 3px solid var(--blue);
    color: var(--blue);
    font-family: "Poppins";
    font-weight: 400;
    font-size: 17px;
}

.input {
    width: 80%;
    height: 6%;
    border-radius: 50px;
    border: 3px solid var(--blue);
    color: var(--blue);
    font-family: "Poppins";
    font-weight: 400;
    font-size: 17px;
}

.input-area {
    width: 80%;
    height: 20%;
    resize: none;
    border-radius: 25px;
    border: 3px solid var(--blue);
    color: var(--blue);
    font-family: "Poppins";
    font-weight: 400;
    font-size: 17px;
}
  
.input-first[type=text] {
    padding: 0px 0px 0px 2%;
}

.input[type=text] {
    padding: 0px 0px 0px 2%;
}

.input[type=tel] {
    padding: 0px 0px 0px 2%;
}
  
.input[type=email] {
    padding: 0px 0px 0px 2%;
}
  
.input[type=text-area] {
    padding: 0px 0px 0px 2%;
}
  
.input-area[type=text] {
    padding: 2% 0px 0px 2%;
}

.btn-form {
    width: 20%;
    height: 7%;
    flex-shrink: 0;
    border-radius: 50px;
    background: var(--blue);
    color: var(--white);
    border: 3px solid var(--blue);
    font-family: "Poppins";
    font-weight: 400;
    font-size: 1vw;
    transition: 200ms;
    object-fit: cover;
    text-decoration: none;
    text-align: center;
}
  
.btn-form:hover {
    background-color: var(--white);
    border: 3px solid var(--blue);
    color: var(--blue);
}

.rightContainerContact {
    width: 50%;
    height: 100%;
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 40%;
    height: auto;
}

.logo svg {
    width: 100%;
    height: auto;
}

.rightContainerContact a {
    color: var(--blue);
    text-decoration: none;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    font-size: 1.3vw;
}

.rightContainerContact a svg {
    width: 2vw;
    height: auto;
    fill: var(--blue);
}

@media (max-height: 695px) {
    
    /*                                        */
    /*                                        */
    /*                 FOOTER                 */
    /*                                        */
    /*                                        */
    
    .footerContainer h3{
        font-size: 13px;
    }
    
    /*                                                                 */
    /*                                                                 */
    /*                             Contact                             */
    /*                                                                 */
    /*                                                                 */
    


    .form {
        gap: 5px;
    }
    
}

/* iPhone 16, 16 Pro Max, Phone 1, A55 */

@media (max-width: 440px) {

    /*                                                                */
    /*                                                                */
    /*                             COMMUN                             */
    /*                                                                */
    /*                                                                */

    /*                                        */
    /*                                        */
    /*                 HEADER                 */
    /*                                        */
    /*                                        */
    
    .logoNavBar {
        display: none;
    }
    
    .homeButton,
    .homeButton.use,
    .aboutmeButton,
    .aboutmeButton.use,
    .actionButton,
    .actionButton.use,
    .expertiseButton,
    .expertiseButton.use,
    .experienceButton,
    .experienceButton.use {
        font-size: 7vw;
        color: var(--blue);
    }
    
    .contactButton {
        width: 180px;
        padding: 15px 20px 15px 20px;
        font-size: 16px;
        background-color: var(--blue);
        color: var(--white);
    }

    .navBar{
        display: none;
    }

    .mobileNavBar {
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right:0;
        top:0;
        padding: 40% 10% 60% 10%;
        background: var(--white);
        transform: translateX(100%);
        opacity: 0;
        transition: transform 600ms ease-in-out, opacity 600ms ease-in-out;
    }

    .mobileNavBar.open {
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right:0;
        top:0;
        padding: 40% 10% 60% 10%;
        background: var(--white);
        transform: translateX(0);
        opacity: 1;
    }

    .mobileNavBar.closing {
        transform: translateX(100%);
        opacity: 0;
    }

    .mobileNavBar nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .buttonHamburger{
        width: 100%;
        padding-right: 10%;
        display: flex;
        justify-content: right;
        align-items: center;
        z-index: 100;
    }

    #checkbox {
        display: none;
    }
      
    .toggle {
        position: relative;
        width: 30px;
        cursor: pointer;
        margin: auto;
        display: block;
        height: calc(3px * 3 + 8.25px * 2);
    }
    
    .bar {
        position: absolute;
        left: 0;
        right: 0;
        height: 3px; 
        border-radius: calc(3px / 2); 
        background: var(--white);
        color: inherit;
        opacity: 1;
        transition: none 0.35s cubic-bezier(.5,-0.35,.35,1.5) 0s;
    }
    
    .bar.scroll {
        background: var(--blue);
    }
        
    .bar--top {
        bottom: calc(50% + 8.25px + 3px / 2); 
        transition-property: bottom,margin,transform;
        transition-delay: calc(0s + 0.35s),0s,0s;
    }
    
    .bar--middle {
        top: calc(50% - 3px / 2);
        transition-property: top,opacity;
        transition-duration: 0.35s,0s;
        transition-delay: calc(0s + 0.35s * 1.3),calc(0s + 0.35s * 1.3);
    }
    
    .bar--bottom {
        top: calc(50% + 8.25px + 3px / 2);
        transition-property: top,transform;
        transition-delay: 0s;
    }
    
    #checkbox:checked + .toggle .bar {
        background: var(--blue);
    } 
    
    #checkbox:checked + .toggle .bar--top {
        bottom: calc(50% - 8.25px - 3px);
        margin-bottom: calc(8.25px + 3px / 2);
        transform: rotate(45deg);
        transition-delay: calc(0s + 0.35s * .3),calc(0s + 0.35s * 1.3),calc(0s + 0.35s * 1.3);
    }
    
    #checkbox:checked + .toggle .bar--middle {
        top: calc(50% + 8.25px);
        opacity: 0;
        transition-duration: 0.35s,0s;
        transition-delay: 0s,calc(0s + 0.35s);
    }
    
    #checkbox:checked + .toggle .bar--bottom {
        top: calc(50% - 3px / 2);
        transform: rotate(-45deg);
        transition-delay: calc(0s + 0.35s * 1.3),calc(0s + 0.35s * 1.3);
    }

    /*                                        */
    /*                                        */
    /*                 FOOTER                 */
    /*                                        */
    /*                                        */

    .footerContainer {
        margin-top: 0px;
    }

    .footerContainer h3{
        font-size: 3vw;
    }

    /*                                                                 */
    /*                                                                 */
    /*                             Accueil                             */
    /*                                                                 */
    /*                                                                 */

    #accueil {
        width: 100vw;
    }

    .homeContainer {
        flex-direction: column-reverse;
        padding: 55.5px 20px 100px 20px;
    }
    
    .homeContainer img {
        width: 80vw;
        height: auto;
    }
    
    .scrollButton {
        width: 15vw;
        height: 15vw;
    }

    /*                                                                     */
    /*                                                                     */
    /*                             Qui suis-je                             */
    /*                                                                     */
    /*                                                                     */

    #qui-suis-je {
        width: 100vw;
        min-height: 100vh;
        padding: 100px 20px 20px 20px;
        height: auto;
    }

    .aboutContainer {
        width: 100%;
        height: 100%;
        flex-direction: column;
        gap: 40px;
    }
    
    .leftContainerAbout {
        width: 100%;
        height: 50%;
        gap: 10px;
    }
    
    .leftContainerAbout img {
        width: 50%;
        height: auto;
    }
    
    .leftContainerAbout h3 {
        font-size: 4.2vw;
    }
    
    .rightContainerAbout {
        width: 100%;
        height: 50%;
    }
    
    .rightContainerAbout p {
        width: 100%;
        text-align: center;
        font-size: 4vw;
    }

    /*                                                                         */
    /*                                                                         */
    /*                             Champs d'actions                            */
    /*                                                                         */
    /*                                                                         */

    #champs-d-action {
        width: 100vw;
        min-height: 100vh;
        height: auto;
        padding: 55.5px 20px 20px 20px;
        display: flex;
        align-items: normal;
    }

    .groupContainerAction {
        width: 80%;
        height: auto;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    
    .topContainerAction {
        width: 100%;
        height: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .topContainerAction h3 {
        font-size: 5vw;
        color: var(--blue);
    }
    
    .bottomContainerAction {
        width: 100%;
        height: auto;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    
    .leftContainerAction {
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .arrowleftContainerAction {
        display: none;
    }
    
    .rightContainerAction {
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .arrowrightContainerAction {
        display: none;
    }
    
    .contentContainerAction {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        border-radius: 25px;
        border: 2px solid var(--blue);
    }
    
    .contentContainerAction h4 {
        font-size: 4vw;
        font-weight: 600;
        color: var(--blue);
    }
    
    .contentContainerAction p {
        font-size: 3.5vw;
        font-weight: 500;
        color: var(--blue);
    }

    /*                                                                    */
    /*                                                                    */
    /*                             Expertises                             */
    /*                                                                    */
    /*                                                                    */

    #expertises{
        width: 100vw;
        min-height: 100vh;
        padding: 100px 20px 20px 20px;
        height: auto;    
        display: flex;
        justify-content: center;
        align-items: normal;
    }
    
    .expertisesContainer {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scrollbar-width: none;
        gap: 15px;
    }
    
    .expertisesContainer::-webkit-scrollbar {
        display: none;
    }
    
    .card1-front p,
    .card2-front p,
    .card3-front p,
    .card4-front p,
    .card5-front p,
    .card6-front p {
        font-size: 6.5vw;
    }
    
    .cardContainer {
        min-width: 270px;
        height: 60vh;
        perspective: 1000px;
    }
    
    .cardContainer.clicked .card-inner {
        transform: rotateY(180deg);
    }
    
    .card-back p {
        font-size: 4vw;
    }
    
    /*                                                                    */
    /*                                                                    */
    /*                             Expérience                             */
    /*                                                                    */
    /*                                                                    */
    
    #experience{
        width: 100vw;
        min-height: 100vh;
        padding: 100px 20px 20px 20px;
        display: flex;
        justify-content: center;
        align-items: normal;
    }
    
    .experienceImg {
        display:none;
    }
    
    .experienceImgMobile {
        display: flex;
        width: auto;
        height: 75%;
        object-fit: contain;
    }
    
    #experience p {
        width: 100%;
        font-size: 4vw;
        text-align: center;
        color: var(--blue);
    }

    /*                                                                 */
    /*                                                                 */
    /*                             Contact                             */
    /*                                                                 */
    /*                                                                 */

    #contact {
        width: 100vw;
        padding-top: 0;
    }

    .contactContainer {
        width: 100%;
        height: 90%;
        padding: 55.5px 20px 0px 20px;
        flex-direction: column;
    }

    .leftContainerContact{
        width: 100%;
    }

    .rightContainerContact {
        display: flex;
    }
    
    .logo {
       display: none;
    }
    
    .rightContainerContact a {
        font-size: 4vw;
    }
    
    .rightContainerContact a svg {
        width: 4vw;
    }

    .form {
        width: 100%;
        height: auto;
    }

    label {
        width: 300px;
        font-size: 4vw;
    }
    
    .input-first {
        width: 300px;
        height: 30px;
        border-radius: 25px;        
        font-size: 16px;
    }

    .input {
        width: 300px;
        height: 30px;
        border-radius: 25px;
        font-size: 16px;
    }
    
    .input-area {
        width: 300px;
        height: 120px;
        border-radius: 25px;
        font-size: 16px;
    }

    .btn-form {
        width: 120px;
        height: 40px;
        font-size: 4vw;
    }
    
}

/* Tablette */

@media (min-width: 441px) and (max-width: 980px) {
    
    /*                                                                */
    /*                                                                */
    /*                             COMMUN                             */
    /*                                                                */
    /*                                                                */

    /*                                        */
    /*                                        */
    /*                 HEADER                 */
    /*                                        */
    /*                                        */
    
    .logoNavBar {
        display: none;
    }
    
    .homeButton,
    .homeButton.use,
    .aboutmeButton,
    .aboutmeButton.use,
    .actionButton,
    .actionButton.use,
    .expertiseButton,
    .expertiseButton.use,
    .experienceButton,
    .experienceButton.use {
        font-size: 4vw;
        color: var(--blue);
    }
    
    .homeButton.use,
    .aboutmeButton.use,
    .actionButton.use,
    .expertiseButton.use,
    .experienceButton.use {
        border-bottom: 4px solid var(--blue);
    }
    
    .contactButton {
        width: 180px;
        padding: 15px 20px 15px 20px;
        font-size: 16px;
        background-color: var(--blue);
        color: var(--white);
    }

    .navBar{
        display: none;
    }

    .mobileNavBar {
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right:0;
        top:0;
        padding: 40% 10% 60% 10%;
        background: var(--white);
        transform: translateX(100%);
        opacity: 0;
        transition: transform 600ms ease-in-out, opacity 600ms ease-in-out;
    }

    .mobileNavBar.open {
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right:0;
        top:0;
        padding: 40% 10% 60% 10%;
        background: var(--white);
        transform: translateX(0);
        opacity: 1;
    }

    .mobileNavBar.closing {
        transform: translateX(100%);
        opacity: 0;
    }

    .mobileNavBar nav ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .buttonHamburger{
        width: 100%;
        padding-right: 10%;
        display: flex;
        justify-content: right;
        align-items: center;
        z-index: 100;
    }

    #checkbox {
        display: none;
    }
      
    .toggle {
        position: relative;
        width: 30px;
        cursor: pointer;
        margin: auto;
        display: block;
        height: calc(3px * 3 + 8.25px * 2);
    }
    
    .bar {
        position: absolute;
        left: 0;
        right: 0;
        height: 3px; 
        border-radius: calc(3px / 2); 
        background: var(--white);
        color: inherit;
        opacity: 1;
        transition: none 0.35s cubic-bezier(.5,-0.35,.35,1.5) 0s;
    }
    
    .bar.scroll {
        background: var(--blue);
    }
        
    .bar--top {
        bottom: calc(50% + 8.25px + 3px / 2); 
        transition-property: bottom,margin,transform;
        transition-delay: calc(0s + 0.35s),0s,0s;
    }
    
    .bar--middle {
        top: calc(50% - 3px / 2);
        transition-property: top,opacity;
        transition-duration: 0.35s,0s;
        transition-delay: calc(0s + 0.35s * 1.3),calc(0s + 0.35s * 1.3);
    }
    
    .bar--bottom {
        top: calc(50% + 8.25px + 3px / 2);
        transition-property: top,transform;
        transition-delay: 0s;
    }
    
    #checkbox:checked + .toggle .bar {
        background: var(--blue);
    } 
    
    #checkbox:checked + .toggle .bar--top {
        bottom: calc(50% - 8.25px - 3px);
        margin-bottom: calc(8.25px + 3px / 2);
        transform: rotate(45deg);
        transition-delay: calc(0s + 0.35s * .3),calc(0s + 0.35s * 1.3),calc(0s + 0.35s * 1.3);
    }
    
    #checkbox:checked + .toggle .bar--middle {
        top: calc(50% + 8.25px);
        opacity: 0;
        transition-duration: 0.35s,0s;
        transition-delay: 0s,calc(0s + 0.35s);
    }
    
    #checkbox:checked + .toggle .bar--bottom {
        top: calc(50% - 3px / 2);
        transform: rotate(-45deg);
        transition-delay: calc(0s + 0.35s * 1.3),calc(0s + 0.35s * 1.3);
    }

    /*                                        */
    /*                                        */
    /*                 FOOTER                 */
    /*                                        */
    /*                                        */

    .footerContainer {
        margin-top: 0px;
    }

    .footerContainer h3{
        font-size: 1.5vw;
    }

    /*                                                                 */
    /*                                                                 */
    /*                             Accueil                             */
    /*                                                                 */
    /*                                                                 */

    #accueil {
        width: 100vw;
    }

    .homeContainer {
        flex-direction: column-reverse;
        padding: 55.5px 20px 100px 20px;
    }
    
    .homeContainer img {
        width: 40vw;
        height: auto;
    }
    
    .scrollButton {
        width: 7vw;
        height: 7vw;
    }

    /*                                                                     */
    /*                                                                     */
    /*                             Qui suis-je                             */
    /*                                                                     */
    /*                                                                     */

    #qui-suis-je {
        width: 100vw;
        min-height: 100vh;
        padding: 100px 20px 20px 20px;
        height: auto;
    }

    .aboutContainer {
        width: 100%;
        height: 100%;
        flex-direction: column;
        gap: 40px;
    }
    
    .leftContainerAbout {
        width: 100%;
        height: 50%;
        gap: 10px;
    }
    
    .leftContainerAbout img {
        width: 25%;
        height: auto;
    }
    
    .leftContainerAbout h3 {
        font-size: 2.7vw;
    }
    
    .rightContainerAbout {
        width: 70%;
        height: 50%;
    }
    
    .rightContainerAbout p {
        width: 100%;
        text-align: center;
        font-size: 2vw;
    }

    /*                                                                         */
    /*                                                                         */
    /*                             Champs d'actions                            */
    /*                                                                         */
    /*                                                                         */

    #champs-d-action {
        width: 100vw;
        min-height: 100vh;
        height: auto;
        padding: 55.5px 20px 20px 20px;
        display: flex;
        align-items: normal;
    }

    .groupContainerAction {
        width: 80%;
        height: auto;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    
    .topContainerAction {
        width: 100%;
        height: 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .topContainerAction h3 {
        font-size: 4vw;
        color: var(--blue);
    }
    
    .bottomContainerAction {
        width: 100%;
        height: auto;
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    
    .leftContainerAction {
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .arrowleftContainerAction {
        display: none;
    }
    
    .rightContainerAction {
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .arrowrightContainerAction {
        display: none;
    }
    
    .contentContainerAction {
        width: 70%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        border-radius: 25px;
        border: 2px solid var(--blue);
    }
    
    .contentContainerAction h4 {
        font-size: 2.7vw;
        font-weight: 600;
        color: var(--blue);
    }
    
    .contentContainerAction p {
        font-size: 2vw;
        font-weight: 500;
        color: var(--blue);
    }

    /*                                                                    */
    /*                                                                    */
    /*                             Expertises                             */
    /*                                                                    */
    /*                                                                    */

    #expertises{
        width: 100vw;
        min-height: 100vh;
        padding: 100px 20px 20px 20px;
        height: auto;    
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .expertisesContainer {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: scroll;
        scrollbar-width: none;
        gap: 15px;
    }
    
    .expertisesContainer::-webkit-scrollbar {
        display: none;
    }
    
    .card1-front p,
    .card2-front p,
    .card3-front p,
    .card4-front p,
    .card5-front p,
    .card6-front p {
        font-size: 2.5vw;
    }
    
    .cardContainer {
        min-width: 315px;
        height: 50vh;
        perspective: 1000px;
    }
    
    .cardContainer.clicked .card-inner {
        transform: rotateY(180deg);
    }
    
    .card-back p {
        font-size: 2vw;
    }
    
    /*                                                                    */
    /*                                                                    */
    /*                             Expérience                             */
    /*                                                                    */
    /*                                                                    */
    
    #experience{
        width: 100vw;
        min-height: 100vh;
        padding: 100px 20px 20px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .experienceImg {
        display:none;
    }
    
    .experienceImgMobile {
        display: flex;
        width: 60%;
        object-fit: contain;
    }
    
    #experience p {
        width: 100%;
        font-size: 2vw;
        text-align: center;
        color: var(--blue);
    }

    /*                                                                 */
    /*                                                                 */
    /*                             Contact                             */
    /*                                                                 */
    /*                                                                 */

    #contact {
        width: 100vw;
        height: auto;
        padding-top: 0;
    }

    .contactContainer {
        width: 100%;
        height: 90%;
        padding: 55.5px 20px 0px 20px;
        flex-direction: column;
    }

    .leftContainerContact{
        width: 100%;
    }

    .rightContainerContact {
        display: flex;
        margin-bottom: 50px;
    }
    
    .logo {
       display: none;
    }
    
    .rightContainerContact a {
        font-size: 2vw;
    }
    
    .rightContainerContact a svg {
        width: 2vw;
    }

    .form {
        width: 100%;
        height: auto;
        margin-bottom: 50px;
    }

    label {
        width: 340px;
        font-size: 2vw;
    }
    
    .input-first {
        width: 340px;
        height: 30px;
        border-radius: 25px;        
        font-size: 2vw;
    }

    .input {
        width: 340px;
        height: 30px;
        border-radius: 25px;
        font-size: 2vw;
    }
    
    .input-area {
        width: 340px;
        height: 120px;
        border-radius: 25px;
        font-size: 2vw;
    }

    .btn-form {
        width: 120px;
        height: 40px;
        font-size: 2vw;
    }
}