body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 100%;
  margin: 0 10vw;
  color: white;
  scroll-behavior: smooth;
  z-index: 1;
}

body * {
  z-index: 2;
}

html {
  scroll-behavior: smooth !important;
  /* background-color: rgba(33, 34, 36, 1); */
  /* background-color: #111111; */
  z-index: 1;
  transition: background-color 1s;
  /* background-color: #141316; */
  background-color: #1c1c1c;
}

.mobile-only {
  display: none;
}

.intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  animation-iteration-count: 1;
  animation: hideIntro 6s linear;
  position: fixed;
  height: 100vh;
  width: 90%;
  margin: 0px -5vw;
  z-index: 20;
  background-color: #141316;
  opacity: 1;
  top: -100vh;
}

.hide {
  display: none;
}

input[type="submit"] {
  cursor: pointer;
}

.alert {
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 0px;
}

.alert.success {
  background: #7cb37c;
}

.alert.warning {
  background: #ff7e56;
}

.alert.error {
  background: #ff5656;
}

@keyframes hideIntro {
  0% {
    top: 0;
  }

  90% {
    top: 0;
  }

  100% {
    top: -100vh;
  }
}

.intro .images img {
  margin-top: 10vh;

  height: 25vh;
}

#javascript_logo_orange {
  animation: showJavascript 3s;
}

@keyframes showJavascript {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }
}

#node_logo_orange {
  animation: showNode 3s;
}

@keyframes showNode {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

#react_logo_orange {
  animation: showReact 3s;
}

@keyframes showReact {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 1;
  }
}

#flutter_logo_orange {
  animation: showFlutter 3s;
}

