.socialMedia {
    display: flex;
    position: center;
    top: 50%;
    left: 50%;
}

    .socialMedia li {
        list-style: none;
    }

        .socialMedia li a {
            width: 80px;
            height: 80px;
            background-color: #fff;
            text-align: center;
            line-height: 80px;
            font-size: 35px;
            margin: 0 10px;
            display: block;
            border-radius: 50%;
            position: relative;
            overflow: hidden;
            border: 3px solid #fff;
            z-index: 1;
        }

            .socialMedia li a .icon {
                position: relative;
                transition: .6s;
                z-index: 3;
            }

.facebookIcon {
    color: #0E8DF1;
}

.linkedInIcon {
    color: #007FBC;
}

.socialMedia li a:hover .icon {
    color: #fff;
    transform: rotateY(360deg);
}

.socialMedia li a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f00;
    transition: .6s;
    z-index: 2;
}

.socialMedia li a:hover:before {
    top: 0;
}

/*facebook*/
.socialMedia li:nth-child(1) a:before {
    background: #0E8DF1;
}
/*linkedIn*/
.socialMedia li:nth-child(2) a:before {
    background: #007FBC;
}

.socialMedia li:nth-child(3) a:before {
    background: #0077b5;
}

.socialMedia li:nth-child(4) a:before {
    background: #dd4b39;
}
