/************************************* FORMAT MOBILE **********************************************/

@media (max-width: 768px){

    body{
        font-family: 'Varela Round', sans-serif;
    }


    body::-webkit-scrollbar{
        background-color: #dbdbdb;
    }
  
    body::-webkit-scrollbar-thumb{
        background-color: #75a99d;
    }
  
    body::-webkit-scrollbar{
        width: 12px;
    }

    /******************************* SECTION HEADER ***************************************/

  .nav{
        font-size: 1.2em;
    }

  .nav-link{
        color: #75a99d;
    }

    .nav-link:hover{
        color: #809810;
    }


    .presentation{
        text-align: center;
        background-image: url("assets/img/pexels-pixabay-434337.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        height: auto;
    }


    .titre{
        /* border: 1px solid blue; */
        height: 250px;
        margin-left: 25%;
        position: relative;
        top: 5em;
    }

    .sousTitre{
        /* border: 1px solid green; */
        position: inherit;
        top: 1em;
        /* right: -1.2em; */
    }

    h1{
        font-family: 'Kaushan Script', cursive;
        font-size: 3.5em;
    }

    h1:hover{
        color: #809810;
    }

    .about{
        margin-left: 30%;
        margin-top: 30%;
        /* width: 80%; */
        font-size: 1em;
        position: relative;
        bottom: 1.5em;
        right:5em;
    }

/******************************** PAGE ACCUEIL ****************************************/

    .scroll a{
      text-decoration: none;
      color: white;
    }

    .blockE, .blockF{
        /* background-color: #848484; */
        width: 500px;
        /* border: 1px solid green; */
    }

    .cv{
        font-size: 1.2em;
        margin-top: 15%;
        margin-left: 50%;
        margin-bottom: 5%;
    }

    .cv a{
      text-decoration: none;
      color: white;
    }

    .btn-success{
        background-color: #75a99d;
        border: 1px #75a99d solid;
    }

    .btn-success:hover{
        background-color: #809810;
    }

    .titreC, .titreCo, .titreF, .titreE, .titreP{
        font-family: 'Kaushan Script', cursive;
        margin-top: 3%;
        font-size: 2rem;
        text-align: center;
        text-decoration: underline #75a99d;
    }

/****************************************** PARTI TIMELINE ********************************************/

    /*
    !!!!
    This pen is being refactored
    !!!!
    */

    /*
    =====
    DEPENDENCES
    =====
    */

    .r-title{
        margin-top: var(--rTitleMarginTop, 0) !important;
        margin-bottom: var(--rTitleMarginBottom, 0) !important;
    }
  
  
    p:not([class]){
        line-height: var(--cssTypographyLineHeight, 1.78);
        margin-top: var(--cssTypographyBasicMargin, 1em);
        margin-bottom: 0;
    }
    
    p:not([class]):first-child{
        margin-top: 0;
    }
  
    /*
    text component
    */
    
    .text{
        display: var(--textDisplay, inline-flex);
        font-size: var(--textFontSize, 1rem);  
    }
    
    /*
    time component
    */
    
    /*
    core styles
    */
    
    .time{
        display: var(--timeDisplay, inline-flex);
    }
    
    /*
    extensions
    */
    
    .time__month{
        margin-left: var(--timelineMounthMarginLeft, .25em);
    }
    
    /*
    skin
    */
    
    .time{
        padding: var(--timePadding, .25rem 1.25rem .25rem);
        background-color: var(--timeBackgroundColor, #f0f0f0);
    
        font-size: var(--timeFontSize, .75rem);
        font-weight: var(--timeFontWeight, 700);
        text-transform: var(--timeTextTransform, uppercase);
        color: var(--timeColor, currentColor);
    }
    
    /*
    card component
    */
    
    /*
    core styles
    */
    
    .card{
        padding: var(--timelineCardPadding, 1.5rem 1.5rem 1.25rem);
    }
    
    .card__content{
        margin-top: var(--cardContentMarginTop, .5rem);
    }
    
    /*
    skin
    */
    
    .card{
        border-radius: var(--timelineCardBorderRadius, 2px);
        border-left: var(--timelineCardBorderLeftWidth, 3px) solid var(--timelineCardBorderLeftColor, var(--uiTimelineMainColor));
        box-shadow: var(--timelineCardBoxShadow, 0 1px 3px 0 rgba(0, 0, 0, .12), 0 1px 2px 0 rgba(0, 0, 0, .24));
        background-color: var(--timelineCardBackgroundColor, #fff);
    }
    
    /*
    extensions
    */
    
    .card__title{
        --rTitleMarginTop: var(--cardTitleMarginTop, 1rem);
        font-size: var(--cardTitleFontSize, 1.25rem);
    }
    
    /*
    =====
    CORE STYLES
    =====
    */
    
    .timeline{
        display: var(--timelineDisplay, grid);
        grid-row-gap: var(--timelineGroupsGap, 2rem);
    }
    
    /*
    1. If timeline__year isn't displaed the gap between it and timeline__cards isn't displayed too
    */
    
    .timeline__year{
        margin-bottom: 1.25rem; /* 1 */
    }
    
    .timeline__cards{
        display: var(--timeloneCardsDisplay, grid);
        grid-row-gap: var(--timeloneCardsGap, 1.5rem);
    }
    
    
    /*
    =====
    SKIN
    =====
    */
    
    .timeline{
        --uiTimelineMainColor: var(--timelineMainColor, #222);
        --uiTimelineSecondaryColor: var(--timelineSecondaryColor, #fff);
    
        border-left: var(--timelineLineWidth, 3px) solid var(--timelineLineBackgroundColor, var(--uiTimelineMainColor));
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }
    
    .timeline__year{
        --timePadding: var(--timelineYearPadding, .5rem 1.5rem);
        --timeColor: var(--uiTimelineSecondaryColor);
        --timeBackgroundColor: var(--uiTimelineMainColor);
        --timeFontWeight: var(--timelineYearFontWeight, 400);
    }
    
    .timeline__card{
        position: relative;
        margin-left: var(--timelineCardLineGap, 1rem);
    }
    
    /*
    1. Stoping cut box shadow
    */
    
    .timeline__cards{
        overflow: hidden;
        padding-top: .25rem; /* 1 */
        padding-bottom: .25rem; /* 1 */
    }
  
    .timeline__card::before{
        content: "";
        width: 100%;
        height: var(--timelineCardLineWidth, 2px);
        background-color: var(--timelineCardLineBackgroundColor, var(--uiTimelineMainColor));
    
        position: absolute;
        top: var(--timelineCardLineTop, 1rem);
        left: -50%;
        z-index: -1;
    }
    
    /*
    =====
    SETTINGS
    =====
    */
    /**/
    .timeline{
        --timelineMainColor: #75a99d;
    }
    
    /*
    =====
    DEMO
    =====
    */
    
    body{
        font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Open Sans, Ubuntu, Fira Sans, Helvetica Neue, sans-serif;
        color: #222;
    
        background-color: #f0f0f0;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
  
    p{
        margin-top: 0;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    p:last-child{
        margin-bottom: 0;
    }
    
    .page{
        max-width: 47rem;
        padding: 5rem 2rem 3rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    
    .substack{
        border:1px solid #EEE; 
        background-color: #fff;
        width: 100%;
        max-width: 480px;
        height: 280px;
        margin: 1rem auto;;
    }
    
    
    .linktr{
        display: flex;
        justify-content: center;
        background-color: rgb(209, 246, 255);
        padding: 2rem;
        text-align: center;
    }
    
    .linktr__goal{
        border: 2px solid rgb(255, 255, 255);
        background-color: rgb(255, 255, 255);
        color: rgb(8, 49, 112);
        box-shadow: rgb(8 49 112 / 24%) 0px 2px 8px 0px;
        border-radius: 2rem;
        padding: .5rem 1.25rem;
    }
    
    .r-link{
        --uirLinkDisplay: var(--rLinkDisplay, inline-flex);
        --uirLinkTextColor: var(--rLinkTextColor);
        --uirLinkTextDecoration: var(--rLinkTextDecoration, none);
    
        display: var(--uirLinkDisplay) !important;
        color: var(--uirLinkTextColor) !important;
        text-decoration: var(--uirLinkTextDecoration) !important;
    }


    /************************************* FIN PARTI TIMELINE **********************************************/


  /************************************* DEBUT PARTI CARDS FORMATIONS **********************************************/


  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
      Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  }
  
  .main-container {
    padding: 30px;
  }
  
  /* HEADING */
  
  .heading {
    text-align: center;
  }
  
  .heading__title {
    font-weight: 600;
  }
  
  .heading__credits {
    margin: 10px 0px;
    color: #888888;
    font-size: 25px;
    transition: all 0.5s;
  }
  
  .heading__link {
    text-decoration: none;
  }
  
  .heading__credits .heading__link {
    color: inherit;
  }
  
  /* CARDS */
  
  .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .card {
    margin: 20px;
    padding: 20px;
    width: 500px;
    min-height: 200px;
    display: grid;
    grid-template-rows: 20px 50px 1fr 50px;
    border-radius: 10px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s;
  }
  
  .card:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
    transform: scale(1.01);
  }
  
  .card__link,
  .card__exit,
  .card__icon {
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .card__link::after {
    position: absolute;
    top: 25px;
    left: 0;
    content: "";
    width: 0%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.5s;
  }
  
  .card__link:hover::after {
    width: 100%;
  }
  
  .card__exit {
    grid-row: 1/2;
    justify-self: end;
  }
  
  .card__icon {
    grid-row: 2/3;
    font-size: 30px;
  }
  
  .card__title {
    grid-row: 3/4;
    font-weight: 400;
    color: #ffffff;
  }
  
  .card__apply {
    grid-row: 4/5;
    align-self: center;
  }
  
  /* CARD BACKGROUNDS */
  
  .card-1 {
    background: radial-gradient(#92b3ac,#75a99d );
  }

  /* RESPONSIVE */

@media (max-width: 1600px) and (min-width: 300px){
    .cards {
      justify-content: center;
    }
  }
  

/************************************* FIN PARTI CARDS FORMATIONS **********************************************/

/*********************************************** PAGE COMPETENCE ****************************************/

.allCard{
    display: flex;
    flex-wrap: wrap;
}

.card{
    display: flex;
    text-align: center;
    margin-top: 2%;
    margin-left: 3%;
}

 /******************************** PAGE PORTFOLIO ****************************************/
/* 
 .carousel{
    margin-left: 15%;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 75%;
} */

/******************************** PAGE CONTACT ****************************************/

.reseau{
    position: relative;
    top: 1.5em;
}

.reseau h3{
    text-align: center;
}

.reseau ul{
    list-style: none;
    border-radius: 2%;
    font-size: 1.2em;
    display: flex;
    justify-content: space-evenly;
    position: relative;
    left: -0.5em;
}

.reseau i{
  color: #75a99d;
}

}

/******************************************** FIN FORMAT MOBILE **********************************************/

/******************************** DEBUT FORMAT TABLETTE ET ORDINATEUR ****************************************/


@media (min-width: 768px) {
  
    body{
        font-family: 'Varela Round', sans-serif;
    }
  
    body::-webkit-scrollbar{
        background-color: #dbdbdb;
    }
  
    body::-webkit-scrollbar-thumb{
        background-color: #75a99d;
    }
  
    body::-webkit-scrollbar{
        width: 12px;
    }
    
    /************************************************ SECTION HEADER ***************************************/

  .nav{
    font-size: 1.2em;
}

    .nav-link{
        color: #75a99d;
    }

    .nav-link:hover{
        color: #809810;
    }

    .presentation{
        text-align: center;
        background-image: url("assets/img/pexels-pixabay-434337.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        height: auto;
    }

    .titre{
        /* border: 1px solid blue; */
        height: 250px;
        margin-left: 25%;
        position: relative;
        top: 7em;
    }

    .sousTitre{
        /* border: 1px solid green; */
        position: inherit;
        top: 1em;
        /* right: -1.2em; */
    }

    /* .presentation, h1{
        border: 1px solid blue;
    } */

    h1{
        font-family: 'Kaushan Script', cursive;
        font-size: 3.5em;
    }

    h1:hover{
    color: #809810;
    }

    .about{
        /* border: 1px green solid; */
        margin-left: 30%;
        margin-top: 30%;
        /* width: 80%; */
        font-size: 1.4em;
        position: relative;
        bottom: 8em;
        right:5em;
    }

    /*********************************************** PAGE ACCUEIL ****************************************/

    .scroll{
      position: relative;
      top: 7em;
      left: 55em;
      width: 100px;

    }

    .scroll a{
      text-decoration: none;
      color: white;
    }

  #block{
      display: flex;
      flex-direction: row;
      /* margin-top: 10%; */
      justify-content: space-evenly;
  }

  .blockE, .blockF{
      /* background-color: #848484; */
      width: 500px;
      /* border: 1px solid green; */
  }

  .cv{
      font-size: 1.2em;
      margin-top: 15%;
      margin-left: 50%;
      margin-bottom: 5%;
  }

  .cv a{
    text-decoration: none;
    color: white;
  }

  .btn-success{
      background-color: #75a99d;
      border: 1px #75a99d solid;
  }

  .btn-success:hover{
      background-color: #809810;
  }





  /****************************************** PARTI TIMELINE ********************************************/

  /*
  !!!!
  This pen is being refactored
  !!!!
  */

  /*
  =====
  DEPENDENCES
  =====
  */

  .r-title{
    margin-top: var(--rTitleMarginTop, 0) !important;
    margin-bottom: var(--rTitleMarginBottom, 0) !important;
  }
  
  
  p:not([class]){
    line-height: var(--cssTypographyLineHeight, 1.78);
    margin-top: var(--cssTypographyBasicMargin, 1em);
    margin-bottom: 0;
  }
  
  p:not([class]):first-child{
    margin-top: 0;
  }
  
  /*
  text component
  */
  
  .text{
    display: var(--textDisplay, inline-flex);
    font-size: var(--textFontSize, 1rem);  
  }
  
  /*
  time component
  */
  
  /*
  core styles
  */
  
  .time{
    display: var(--timeDisplay, inline-flex);
  }
  
  /*
  extensions
  */
  
  .time__month{
    margin-left: var(--timelineMounthMarginLeft, .25em);
  }
  
  /*
  skin
  */
  
  .time{
    padding: var(--timePadding, .25rem 1.25rem .25rem);
    background-color: var(--timeBackgroundColor, #f0f0f0);
  
    font-size: var(--timeFontSize, .75rem);
    font-weight: var(--timeFontWeight, 700);
    text-transform: var(--timeTextTransform, uppercase);
    color: var(--timeColor, currentColor);
  }
  
  /*
  card component
  */
  
  /*
  core styles
  */
  
  .card{
    padding: var(--timelineCardPadding, 1.5rem 1.5rem 1.25rem);
  }
  
  .card__content{
    margin-top: var(--cardContentMarginTop, .5rem);
  }
  
  /*
  skin
  */
  
  .card{
    border-radius: var(--timelineCardBorderRadius, 2px);
    border-left: var(--timelineCardBorderLeftWidth, 3px) solid var(--timelineCardBorderLeftColor, var(--uiTimelineMainColor));
    box-shadow: var(--timelineCardBoxShadow, 0 1px 3px 0 rgba(0, 0, 0, .12), 0 1px 2px 0 rgba(0, 0, 0, .24));
    background-color: var(--timelineCardBackgroundColor, #fff);
  }
  
  /*
  extensions
  */
  
  .card__title{
    --rTitleMarginTop: var(--cardTitleMarginTop, 1rem);
    font-size: var(--cardTitleFontSize, 1.25rem);
  }
  
  /*
  =====
  CORE STYLES
  =====
  */
  
  .timeline{
    display: var(--timelineDisplay, grid);
    grid-row-gap: var(--timelineGroupsGap, 2rem);
  }
  
  /*
  1. If timeline__year isn't displaed the gap between it and timeline__cards isn't displayed too
  */
  
  .timeline__year{
    margin-bottom: 1.25rem; /* 1 */
  }
  
  .timeline__cards{
    display: var(--timeloneCardsDisplay, grid);
    grid-row-gap: var(--timeloneCardsGap, 1.5rem);
  }
  
  
  /*
  =====
  SKIN
  =====
  */
  
  .timeline{
    --uiTimelineMainColor: var(--timelineMainColor, #222);
    --uiTimelineSecondaryColor: var(--timelineSecondaryColor, #fff);
  
    border-left: var(--timelineLineWidth, 3px) solid var(--timelineLineBackgroundColor, var(--uiTimelineMainColor));
    padding-top: 1rem;
    padding-bottom: 1.5rem;
  }
  
  .timeline__year{
    --timePadding: var(--timelineYearPadding, .5rem 1.5rem);
    --timeColor: var(--uiTimelineSecondaryColor);
    --timeBackgroundColor: var(--uiTimelineMainColor);
    --timeFontWeight: var(--timelineYearFontWeight, 400);
  }
  
  .timeline__card{
    position: relative;
    margin-left: var(--timelineCardLineGap, 1rem);
  }
  
  /*
  1. Stoping cut box shadow
  */
  
  .timeline__cards{
    overflow: hidden;
    padding-top: .25rem; /* 1 */
    padding-bottom: .25rem; /* 1 */
  }

  @media (max-width: 1600px) and (min-width: 400px) {
    .timeline__group{
      justify-content: center;
    }
  }
  
  .timeline__card::before{
    content: "";
    width: 100%;
    height: var(--timelineCardLineWidth, 2px);
    background-color: var(--timelineCardLineBackgroundColor, var(--uiTimelineMainColor));
  
    position: absolute;
    top: var(--timelineCardLineTop, 1rem);
    left: -50%;
    z-index: -1;
  }
  
  /*
  =====
  SETTINGS
  =====
  */
  /**/
  .timeline{
    --timelineMainColor: #75a99d;
  }
  
  /*
  =====
  DEMO
  =====
  */
  
  body{
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Open Sans, Ubuntu, Fira Sans, Helvetica Neue, sans-serif;
    color: #222;
  
    background-color: #f0f0f0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  
  p{
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  p:last-child{
    margin-bottom: 0;
  }
  
  .page{
    max-width: 47rem;
    padding: 5rem 2rem 3rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  
  .substack{
    border:1px solid #EEE; 
    background-color: #fff;
    width: 100%;
    max-width: 480px;
    height: 280px;
    margin: 1rem auto;;
  }
  
  
  .linktr{
    display: flex;
    justify-content: center;
    background-color: rgb(209, 246, 255);
    padding: 2rem;
    text-align: center;
  }
  
  .linktr__goal{
    border: 2px solid rgb(255, 255, 255);
    background-color: rgb(255, 255, 255);
    color: rgb(8, 49, 112);
    box-shadow: rgb(8 49 112 / 24%) 0px 2px 8px 0px;
    border-radius: 2rem;
    padding: .5rem 1.25rem;
  }
  
  .r-link{
      --uirLinkDisplay: var(--rLinkDisplay, inline-flex);
      --uirLinkTextColor: var(--rLinkTextColor);
      --uirLinkTextDecoration: var(--rLinkTextDecoration, none);
  
      display: var(--uirLinkDisplay) !important;
      color: var(--uirLinkTextColor) !important;
      text-decoration: var(--uirLinkTextDecoration) !important;
  }


  /************************************* FIN PARTI TIMELINE ********************************************************/

  /************************************* DEBUT PARTI CARDS FORMATIONS **********************************************/


  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
      Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  }
  
  .main-container {
    padding: 30px;
  }
  
  /* HEADING */
  
  .heading {
    text-align: center;
  }
  
  .heading__title {
    font-weight: 600;
  }
  
  .heading__credits {
    margin: 10px 0px;
    color: #888888;
    font-size: 25px;
    transition: all 0.5s;
  }
  
  .heading__link {
    text-decoration: none;
  }
  
  .heading__credits .heading__link {
    color: inherit;
  }
  
  /* CARDS */
  
  .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .card {
    margin: 20px;
    padding: 20px;
    width: 500px;
    min-height: 200px;
    display: grid;
    grid-template-rows: 20px 50px 1fr 50px;
    border-radius: 10px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s;
  }
  
  .card:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
    transform: scale(1.01);
  }
  
  .card__link,
  .card__exit,
  .card__icon {
    position: relative;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .card__link::after {
    position: absolute;
    top: 25px;
    left: 0;
    content: "";
    width: 0%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.5s;
  }
  
  .card__link:hover::after {
    width: 100%;
  }
  
  .card__exit {
    grid-row: 1/2;
    justify-self: end;
  }
  
  .card__icon {
    grid-row: 2/3;
    font-size: 30px;
  }
  
  .card__title {
    grid-row: 3/4;
    font-weight: 400;
    color: #ffffff;
  }
  
  .card__apply {
    grid-row: 4/5;
    align-self: center;
  }
  
  /* CARD BACKGROUNDS */
  
  .card-1 {
    background: radial-gradient(#92b3ac,#75a99d );
  }

  /* RESPONSIVE */

@media (max-width: 1600px) and (min-width: 400px) {
    .cards {
      justify-content: center;
    }
  }
  

  /***************************************** FIN PARTI CARDS FORMATIONS ******************************************/

  /********************************************** PAGE COMPETENCE ************************************************/
  .titreC, .titreCo, .titreF, .titreE, .titreP{
    font-family: 'Kaushan Script', cursive;
    margin-top: 3%;
    font-size: 5rem;
    text-align: center;
    text-decoration: underline #75a99d;
}

.allCard{
    display: flex;
    flex-wrap: wrap;
}

.card{
    display: flex;
    text-align: center;
    margin-top: 2%;
    margin-left: 3%;
}

    /************************************************* PAGE CONTACT ****************************************/

  .form-group{
    margin-left: 5%;
    width: 35%;
}

.nomPrenom{
    display: flex;
    flex-direction: row;
    /* margin-left: 8%; */
}

/* .prenom{
    margin-left: 10%;
} */

.contact{
    display: flex;
    margin-right: 8%;
    /* border: 1px solid red; */
    justify-content: space-evenly;
}

.reseau ul{
    list-style: none;
    width: 250px;
    height: 250px;
    background-color: #75a99d;
    color: white;
    border-radius: 2%;
    font-size: 1.2em;
}

.reseau i{
  color: white;
}


}