@keyframes showFlutter {
  0% {
    opacity: 0;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.intro h1 {
  animation: showTitle 4s;
}

@keyframes showTitle {
  0% {
    opacity: 0;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

h1 {
  color: white;
  font-family: "Inter";
  margin: 0px;
  font-size: 4em;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin-top: 11vh;
  text-align: center;
}

main h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
  margin-top: 0px;
  text-transform: uppercase;
}

nav {
  vertical-align: middle;
  height: 10vh;
  width: 100%;
  justify-content: space-evenly;
  z-index: 20;
  position: fixed;
  padding: 5px 35px;
  align-items: center;
  backdrop-filter: blur(7px);
  display: flex;
  background-color: rgb(34 34 34 / 75%)
}

nav ul {
  list-style: none;
  font-size: 1.2em;
  display: flex;
  justify-content: flex-end;
}

nav img {
  height: 70px;
  max-height: 100%;
}

nav li {
  margin-left: 4vw;
}

nav a {
  color: #ff7e56;
  text-decoration: none;
}

header {
  display: flex;
    justify-content: center;
}

.header {
  margin-top: 100px;
  display: flex;
  height: calc(90vh - 20px);
  flex-direction: column;
  align-items: center;
  width: 50vw;
}

.header h2 {
  font-size: 2em;
  color: #b7b7b7;
  text-align: center;
  font-weight: normal;
}

.header h3 {
  color: #80726d;
}

.header-left img {
  max-height: 90vh;
  width: 100%;
}

main section {
  display: grid;
  /*height: 100vh;*/
  align-items: center;
  margin-bottom: 15vh;
}

.section-a-propos {
  height: auto;
}

main h2 {
  font-size: 3em;
  color: #ff7e56;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.section-a-propos {
  grid-template-columns: 70% 30%;
}

.section-a-propos .left {
  margin-right: 20%;
}

.section-a-propos img {
  width: 100%;
}

/* couleur secondaire : ff7e56; */

/* bouton header */

.header-right {
  padding-left: 5vw;
}

.header-right .wrapper {}

.header .link_wrapper {
  position: relative;
  display: flex;
}

.link_wrapper a {
  display: block;
  line-height: 50px;
  text-decoration: none;
  background: #ff7e56;
  text-align: center;
  color: white;
  letter-spacing: 1px;
  border: 1px solid #fdd4c8;
  transition: all 0.35s;
  border-radius: 10px;
  padding: 0px 10px;
  margin: 5px;
}

.link_wrapper a.dark{
  background-color: #2e2e2e;
}

.header a:hover{
  opacity: 0.8;
}


/* fin bouton header */

/* SECTION COMPETENCES */
.section-projets {
  margin-top: 25vh;
}

.section-projets .projet-content {
  position: relative;
}

.projet-content .left.grid-items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.projet-content .left.grid-items .content-top {
  border-top: 1px solid #2e2e2e;
  border-left: 1px solid #2e2e2e;
  border-right: 1px solid #2e2e2e;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  background-color: #232323;
  padding: 5px;
  width: 100%;
}

.projet-content .left.grid-items .content-top img {
  width: 98%;
  border-radius: 10px;
  padding: 1%;
}

.projet-content .left.grid-items .content-bottom {
  padding: 20px;
  background-color: #232323;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  box-shadow: 5px 6px 9px 0px #161616;
}


.section-competences.active {
  transition: background-color ease-in 0.5s;
  background-color: #e2e2e2;
}

.first-input,
.second-input {
  display: inline-block;
  margin: 100px;
}

input[type="checkbox"] {
  height: 6vw;
  width: 6vw;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border-radius: 10px;
  border: none;
  background-color: #d6d4d4;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 65%;
  box-shadow: 5px 5px 13px #adacac, -5px -5px 13px #fffcfc;
  margin-left: 10px;
  outline: 0;
  cursor: pointer;
}

input.html {
  background-image: url(../images/html.png);
  display: block;
}

input.js {
  background-image: url(../images/js.png);
  display: block;
}

input.react {
  background-image: url(../images/react.png);
}

input.php {
  background-image: url(../images/php.png);
}

input.symfony {
  background-image: url(../images/symfony.png);
}

input.flutter:after {
  background-image: url(../images/flutter.png);
}

.first-input input[type="checkbox"]:checked {
  border: none;
  background: linear-gradient(145deg, #c1bfbf, #e5e3e3);
  box-shadow: 10px 10px 15px 5px #a5acc9, -10px -10px 15px 5px #ffffff;
  /*inset 10px 10px 15px 5px #a5acc9,
            inset -10px -10px 15px 5px #FFFFFF;*/
}

.second-input input[type="checkbox"]:checked {
  border: none;
  box-shadow: inset 11px 11px 22px #adacac, inset -11px -11px 22px #fffcfc;
}

input.html:checked {
  background-image: url(../images/html-active.png);
}

input.js:checked {
  background-image: url(../images/js-active.png);
}

input.react:checked {
  background-image: url(../images/react-active.png);
}

input.php:checked {
  background-image: url(../images/php-active.png);
}

input.symfony:checked {
  background-image: url(../images/symfony-active.png);
}

input.flutter:checked {
  background-image: url(../images/flutter-active.png);
}

/* GRID COMPETENCES */

.section-projets .top {
  transition: opacity 1s;
  width: 100%;
  opacity: 0;
}

.section-projets h2 {
  text-align: left;
}

.grid-sizer,
.grid-item {

  margin: 10px;
  margin-left: 0;
}

.grid-item {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.grid-item img {
  width: 100%;
}

.grid-item .buttons {
  display: flex;
  flex-direction: row;
}

.grid-item a {
  text-decoration: none;
  outline: none;
  padding: 10px;
  margin: 5px;
  border: 1px solid #ffcab9;
  color: white;
  width: 100%;
  text-align: center;
  background: #ff7e56;
  border-radius: 5px;
}

.grid-item a:hover {
  background-color: #c76547;
}

.grid-item h3 {
  margin-top: 0;
}

/* RELAX CSS */

.rellax {
  position: absolute;
}

.rellax.md-orange.transparent {
  background-color: #ff7e56c2;
  border-bottom: 5px outset #ff7e56c2;
  border-right: 5px outset #ff7e56c2;
}

.rellax.md-orange {
  z-index: -1;
  background: #ff7e56;
  border-radius: 20px;
  transform: translateY(50px) rotate(315deg);
  width: 5vw;
  height: 5vw;
  border-bottom: 5px outset #ff7e56;
  border-right: 5px outset #ff7e56;
}

.rellax.lg-orange {
  z-index: -1;
  background: #ff7e56;
  border-radius: 20px;
  transform: translateY(100px) rotate(315deg);
  width: 10vw;
  height: 10vw;
  border-bottom: 10px outset #ff7e56;
  border-right: 10px outset #ff7e56;
}

.section-competences2 .grid-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.section-competences2 .grid-content .left {
  position: relative;
}

.section-competences2 .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 30px;
  gap: 15px;
}

.section-competences2 .grid>div {
  background-color: rgb(45 47 49);
  border-radius: 10px;
  box-shadow: 5px 5px 10px #181818;

}

.section-competences2 .grid img {
  background: #ff7e56;
  border-radius: 50px;
  padding: 15px;
  width: 30px;
}

.section-competences2 .logos-competences {
  width: calc(100% - 2px);
  background-color: #181818;
  padding: 30px 0px;
  text-align: center;
  margin-left: 1px;
  margin-top: 1px;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;

}

.section-competences2 .content-competences {
  padding: 30px;


}

.section-competences .grid-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.section-competences .grid-content>div {
  padding: 30px;
  background: rgb(72 74 78);
  margin: 10px;
  border-radius: 2em;
}

.section-projets .grid-content {
  display: grid;
  grid-template-columns: 50% 50%;
}

.section-projets ol li {
  color: white;
  font-size: 5em;
  list-style: none;
  cursor: pointer;
}

.section-projets ol li:hover,
.section-projets ol li.active {
  font-weight: bold;
}

.section-projets ol li.active::before,
.section-projets ol li.hover::before {
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  font-weight: bold;
}

/* 
.scroll-content{
  transition: transform 0.5s;
} */

span.sous-titre {
  display: block;
  width: 5vw;
  height: 1vh;
  background-color: #ff7e56;
  margin-bottom: 15px;
}

/* SECTION CONTACT */
.section-contact {
  margin-top: 30vh;
}

.section-contact .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.section-contact form {
  display: flex;
  flex-direction: column;
}

.section-contact input,
.section-contact textarea {
  padding: 10px;
  background-color: #222222;
  font-size: 19px;
  color: white;
  border: none;
  margin-bottom: 20px;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
}

.section-contact .left input[type="submit"] {
  width: 50%;
  align-self: flex-end;
  padding: 20px;
  color: white;
  border-radius: 40px;
  background-color: #ff7e56;
  font-family: "Quicksand", sans serif;
  font-weight: 100;
}

.section-contact .right {
  padding-left: 100px;
  font-size: 20px;
}

.section-contact .right p:before {
  content: "";
  width: 25px;
  height: 25px;
  border-top: 2px solid white;
  border-left: 2px solid;
  display: block;
  position: relative;
  left: -25px;
  top: 0px;
}

.section-contact .right p:after {
  content: "";
  width: 25px;
  height: 25px;
  border-bottom: 2px solid white;
  border-right: 2px solid;
  display: block;
  position: relative;
  left: calc(100% - 100px);
}

.section-contact .right img {
  width: 40%;
}
/* RESPONSIVE */

@media only screen and (max-device-width: 1380px) {
  .projet-content .left.grid-items {
    width: 70%;
  }

  .section-projets ol li {
    font-size: 3.5em;
  }

  .competence-list {
    padding: 0;
  }
}

@media only screen and (max-device-width: 480px) {
  * {
    max-width: 100vw;
  }

  h1 {
    font-size: 2em;
  }

  .header h2{
    font-size: 1.2em;
  }

  nav ul a {
    font-size: 2rem;
  }

  #close-menu{
    height: 3rem;
  }

  body {
    width: 90vw;
    margin: 0 5vw;
  }

  .mobile-only {
    display: block;
  }

  .not-mobile {
    display: none;
  }

  .rellax {
    display: none;
  }

  .header {
    grid-template-columns: 100%;
    width: 100%;
  }

  .header-right {
    padding-left: 0;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 10vh;
  }

  #menu-burger {
    width: 100vw;
    height: 110vh;
    position: absolute;
    top: -110vh;
    transition: top 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    background: #141316;
    z-index: 3;
    font-size: 45px;

  }

  #menu-burger.active {
    top: 0vh;
  }

  #menu-burger ul{
    margin-top: 20vh;
  }

  #open-menu{
    margin-right: 5vh;
  }
  #close-menu {
    float: right;
    margin-top: 5vh;
    margin-right: 5vh;
  }

  #open-menu img {
    width: 30px;
  }

  nav ul {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }



  .section-a-propos {
    grid-template-columns: 1fr;
  }

  .section-a-propos .left {
    margin-right: 0;
  }

  .section-projets .projet-content {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;
  }

  .section-projets .projet-content .right {
    order: 1;
  }

  .section-projets .projet-content .left {
    order: 2;
    grid-template-columns: 1fr;
  }

  .section-competences2 .grid {
    padding: 0%;
  }

  .section-competences2 .grid-content {
    grid-template-columns: 1fr;
  }

  .section-competences2 .grid {
    grid-template-columns: 1fr;
  }

  .section-competences2 .grid>div h3 {
    color: #ff7e56;
  }

  .projet-content {
    width: 90vw;
    display: flex;
    flex-direction: column;
  }

  .projet-content .left {
    order: 2;
  }

  .projet-content .right {
    order: 1;
    position: relative;
    width: 90vw;
  }

  .sections-projets {
    margin-top: 10vh;
  }

  .projet-content .left.grid-items {
    width: 100%;
  }

  .grid-sizer,
  .grid-item {
    width: 100%;
  }

  nav{
    justify-content:space-between;
  }
}

.hide.developpeur {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  z-index: 3;
  text-align: left;
}

.hide.developpeur li {
  background-color: rgb(34 34 34 / 75%);

}
.hide.developpeur li:hover{
 cursor: pointer;
  background-color: rgb(0 0 0 / 75%);
}


ul.not-mobile > li{
  padding: 20px 0px;
 cursor: pointer;


}


.show-developpeur:hover .hide.developpeur,
.show-developpeur a:hover .hide.developpeur,
.hide.developpeur:hover {
  display: flex;
}



.show-developpeur .hide.developpeur li {
  padding: 20px;
}

.header {
  position: relative;
  z-index: 10;
}