@font-face {
    font-family: myFont;
    src: url(../fonts/Rajdhani-Regular.ttf);
}

@font-face {
    font-family: myFont1;
    src: url(../fonts/KdamThmorPro-Regular.ttf);
}

@font-face {
  font-family: myFont2;
  src: url(../fonts/VT323-Regular.ttf);
}



* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    /* list-style-type: none; */
}

html {
    height: 100%;
    width: 100vw;
    /* background-color: antiquewhite; */
    scroll-behavior: smooth;
    background-color: #b6edc0;
}

body {
    background-color: #b6edc0;
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    height: 100vh;
    width: 15%;
    min-width: 200px;
    background-color: rgb(239, 239, 239);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    box-shadow: 2px 0px 13px 0px rgba(0,0,0,0.41);
}

main {
    width: 85.4%;
    background-image: url(../images/bg.png);
    background-repeat: repeat;
    margin-left: clamp(200px,14.8%,14.8%);
}

header .image {
    height: 120px;
    width: 120px;
    background-image: url(../images/profilepic.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 50%;
    margin-top: 20px;
    position: relative;
}

header .image::after {
    content: "";
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: transparent;
    position: absolute;
    left: -4px;
    top:-4px;
    border: 4px solid #2e5141;
    transition: transform 0.5s;
    border-left-color: transparent;
    animation-name: spin;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    overflow: hidden;
}

nav {
    width: 100%;
    margin-top: 30px;
    border-top: 1px solid rgb(199, 199, 199);
}

.active {
    border-left: 4px solid black;
    background-color: rgb(204, 237, 218);
    transition: border-left 0.3s ease, background-color 0.3s ease-in;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg)
    }
    100% {
        transform: rotate(360deg);
    }
}

.navDir {
    color: gray;
    height: 40px;
    padding-bottom: 5px;
    padding-top: 5px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    cursor: pointer;
    font-weight: 500;

}

.navDir i {
    font-size: 25px;
    width: 27%;
    color: #2e5141;
    text-align: center;
}

.navDir:hover {
    border-left: 4px solid black;
    background-color: rgb(204, 237, 218);
    transition: border-left 0.3s ease, background-color 0.3s ease-in;
}


main section{
    min-height: 100vh;
}

main section h1 {
    height: 100px;
    background-color: #2e5141;
    color: white;
    padding-left: 60px;
    display: flex;
    align-items: center;
    font-size: 35px;
    font-weight: 200;
    font-family: myFont;
    box-shadow: 0px 10px 22px 0px rgba(132,132,132,0.71);
    letter-spacing: 2px;
}

#S1 {
    background-image: linear-gradient(rgba(28, 200, 16, 0.77), rgba(9, 60, 8, 0.8), rgba(0, 0, 0, 0.9)),url(../images/background.gif);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment:fixed;
    font-family: myFont1;
    color: white;
}

#S1 > * {
    padding-left: 100px;
}

#S1 h2{
    font-size: 50px;
    padding-top: 10%;
}

#S1 h3, #S1 p{
    font-size: 30px;
    padding-right: 15%;
}

#S1 p {
    margin-bottom: 30px;
}

#typing {
    padding-top: 10px;
    padding-bottom: 10px;
    /* background-color: #2e5141; */
}

#typing span {
  color: rgb(32, 255, 32);
    width: 0;
    border-bottom: 2px solid rgb(32, 255, 32);
}

#typing span::after {
    content: "";
    width: 0;
    border-right: 2px solid red;
    animation: glow1 0.3s infinite;
}

@keyframes glow {
  0% { box-shadow: 0 0 7px #ff8766 }
  50% { box-shadow: 0 0 7px #02712b }
  100% { box-shadow: 0 0 7px #ff8766}
}


#S1 .socials {
    display: flex;
    flex-direction: row;
    /* background-color:blue; */
    gap: 20px;
    margin-bottom: 30px;
}

#S1 .socials a>* {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0px 0px 18px 4px rgba(132,132,132,0.71);
    animation: glow 1s infinite ease-in-out;
}

#S1 .socials .linkedin {
    color: #0077b5;
    background-color: white;
}

#S1 .socials .linkedin:hover {
    background-color: #0077b5;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#S1 .socials .linkedin:not(:hover) {
    color: #0077b5;
    background-color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#S1 .socials .github {
    color: #333;
    background-color: white;
}

