* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: helvetica;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  background-color: rgb(235, 227, 214);
}

.header {
  padding: 20px 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  border-top: solid 2px #0676d1d2;
}

@media screen and (width > 1000px) {
  .navbar {
    visibility: visible !important;
  }
  .menu-btn {
    visibility: hidden;
  }
}

.navbar {
  /* background-color: #2872afd0;
    color: #2872afd0; */
  background-color: #2872af57;
  /* line-height: 40px; */
  flex-wrap: wrap;
  width: 80%;
  padding: 1% 0;
  text-align: center;
  /* border-radius: 5px 5px 10px  10px; */
  /* border-top: solid 2px black; */
  border-left: 5px solid #2872afd0;
  border-right: 5px solid #2872afd0;
  animation: slideLeft 2s ease forwards;
  /* border-right: solid 5px #3379b352; */
  /* border-bottom: solid 1px #3379b352;
    border-top: solid 1px #3379b352; */
  /* border-bottom: solid 3px rgb(97, 97, 131); */
  /* background-color: rgb(216, 214, 235); */
}

/* Animation  du navbar*/

@keyframes slideLeft {
  0% {
    transform: translateX(500px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

header span {
  animation: slideRight 2s ease forwards;
}

@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.navbar a {
  display: inline-flex;
  /* flex-direction: row; */
  /* margin: 10px; */
  font-size: 100%;
  /* font-family: "fira sans"; */
  font-family: helvetica;
  /* font-weight: 200; */
  text-decoration: none;
  background: #2872af;
  padding: 2px 10px;
  border-radius: 5px;
  /* color: rgb(250, 250, 250); */
  /* color: #2872afd0; */
  color: whitesmoke;
  /* background-color: #2872af09; */
  margin: 0 2%;
  letter-spacing: 1.5px;
  transition: 0.5s;
  /* animation-delay: calc(.5s * var(--i)); */
  /* border-bottom: 1px solid white; */
}

.navbar a:hover,
.navbar .active {
  border-bottom: 1px solid #2872af;
  color: #2872af;
  background: whitesmoke;
  transition: 0.5s;
  box-shadow: 0 0 15px steelblue;
}

.home,
.portefolio,
.competence,
.about {
  /* position: relative; */
  background: rgba(70, 131, 180, 0.014);
  width: 90%;
  margin: 2% 5%;
  line-height: 50px;
  display: flex;
  /* justify-content: center; */
  padding: 2% 2%;
  border-left: 5px solid rgb(97, 97, 131);
  /* transition: .5s; */
  /* transform: scale3d(0, 0, 0); */
  opacity: 0;
  animation: affichage 2s 1s ease forwards;
}

.home:hover,
.competence:hover,
.about:hover {
  /* transform: scale3d(2); */
  transition: 2s;
  background: #2872af1c;
}

@keyframes affichage {
  0% {
    /* transform: scale3d(1, 0, 0); */
    opacity: 0;
  }
  50% {
    /* transform: scale3d(0.5, 0.5, 0.5); */
    opacity: 0.5;
  }
  100% {
    /* transform: scale3d(1, 1, 1); */
    opacity: 1;
  }
}

#haut,
#competence,
#about {
  margin-bottom: 4%;
  padding: 5px;
}

.container {
  margin: 8% 2%;
}

.h1-sidebar {
  /* background-color:#2872afd0; */
  /* color: rgb(97, 97, 131); */
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  color: #004883;
  background-color: #2872af09;
  width: 40%;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-left: solid 5px #3379b352;
  animation: slideRight 5s ease forwards;
  /* animation-delay: 2s; */
  /* border-radius: 0 10px 10px 0; */
  /* margin-bottom: 1px; */
}

.sidebar {
  margin: 50px 0 0 50px;
}

.titre {
  font: 35px/50px "Fira Sans";
  text-align: center;
}

.titre span {
  /* animation: opacite 2s  2s infinite forwards; */
  /* animation-delay: 5s; */
}

@keyframes opacite {
  0% {
    letter-spacing: 1px;
  }
  50% {
    letter-spacing: 2px;
  }
  100% {
    letter-spacing: 3px;
  }
}

.home-content p,
.about-content p {
  /* font-family: bahnschrift; */
  font: italic 1.2rem/30px "Fira Sans", serif;
  margin: 15px auto;
  width: 95%;
  text-align: justify;
  /* text-align: center; */
  align-self: center;
  /* text-indent: 60px; */
  display: flex;
  flex-direction: column;
  animation: aff 2s 2s ease forwards;
  transform: scaleX(0);
  transform-origin: right;
}

@keyframes aff {
  0% {
    transform: scaleX(0.2);
  }
  50% {
    transform: scaleX(0.5);
  }
  100% {
    transform: scaleX(1);
  }
}

.image-profil {
  width: 250px;
  height: 350px;
  border-radius: 10px;
  box-shadow: 2px 5px 3px black;
  margin-bottom: 15px;
  animation: image 1s 2s ease forwards;
  /* animation-delay: 3ms; */
  opacity: 0;
}

.image-profil:hover {
  margin-top: 5px;
  transition: 0.5s;
}

.hidden {
  opacity: 0;
  transition: all 1s;
}

.show {
  opacity: 1;
}

@keyframes image {
  0% {
    opacity: 0.5;
    transform: rotate(180deg);
    /* transform: translateX(-100px); */
  }
  100% {
    /* transform: translateX(0); */
    transform: rotate(360deg);
    opacity: 1;
  }
}

.home-content {
  color: rgba(0, 0, 0, 0.774);
  /* text-align: center; */
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.portefolio {
  width: 90%;
  margin: 2% 5%;
  border-left: 5px solid black;
  transition: 0.5s;
}

.portefolio-content {
  color: #004883;
  display: flex;
}

.portefolio-list {
  margin: 5px;
  width: 25%;
  opacity: 0;
  animation: affichage 2s 2s ease forwards;
  /* border-right: 2px solid #2872af; */
  /* border-right: 1px solid rgb(71, 55, 212); */
}

.portefolio-list:hover {
  border-bottom: 5px solid whitesmoke;
  margin-top: 2px;
  transition: 0.5s;
}

.portefolio-list img {
  width: 100%;
  border-radius: 10px;
  margin-top: 20px;
}

.portefolio-list p {
  color: whitesmoke;
  font-style: italic;
  /* font-weight: 100; */
  background-color: #2872af96;
  border-radius: 10px;
  padding: 5px;
  font-size: 16px;
  line-height: 25px;
  font-family: "helvetica";
}

.portefolio-list h2 {
  text-align: center;
  line-height: 25px;
  color: rgb(214, 212, 212);
}

.competence-image {
  display: block;
  /* flex-grow: 25px; */
  widows: 100%;
  /* display: flex; */
  /* flex-direction: column; */
}

.header-competence {
  /* background-color: #0048831f; */
  /* border-radius: 20px; */
  text-align: center;
  text-decoration: #0b1b293a underline 3px;
  text-underline-offset: 10px;
  color: #004883;
}

.competence {
  display: flex;
  /* flex-direction: row; */
}

.prof {
  display: flex;
  width: 100%;
  margin-top: 90px;
}

.competence-content {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.bar {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 15px auto;
  width: 250px;
}

.progress-line {
  position: relative;
  height: 15px;
  background-color: #0b1b293a;
  border-radius: 10px;
}

.progress-line span {
  border-radius: 10px;
  position: absolute;
  /* width: 100%; */
  background-color: #004883;
  /* width: 100px; */
  height: 15px;
  border-right: 2px solid #2872af;
  /* padding: 10px 25px; */
  animation: anime ease 2s forwards;
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes anime {
  100% {
    transform: scaleX(1);
  }
}

.info i {
  font-size: 30px;
  border-radius: 2px;
}

.html span {
  width: 80%;
}

.css span {
  width: 65%;
}

.py span {
  width: 40%;
}

.js span {
  width: 52%;
}

.bootstrap span {
  width: 80%;
}

.react span {
  width: 40%;
}

.cercle-espace {
  margin-right: 50px;
}

.cercle {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.progress-cercle {
  /* position: absolute; */
  font-size: 8em;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  border: 0.15em solid #0b1b293a;
  /* background:transparent;   */
  text-align: center;
  transition: 0.6s;
  /* transform: scale(0.5); */
}

.progress {
  clip: rect(0, 0.5em, 1em, 0);
  transform: rotate(180deg);
}

.progress,
.progress-50 {
  /* transform: rotate(2deg); */
  position: absolute;
  top: 0;
  left: 0;
  border: 0.15em solid #004883;
  border-radius: 50%;
  width: 1em;
  height: 1em;
}

@keyframes communication {
  100% {
    transform: rotate(300deg);
  }
}

@keyframes probleme {
  100% {
    transform: rotate(200deg);
  }
}

@keyframes equipe {
  100% {
    transform: rotate(310deg);
  }
}

@keyframes creativite {
  100% {
    transform: rotate(210deg);
  }
}

.communication {
  clip: rect(0, 0.5em, 1em, 0);
  /* transform: rotate(300deg); */
  animation: communication 2s 2s forwards;
  transform: rotate(0deg);
}

.probleme {
  clip: rect(0, 0.5em, 1em, 0);
  animation: probleme 2s 2s forwards;
  transform: rotate(0deg);
}

.equipe {
  clip: rect(0, 0.5em, 1em, 0);
  animation: equipe 2s 2s forwards;
  transform: rotate(0deg);
}

.creativite {
  clip: rect(0, 0.5em, 1em, 0);
  animation: creativite 2s 2s forwards;
  transform: rotate(0deg);
}

.prof small,
.info span {
  font-family: "agency fb";
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 800;
}

/* .progress-line:hover {
    background: white;
    transition: .5s;
} */

/* .progress-cercle:hover {
    background-color: whitesmoke;
    border-color: whitesmoke;
} */

.progress-content {
  display: flex;
  flex-wrap: wrap;
  widows: 100%;
  margin-top: 5%;
  /* justify-items: center; */
  /* box-sizing: border-box; */
  /* align-items: center; */
}

.about-image {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.about-image span {
  font-size: 18px;
  color: #004883;
  font-weight: bold;
}

.footer {
  margin: 20px 5%;
}

.footer-content {
  display: flex;
  /* flex-direction: row;s */
  flex-wrap: wrap;
  background-color: #2872af33;
  color: whitesmoke;
  border-radius: 10px;
  margin: 2% 1%;
  /* display: flex; */
  padding: 20px;
  /* text-align: center; */
}

.home-image {
  text-align: center;
  line-height: 20px;
}

.social-media h3 {
  text-align: center;
  margin-bottom: 25px;
}

.social-media {
  /* display: flex; */
  /* text-align: center; */
  width: 30%;
  border-right: #004883 solid 2px;
  /* flex-direction: column; */
  /* padding: 10px; */
  align-items: center;
  /* flex-flow: row wrap; */
}

.social-media a {
  margin: 5% 5%;
  /* color: whitesmoke; */
  /* width:150px ; */
  /* height:50px ; */
  /* padding: 10px; */
  background: #2872afd0;
  color: whitesmoke;
  font-size: 20px;
  /* justify-content: center; */
  border: 2px solid #2872afd0;
  border-radius: 20px;
  padding: 1% 2%;
  transition: 0.5s;
}

.social-media a:hover {
  background: white;
  color: #004883;
  box-shadow: 0 0 10px #2872afd0;
  transition: 0.5s;
}
