/*=====HOME CSS=====
========2017=======*/

/*===BUBLES HOME===*/

.bubbles-size {
    height: 380px;
    z-index: 999;
}
.bubbles-container {
    width: 100%;
    overflow: hidden;
    position: absolute;
    height: 100%;
}
/* GPU OPTIMISATION DONT REMOVE THIS */
.gpu,
.gpu * {
    backface-visibility: hidden;
    perspective: 1000;
}
.bubble {
    display: flex;
    flex-direction: column;
    position: absolute;
    align-items: center;
    opacity: 0;
}
.bubble:hover {
    z-index: 9999;
}
.bubble:hover .header::before {
    filter: blur(3px);
    transition: 0.2s ease-in;
}
.bubble:hover:after {
    opacity: 1;
    transform: translateY(0px);
    transition: all 0.4s;
}
.bubble img {
    width: 150px;
    border-radius: 50%;
    box-shadow: 0px 2px 15px 0px #bbbbbb;
}
.blog-bubble:after {
    content:"Créer mon blog";
}
.e-commerce-bubble:after {
    content:"Ouvrir ma boutique";
}
.entreprise-bubble:after {
    content:"Mon entreprise sur le web";
}
.photo-bubble:after {
    content:"Exposer mes photos";
}
.event-bubble:after {
    content:"Créer l'événement";
}
.voyages-bubble:after {
    content:"Raconter mes voyages";
}
.artiste-bubble:after {
    content:"Créer un site d'artiste";
}
.restaurant-bubble:after {
    content:"Créer le site de mon restaurant";
}

.bubble:after {
    transform: translateY(-10px);
    position: relative;
    opacity: 0;
    bottom: 0;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    border: 1px solid #dbdbdb;
    padding: 5px 15px;
    border-radius: 38px;
    font-family: "Product Sans", sans-serif;
    transition: opacity 0.4s;
    font-weight: 400;
    color: #5a5a5a;
    transition: all 0.15s;
}
.mini-bubbles {
    opacity: 0;
    position: absolute;
}
.mini-bubbles img {
    border-radius: 100%;
}
.orange-shadow {
    box-shadow: 0 0 20px 0 #ffb775;
}
.blue-shadow {
    box-shadow: 0 0 20px 0 #759fff;
}
.green-shadow {
    box-shadow: 0 0 20px 0 #5edb5e;
}
.yellow-shadow {
    box-shadow: 0 0 20px 0 #ffdf75;
}

.op-first {
    animation: opUp 1.7s 0.1s ease-in-out forwards;
}
.op-second {
    animation: opUp 2s 0.4s ease-in-out forwards;
}
.op-third {
    animation: opUp 1.5s 1s ease-in-out forwards;
}
@keyframes opUp {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/*-----------*/

/*WHY EMS*/

.earth {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  background-color: #3380B5;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 2;
}

.earth:before {
  content: "";
  position: absolute;
  background: #85C567;
  height: 30px;
  width: 75px;
  left: 0;
  top: 50px;
  display: block;
  border-radius: 40px;
  -webkit-animation: rotateElement linear 25s infinite;
          animation: rotateElement linear 25s infinite;
  box-shadow: 0px 75px 0 -5px #85C567, 5px 35px 0 -3px #85C567, 35px 125px 0 -9px #85C567, 120px -15px 0 -7px #85C567, 135px -55px 0 -9px #85C567, 150px 25px 0 7px #85C567, 220px 70px 0 -2px #85C567, 235px -35px 0 -3px #85C567, 280px 85px 0 3px #85C567, 320px 30px 0 1px #85C567, 400px 0 0 0 #85C567, 400px 75px 0 -5px #85C567, 405px 35px 0 -3px #85C567, 435px 125px 0 -9px #85C567, 520px -15px 0 -7px #85C567, 535px -55px 0 -9px #85C567, 550px 25px 0 7px #85C567, 620px 70px 0 -2px #85C567, 635px -35px 0 -3px #85C567, 680px 85px 0 3px #85C567, 720px 30px 0 1px #85C567;
}

.earth:after {
  content: "";
  position: absolute;
  background: white;
  height: 20px;
  width: 60px;
  left: 0px;
  top: 50px;
  display: block;
  border-radius: 40px;
  -webkit-animation: rotateElement linear 15s infinite;
          animation: rotateElement linear 15s infinite;
  box-shadow: 10px 50px 0 3px white, 50px -15px 0 2px white, 70px 70px 0 -1px white, 100px 25px 0 1px white, 110px 105px 0 -4px white, 140px 75px 0 -3px white, 250px -25px 0 -1px white, 210px 50px 0 1px white, 340px 130px 0 1px white, 400px 0px 0 0 white, 410px 50px 0 3px white, 500px 25px 0 1px white, 450px -15px 0 2px white, 470px 70px 0 -1px white, 540px 75px 0 -3px white, 510px 105px 0 -4px white, 650px -25px 0 -1px white, 610px 50px 0 1px white, 740px 130px 0 1px white;
}

.earth--shadow {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  position: absolute;
  background-color: transparent;
  z-index: 4;
  box-shadow: inset -30px 0 rgba(0, 0, 0, 0.1);
}

.stars {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  position: absolute;
  background-color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  overflow: auto;
  z-index: 1;
  box-shadow: 510px -450px 0 1px white,  490px -125px 0 -2px white, 150px -150px 0 -1px white, 130px 270px 0 -1px white, 480px 475px 0 -3px white, 570px 750px 0 -3px white, 650px -105px 0 -2px white, 310px 60px 0 -1px white, -340px 175px 0 -3px white, 500px 450px 0 -3px white,  -500px 125px 0 1px white, -150px -615px 0 -2px white, -110px -370px 0 -1px white, -440px -175px 0 -3px white, -610px -205px 0 -4px white, 410px -450px 0 -3px white,  390px -125px 0 -2px white, 50px -250px 0 -1px white, 30px -170px 0 -1px white, 380px 375px 0 -5px white, 470px -650px 0 -3px white, 550px -205px 0 -5px white, 210px 50px 0 -1px white, -240px 275px 0 -5px white, 600px 550px 0 -3px white;
}

@-webkit-keyframes rotateElement {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(-400px, 0);
            transform: translate(-400px, 0);
  }
}

@keyframes rotateElement {
  0% {
    -webkit-transform: translate(0, 0);
            transform: translate(0, 0);
  }
  100% {
    -webkit-transform: translate(-400px, 0);
            transform: translate(-400px, 0);
  }
}

/*EMS / GOOGLE HEART*/

.ems-heart, .google-heart {
    position: absolute;
    z-index: 1;
    width: 40px;
    top: 290px;
    opacity: 0.8;
}
.ems-heart {
    left: 260px;
    animation: HeartSEO 2s ease-in infinite;
}
.google-heart {
    left: 380px;
    animation: HeartSEO 2s 0.5s ease-in infinite;
}
    
@keyframes HeartSEO {
        
    0% {
            
    }
        
    100% {
    top: 200px;
    transform: scale(1.2);
}

}
