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

body {
  font-family: "Poppins", sans-serif;
  color: #383838;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin: auto;
  background-image: url(../img/bg-fan-animation.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height:100vh;
}

.flex-center, .container .buttons, .container .svg, .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#bg-titre {
  color: #ffffff;
  background-color: #383838;
  width: 40vw;
  height: auto;
  text-align: center;
}

.container {
  width: 100%;
  height: 90vh; /*origine 100vh*/
  flex-direction: column;
  justify-content: space-around;
}
.container .svg {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.container .svg img {
  width: 300px; /*origine 400*/
}
.container .buttons {
  justify-content: space-between;
  width: 600px; /*origine 700*/
}

.buttons {
  width: 900px;
  font-size: large;
  margin: 0, 20px;
}
.container .buttons p {
  background:  #383838;
  color: #ffffff;
  border: solid 1px #fad100;
  padding: 10px 20px;
  margin-right: 20px;
  cursor: pointer;
  user-select: none;
  font-weight: 900;
}

.container .buttons p:hover {
  background:  #fad100;
  border: solid 1px #383838;
  color: #383838;
}
.container .buttons p:active {
  box-shadow: inset 5px 5px 13px #b6b7b7, inset -5px -5px 13px #e8e9e9;
}

.one,
.two,
.third,
.stop {
  animation: rotate linear infinite;
  animation-play-state: running;
  
}

#btn-portfolio{
  margin: -10px;
}

.btn-retour-portfolio{
  padding: 10px 30px;
  background-color:#fad100;
  text-decoration: none;
  color: #383838;
  border: #383838 1px solid;
  margin: auto;
  font-weight: 600;
}

.btn-retour-portfolio:hover{
  padding: 10px 30px;
  background-color:#383838;
  text-decoration: none;
  color: #fad100;
  border: #fad100 1px solid;
  margin: auto;
  font-weight: 600;
  
}



@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@media only screen and (max-width: 1700px) {
  #bg-titre {
    padding: 20px;
    background-size: 100%;
  }
}

@media only screen and (max-width: 900px) {
  #bg-titre {
    font-size: 20px;
    width: 70vw;
  }
  .container .buttons {
    justify-content: space-between;
    width: 450px;
    font-weight: 600;
}

  .buttons {
    font-size: 15px;
  }

}


@media only screen and (max-width: 550px) {
  .container .svg img {
    width: 200px;
  }

  .container .buttons {
    flex-direction: column;
    align-items: center;

  }

  .buttons p{
    margin: 5px;
    width: 70%;
    text-align: center;
    
  }

  #bg-titre {
    font-size: 20px;
    width: 100vw;
    margin-top: -7vh;
}







}