/*----GENERAL------*/

html {
  scroll-behavior: smooth;
}

.container-fluid {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Raleway", "Open Sans", sans-serif;
  padding: 0;
  margin: 0;
}

h2 {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 38px;
  color: #000000;
  animation: fadein 2s;
  -moz-animation: fadein 2s;
  /* Firefox */
  -webkit-animation: fadein 2s;
  /* Safari et Chrome */
  -o-animation: fadein 2s;
  /* Opera */
}

h3 {
  text-align: center;
  font-family: "Caveat Brush", sans-serif;
  font-size: 58px;
  color: #000000;
  font-weight: bold;
  animation: fadein 2s;
  -moz-animation: fadein 2s;
  /* Firefox */
  -webkit-animation: fadein 2s;
  /* Safari et Chrome */
  -o-animation: fadein 2s;
  /* Opera */
}

.numering {
  position: static;
  margin-bottom: -80px;
  margin-left: 52%;
  font-family: "Raleway";
  color: #fada80;
  font-size: 90px;
  font-weight: bold;
  animation: fadein 2s;
  -moz-animation: fadein 2s;
  /* Firefox */
  -webkit-animation: fadein 2s;
  /* Safari et Chrome */
  -o-animation: fadein 2s;
  /* Opera */
}

/*----ACCEUIL----*/

h1 {
  font-family: "Caveat Brush", sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  font-size: 90px;
  color: black;
  background: -webkit-linear-gradient(#faf3e3 20%, #faf3e3 20%) 0 0.8em / 5px
    0.5em repeat-x;
  background: -o-linear-gradient(#faf3e3 20%, #faf3e3 20%) 0 0.8em / 5px 0.5em
    repeat-x;
  background: linear-gradient(#faf3e3 20%, #faf3e3 20%) 0 0.8em / 5px 0.5em
    repeat-x;
}

.container {
  position: absolute;
}

.title {
  font-family: "Caveat Brush", sans-serif;
  font-weight: 300;
  color: transparent;
  font-size: 120px;
  background: url("https://phandroid.s3.amazonaws.com/wp-content/uploads/2014/05/rainbow-nebula.jpg")
    repeat;
  background-position: 40% 50%;
  -webkit-background-clip: text;
  position: relative;
  text-align: center;
  line-height: 90px;
  letter-spacing: -8px;
}

.subtitle {
  display: block;
  text-align: center;
  text-transform: uppercase;
  padding-top: 10px;
}

.header {
  position: relative;
  text-align: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../media/accueil2.jpeg);
  color: white;
}

.inner-header {
  height: 80vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.flex {
  /*Flexbox for containers*/
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
}

.content {
  position: relative;
  height: 20vh;
  text-align: center;
  background-color: white;
}

/*---Vagues----*/

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}

/*Shrinking for mobile*/

@media only screen and (max-width: 760px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 20px;
  }
}

/*----Scroll----*/

.demo a {
  position: absolute;
  bottom: 130px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #000000;
  font:
    normal 400 20px/1 "Josefin Sans",
    sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s;
}

.demo a:hover {
  opacity: 0.5;
}

#section10 a {
  padding-top: 60px;
}

#section10 a span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #000000;
  border-radius: 50px;
  box-sizing: border-box;
}

#section10 a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: "";
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #000000;
  border-radius: 100%;
  -webkit-animation: sdb10 2s infinite;
  animation: sdb10 2s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes sdb10 {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes sdb10 {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*----PRESENTATION------*/

#presentation {
  min-height: 100vh;
  display: inline-block;
  font-family: "Raleway";
}

#gif {
  margin-left: 35%;
  position: absolute;
  width: 8%;
}

#photo {
  margin-top: 2%;
  clip-path: circle(42%);
  width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#presentation p {
  margin-left: 25%;
  margin-right: 25%;
  margin-bottom: 2%;
  text-align: justify;
}

#presentation strong,
#formation {
  color: #f6404f;
  font-weight: bold;
}

#btnCv {
  margin-left: 41%;
}

#formation:hover {
  text-decoration: none;
  background-color: #f6404f;
  color: white;
}

/*----COMPETENCES----*/

#competences {
  background: #faf3e3;
}

#competences .progress {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4%;
}

#competences .progress-bar {
  padding: 2%;
}

h4 {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 100;
  font-weight: bold;
  padding-top: 8%;
  margin-bottom: 3%;
}

h5 {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 100;
  font-weight: bold;
}

#colonne1 p,
#colonne2 p,
#colonne3 p {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  margin: 5% 4% 0% 10%;
}

.logoCompetences {
  width: 90px;
  padding-top: 8%;
}

#competences strong {
  color: #30bcc9;
  font-weight: bold;
}

/*----REALISATIONS----*/

.portfolio .tri {
  padding-top: 35px;
  margin-bottom: 35px;
}

.wrapper {
  margin: 0 auto;
}
.wrapper .row {
  max-width: 100%;
}

.clear {
  clear: both;
}

.portfolio .tri ul {
  display: table;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid #eee;
  padding: 0 2em;
  box-sizing: border-box;
}

.portfolio .tri ul li {
  float: left;
  color: gray;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-family: "Raleway";
  padding: 1em;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-top: 1px solid transparent;
  margin-top: -1px;
}

