@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,300);
*{
  box-sizing: content-box;
  scroll-behavior: smooth; /*Petite animation pour les ancres*/
  /*font-family: 'Ubuntu' ,"Comic Sans Arial MS", "cursive", "sans-serif";*/
  font-family: monospace;
}

body{
  margin: 0;
  font-family: Helvetica, sans-serif;
  background: black;
  background-repeat: repeat;
}

.border {
  width: 160px;
  height: 5px;
  background-color: #e53935;
  margin: 26px auto;
}

img {
    border-style: none;
}
/*Définir des couleurs*/
:root {
  --noir_clair: #1C1C1C;
  --noir_transparence: rgba(0,0,0,0.60);
}

.onepage{
  padding: 30px;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box; 
  align-items: center;
}

#Accueil{
  background-size: 100%;
  padding-top: 60vh;/*padding-top: 18vh;*/
  min-height: 100vh;
}

/***************************/
/*partie Background accueil*/
/***************************/
.area{
    background: #f0f0f0;  
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);  
    width: 100%;
    height:100vh;
}

.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 89%;
    height: 98.5%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgb(89 90 138);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}
/*******************************/
/*FIN partie Background accueil*/
/*******************************/


/***************************/
/*Début animation HUGEL Léo https://codepen.io/jamesmellers/pen/XKmyoo*/
/***************************/
/*Important à laisser */
@keyframes tipsy {
  0 {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}

.title {
  font-size: 80px;
  font-weight: bold;
  text-decoration: none;
  letter-spacing: -3px;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.title:before,
.title:after {
  content: '';
  padding: .9em .4em;
  position: absolute;
  left: 50%;
  width: 90%;
  top: 50%;
  display: block;
  border: 10px solid red;
  transform: translateX(-50%) translateY(-50%) rotate(0deg);
  animation: 10s infinite alternate ease-in-out tipsy;
}

.title:before {
  border-color: #e53935 #e53935 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
  z-index: -1;
}

.title:after {
  border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #e53935 #e53935;
}
/*************************/
/*Fin animation HUGEL Léo*/
/*************************/

.textedebut{
  font-size: 30px;
  /*color: white;*/ color: #575987;
  letter-spacing: 5px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

.onepage h1{
  text-align: center;
  color: #5e6392;
}

a{
  color: white;
  padding: 10px;
  text-decoration:none;
}

input{
  margin: 20px;/*A verif*/
  padding: 10px;
  border: none;
}

input[type=text]:valid + label{
  padding-top: 1px;
}

input[type=text]:focus + label{
  padding-top: 1px;
}

/*label{
  position: absolute;
  left: 145px;
  font-size: 13.4px;
  padding-top: 30px;
  -webkit-transition: padding-top .35s ease-in-out;
  transition: padding-top .35s ease-in-out;
}*/

label{
  text-align: left;
}


/*-------------MENU-------------*/
.header__list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /*background-color: rgba(18,18,18,0.63);*/ background-color: rgb(87 88 136 / 0.7);
    text-transform: uppercase;
}

.header__nav {
  position: fixed;
  top: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.header__list {
    display: flex;
    justify-content: center;
}

.header__list a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 35px;
    text-decoration: none;
}

.header__list a:hover {
    transition: .2s;
    color: #D9D9D9;
    background-color: rgba(18,18,18,0.3);
}

.header__list__logo {
  width: 48px;
}

.header__button {
  display: none;
  color: #e53935;
  position: fixed;
  top: 0;
  padding: 6px 8px;
  z-index: 10;
  font-size: 2rem;
  cursor: pointer;  
}

@media screen and (max-width: 780px) {
  .header__list {
    display: flex;
    flex-direction: column;
  }

  .header__button {
    display: block;
  }

  .header__nav {
    transform: translateY(-100%);
    transition: transform .6s;
  }

  .header__nav_open {
    transform: none;
  }
}

.titlebox{
  text-align: center;
  color: white;
  padding: 20px;
  margin: 0;
}

.titlebox1{
  background-image: url('../img/interpage-1.webp');
  background-position: 25% 75%;
}
.titlebox2{
  background-image: url('../img/interpage-2.webp');
  background-position: 25% 75%;
}
.titlebox3{
  background-image: url('../img/interpage-3.webp');
  background-position: 75% 75%;
}
.titlebox4{
  background-image: url('../img/interpage-4.webp');
  background-position: 25%;
}
.titlebox5{
  background-image: url('../img/interpage-5.webp')
}

.titlebox h1{
  text-shadow: 0 2px 4px rgba(0,0,0,1);
}

/********************/
/*Page 2 qui suis-je*/
/********************/
#page2{
  text-align: center;
  vertical-align:middle;
  padding: 24px;
  font-size: 16px;
  background: #f0f0f0;
}

div#page2 b {
    color: black;
}

