*{
    margin:0;
    padding:0;
    text-decoration: none;
}

body{
    background-color: #02080d;
    background-image: url(../images/fond.jpg);
    background-repeat: no-repeat;
    background-position: center;
    color:#fff;
    font-family: Calibri;
}

#systeme_solaire {
    margin: auto;
    width: 800px;
    height: 600px;
}

.orbite{
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
    transition: 0.5s;
    z-index: 0;
}

/* Soleil
-------------------------------------------------------------- */

#soleil {
    position: absolute;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background: #f1e767; 
    background: -moz-radial-gradient(center, ellipse cover,  #f1e767 0%, #fca728 100%); 
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,#f1e767), color-stop(100%,#fca728));
    background: -webkit-radial-gradient(center, ellipse cover,  #f1e767 0%,#fca728 100%);
    background: -o-radial-gradient(center, ellipse cover,  #f1e767 0%,#fca728 100%); 
    background: -ms-radial-gradient(center, ellipse cover,  #f1e767 0%,#fca728 100%); 
    background: radial-gradient(ellipse at center,  #f1e767 0%,#fca728 100%); 
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1e767', endColorstr='#fca728',GradientType=1 ); 
    -moz-box-shadow: 0px 0px 25px 0px #ffe240;
    -webkit-box-shadow: 0px 0px 25px 0px #ffe240;
    -o-box-shadow: 0px 0px 25px 0px #ffe240;
    box-shadow: 0px 0px 25px 0px #ffe240;
    filter:progid:DXImageTransform.Microsoft.Shadow(color=#ffe240, Direction=NaN, Strength=25);
    margin-top: 250px;
    margin-left: 350px;
    transition: 0.5s;
}

/* Mercure
-------------------------------------------------------------- */

#mercure{
    position: absolute;
    width: 150px;
    height: 150px;
    margin-top: 223.5px;
    margin-left: 323.5px;
}

#planete_mercure{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bababa;
    -webkit-animation: orbite_mercure 2.8s linear infinite;
	animation: orbite_mercure 2.8s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 70px;
    margin-left: 70px;
}

    @-webkit-keyframes orbite_mercure {
        from { -webkit-transform: rotate(180deg) translateY(-75px);}
        to { -webkit-transform: rotate(-180deg) translateY(-75px);}
    }

    @keyframes orbite_mercure {
        from { transform: rotate(180deg) translateY(-75px);}
        to { transform: rotate(-180deg) translateY(-75px);}
    }

    @-moz-keyframes orbite_mercure {
        from { -moz-transform: rotate(180deg) translateY(-75px);}
        to { -moz-transform: rotate(-180deg) translateY(-75px);}
    }

/* Venus
-------------------------------------------------------------- */

#venus{
    position: absolute;
    width: 200px;
    height: 200px;
    margin-top: 200px;
    margin-left: 300px;
}

#planete_venus{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #c4966b;
    -webkit-animation: orbite_venus 7.2s linear infinite;
	animation: orbite_venus 7.2s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 95px;
    margin-left: 95px;
}

    @-webkit-keyframes orbite_venus {
        from { -webkit-transform: rotate(180deg) translateY(-100px);}
        to { -webkit-transform: rotate(-180deg) translateY(-100px);}
    }

    @keyframes orbite_venus {
        from { transform: rotate(180deg) translateY(-100px);}
        to { transform: rotate(-180deg) translateY(-100px);}
    }

    @-moz-keyframes orbite_venus {
        from { -moz-transform: rotate(180deg) translateY(-100px);}
        to { -moz-transform: rotate(-180deg) translateY(-100px);}
    }

/* Terre
-------------------------------------------------------------- */

#terre{
    position: absolute;
    width: 250px;
    height: 250px;
    margin-top: 175px;
    margin-left: 275px;
}

