/*
 * CSS for social media animation (bottom of the page)
 */

@media(max-width: 450px){
    .social_media {
        margin-left: 23%;
    }
    .social_media ul li{
        padding-top: 12%;
    }
}

.social_media ul {
    /*transform: translate(-50%, -50%);*/
    margin: 0;
    padding: 0;
    display: flex;
}

.social_media ul li {
    list-style: none;
    margin: 0 40px;
}

.social_media ul li .fa {
    font-size: 40px;
    color: #262626;
    line-height: 80px;
    transition: .5s;
}

.social_media ul li a {
    position: relative;
    display: block;
    width: 80px;
    height: 80px;
    background-color: #fff;
    text-align: center;
    transform: perspective(100px) rotate(-30deg) skew(25deg) translate(0, 0);
    transition: .5s;
    box-shadow: -20px 20px 10px rgb(0, 0, 0, 0.5);
}

.social_media ul li a::before {
    content: "";
    position: absolute;
    top: 10px;
    left: -20px;
    height: 100%;
    width: 20px;
    background: #b1b1b1;
    transition: .5s;
    transform: rotate(0deg) skewY(-45deg);
}

.social_media ul li a::after {
    content: "";
    position: absolute;
    top: 80px;
    left: -11px;
    height: 20px;
    width: 100%;
    background: #b1b1b1;
    transition: .5s;
    transform: rotate(0deg) skewX(-45deg);
}

.social_media ul li a:hover {
    transform: perspective(1000px) rotate(-30deg) skew(25deg) translate(20px, -20px);
    box-shadow: -50px 50px 50px rgb(0, 0, 0, 0.5);
}

.social_media ul li:hover .fa {
    color: #fff;
}

.social_media ul li a:hover {
    transform: perspective(1000px) rotate(-30deg) skew(25deg) translate(20px, -20px);
    box-shadow: -50px 50px 50px rgb(0, 0, 0, 0.5);
}

/* Facebook color hover
.social_media ul li:hover:nth-child(1) a {
    background: #3b5999;
}

.social_media ul li:hover:nth-child(1) a:before {
    background: #2e4a86;
}

.social_media ul li:hover:nth-child(1) a:after {
    background: #4a69ad;
}
*/

.social_media ul li:hover:nth-child(1) a {
    background: #151515;
}

.social_media ul li:hover:nth-child(1) a:before {
    background: #383838;
}

.social_media ul li:hover:nth-child(1) a:after {
    background: #434343;
}

.social_media ul li:hover .social-media-unity {
    content: url("/assets/img/unity-logo-blanc.svg")
}

.social_media ul li:hover:nth-child(2) a {
    /* background: #55acee; */
    background: #282828;
}

.social_media ul li:hover:nth-child(2) a:before {
    /* background: #4184b7; */
    background: #303030;
}

.social_media ul li:hover:nth-child(2) a:after {
    /* background: #4d9fde; */
    background: #363636;
}

.social_media ul li:hover:nth-child(3) a {
    background: #dd4b39;
}

.social_media ul li:hover:nth-child(3) a:before {
    background: #c13929;
}

.social_media ul li:hover:nth-child(3) a:after {
    background: #e83322;
}

.social_media ul li:hover:nth-child(4) a {
    background: #0077B5;
}

.social_media ul li:hover:nth-child(4) a:before {
    background: #036aa0;
}

.social_media ul li:hover:nth-child(4) a:after {
    background: #0d82bf;
}

.social_media ul li:hover:nth-child(5) a {
    background: linear-gradient(#400080, transparent), linear-gradient(200deg, #d047d1, #ff0000, #ffff00);
}

.social_media ul li:hover:nth-child(5) a:before {
    background: linear-gradient(#400080, transparent), linear-gradient(200deg, #d047d1, #ff0000, #ffff00);
}

.social_media ul li:hover:nth-child(5) a:after {
    background: linear-gradient(#400080, transparent), linear-gradient(200deg, #d047d1, #ff0000, #ffff00);
}