div#page2 p {
    color: #616161;
}

img.photo{
  box-shadow: 0 2px 4px rgba(0,0,0,.5);
  width: 200px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.5s ease;
  border-radius: 200px;
  border: 8px solid white;
}
 
img.photo:hover {
  transform: rotate(-10deg);
}

.link.cv {
    position: relative;
    margin: 0 auto;
    margin-top: 20px;
    padding: 1rem 2.5rem;
    background: #424242;
    outline: none;
    text-decoration: none;
    font-size: 16px;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,.5);
    transition-duration: 300ms;
}

.link.cv:hover {
    background: #616161;
    border-radius:28px 0 28px 0;
    outline-padding: 1.3rem 2.8rem;
    font-size: 20px;
}

.pun{grid-area: pun;}
.pde{grid-area: pde;margin: 5px;}
.ptroi{grid-area: ptroi;margin: 5px;}
.pquatre{grid-area: pquatre;}

/*New Bouton*/
.btn{
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e53935;
    border-radius: 0;
    position: relative;
    top: 30px;
}
.btn:hover{ color: #e53935;}
.btn:after{
    content: "";
    width: 100%;
    height: 100%;
    border: 2px solid #e53935;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.2s ease 0s, height 0.2s ease 0.1s, border-top-width 0.1s ease 0.2s, margin 0.2s ease 0s;
}
.btn:hover:after{
    width: 60%;
    height: 0;
    border-width: 0 2px 2px;
    margin: 0 20%;
    transition: width 0.2s ease 0.2s, height 0.2s ease 0.1s, border-top-width 0.1s ease 0s, margin 0.2s ease 0.2s;
}

@media only screen and (max-width: 767px){
    .btn{ margin-bottom: 20px; top: 1px; }
}

/********************/
/*Page 3 compétences*/
/********************/
#page3{
  background: white;
}

/*Compétences New*/
.containercomp{
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
}
.containercomp h1{
  background: #eaeaea;
  box-shadow: 2px 4px 10px rgba(0,0,0,.2);
  margin-top: 0;
  padding: 5px;
  border-radius: 10px 10px 0px 0px;
}

.box-compe{
  background-color: #fbfbfb;
  width: 100%;
  margin: 10px;
  border-radius: 10px;
  transform: rotate(0deg);
  transition-duration: 500ms;
  box-shadow: 2px 4px 10px rgba(0,0,0,.2);
}

.box-compe:hover{
  transform: rotate(2deg);
}

@keyframes load{
  from {
    width: 0%
  }
}
@-webkit-keyframes load{
  from {
    width: 0%
  }
}
@-moz-keyframes load{
  from {
    width: 0%
  }
}
@-o-keyframes load{
  from {
    width: 0%
  }
}

.bar{
  background-color: white ;/*#EEE*/
  padding: 2px;
  margin: 20px;
  border-radius: 15px;
  font-size: 14px;
  color: #FFF;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  box-shadow: 2px 4px 10px rgba(0,0,0,.2);
}
.bar::before{
  content:  attr(data-skill);
  background-color: #f3b0ff;
  display: inline-block;
  padding: 5px 0 5px 10px;
  border-radius: inherit;
  animation: load 2s 0s;
  -webkit-animation: load 2s 0s;
  -moz-animation: load 2s 0s;
  -o-animation: load 2s 0s;
}

.bar.blue::before{
  background-color: #3cbad8;
}
.bar.yellow::before{
  background-color: #fec300;
}
.bar.magenta::before{
  background-color: #7747d1;
}
.bar.red::before{
  background-color: #e2224b;
}

.bar.learning::before{
  width: calc(20%);
}
.bar.basic::before{
  width: calc(40%);
}
.bar.milieu::before{
  width: calc(50%);
}
.bar.intermediate::before{
  width: calc(60%);
}
.bar.septdix::before{
  width: calc(70%);
}
.bar.advanced::before{
  width: calc(80%);
}
.bar.expert::before{
  width: calc(97%);
}