#planete_terre{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #499dff;
    -webkit-animation: orbite_terre 12s linear infinite;
	animation: orbite_terre 12s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 120px;
    margin-left: 120px;
}

    @-webkit-keyframes orbite_terre {
        from { -webkit-transform: rotate(180deg) translateY(-125px);}
        to { -webkit-transform: rotate(-180deg) translateY(-125px);}
    }

    @keyframes orbite_terre {
        from { transform: rotate(180deg) translateY(-125px);}
        to { transform: rotate(-180deg) translateY(-125px);}
    }

    @-moz-keyframes orbite_terre {
        from { -moz-transform: rotate(180deg) translateY(-125px);}
        to { -moz-transform: rotate(-180deg) translateY(-125px);}
    }

/* Lune
-------------------------------------------------------------- */

#lune{
    position: absolute;
    width: 20px;
    height: 20px;
    margin-top: -6px;
    margin-left: -6px;
}

#astre_lune{
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #c7c7c7;
    -webkit-animation: orbite_lune 1s linear infinite;
	animation: orbite_lune 1s linear infinite;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.4);
    margin-top: 8px;
    margin-left: 8px;
}

    @-webkit-keyframes orbite_lune {
        from { -webkit-transform: rotate(-180deg) translateY(-11px);}
        to { -webkit-transform: rotate(180deg) translateY(-11px);}
    }

    @keyframes orbite_lune {
        from { transform: rotate(-180deg) translateY(-11px);}
        to { transform: rotate(180deg) translateY(-11px);}
    }

    @-moz-keyframes orbite_lune {
        from { -moz-transform: rotate(-180deg) translateY(-11px);}
        to { -moz-transform: rotate(180deg) translateY(-11px);}
    }

/* Mars
-------------------------------------------------------------- */

#mars{
    position: absolute;
    width: 300px;
    height: 300px;
    margin-top: 150px;
    margin-left: 250px;
    z-index: 3;
}

#planete_mars{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff8341;
    -webkit-animation: orbite_mars 22.5s linear infinite;
	animation: orbite_mars 22.5s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 145px;
    margin-left: 145px;
}

    @-webkit-keyframes orbite_mars {
        from { -webkit-transform: rotate(180deg) translateY(-150px);}
        to { -webkit-transform: rotate(-180deg) translateY(-150px);}
    }

    @keyframes orbite_mars {
        from { transform: rotate(180deg) translateY(-150px);}
        to { transform: rotate(-180deg) translateY(-150px);}
    }

    @-moz-keyframes orbite_mars {
        from { -moz-transform: rotate(180deg) translateY(-150px);}
        to { -moz-transform: rotate(-180deg) translateY(-150px);}
    }

/* Astéroïdes
-------------------------------------------------------------- */

#ceinture_asteroides{
    position: absolute;
    width: 350px;
    height: 350px;
    background: url(../images/ceinture_asteroides.png) top center;
    -webkit-animation: orbite_asteroides 80s linear infinite;
	animation: orbite_asteroides 80s linear infinite;
    margin-top: 126px;
    margin-left: 227px;
    z-index: 1;
}

    @-webkit-keyframes orbite_asteroides {
        from { -webkit-transform: rotate(180deg);}
        to { -webkit-transform: rotate(-180deg);}
    }

    @keyframes orbite_asteroides {
        from { transform: rotate(180deg);}
        to { transform: rotate(-180deg);}
    }

    @-moz-keyframes orbite_asteroides {
        from { -moz-transform: rotate(180deg);}
        to { -moz-transform: rotate(-180deg);}
    }


#ceinture_asteroides1{
    position: absolute;
    width: 350px;
    height: 350px;
    background: url(../images/ceinture_asteroides.png) bottom center;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    -moz-transition:    opacity 0.5s;
    -o-transition:      opacity 0.5s;
    -webkit-animation: orbite_asteroides 80s linear infinite;
	animation: orbite_asteroides 80s linear infinite;
    margin-top: 126px;
    margin-left: 227px;
    z-index: 1;
}

#info_ceinture_asteroides:hover ~ #ceinture_asteroides1{
    opacity: 1;
}



/* Jupiter
-------------------------------------------------------------- */

