:root {
/* font-family */
  --montserrat: 'montserrat', sans-serif;
  --shadows: 'Shadows Into Light', cursive;
  --encode: 'Encode Sans Expanded', sans-serif;
/* sizes */
  --main-title--mobil: 1.8rem;
  --title--mobil: 1.3rem;
  --sub-title--mobil: 1.2rem;
  --main-title--tablet: 2.2rem;
  --title--tablet: 1.5rem;
  --sub-title--tablet: 1.4rem;
  --main-title--desktop: 2.4rem;
  --title--desktop: 1.7rem;
  --sub-title--desktop: 1.6rem;
/* colors */
  --yellow-dark: rgba(255,171,0,0.6);
  --yellow-hover: #fff8dc;
}
* {
  margin: 0;
  padding: 0;
  outline: none;
}
html {
  font-size: 16px;
}
body {
  position: relative;
}
header {
  width: 100%;
  position: fixed;
  z-index: 100;
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  -webkit-box-shadow: 0px -12px 40px -2px #737373;
  -moz-box-shadow: 0px -12px 40px -2px #737373;
  box-shadow: 0px -12px 40px -2px #737373;
}
main {
  padding-top: 52px;
  max-width: 1200px;
  margin: 0 auto;
}
.title {
  font-size: 1.4rem;
  text-align: center;
  font-weight: 600;
  font-family: var(--shadows);
  color: #282828;
}
.title.home-title {
  font-family: var(--montserrat) !important;
  background-color: initial !important;
  color: #000 !important;
  font-size: 1rem !important;
}
.subtitle {
  font-family: var(--encode);
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  background-color: var(--yellow-dark);
  padding: 0.4rem;
  text-align: center;
  width: 90%;
  margin: 1rem auto;
}
footer {
  width: 100%;
  background-color: #fff8dc;
}
.logo {
  font-size: var(--main-title--mobil);
  font-family: var(--montserrat);
  width: 74%;
  text-align: center;
}
.logo .calligraphy {
  font-size: var(--main-title--mobil);
  font-family: var(--shadows);
}
.hamburger-icon-open {
  cursor: pointer;
}
.hamburger-icon-open .bar-one,
.hamburger-icon-open .bar-two,
.hamburger-icon-open .bar-three {
  width: 35px;
  height: 5px;
  background-color: #000;
  margin: 6px 0;
}
.hamburger-icon-open {
  width: 25%;
}
.hamburger-icon-open .bar-one,
.hamburger-icon-open .bar-two,
.hamburger-icon-open .bar-three {
  margin-left: auto;
  margin-right: auto;
}
.translate {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 200;
  background-color: #5f9eb0;
  transition: right 0.5s ease;
}
.translate .hamburger-icon-close {
  position: absolute;
  margin: 0.5rem 0 0 1rem;
  cursor: pointer;
}
.translate .hamburger-icon-close .bar-one {
  width: 35px;
  height: 5px;
  background-color: #000;
  margin: 6px 0;
  transform: rotate(-45deg) translate(-9px, 6px);
}
.translate .hamburger-icon-close .bar-two {
  opacity: 0;
}
.translate .hamburger-icon-close .bar-three {
  width: 35px;
  height: 5px;
  background-color: #000;
  margin: 6px 0;
  transform: rotate(45deg) translate(-2px, 0px);
}
.translate nav ul {
  font-family: var(--encode);
}
.translate nav ul li {
  list-style-type: none;
  height: 3.4rem;
  border-bottom: 0.04rem dashed #000;
}
.translate nav ul li.borderNone {
  border-bottom: initial;
}
.translate nav ul li.githeight {
  height: 85px;
}
.translate nav ul li.linkheight {
  height: 110px;
}
.translate nav ul li a {
  color: #000;
  line-height: 3.4rem;
  text-transform: uppercase;
}
.translate nav ul li a.links {
  display: block;
  height: 100%;
  width: auto;
  margin: 1rem 0 0 0;
}
.translate nav ul li a img {
  display: block;
  height: 100%;
  width: auto;
  margin: 0 auto;
}
.translate.close {
  right: -100%;
}
.translate.open {
  right: 0;
}
#home:target,
#home:target main,
#works:target,
#works:target main,
#skills:target,
#skills:target main,
#contact:target,
#contact:target main {
  margin-top: -50px;
  padding-top: 50px;
}
.home .yellowBackground {
  background-color: #ffebcd;
  padding: 5rem 1.5rem 5rem 1.5rem;
}
.home .yellowBackground h2 {
  margin-bottom: 2rem;
}
.home .yellowBackground h2 .junior {
  font-family: var(--shadows);
  font-size: 2rem;
}
.home .yellowBackground h2 .certif {
  font-size: 1rem;
}
.home .yellowBackground .now {
  font-family: var(--montserrat);
  font-size: 1rem;
  color: #282828;
  text-align: center;
  margin: 2rem 0;
}
.home .yellowBackground .trait {
  width: 60px;
  height: 1px;
  border-top: 1px solid #000;
  margin: 0 auto;
}
.home .yellowBackground .metiers {
  text-align: center;
  font-weight: 400;
  font-family: var(--encode);
  font-size: 1rem;
  margin: 2rem 0 2rem;
}
.home .yellowBackground .ancreContact {
  width: 10rem;
  height: 2.6rem;
  background-color: #000;
  text-align: center;
  margin: 0 auto;
  line-height: 2.6rem;
  border-radius: 45px;
}
.home .yellowBackground .ancreContact a {
  text-decoration: none;
  color: #fff;
  font-family: var(--encode);
  text-transform: uppercase;
}
.works img {
  display: block;
  width: 100%;
  height: auto;
}
.works img .avatar {
  background-color: #d3d3d3;
}
.works article {
  padding: 2rem 0;
}
.works article .customer {
  font-family: var(--montserrat);
  text-align: left;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding-left: 2rem;
}
.works article .customer .link {
  text-decoration: none;
  color: #000;
  font-weight: 900;
}
.works article .customer .link:hover {
  font-weight: 700;
}
.works article .versionning {
  margin-bottom: 1.5rem;
}
.works article .versionning.cpe {
  width: 50%;
  height: auto;
}
.works article .projectDescription {
  position: relative;
  font-family: var(--encode);
  margin-bottom: 1rem;
  padding-left: 2rem;
}
.works article .projectDescription .specificity {
  font-weight: 600;
}
.works article .projectDescription .jaune {
  position: absolute;
  bottom: -25px;
  left: 0;
  z-index: -10;
  width: 180px;
  height: 350px;
  background-color: var(--yellow-dark);
}
.works article .projectDescription .brown {
  position: absolute;
  bottom: -25px;
  left: -30px;
  z-index: -10;
  width: 180px;
  height: 350px;
  background-color: #a52a2a;
}
.works article .cover {
  width: 85%;
  diplay: block;
  margin: 0 auto;
  border: 1px solid #c0c0c0;
}
.works article .cover.cpe {
  margin-bottom: 1rem;
}
.works article .cover.formation {
  width: 75%;
}
.works .trait {
  width: 20%;
  height: 1px;
  border-top: 1px solid #000;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.skills p {
  font-family: var(--encode);
  text-align: center;
  padding-bottom: 1rem;
}
.skills .flexSkills {
  display: flex;
  flex-wrap: wrap;
}
.skills .flexSkills li {
  width: 49%;
  height: auto;
  list-style-type: none;
  border-bottom: none;
}
.skills .flexSkills li img {
  display: block;
  width: 100%;
  height: auto;
}
.contact {
  margin-bottom: 2rem;
}
.contact p {
  font-family: var(--encode);
  width: 90%;
  margin: 2rem auto;
}
.contact img {
  display: block;
  width: 220px;
  height: auto;
  margin: 0 auto;
  border: 1px solid #808080;
}
.contact a {
  color: #000;
  text-decoration: none;
  font-family: var(--encode);
}
ul {
  font-family: var(--encode);
}
ul li {
  height: 2.4rem;
  border-bottom: 1px solid #ffebcd;
}
ul li a {
  color: #000;
  text-decoration: none;
  line-height: 2.4rem;
  text-align: center;
  display: block;
}
ul li a:active,
ul li a:focus,
ul li a:hover {
  color: #5f9ea0;
  cursor: pointer;
}
audio {
  display: block;
  margin: 1rem auto 0;
}
.copyright {
  background-color: #5f9eb0;
  font-family: var(--shadows);
  display: block;
  text-align: center;
  padding: 1rem 0 2rem;
}
.copyright a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.copyright a:hover {
  color: #5f9eb0;
}
@media screen and (min-width: 768px) {
  .logo {
    width: 60%;
  }
  .hamburger-icon-open {
    width: 25%;
  }
  .hamburger-icon-open .bar-one,
  .hamburger-icon-open .bar-two,
  .hamburger-icon-open .bar-three {
    margin-left: auto;
    margin-right: auto;
  }
  .title {
    font-size: 1.6rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    background-color: #5f9eb0;
    width: 95%;
    color: #fff;
  }
  .works .versionning {
    display: none;
  }
  .works article .projectDescription .jaune {
    width: 80%;
  }
  .works .img-pvcp {
    display: flex;
  }
  .works .img-pvcp img {
    width: 35%;
  }
  .works article .cover {
    width: 45%;
  }
  .works article .cover.cpe,
  .works article .cover.pv {
    height: intrinsic;
  }
  .works article .customer {
    text-align: center;
  }
  .works article .projectDescription.right-text {
    text-align: end;
    padding-right: 2rem;
  }
  .works article .projectDescription .jaune.right {
    right: 0 !important;
    left: initial !important;
  }
  .skills .flexSkills li {
    width: 33%;
    height: auto;
  }
  .contact .contact-me {
    display: flex;
    justify-content: center;
  }
  .contact .contact-me p {
    width: 30%;
  }
  .contact .contact-me img {
    display: block;
    height: intrinsic;
    width: 35%;
  }
}
@media screen and (min-width: 992px) {
  .subtitle {
    width: 99%;
    opacity: 0;
  }
  header {
    align-items: baseline;
  }
  .hamburger-icon-open {
    display: none;
  }
  div.translate {
    position: relative;
    right: 0 !important;
    height: initial;
    background-color: initial;
  }
  div.translate .hamburger-icon-close {
    display: none;
  }
  div.translate nav ul {
    display: flex;
    justify-content: space-around;
  }
  div.translate nav ul li {
    border-bottom: none;
  }
  div.translate nav ul li.borderNone {
    display: none;
  }
  div.translate nav ul li a {
    font-weight: 600;
  }
  div.translate nav ul li a:hover,
  div.translate nav ul li a.selected {
    color: #5f9eb0;
  }
  .home {
    margin-bottom: 6rem;
  }
  .home .yellowBackground {
    background-color: var(--yellow-dark);
  }
  .works .img-pvcp {
    display: flex;
  }
  .works .img-pvcp img {
    width: 35%;
  }
  .works article .cover {
    width: 33%;
  }
  .works article .cover .projectDescription .jaune {
    border: 3px solid #5f9eb0;
  }
  .skills .flexSkills li {
    width: 24%;
    height: auto;
  }
  footer {
    display: flex;
    justify-content: space-around;
  }
  footer article .subtitle {
    opacity: 1;
  }
  footer ul li {
    list-style-type: none;
    border-bottom: none;
  }
}
