* {
  box-sizing: border-box;
}

html{
  font-family: 'Poppins', sans-serif;
  background-color: #4155F8;
  
}

body {
  margin: 0;
  padding: 10px;
}  

.logo{
  text-align: center;
  margin-top:15px
}

.fleche{
  text-align: left;
  margin-top:15px;
  margin-left: 15px;
  color: #ffffff;
  position: fixed;
}

.accueil {
  height: 100%;
  width: 100%;
  background: url"img/fond.jpg";
  background-repeat: no-repeat;
  background-size: cover;
}

/*  Animation loader */
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
    display: block;
  }
   100% {
    opacity: 0;
    display: none;
  } 
}

svg {
  margin-top: 210px;
  width: 200px;
  height: 200px;
  animation: rotate linear 5s infinite;
  animation-timing-function: linear;
  text-align: center;
}

svg text {
  font-size: 30px;
  fill: white;
}

.loader {
  position: absolute ;
  width: 100%;
  height: 100%;
  background-color: #ff6136;
  display: flex;
  justify-content: center ;
  background: #4155F8;
  z-index: 8;
  top: 0;
  animation:fadeOut ease 10s;
  opacity: 0;
  pointer-events: none;
}



/*  Salut + bouton */
h1{

  font-size: 1200%;
  font-family: "Shrikhand";
  font-weight: 50;
  color: #ffffff;
  text-align: center;
  margin-top: 180px
}

.button1 {
  font-family: "Poppins";
  background-color: #ff6136;
  border: none;
  color: white;
  padding: 6px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 25px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 22px;
  position: absolute;
  top: 220px;
  left: 400px;
}
 .button1:hover {
   background-color: white;
   color: #ff6136;
   transform: rotate(-10deg);
  }
  .button3 {
    font-family: "Poppins";
    background-color: #e0b9f9;
    border: none;
    color: white;
    padding: 6px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 25px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 22px;
    transform: rotate(-10deg);
    position: absolute;
    top: 490px;
    left: 700px;
    transform: rotate(-10deg)
      }
    
    .button3:hover {
    background-color: white;
    color: #e0b9f9;
    transform: rotate(-15deg)
    }
    
.button2{
  font-family: "Poppins";
  background-color: #c9dcb4;
  border: none;
  color: white;
  padding: 6px 20px;
  text-align: center;
  text-decoration: none;
  font-size: 25px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 22px;
  transform: rotate(10deg);
  position: absolute;
  top: 220px;
  left: 900px;
}
.button2:hover {
  background-color: white;
  color: #c9dcb4;
  transform: rotate(5deg);
 }

/*  Bulle Page Qui suis-je */
h2{
  font-size: 90px;
  font-family: Shrikhand;
  color: #e0b9f9;
  text-align: center;
  margin-top: 40px;
  letter-spacing: 5px;
}
h3{
  font-size: 100%;
  font-family: Shrikhand;
  font-weight: 100;
  color: #e0b9f9;
  text-align: left;
  margin-top: 0px;
  line-height: 55px;
}  
h4{
  line-height: 40px;
  text-align: center;
}
p{
  font-size: 30%;
  font-weight: 300;
  font-family:Poppins;
  color: #ffffff;
  line-height: 150%;
}  
.text{
  font-size: 15px;
  text-align: center;
}
.circle {
  background: #e0b9f9;
  border-radius: 200px;
  color: white;
  height: 150px;
  font-weight: bold;
  width: 150px;
  display: table;
  margin: 20px auto;
}
.circle h4 {
  vertical-align: middle;
  display: table-cell;
  font-family: Shrikhand;
  font-weight: 50;
  font-size: 40px;
}

/*  Grille page Projet */

h5{
  font-size: 180%;
  font-family: Shrikhand;
  font-weight: 100;
  color: #ffffff;
  text-align: left;
  margin-top: 0px;
}  

.tile
{
  width:380px;
  height:380px;
  margin:10px;
  background-color:#e0b9f9;
  display:inline-block;
  background-size:cover;
  position:relative;
  cursor:pointer;
  transition: all 0.4s ease-out;
  box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.44);
  overflow:hidden;
  color:white;
  font-family:'Roboto';
  
}
.tile img
{
  height:100%;
  width:100%;
  position:absolute;
  top:0;
  left:0;
  z-index: auto;
  transition: all 0.4s ease-out;
}
.tile .text
{
  position:asolute;
  padding:30px;
  height:10px;
}

.tile h2
{
  font-weight:100;
  margin:20px 0 0 0;
  font-style:italic;
   transform: translateX(200px);
}
.tile h5
{
  font-weight:300;
  margin:20px 0 0 0;
  line-height: 25px;
/*   opacity:0; */
  transform: translateX(-200px);
  transition-delay: 0.2s;
}
.animate-text
{
  opacity:0;
  transition: all 0.6s ease-in-out;
}
.tile:hover
{
/*   background-color:#99aeff; */
box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
  transform:scale(1.05);
}
.tile:hover img
{
  opacity: 0.2;
}
.tile:hover .animate-text
{
  transform:translateX(0);
  opacity:1;
}



.grille-main{
 text-align: center;
}

.picto{
  text-align: center;
  
 }

 /*  Téléphone */
 @media screen and (max-width: 600px) {
  h1{
  font-size: 160px;
  font-family: "Shrikhand";
  font-weight: 50;
  color: #ffffff;
  text-align: center;
  }
  .button1 {
    top: 220px;
    left: 40px;
  }
  .button2{
    top: 220px;
    left: 275px;
  }
  .button3{
    top: 450px;
    left: 240px;
  }
.picto{
  margin-top:300px;
}

}