#jupiter{
    position: absolute;
    width: 350px;
    height: 350px;
    margin-top: 125px;
    margin-left: 225px;
    z-index: 2;
}

#planete_jupiter{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e53b26;
    -webkit-animation: orbite_jupiter 142.3s linear infinite;
	animation: orbite_jupiter 142.3s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 170px;
    margin-left: 170px;
}

    @-webkit-keyframes orbite_jupiter {
        from { -webkit-transform: rotate(180deg) translateY(-175px);}
        to { -webkit-transform: rotate(-180deg) translateY(-175px);}
    }

    @keyframes orbite_jupiter {
        from { transform: rotate(180deg) translateY(-175px);}
        to { transform: rotate(-180deg) translateY(-175px);}
    }

    @-moz-keyframes orbite_jupiter {
        from { -moz-transform: rotate(180deg) translateY(-175px);}
        to { -moz-transform: rotate(-180deg) translateY(-175px);}
    }

/* Saturne
-------------------------------------------------------------- */

#saturne{
    position: absolute;
    width: 400px;
    height: 400px;
    margin-top: 100px;
    margin-left: 200px;
}

#planete_saturne{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #eadb6c;
    -webkit-animation: orbite_saturne 353.5s linear infinite;
	animation: orbite_saturne 353.5s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 195px;
    margin-left: 195px;
}

    @-webkit-keyframes orbite_saturne {
        from { -webkit-transform: rotate(180deg) translateY(-200px);}
        to { -webkit-transform: rotate(-180deg) translateY(-200px);}
    }

    @keyframes orbite_saturne {
        from { transform: rotate(180deg) translateY(-200px);}
        to { transform: rotate(-180deg) translateY(-200px);}
    }

    @-moz-keyframes orbite_saturne {
        from { -moz-transform: rotate(180deg) translateY(-200px);}
        to { -moz-transform: rotate(-180deg) translateY(-200px);}
    }

#anneau_saturne{
    width: 9px;
    height: 9px;
    border-radius: 8px;
    background: none repeat scroll 0% 0% transparent;
    border: 2.5px solid #5A4E34;
    transform: skewY(50deg);
    margin-top: -1.3px;
    margin-left: -1.3px;
}

/* Uranus
-------------------------------------------------------------- */

#uranus{
    position: absolute;
    width: 450px;
    height: 450px;
    margin-top: 75px;
    margin-left: 175px;
}

#planete_uranus{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #80e2ea;
    -webkit-animation: orbite_uranus 1008.2s linear infinite;
	animation: orbite_uranus 1008.2s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 220px;
    margin-left: 220px;
}

    @-webkit-keyframes orbite_uranus {
        from { -webkit-transform: rotate(180deg) translateY(-225px);}
        to { -webkit-transform: rotate(-180deg) translateY(-225px);}
    }

    @keyframes orbite_uranus {
        from { transform: rotate(180deg) translateY(-225px);}
        to { transform: rotate(-180deg) translateY(-225px);}
    }

    @-moz-keyframes orbite_uranus {
        from { -moz-transform: rotate(180deg) translateY(-225px);}
        to { -moz-transform: rotate(-180deg) translateY(-225px);}
    }

#anneau_uranus{
    width: 9px;
    height: 9px;
    border-radius: 8px;
    background: none repeat scroll 0% 0% transparent;
    border: 2.5px solid #868686;
    transform: skewY(50deg);
    margin-top: -1.3px;
    margin-left: -1.3px;
}

/* Neptune
-------------------------------------------------------------- */

#neptune{
    position: absolute;
    width: 500px;
    height: 500px;
    margin-top: 50px;
    margin-left: 150px;
}

