*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: #06050b;
    scroll-behavior: smooth;
    font-family: 'Rubik', sans-serif;
}

.contenu {
    width: 50%;
    height: auto;
    margin: auto;
    max-width: 80%;
    padding: 20px 0 40px 0;
    text-align: justify;
    font-size: 23px;
}
.cercle{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgb(88, 86, 88);
  background-image: url(ressources/Photo-prof.png);
  background-size: cover;
  float: left;
  margin: 0px 30px 30px 0px;
  shape-outside: circle();
  
}
.etoiles {
    width: 100%;
    height: 100vh;
    background: url(ressources/space.jpg) no-repeat 50% 100%;
    background-size: cover;
    position: relative;
}
.titre-accueil{
    font-family: 'Rubik', sans-serif;
    font-size: 40px;
    text-align: center;
    color: #ffffff;
    padding-top: 95px;
}
p {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    line-height: 35px;
    color: #f1f1f1;
}

.etoiles .planete {
    width: 35%;
    position: absolute;
    top: 80%;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.titre-bloc{
  text-align: center;
  font-size: 4vh;
  color: #40a4f7;
  font-family: 'Rubik', sans-serif;
  font-weight: bolder;
}

@media screen and (max-width: 700px){
  .contenu{
    width: 90%;
    margin: auto;
  }
  .cercle{
    width: 100px;
    height: 100px;
  }
}


/*-------- Section Parallax ----------*/

.parallax {
  width: 100%;
  height: 350px;
  background: url(ressources/work-blur.jpg);
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 100px;
  margin-bottom: 30px;
}
.parallax p {
  font-size: 65px;
  color: #f1f1f1;
}
.parallax span {
  display: block;
  font-size: 25px;
  color: #f1f1f1;
  padding: 10px;
}

@media screen and (max-width: 500px) {
  .parallax p {
      font-size: 40px;
  }
}

/* section experience */

.experience{
  width: 1000px;
  padding: 50px;
  text-align: justify;
  margin: auto;
}
.bloc-text-1{
  width: 380px;
  height: 480px;
  margin: 0px 30px 30px 0px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% ;
  background: grey;
  background-image: url(ressources/car-design.jpg);
  background-size: cover;
  float: left;
  font-family: 'Akaya Kanadaka', cursive;
}
.bloc-text-2{
  width: 380px;
  height: 480px;
  margin: 0px 30px 30px 0px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% ;
  background: grey;
  background-image: url(ressources/team.png);
  background-size: cover;
  background-position: center;
  float: left;
  font-family: 'Akaya Kanadaka', cursive;
}
.bloc-text-3{
  width: 380px;
  height: 480px;
  margin: 0px 20px 20px 0px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% ;
  background: grey;
  background-image: url(ressources/innovation.jpg);
  background-size: cover;
  background-position: bottom;
  float: left;
  font-family: 'Akaya Kanadaka', cursive;
}
.autor{
  font-style: italic;
  font-size: medium;
}
.citation{
  font-weight: bolder;
  font-size: large;
}

@media screen and (max-width: 1000px){
  .experience{
    width: 90%;
    margin: auto;
    padding: 5px;
  }
  .bloc-text-1{
    width: 150px;
    height: 200px;
    font-size: 30px;
  }
  .bloc-text-2{
    width: 150px;
    height: 200px;
    font-size: 30px;
  }
  .bloc-text-3{
    width: 150px;
    height: 200px;
    font-size: 30px;
  }
}
@media screen and (max-width: 425px){
  .experience{
    width: 90%;
  }
  .bloc-text-1{
    width: 130px;
    height: 180px;
    font-size: 25px;
  }
  .bloc-text-2{
    width: 130px;
    height: 180px;
    font-size: 25px;
  }
  .titre-mana{
    font-size: 3vh;

  }
  .bloc-text-3{
    width: 130px;
    height: 180px;
    font-size: 25px;
  }
}


/* annimation bloc expérience scroll */

.reveal{
  opacity: 0;
  transform: translateY(10px);
}
.reveal-visible{
  opacity: 1;
  transform: translate(0%, 20%);
  transition: 2s cubic-bezier(.5,0,0,1);
}

/* ------- Section Contact ---------- */

.section-contact {
  padding-bottom: 150px;
  margin-top: 150px;
}
.H2-contact{
  color: #aaa;
}
.section-contact h2 {
  text-align: center;
  color: #ffffff;
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 80px;
  padding: 200px 0 0 0;
}

.container-form {
  margin: 0 auto;
  width: 70%;
}
.form-groupe {
  position: relative;
  margin-bottom: 45px;
}
.form-groupe label {
  color: rgb(201, 201, 201);
  font-size: 20px;
}
.form-groupe input {
  display: block;
  width: 100%;
  padding: 10px 0px;
  border: none;
  outline: none;
  background: none;
  border-bottom: 3px solid #aaa;
  color: rgb(184, 184, 184);
  font-size: 20px;
}

textarea {
  width: 100%;
  height: 200px;
  border: none;
  border: 3px solid #aaa;
  border-radius: 3px;
  padding: 5px;
  resize: none;
  outline: none;
  font-size: 20px;
  background: #f1f1f1;
}

.form-groupe:nth-child(4) {
  margin-bottom: 25px;
}

.form-groupe .button-sub {
  display: block;
  width: auto;
  padding: 15px 60px;
  border: 3px solid rgb(144,144,144);
  border-radius: 9999px;
  background-image: linear-gradient(to right, transparent 50%, rgb(65,65,65) 50%, rgb(134,134,134));
  background-size: 200%;
  color: #aaa;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}
.form-groupe .button-sub:hover {
  color: #fff;
  background-position: 100%;
  border: 3px solid #fff;
}

@media screen and (max-width: 1300px) {
  .section-contact h2 {
      padding: 70px 0 0 0;
  }
  .container-form {
      padding-left: 0;
  }
}
@media screen and (max-width: 350px){
  .section-contact h2{
    font-size: 30px;
  }
}

/* section footer */

footer {
  border-top: 1px solid rgb(170, 168, 168);
  width: 100%;
  text-align: center;
  padding: 50px 10px;
  color: #aaa;
}
footer p{
  color: #fffb00;
  font-size: medium;
}
@media screen and (max-width: 425px){
  .footer{
    width: 90%;
    margin: auto;
  }
}