#S1 .socials .github:hover {
    background-color: #333;
    color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#S1 .socials .github:not(:hover) {
    color: #333;
    background-color: white;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#S1 .socials .gmail {
  color: #eb2f2f;
  background-color: white;
}

#S1 .socials .gmail:hover {
  background-color: #eb2f2f;
  color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#S1 .socials .gmail:not(:hover) {
  color: #eb2f2f;
  background-color: white;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@keyframes glow1 {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
    
  }
  
  
  #S1 .buttons {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-right: 50px;
  }



  #S1 .button {
    padding: 15px 20px;
    font-size: 16px;
    background: transparent;
    border: none;
    position: relative;
    color: black;
    font-weight: 800;
    z-index: 1;
    cursor: pointer;
  }
  
  #S1 .button::after,
  #S1 .button::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -99999;
    transition: all .4s;
  }
  
  #S1 .button::before {
    transform: translate(0%, 0%);
    width: 100%;
    height: 100%;
    background: #38ff4f;
    border-radius: 10px;
  }
  
  #S1 .button::after {
    transform: translate(10px, 10px);
    width: 35px;
    height: 35px;
    background: #ffffff15;
    backdrop-filter: blur(5px);
    border-radius: 50px;
  }
  
  #S1 .button:hover::before {
    transform: translate(5%, 20%);
    width: 110%;
    height: 110%;
  }
  
  #S1 .button:hover::after {
    border-radius: 10px;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
  }
  
  #S1 .button:active::after {
    transition: 0s;
    transform: translate(0, 5%);
  }

  #S1 .contactButton::before{
    background-color: rgb(205, 200, 200);
  }


  #S7 .container1 button {
    position: relative;
    margin: 0;
    padding: 0.8em 1em;
    outline: none;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    background-color: #055d2b;
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    z-index: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
  }
  
  #S7 .container1 button:hover {
    animation: sh0 0.5s ease-in-out both;
  }
  
  @keyframes sh0 {
    0% {
      transform: rotate(0deg) translate3d(0, 0, 0);
    }
  
    25% {
      transform: rotate(7deg) translate3d(0, 0, 0);
    }
  
    50% {
      transform: rotate(-7deg) translate3d(0, 0, 0);
    }
  
    75% {
      transform: rotate(1deg) translate3d(0, 0, 0);
    }
  
    100% {
      transform: rotate(0deg) translate3d(0, 0, 0);
    }
  }
  
  #S7 .container1 button:hover span {
    animation: storm 0.7s ease-in-out both;
    animation-delay: 0.06s;
  }
  
  #S7 .container1 button::before,
  #S7 .container1 button::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1);
    z-index: -1;
    transform: translate(100%, -25%) translate3d(0, 0, 0);
  }
  
  #S7 .container1 button:hover::before,
  #S7 .container1 button:hover::after {
    opacity: 0.15;
    transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
  }
  
  #S7 .container1 button:hover::before {
    transform: translate3d(50%, 0, 0) scale(0.9);
  }
  
  #S7 .container button:hover::after {
    transform: translate(50%, 0) scale(1.1);
  }


  .contactdiv >a> span {
    position: relative;
  }

  .contactdiv >a> span::after {
    content: "";
    position: absolute;
    border-bottom: 5px solid rgb(39, 116, 55);
    border-radius: 5px;
    width: 0;
    bottom: -7px;
    left: 0;
  }

  .contactdiv >a> span:hover::after {
    width: 100%;
    transition: width 0.4s ease-in;
  }

  .contactdiv >a> span:not(:hover)::after {
    width: 0;
    transition: width 0.4s ease-in;
  }
  
  .contactdiv {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    /* padding: 30px; */
    justify-content: flex-start;
    margin-bottom: 40px;
    padding-left: 4%;
    padding-right: 4%;
  }


  #S7 .container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 50px;
    /* background-color: #307e5b; */
    width: 100%;
    min-height: 80vh;
    align-items: center;
  }

  #S7 .container1 {
    /* background-color: #333; */
    width: 50%;
  }

  #S7 .container2 {
    /* background-color: #7d2828; */
    width: 40%;
    min-width: 250px;
    background: #202020;
    border-radius: 25px;
    padding: 10px 20px;
    animation: glow 1s infinite ease-in-out;
  }
  /*-----------------------------------------form*/
  #S7 .container2 form {
    width: 100%;
    height: 100%;
    /* background-color: #14221c; */
  }

  #S7 .container2 form .row1 input {
    width: 42%;
    height: 25px;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: myFont1;
  }

  #S7 .container2 form .row2 input {
    width: 100%;
    height: 25px;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: myFont1;
  }

  #S7 .container2 form .row3 textarea {
    width: 100%;
    height: 200px;
    padding: 10px 15px;
    border-radius: 5px;
    resize: none;
    font-family: myFont1;
  }


  #S7 .container2 .row1, #S7 .container2 .row2, #S7 .container2 .row3{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-top: 10px;
  }

  #S7 .container2 .row4 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }




  a {
    color: black;
  }






  .row4 button {
    /* Variables */
    --button_radius: 0.75em;
    --button_color: #dad4d4;
    --button_outline_color: #126842;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: var(--button_radius);
    background: var(--button_outline_color);
    margin-top: 25px;
  }
  
  .row4 .button_top {
    display: block;
    box-sizing: border-box;
    border: 2px solid var(--button_outline_color);
    border-radius: var(--button_radius);
    padding: 0.75em 1.5em;
    background: var(--button_color);
    color: var(--button_outline_color);
    transform: translateY(-0.2em);
    transition: transform 0.1s ease;
  }
  
  .row4 button:hover .button_top {
    /* Pull the button upwards when hovered */
    transform: translateY(-0.33em);
  }
  
  .row4 button:active .button_top {
    /* Push the button downwards when pressed */
    transform: translateY(0);
  }




  #S2 p{
    font-size: 24px;
    /* font-family: myFont2; */
    padding-right: 40px;
    margin-bottom: 20px;
    margin-top: 30px;
    letter-spacing: 0.5px;
    font-weight: 100;
    line-height: 35px;
    padding-left: 8%;
    text-shadow: 0px 3px 6px rgba(123,123,123,0.4);
  }

  #S2 p span {
    font-weight: 600;
  }


  #S3 .experiences {
    width: 100%;
    min-height: 100%;
    /* background-color: #0077b5; */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #S3 .experienceContainer {
    min-height: 30px;
    min-width: 300px;
    max-width: 700px;
    width: 90%;
    background-color: white;
    margin: 4% 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.25);
    position: relative;
  }


  #S3 .experienceContainer .experienceHeader{
    /* background-color: #0077b5; */
    height: 80px;
    min-width: 300px;
    width: 95%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    /* box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.25); */
    border-bottom: 2px solid rgb(212, 210, 210);
  }

  #S3 .experienceContainer .experienceFooter{
    /* background-color: #0077b5; */
    background-color: #f5f5f5;
    height: 50px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-top: 2px solid rgb(212, 210, 210);
  }

  #S3 .experienceContainer .experienceFooter .period{
    /* background-color: #0077b5; */
    font-size: 18px;
    width: 95%;
    margin-left: 5%;
  }

  #S3 .experienceContainer .content {
    /* background-color: #0077b5; */
    font-size: 20px;
    width: 85%;
    margin-top: 20px;
    line-height: 30px;
    height: 100%;
    margin-left: 10%;
    margin-right: 5%;
    margin-bottom: 20px;
    line-height: 35px;
  }

  #S3 .experienceContainer ul{

  }

  #S3 .experienceContainer .logo {
    /* background-color: #ff9595; */
    width: 50%;
    min-height: 100px;
    background-image: url(../images/stb.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
  }

  #S3 .experienceContainer .role {
    /* background-color: #ff9595; */
    width: 50%;
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    color: #02712b;
    text-shadow: 0px 0px 11px rgb(122, 121, 121);

  }


  .projectsContainer {
    padding-top: 50px;
    width: 93%;
    /* background-color: #ff2727; */
    display: flex;
    /* grid-template-columns: 1fr 1fr 1fr;
    row-gap: 20px;
    column-gap: 20px;*/
    padding-left: 4%;
    padding-right: 3%;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 20px;
    justify-content: space-around;
    padding-bottom: 30px;
  }

  .projectsContainer article {
    background-color: rgb(244, 244, 244);
    width: 30%;
    min-width: 300px;
    min-height: 300px;
    border-radius: 2px;
    position: relative;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.45);
  }

  .projectsContainer article .image{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 2px;
    transition: background-image 0.8s ease-in-out;
  }

  #project1 .image {
    /* background-image: url(../images/project1-1.png); */
  }

  .projectsContainer article .description {
    visibility: hidden;
    position: absolute;
    background-color: white;
    height: 100%;
    width: 100%;
    top: 0;
    border-radius: 2px;
    overflow: hidden;
    /* animation: myAnim2 1s ease 0s 1 normal forwards;*/
  }

  .visible {
    animation: myAnim2 0.4s ease 0s 1 normal forwards;
  }

  .hidden {
    animation: myAnim1 0.3s ease 0s 1 normal forwards;
  }

  .projectsContainer article .description .links {
    background-color: white;
    height: 22%;
    width: 100%;
    border-radius: 0 0 2px 2px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
  }

  .projectsContainer article .description .links a {
    background-color: #4971a4;
    font-size: 26px;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .projectsContainer article .description .links a:hover {
    box-shadow: 0px 0px 14px 5px rgba(80,218,108,0.75);
    background-color: #127b1b;
    font-size: 30px;
    transition: font-size 0.3s ease, background-color 0.3s ease
  }

  .projectsContainer article .description .text {
    background-color: rgb(232, 232, 232);
    margin-top: 40px;
    height: 66%;
    width: 100%;
    border-radius: 2px 2px 0 0;
    overflow-y: auto;
    /* margin-top: 30px; */
  }
  .projectsContainer article .description .text ul {
    padding-bottom: 10px;
    margin-left: 40px;
    padding-top: 10px;
    padding-right: 20px;
    font-size: 20px;
    word-spacing: 1px;
    line-height: 30px;
  }

  .projectsContainer article .description .hide {
    position: absolute;
    right: 10px;
    top: 7px;
    color: red;
    cursor: pointer;
    font-size: 25px;
  }

  .projectsContainer article .title h2 span {
    cursor: pointer;
    float: right;
    color: red;
    text-shadow: none;
  }

  .projectsContainer article .title h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-right: 20px;
    padding-left: 20px;
    color: rgb(3, 67, 67);
    text-shadow: 0px 0px 5px rgba(0,167,8,0.9);
    font-family: myFont2;
    font-size: 40px;
    font-weight: 100;
  }

  .projectsContainer article .title p {
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
  }



  /*--------------------Skills-------------------------*/

  #S5 .container {
    min-height: 100px;
    width: 90%;
    background-color: white;
    margin: 4% 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 9px 0px rgba(0,0,0,0.25);
    /* margin-right: 5%;
    margin-left: 5%; */
  }

  #S5 .container h2 {
    width: 90%;
    border-bottom: 1px solid rgb(186, 184, 184);
    text-align: center;
    padding-top: 10px;
    margin-bottom: 30px;
    font-size: 30px;
    font-family: myFont1;
    padding-bottom: 10px;
    padding-top: 20px;
    text-shadow: 0px 0px 9px rgba(87,153,212,0.6);
    color: #12933f;
  }

  #S5 .container .icons {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    column-gap: 80px;
    row-gap: 20px;
    justify-content: space-evenly;
    margin-bottom: 30px;
  }

  #S5 .container .icons .element {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #S5 .container .icons .element p {
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    font-family: myFont;
  }

  #S5 .container .icons .element img{
    height: 70px;
  }

  /*----------------------fin----------------------------*/


    /*--------------------EDUCATION-------------------------*/
    #S6 .container {
      min-height: 100px;
      width: 90%;
      background-color: rgba(255, 255, 255);
      margin: 4% 5%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-shadow: 0px 0px 9px 0px rgba(72, 71, 71, 0.25);
    }

    #S6 .container h2 {
      width: 90%;
      border-bottom: 1px solid rgb(186, 184, 184);
      text-align: center;
      padding-top: 10px;
      margin-bottom: 30px;
      font-size: 30px;
      font-family: myFont1;
      padding-bottom: 10px;
      padding-top: 20px;
      text-shadow: 0px 0px 9px rgba(87,153,212,0.6);
      color: #12933f;
    }

    #S6 .container .contenu {
      width: 90%;
      margin-bottom: 30px;
      display: flex;
      flex-wrap: wrap;
      column-gap: 80px;
      row-gap: 20px;
      align-items: center;
      justify-content: space-evenly;
    }

    #S6 .container .university {

      width: 100%;
      max-width: 800px;
      min-height: 300px;
      box-shadow: 0px 0px 17px 0px rgba(43,132,226,1);
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }

    
    #S6 .container .contenu .university #imagelink {
      width: 40%;
      min-height: 100%;
      background-color: white;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    #S6 .container .contenu .university #imagelink img {
      width: 90%;
    }

    #S6 .container .contenu .university .col2 {
      width: 60%;
      background-color: rgb(228, 239, 249);
    }

    .university #imagelink:hover {
      filter: brightness(0.9);
      transition: all 0.5s;
    }

    .university #imagelink:not(:hover) {
      filter: brightness(1);
      transition: all 0.5s;
    }
    
    #S6 .container .contenu .university .degree {
      width: 97%;
      height: 40px;
      /* background-color: rgb(135, 62, 62); */
      display: flex;
      align-items: center;
      font-size: 22px;
      text-align: center;
      font-weight: 600;
      font-family: myFont1;
      padding-left: 3%;
      text-align: center;
      margin-top: 20px;
      margin-bottom: 20px;
      color:rgba(20,31,87);
    }

    #S6 .container .contenu .university .location, .university .period, .university .courseworkstitle {
      width: 100%;
      height: 30px;
      /* background-color: rgb(135, 62, 62); */
      display: flex;
      align-items: center;
      font-size: 18px;
      gap: 15px;
      margin-top: 5px;
      font-weight: 600;
      margin-left: 10px;
      color: #0056b1;
    }

    .university .link {
      height: 40px;
      width: 100%;
      /* background-color: #87ad98; */
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }

    .university .link a {
      color: red;
      /* background-color: #126842; */
      margin-right: 20px;
      text-align: center;
    }

    /* .university .courseworks {
      background-color: rgb(135, 62, 62);
      display: flex;
      flex-direction: column;

      font-size: 16px;
      gap: 10px;
    } */

    #S6 .container .contenu .university i {
      margin-left: 10px;
      /* background-color: #0077b5; */
      width: 20px;
      font-size: 22px;
    }


    #S6 .container .certif {
      width: 300px;
      height: 200px;
      position: relative;
      animation: glow 1s infinite ease-in-out;
    }

    /* #S6 .container .certif:hover .link {
      transform: translate(-50%, -50%) scale(1);
    } */


    
    #S6 .container .certif .link {
      /* visibility: hidden; */
      position: absolute;
      top: 50%;
      left: 50%;
      width: 300px;
      height: 200px;
      background-color: rgba(189, 187, 187, 0.85);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transform: translate(-50%, -50%) scale(0);
      transition: transform 0.3s ease-in-out;
    }