#planete_neptune{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #1038ba;
    -webkit-animation: orbite_neptune 1977.4s linear infinite;
	animation: orbite_neptune 1977.4s linear infinite;
    box-shadow: inset 0 3px 1px rgba(0, 0, 0, 0.4);
    margin-top: 245px;
    margin-left: 245px;
}

    @-webkit-keyframes orbite_neptune {
        from { -webkit-transform: rotate(180deg) translateY(-250px);}
        to { -webkit-transform: rotate(-180deg) translateY(-250px);}
    }

    @keyframes orbite_neptune {
        from { transform: rotate(180deg) translateY(-250px);}
        to { transform: rotate(-180deg) translateY(-250px);}
    }

    @-moz-keyframes orbite_neptune {
        from { -moz-transform: rotate(180deg) translateY(-250px);}
        to { -moz-transform: rotate(-180deg) translateY(-250px);}
    }

/* Informations Planètes
-------------------------------------------------------------- */

.titre_info{
    position: absolute;
    cursor: pointer;
    font-size: 20px;
    color: #386077;
    transition: 0.5s;
}

.titre_info:hover{
    color: rgb(159, 41, 15);
    font-size: 22px;
    transition: 0.5s;
}

/* Info Planète */
#info_mercure{margin-top: 50px;margin-left: 800px;}
#info_venus{margin-top: 75px;margin-left: 800px;}
#info_terre{margin-top: 100px;margin-left: 800px;}
#info_mars{margin-top: 125px;margin-left: 800px;}
#info_jupiter{margin-top: 150px;margin-left: 800px;}
#info_saturne{margin-top: 175px;margin-left: 800px;}
#info_uranus{margin-top: 200px;margin-left: 800px;}
#info_neptune{margin-top: 225px;margin-left: 800px;}
/* Info Astre */
#info_soleil{margin-top: 300px;margin-left: 800px;}
#info_lune{margin-top: 325px;margin-left: 800px;}
#info_ceinture_asteroides{margin-top: 350px;margin-left: 800px;}

/* Info Planète */
#info_mercure:hover ~ #mercure.orbite,
#info_venus:hover ~ #venus.orbite,
#info_terre:hover ~ #terre.orbite,
#info_mars:hover ~ #mars.orbite,
#info_jupiter:hover ~ #jupiter.orbite,
#info_saturne:hover ~ #saturne.orbite,
#info_uranus:hover ~ #uranus.orbite,
#info_neptune:hover ~ #neptune.orbite,
/* Info Astre */
#info_lune:hover ~ #terre #planete_terre #lune.orbite{
    border: 1px solid rgb(255, 226, 64);
    transition: 0.5s;
}

#info_soleil:hover ~ #soleil{
    height: 110px;
    width: 110px;
    margin-top: 245px;
    margin-left: 345px;
    transition: 0.5s;
}

/* Cadres Informations Planètes
-------------------------------------------------------------- */

/* Cadre Planète */
#cadre_mercure,
#cadre_venus,
#cadre_terre,
#cadre_mars,
#cadre_jupiter,
#cadre_saturne,
#cadre_uranus,
#cadre_neptune,
/* Cadre Astre */
#cadre_soleil,
#cadre_lune,
#cadre_ceinture_asteroides{
    position: absolute;
    width:300px;
    padding:10px;
    background-color: #071924;
    border: 1px solid #24485d;
    border-radius: 3px;
    color:#3a5d72;
    font-size:13px;
    margin-left: -350px;
    transition: all 0.4s;
    opacity: 0;
}

/* Info Planète */
#info_mercure:hover ~ #cadre_mercure,
#info_venus:hover ~ #cadre_venus,
#info_terre:hover ~ #cadre_terre,
#info_mars:hover ~ #cadre_mars,
#info_jupiter:hover ~ #cadre_jupiter,
#info_saturne:hover ~ #cadre_saturne,
#info_uranus:hover ~ #cadre_uranus,
#info_neptune:hover ~ #cadre_neptune,
/* Info Astre */
#info_soleil:hover ~ #cadre_soleil,
#info_lune:hover ~ #cadre_lune,
#info_ceinture_asteroides:hover ~ #cadre_ceinture_asteroides{
    opacity: 1;
    margin-left: -250px;
    transition: all 0.4s;
}