#success {
    display: none;
    /* visibility: hidden; */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4000;
    width: 100%;
    height: 100%;
    background-color: black;
    background-image: url('../img/rewards/bg_fond03.jpg');
    background-position: center;
    background-size: cover;
    color: white;
    font-family: Oxanium_regular;
    font-size: 1rem;
}

.particles-js-canvas-el {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

#success #success-content {
    width: 100%;
    height: 100%;
    padding: 5%;
    top: 0;
}

#success #success-image {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 60%;
    height: 100%;
    float: left;
}

@keyframes ani{
	0%{width: 100%;}
	100%{width: 92%;}
}

#success #success-image img {
    width: 100%;
    margin: 0 auto;
    z-index: 10;
    animation: ani .2s linear alternate-reverse 5 ;
}

#success #success-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 40%;
    height: 100%;
    float: left;
}

#success .close-success {
    position: absolute;
	top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: block;
	z-index: 4010;
}


.success-share {
    display: inline-block;
    float: left;
    margin-right: 10px;
    width: 70px;
    height: 70px;
    max-width: 100%;
    background-size: 100%;
    background-image: url("../img/nav/info-share-sprite.png");
    background-repeat: no-repeat;
    background-position: 0 66.666667%;
    background-size: 100%;
  }

  .success-share:hover {
    background-position: 0 100%;
    background-size: 100%;
  }

  #success span {
    cursor: pointer;
    color: #efb72c;
    font-weight: bold;
  }

  #success span p {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
  }

  #success span:hover {
    color: #edd617;
  }  

  #success span:hover .success-share {
    background-position: 0 100%;
    background-size: 100%;
  }
  


@media screen and (max-width: 768px) {

    #success {
        font-size: 0.8rem;
    }

    #success .close-success {
        top: 5px;
        right: 3px;
    }

    #success #success-content {
        margin: 0;
    }

    #success #success-image img {
        padding: 1.2rem;
    }


}