.portfolio .tri ul li:hover {
  color: black;
}

.portfolio .tri ul li.active {
  color: #f6404f;
  border-bottom: 1px solid #f6404f;
}

.portfolio .item {
  display: block;
  color: #fff;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 1em;
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.portfolio .item:nth-child(2n) {
  float: right;
}

.portfolio .item:nth-child(2n + 1) {
  float: left;
}

.portfolio .item .black-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 300px;
  z-index: -1;
  background: rgba(246, 64, 79, 0.5);
  opacity: 0;
}

.portfolio .item:hover .black-overlay {
  opacity: 1;
}

.portfolio .item .hr-title-top {
  width: 0%;
  height: 1px;
  background: #fff;
  border: none;
  margin: 0;
  margin-top: 50px;
  margin-bottom: 20px;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.portfolio .item .hr-title-bot {
  width: 0%;
  height: 1px;
  background: #fff;
  border: none;
  margin: 0;
  margin-top: 20px;
  display: block;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
}

.portfolio .item:hover .hr-title-top,
.portfolio .item:hover .hr-title-bot {
  width: 20%;
}

.portfolio .item .background {
  background-size: cover;
  background-position: center center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: -2;
  height: 300px;
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
}

.portfolio .item:hover .background {
  transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
}

.portfolio .item .item-title {
  font-family: "Raleway", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  top: 100px;
  line-height: 1.3em;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  opacity: 0;
}

.portfolio .item:hover .item-title {
  top: 0;
  opacity: 1;
}
.row {
  margin: 0;
}
.portfolio .item .item-description {
  line-height: 1.5em;
  left: 100px;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  font-weight: 200;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  opacity: 0;
}

.portfolio .item:hover .item-description {
  opacity: 1;
  left: 0;
}

.portfolio .item .view-more {
  font-family: "Raleway", sans-serif;
  font-weight: 300;
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 20px;
  letter-spacing: 3px;
  border: 1px solid #fff;
  color: #fff;
  box-sizing: border-box;
  padding: 1em 0;
  cursor: pointer;
  min-width: 150px;
  position: absolute;
  left: 50%;
  bottom: 0px;
  background: transparent;
  margin-left: -75px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  opacity: 0;
}

.portfolio .item .view-more:hover {
  background: #fff;
  color: #000;
}

.portfolio .item:hover .view-more {
  opacity: 1;
  bottom: 20px;
}

.sortedDown {
  transform: scale(0.5);
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -o-transform: scale(0.5);
  filter: grayscale(0.8);
  -webkit-filter: grayscale(0.8);
}

/*---------------CONTACT-------------*/

#contact {
  background-color: #30bcc9;
}

.formulaireContact {
  font-family: "Raleway";
  border-radius: 20px;
  padding: 5%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: white;
  margin-bottom: 30px;
}

#contact form {
  width: 100%;
  display: inline-flex;
  flex-direction: column;
  background-color: white;
}

#contact form > div {
  width: 100%;
}

#contact form > div input,
#contact form > div textarea {
  width: 100%;
  height: 150px;
  border: none;
  background-color: gainsboro;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  margin-top: 10px;
}

#contact form > div input::placeholder,
#contact form > div textarea::placeholder {
  padding: 10px;
}

#contact form > div input {
  height: 40px;
  padding-left: 2%;
}

#contact form #double {
  width: 100%;
  box-sizing: content-box;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#contact form #double div {
  width: 48.5%;
}

#contact #button {
  border: none;
  background-color: #f6404f;
  padding: 10px 30px;
  border-radius: 20px;
  margin: 2% auto;
  color: white;
  font-size: 18px;
  transform: scale(1);
  border-radius: 20px;
  transition-duration: 500ms;
}

#contact #button:hover {
  transform: scale(0.9);
  transition-duration: 500ms;
  cursor: pointer;
}

#contact > #infos {
  text-align: center;
  font-family: "Raleway";
  display: inline-flex;
  justify-content: space-between;
  flex-direction: column;
  background-color: white;
  width: 50%;
  height: auto;
  margin: auto;
  border-radius: 20px;
  padding: 3%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#adresseMail {
  text-decoration: none;
  color: #f6404f;
  font-weight: bold;
  font-size: 18px;
}

#adresseMail:hover {
  cursor: pointer;
}

.logo_reseaux {
  padding-left: 34%;
  padding-right: 34%;
}

.logo_reseaux img {
  width: 50px;
  padding-left: 5%;
  transform: scale(0.9);
  transition-duration: 500ms;
}

#behance {
  width: 70px;
  padding-left: 5%;
  transform: scale(0.9);
  transition-duration: 500ms;
}

.logo_reseaux img:hover {
  transform: scale(1);
  transition-duration: 500ms;
  cursor: pointer;
}

/*----FOOTER----*/

footer {
  background-color: black;
  color: white;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: "Raleway", "sans-serif";
  font-size: 14px;
  padding-top: 1%;
}

footer a {
  position: fixed;
  bottom: 2%;
  right: 2%;
  text-decoration: none;
  color: rgba(141, 141, 141, 0.36);
  z-index: 6;
  transition-duration: 1s;
}

footer img {
  width: 20px;
}
