* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}
 
html, body {
  height: 100%;
}

body {
  display: table;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: rgba(252, 252, 252, 0.863);
  line-height: 1.6;
  position: relative;
  font-family: 'Quicksand', sans-serif;
}
a, a:hover  {
  text-decoration: none;
  color: rgba(252, 252, 252, 0.863);
  font-family: 'Quicksand', sans-serif;
}

/* Lines 24 to 91 are for the 3 vertical line for background */
.lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: auto;
  width: 90vw;
}

.line {
  position: absolute;
  width: 1px;
  height: 100%;
  top: 0;
  left: 50%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.line::after {
  content: "";
  display: block;
  position: absolute;
  height: 15vh;
  width: 100%;
  top: -50%;
  left: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  -webkit-animation: drop 7s 0s infinite;
          animation: drop 7s 0s infinite;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
          animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}
.line:nth-child(1) {
  margin-left: -25%;
}
.line:nth-child(1)::after {
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}
.line:nth-child(3) {
  margin-left: 25%;
}
.line:nth-child(3)::after {
  -webkit-animation-delay: 2.5s;
          animation-delay: 2.5s;
}

@-webkit-keyframes drop {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}

@keyframes drop {
  0% {
    top: -50%;
  }
  100% {
    top: 110%;
  }
}
/* VIDEO BACKGROUND */
#myVideo {
  object-fit: cover;
  position: fixed;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
}

hr {
  border: solid 1px rgba(252, 252, 252, 0.863);
}

nav {
	background: transparent;
}
.black {
  background-color: rgba(0, 0, 0, 0.8);
}

.blackbox {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 5px;
}


.center {
	color: rgba(252, 252, 252, 0.863);
	width: 100%;
  height: 85%;
  position: absolute;
	display: flex;
  flex-direction: row;
  padding: 40px;
  opacity: 0;
  margin-top: 100px;
  animation: 1s slidefade 1s forwards;
}
@keyframes slidefade {
    100% {
        opacity: 1;
        margin: 0;
    }
}

.centerservices {
  flex-direction: column;
}

.yellow {
	color: rgba(255, 255, 0, 0.822);
}

.titre{
	color: rgba(252, 252, 252, 0.863);
	text-shadow: 0px 10px 10px rgba(245, 245, 245, 0.555);
}

.boxcenter {
	margin: auto;
}

.boxvertical {
  display: flex;
  flex-direction: column;
}

.boxhorizontal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(252, 252, 252, 0.863);
  border-radius: 5px;
}
.boxhorizontal-portfolio {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(252, 252, 252, 0.863);
  border-radius: 10px;
  padding: 20px
}
.boxhorizontal:hover, .boxhorizontal-portfolio:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.boxservices {
  padding: 10px;
}
.boximages {
  flex: 0 0 200px;
}
.boximages:hover {
  flex: 0 0 400px
}

.html {
  color: rgba(255, 255, 0, 0.541);;
}
.node {
  color: rgba(18, 236, 47, 0.541);
}
.fa-umbrella {
  color: rgba(0, 238, 255, 0.541);
  font-size: 4.4em;
  margin: 1rem;
}
.fa-google {
  color: rgb(253, 8, 8, 0.541);
  font-size: 4.6em;
  margin: 1rem;
}
.fa-code, .fa-node {
  font-size: 4em;
  margin: 1rem;
}

main {
    color: rgba(252, 252, 252, 0.863);
    width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    opacity: 0;
    margin-top: 100px;
    animation: 1s slidefade 1s forwards;
  }
  @keyframes slidefade {
      100% {
          opacity: 1;
          margin: 0;
      }
}

.lineright {
  border-right: 3px solid rgba(252, 252, 252, 0.863);
}

.form-control {
  background-color: rgba(219, 214, 214, 0.085);
  border: 0px;
}
.form-control::placeholder{
  color: whitesmoke;
}

textarea.black:focus, input.black:focus {
  color: rgba(252, 252, 252, 0.863);
  background: #0f0e0e7c;
}



@media only screen and (max-width: 768px) {
  .center {
    padding-left: 5px;
    padding-right: 5px;
  }
  .flag {
    height: 1em;
    width: 1em;
    margin-top: 1em;
    margin-right: 1em;
  }
  .languages {
    display: flex;
    flex-direction: row;
  }
  .boxhorizontal, .boxhorizontal-portfolio {
    flex-direction: column;
  }
  .boximages{
    flex: 0 0 100px;
  }
  #ImgHome {
      width: 90vw;
  }
  .lineright {
    border-bottom: 1px solid rgba(252, 252, 252, 0.863);
    border-right:0px;
  }
  main {
    padding: 2px;
  }
}