.social1{
    position:fixed;
    top:18%;
    right:1%;
	z-index:9999
}

.social1 ul{
    position: relative;
    right:-1px;
    list-style-type: none;
    padding:1px;
    transform: translatex(+270px);
}

.social1 ul li{
    display:flex;
    margin: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 300px;
    text-align: left;
    padding: 10px;
    border-radius: 30px 0px 0px 30px;
    transition: all 1s;  /* the transition property the duration of the effect */
}
/* the hover selector helps to style element whenever I mouse over them */
.social1 ul li:hover{
    /* translatex is a <transform-function> data type which I can use to let my element move horizontally */
    transform: translatex(-110px);
}

.social1 ul li.twitter:hover{
    background-color: cornflowerblue;
}

.social1 ul li.facebook:hover{
    background-color:#44C654;
}

.social1 ul li.linkedin:hover{
    background-color:springgreen;
}

.social1 ul li.instagram:hover{
    background-color: #e2b3b3;
    background-image: linear-gradient(180deg, #a343ac 0%, #b464ba 50%, #c483c8 100%);
}

.social1 ul li.phonenumber:hover{
    background-color:skyblue;
}

.social1 ul li a{
    color: white;
    text-decoration: none;
}

.social1 ul li p{
    color:white;
    margin: 5px;
    margin-left:2px;    
}

.social1 ul li i{
    text-align: center;
    margin-left: 1px;
    color: black;
    background-color: white;
    padding:1px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 25px;
    transform: rotate(0deg);
}

.social1 ul li:hover i{
    transform: rotate(360deg);
    transition: all 1s;
}