#S6 .container .certif .link:before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30%;
  height: 20%;
  border-top: 4px solid white;
  border-right: 4px solid white;
  border-radius: 5px;
}

#S6 .container .certif .link:after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 30%;
  height: 20%;
  border-bottom: 4px solid white;
  border-left: 4px solid white;
  border-radius: 5px;
}


#S6 .container .certif .link > .nomcertif {
  color: rgb(0, 148, 37);
  padding: 0px 20px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  font-family: myFont2;
  text-shadow: 0px 0px 14px rgb(253, 253, 253);
}

#S6 .container .certif .link > a:hover {
  transform: scale(1.3);
  filter: brightness(1.12);
  transition: transform 0.5s ease, filter 0.5s ease;
}

#S6 .container .certif .link > a:not(:hover) {
  transform: scale(1);
  filter: brightness(1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

#S6  #certifications .freecodecamp-certif {
  background-image: url(../images/freecodecamp.png);
  background-repeat: no-repeat;
  background-size: 85%;
  background-position: center;
  background-color: #ffffff;
}

#S6  #certifications .hopkins-certif {
  background-image: url(../images/hopkins.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
  background-color: #ffffff;
}

#S6  #certifications .meta-certif {
  background-image: url(../images/Meta.png);
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
  background-color: #ffffff;
}

