.social-icons {
    margin: 0 auto;
    /* You just need to change the width and height
    of your div here.
    The size of the images will adapt automatically.
    Make sure that the width is 5 times the height
    for better results.*/
    width: 0px;
    height: 0px;
    position:relative;
    top:8rem;
}

.social-holder{
    width: 50px;
    height: 50px;
    background: url('../img/share-icon.png');
    border-radius: 10px;
    border-radius: 10px;
    margin-top: -3rem;
}
.social-holder i{
    z-index: 10;
    position: absolute;
    margin-top: -1rem;

  }
  .social-holder:hover .fa-share-square{
   display:none;
    transition:1s;
  }
    .social-holder:hover{
    background:rgba(0,0,0,0);
  }
  .fa-share-square{
    color:#000;
  }
.logo{
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    position: relative;
    margin-top: 5rem;
}

  .social-icons{
    display:none;
  }
  .social-icons-mobile{
    display:inline-block;
    z-index: 5;
    position: absolute;
    width: 100%;
    margin-top: 2rem;
    margin-left: 2rem;
    margin-right: auto;
  }



.social-icons-mobile-mobile .social-icons-mobile-image {
    display: inline-block;
    position: absolute;
    width: 20%;
    height: auto;
    z-index: 2;
    transition: all .5s;
    padding: 2%;
    box-sizing: border-box;
}

.social-icons-mobile .social-icons-mobile-image a {
    display: inline-block;
    color:rgba(255,255,255,0.4);
    background: none;
    cursor: pointer;
}

.social-icons-mobile .social-icons-mobile-image a:hover {
    color:rgba(255,255,255,1);
    background: none;
    cursor: pointer;
}

.social-icons-mobile img {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.social-icons-mobile a:hover img {
    width: 110%;
    height: auto;
}


.social-icons-mobile .social-icons-mobile-image:nth-child(1) {
    top: 20px;
    margin-left: 15%;
    position:absolute;
}

.social-icons-mobile .social-icons-mobile-image:nth-child(2) {
    top: 20px;
    margin-left: 30%;
    position:absolute;
}
.social-icons-mobile .social-icons-mobile-image:nth-child(3) {
    top: 20px;
    margin-left: 42%;
    position:absolute;
}

.social-icons-mobile .social-icons-mobile-image:nth-child(4) {
    top: 20px;
    margin-left: 60%;
    position:absolute;
}

.social-icons-mobile .social-icons-mobile-image:nth-child(5) {
    top: 20px;
    margin-left: 75%;
    position:absolute;
}

@media screen and (min-device-width:1025px){
  .social-icons{
    display:block;
  }
  .social-icons-mobile{
    display:none;
  }
.logo{
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    z-index: 5;
    position: relative;
    margin-top: 14rem;
}

  .social-icons-image a i{
  display:none;
}
.social-icons .social-icons-image {
    display: inline-block;
    position: absolute;
    width: 20%;
    height: auto;
    z-index: 2;
    transition: all .5s;
    padding: 2%;
    box-sizing: border-box;
}

.social-icons .social-icons-image a {
    display: inline-block;
    width: 100%;
    height: 100%;
    color:rgba(255,255,255,0.4);
    background: none;
    cursor: pointer;
}

.social-icons .social-icons-image a:hover {
    color:rgba(255,255,255,1);
    background: none;
    cursor: pointer;
}

.social-icons img {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.social-icons a:hover img {
    width: 110%;
    height: auto;
}

.social-icons .social-icons-image:nth-child(1) {
    left: 33.755%;   /*(nth-child(2).left - (50% * 20%)/4)*/
    top: 25%; /*((100%-50%)/2)*/
    z-index: 0;
    width: 10%; /*(50% * 20%)*/
    height: auto;
}


.social-icons .social-icons-image:nth-child(2) {
    left: 36.25%;   /*(40% - (75% * 20%)/4)*/
    top: 12.5%; /*((100%-75%)/2)*/
    z-index: 1;
    width: 15%; /*(75% * 20%)*/
    height: auto;
}

.social-icons .social-icons-image:nth-child(3) {
    left: 40%;
    z-index: 2;
    width: 20%;
    height: auto;
}

.social-icons .social-icons-image:nth-child(4) {
    left: 48.75%; /*(60% - 3*(75% * 20%)/4*/
    top: 12.5%; /*((100%-75%)/2)*/
    z-index: 1;
    width: 15%; /*(75% * 20%)*/
    height: auto;
}

.social-icons .social-icons-image:nth-child(5) {
    left: 56.25%;   /*(nth-child(4).left + (nth-child(4).width- 3*(50% * 20%)/4)*/
    top: 25%; /*((100%-50%)/2)*/
    z-index: 0;
    width: 10%; /*(50% * 20%)*/
    height: auto;
}

.social-icons:hover .social-icons-image:nth-child(1) {
    top: 0px;
    left: 0%;
    width: 20%;
}

.social-icons:hover .social-icons-image:nth-child(2) {
    top: 0px;
    left: 20%;
    width: 20%;
}

.social-icons:hover .social-icons-image:nth-child(4) {
    top: 0px;
    left: 60%;
    width: 20%;
}

.social-icons:hover .social-icons-image:nth-child(5) {
    top: 0px;
    left: 80%;
    width: 20%;
}
}