/***************/
/*Page 4 Projet*/
/***************/
#page4{
  margin: 0;
  background: #f0f0f0;
}

@keyframes filtredebut{
  from {opacity: 0;}
  to {opacity: 1;}
}

/*Filtre*/
.filterDiv {
  display: none;
  animation: filtredebut 1s 0s;
}

.show {
  display: block;
}

/* Style the buttons */
#myBtnContainer{
  text-align: center;
}

.btnfiltre {
  border: #ff6562;
  padding-left:10px;
  padding-right:10px;
  cursor: pointer;
  text-align: center;
  background: none;
}

.btnfiltre h3 {
    border-bottom: 2px solid #f0f0f0;
}

.btnfiltre h3:hover {
    border-bottom: 2px solid #ff6562;
}
/*Fin filtre*/

/***********************************************************/
/*Cette fois c'est la bonne : https://pierre.grangereau.fr/*/
/***********************************************************/
section {
    display: block;
}

.galerie {
    display: flex;
    flex-flow: row wrap;
    margin: 3rem auto;
    justify-content: center;
    max-width: 1300px;
}

.box {
    position: relative;
    overflow: hidden;
}

.galerie__items {
    margin: 10px;
    text-align: center;
}
img.galerie__img {
    object-fit: cover;
    width: 280px;
    height: 280px;
    border-radius: 20px;
    box-shadow: 2px 4px 10px rgba(0,0,0,.2);
}

.box__tile {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--noir_transparence);
    transition: all .6s ease;
    transform: translateY(-100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--noir_clair);
}
.box__tile {
  color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 100rem;
    flex: 1 1 25%;
    margin: 0 auto;
}

.box__tile__title {
    font-size: 16pt;
    text-align: center;
    font-weight: bold;
}

.box__tile__description {
    text-align: center;
    padding: 10%;
}

.box__tile__link {
    font-size: 13pt;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: white;
    background: rgba(229, 57, 53, 0.70);
    border-radius: 30px;
}
a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

.box:hover .box__tile {
    transform: translateX(0%);
    top: 0;
}

/*****************/
/*PAGE 5 Parcourt*/
/*****************/
#page5{
  box-sizing: border-box; 
  background: white;
}

.titre_expe{
  text-align: center;
  padding: 10px;
}

/*Mon parcourt*/
/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #5b6090;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    box-sizing: border-box;
}

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

/* The circles on the timeline */
.container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: white;
    border: 4px solid #5b6090;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    box-sizing: border-box;
}

/* Place the container to the left */
.left {
    left: 0;
    box-sizing: border-box;
}

/* Place the container to the right */
.right {
    left: 50.3%;
    box-sizing: border-box;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid grey;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent grey;
    box-sizing: border-box;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid grey;
    border-width: 10px 10px 10px 0;
    border-color: transparent grey transparent transparent;
    box-sizing: border-box;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
    box-sizing: border-box;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: #f7f7f7;
    box-shadow: 0 2px 4px rgba(0,0,0,.5);
    position: relative;
    border-radius: 6px;
    box-sizing: border-box;
}

.content h2 {
    color: #ff6562;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 700px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
    box-sizing: border-box;
  }
  
  /* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    box-sizing: border-box;
  }
  
  /* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: 60px;
    border: medium solid grey;
    border-width: 10px 10px 10px 0;
    border-color: transparent grey transparent transparent;
    box-sizing: border-box;
  }

  /* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
    box-sizing: border-box;
  }
  
  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
    box-sizing: border-box;
  }
  .titre_expe{
    text-align: left;
  }
}


/*Transition aparition parcourt (fonctionne avec le code javascript)*/
.from-right,
.from-left {
    opacity: 0;
    transition: transform 1s ease-in-out, opacity 0.5s ease-in-out;
}
.from-right {
    transform: translate(50px);
}
.from-left {
    transform: translate(-50px);
}

/********/
/*FOOTER*/
/********/
footer{
  text-align: center;
  background-color: black; 
  z-index: 5;
  margin:0;
}

footer a{
 padding: 0;
}

.rsfooter{
  width: 4vh;
  height: 4vh;
  margin: 8px;
  padding: 0;
  transition-duration: 500ms;
}
.rsfooter:hover{
  transform: rotate(360deg);
}