body {
  margin: 0px;
  background-color: #252f3b;
  overflow-x: hidden;
}

nav {
  padding-left: 3%;
  padding-right: 3%;
  color: gray;
  height: 2.4em;
  background-color: #f6f6f6;
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  width: 84%;
  margin: 0 auto;
  margin-bottom: 1%;
}

.initiales {
  display: inline;
}

span .nom {
  display: inline-block;
}

.nom {
  /* display:none; */
  -webkit-transform: scale(0, 1);
          transform: scale(0, 1);
  width: 0px;
  -webkit-transition: width 1s,-webkit-transform 1.2s;
  transition: width 1s,-webkit-transform 1.2s;
  transition: width 1s,transform 1.2s;
  transition: width 1s,transform 1.2s,-webkit-transform 1.2s;
}

/* .initiales:hover ~ .nom{
  display: inline;
} */
.nom-show {
  display: inline-block;
  -webkit-transform: scale(1, 1);
          transform: scale(1, 1);
  -webkit-transition: width 1s,-webkit-transform 1.2s;
  transition: width 1s,-webkit-transform 1.2s;
  transition: width 1s,transform 1.2s;
  transition: width 1s,transform 1.2s,-webkit-transform 1.2s;
  /* transition:  */
  width: 45.328px;
  width: 3em;
}

.left-menu {
  float: left;
  font-family: 'Lilita One','monospaced';
  font-size: 2em;
}

.left-menu > *, .nom-complet > * {
  /* to delete space between words */
  float: left;
}

.right-menu {
  float: right;
  text-decoration: underline;
}

.right-menu span {
  margin-left: 5px;
}

.right-menu .selected {
  font-weight: bold;
}

.profile {
  margin: 0% 5% 0% 5%;
  margin-top: 2em;
  color: #989898;
}

.photo {
  width: 50%;
  background-image: url("../img/profil.jpg");
  background-size: cover;
  width: 350px;
  height: 350px;
  border-radius: 100%;
}

.contact {
  float: left;
}

.contact ul {
  list-style: none;
}

.bio {
  width: 32%;
  float: right;
  text-align: center;
  margin-right: 16%;
  margin-top: 4%;
  display: inline-block;
}

.inclined-left::before, .inclined-right::before {
  content: ' ';
  width: 6%;
  height: 380px;
  position: absolute;
  background-color: #252f3b;
  margin: 0 auto;
  /* border-radius: 68%; */
  margin-left: 42%;
  margin-top: -22px;
}

.inclined-left::before {
  -webkit-transform: rotateZ(7deg);
          transform: rotateZ(7deg);
}

.inclined-right::before {
  -webkit-transform: rotateZ(-7deg);
          transform: rotateZ(-7deg);
}

section {
  width: 90%;
  display: inline-block;
  margin-top: 10%;
  margin-left: 5%;
  margin-right: 5%;
  height: 345px;
  color: white;
}

.blue {
  background: -webkit-gradient(linear, right top, left top, color-stop(1%, #00276c), color-stop(10%, #6b9cc4), color-stop(78%, #728194));
  background: linear-gradient(to left, #00276c 1%, #6b9cc4 10%, #728194 78%);
}

.red {
  background: -webkit-gradient(linear, left top, right top, color-stop(5%, #11064e), color-stop(9%, #565ea2), color-stop(98%, #c15a59));
  background: linear-gradient(to right, #11064e 5%, #565ea2 9%, #c15a59 98%);
}

.description {
  height: 345px;
  line-height: 30px;
}

section div:nth-child(1) {
  float: left;
  width: 50%;
}

section div:nth-child(2) {
  float: right;
  width: 50%;
}

section .img {
  float: left;
  height: 100%;
  background-size: cover;
  background-position: center;
}

section .description {
  width: 50%;
  float: right;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
}

.description p {
  padding: 10%;
  padding-top: 10%;
}

@media screen and (max-width: 750px) {
  .contact {
    float: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }
  .bio {
    float: none;
    margin: 0 auto;
    width: 50%;
    display: block;
  }
  .inclined-left::before, .inclined-right::before {
    -webkit-transform: rotateZ(90deg) scale(1.5);
            transform: rotateZ(90deg) scale(1.5);
    -webkit-clip-path: polygon(50% 80%, 100% 53%, 20% 0, 3% 0, 0 80%);
            clip-path: polygon(50% 80%, 100% 53%, 20% 0, 3% 0, 0 80%);
    margin-top: 0%;
    height: 100%;
    width: 5%;
  }
  section {
    height: 100vh;
  }
  section div:nth-child(1) {
    width: 100%;
    height: 50vh;
  }
  section div:nth-child(2) {
    width: 100%;
    height: 50vh;
  }
  section .img {
    height: 50vh;
  }
  section .description {
    height: 50vh;
    line-height: 30px;
  }
  .blue {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(1%, #00276c), color-stop(10%, #6b9cc4), color-stop(78%, #728194));
    background: linear-gradient(to top, #00276c 1%, #6b9cc4 10%, #728194 78%);
  }
  .red {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(5%, #11064e), color-stop(9%, #565ea2), color-stop(98%, #c15a59));
    background: linear-gradient(to bottom, #11064e 5%, #565ea2 9%, #c15a59 98%);
  }
}
/*# sourceMappingURL=nav.css.map */