Funbook

by DieuTopGun

HTML

<!DOCTYPE html>
<html>
  <head>
    <title>Accueil</title>
  </head>
  <body>
  <header>
      <section class="stage">
        <figure class="ball"><span class="shadow"></span></figure>
    </section>
</header>
<nav>
      <ul>
             <li><img src="https://zupimages.net/up/20/48/jylu.png" /></li>
            <li><input class="recherche" type="search" placeholder="Rechercher sur funbook"></li>
            <li><a class="test" href="#">Lien page</a></li>
            <li><a class="test" href="#">Lien page</a></li>
            <li><a class="test" href="#">Lien page</a></li>

      </ul>
  </nav> 
  <section class="espace_connexion">
  
    <form method="POST" action="">
        <input type="email" placeholder="Adresse mail"/>
        <input type="password" placeholder="Votre mot de passe"/>
        <input type="submit" value="Connection" />
        <hr>
        <input type="submit" value="Inscription" />
    </form>
  </section>
  </body>
</html>

CSS

<?php $info = 30%; ?>
body {
  margin: 0;
  padding: 0;
  width: 100%;
}
nav {
  position: fixed;
  top:0px;
  width:100%; 
  margin:0 auto;
  margin-bottom: 5%;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}
li {
    float: left;
}
img {
  display: block;
  margin: 14px 8px;
  padding: 5px 6px;
  width: 90px;
  height: 5%;
}

.recherche {
   display: block;
  margin: 18px 1px;
  padding: 11px 6px;
  font: inherit;
    border: 0;
    outline: 0;
    border-radius: 5em;
    box-sizing: border-box;
}

li a {
    display: block;
    color: #FFD920;
    text-align: center;
    padding: 11px 18px;
     margin: 18px 10px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: #FFD920;
    color: black;
    font: inherit;
    border: 0;
    outline: 0;
    border-radius: 5em;
    box-sizing: border-box;
}

.active {
    background-color: #FFD920;
}
.ball {
  display: inline-block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  position: relative;
  -webkit-transform-style: preserve-3d;
  background: url('https://lh3.googleusercontent.com/XpOgKIwa5xclaCZ5bjqIruhKvBUQE_to9uVY9o5A2mRHFw00mvYl287VLCZ4Vus=s2600') repeat-x;
  /* https://i.pinimg.com/originals/bf/25/55/bf2555d7d918b268c55f4433fd88f8b0.jpg
  http://hop.ie/balls/images/world-map-one-color.png
  https://lh3.googleusercontent.com/XpOgKIwa5xclaCZ5bjqIruhKvBUQE_to9uVY9o5A2mRHFw00mvYl287VLCZ4Vus=s2600
  */
  background-size: auto 100%;
  -webkit-animation: move-map 30s infinite linear;
  -moz-animation: move-map 30s infinite linear;
  -o-animation: move-map 30s infinite linear;
  -ms-animation: move-map 30s infinite linear;
  animation: move-map 30s infinite linear;
}

.ball:before {
  content: "";
  position:absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: -40px 10px 70px 10px rgba(0,0,0,0.5) inset;
  z-index: 2;
}

.ball:after {
  content: "";
 ...