#S6 #certifications .michigan-certif {
  background-image: url(../images/UniversityofMichigan.png);
  background-repeat: no-repeat;
  background-size: 80%;
  background-position: center;
  background-color: #ffffff;
}

#S6  #certifications .stanford-certif {
  background-image: url(../images/DL+Stanford.png);
  background-repeat: no-repeat;
  background-size: 90%;
  background-position: center;
  background-color: #ffffff;
}

#S6  #certifications .ibm-certif {
  background-image: url(../images/IBM.jpg);
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center;
  background-color: #ffffff;
}
/* .displaylink {
  animation: afficher 0.4s linear 0s 1 normal forwards;
}

.hidelink {
  animation: masquer 0.4s linear 0s 1 normal forwards;
}

@keyframes afficher {
	0% {
		transform: scale(0);
	}

	100% {
		transform: scale(1);
	}
}

@keyframes masquer {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(0);
	}
} */
    /*----------------------fin----------------------------*/


  @keyframes myAnim1 {
    0% {
      transform: scaleY(1);
      transform-origin: 0% 100%;
    }
  
    100% {
      transform: scaleY(0);
      transform-origin: 0% 100%;
    }
  }

  @keyframes myAnim2 {
    0% {
      transform: scaleY(0);
      transform-origin: 0% 100%;
    }
  
    100% {
      transform: scaleY(1);
      transform-origin: 0% 100%;
    }
  }








  .mobilebanner {
    visibility: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: clamp(60px,30%,80px);
    background-color: #b6edc0;
    z-index: 10;
    min-width: 300px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .mobilebanner > i{
    position: absolute;
    left: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #127b1b;
  }

  .mobilenavigation {
    /* visibility: hidden; */
    /* padding-top: 50px; */
    position: fixed;
    height: 100vh;
    width: 250px;
    background-color: rgba(21, 22, 22, 0.97);
    z-index: 40;
    left: -250px;
    color: wheat;
    border-radius: 0px 10px 10px 0px;
    visibility: hidden;
  }


  .mobilenavigation .navDir{
    color: #f4f4f4;
    font-size: 22px;
    margin-top: 20px;
  }
  .mobilenavigation .navDir i {
    color: #38ff4f;
  }

  .displayednavigation {
    left: 0;
    transition: left 0.5s ease;
  }

  .hiddennavigation {
    left:-250px;
    transition: left 0.5s ease-out;
  }



  @media screen and (max-width:800px) {
    .mobilebanner {
      visibility: visible;
      font-family: myFont1
    }

    .mobilebanner h2 {
      color: rgb(1, 32, 14);
      text-align: center;
      font-weight: 600;

    }

    .mobilebanner p {
      color: rgb(0, 0, 0);
      text-align: center;
      font-family: myFont;
      font-size: 20px;
    }

    header {
      display: none;
    }

    main {
      margin: 0;
      width: 100%;
    }

    section {
      padding-top: 80px;
    }


    #S2 {
      margin-top: -120px;
    }
    #S1 h2 {
      font-size: 40px;
      padding: 20px 30px;
    }

    #S1 {
      background-attachment:scroll;
    }

    #S1 p {
      font-size: 25px;
      padding-left: 30px;
      padding-right: 20px;
    }

    #S1 #typing {
      font-size: 22px;
      padding-left: 30px;
      padding-right: 20px;
    }

    #S7 .container1 {
      width: 100%;
    }

    main section> h1 {
      max-height:70px;
      padding-left: 40px;
    }

    #S7 .container1 .contactdiv {
      flex-direction: column;
      font-size: 15px;
      margin-top: -20px;
    }


    #S7 .container2 {
      width: 80%;
      margin-top: -40px;
      margin-bottom: 20px;
    }

    #S7 .container2 form .row1 {
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }

    #S7 .container2 form .row1 input {
      width: 90%;
    }

    #S7 .container2 form .row2 input {
      width: 90%;
    }

    #S7 .container2 form .row3 textarea {
      width: 90%;
    }

    #S7 .container2 form .row2, #S7 .container2 form .row3  {
      display: flex;
      justify-content: center;
    }

    #S7 .container2 form .row2 {
      text-align: center;
    }

    #S1 .buttons {
      flex-direction: row;
      flex-wrap: nowrap;
      padding: 0;
      align-items: center;
      justify-content: center;
      /* padding: 0px 20px; */
    }

    #S1 .buttons button {
      width: 100px;
    }
    #S1 .socials {
      padding: 0;
      justify-content: center;
    }

    .mobilenavigation {
      visibility: visible;
    }


    #S6 .container .contenu .university {
      flex-direction: column;
    }

    #S6 .container .contenu .university #imagelink {
      width: 100%;
    }

    #S6 .container .contenu .university .col2 {
      width: 100%;
    }

    #S3 {
      min-height: 10px;
    }
  }

  @media screen and (max-height:750px) and (max-width:500px) {
    #S3 {
      min-height: 10px;
    }
    
    #S1 h2 {
      font-size: 28px;
    }

    #S1 h3 {
      padding-right: 0;
    }

    #S1 p {
      font-size: 24px;
    }

    #S1 {
      background-attachment:scroll;
    }

    #S1 .buttons button {
      width: 100%;
      height: 60px;
      font-size: 18px;
      padding: 0 10px;
    }
  } 