body {
    margin: 0;
    padding: 0;
    line-height: 1em;
}

a {
    color: #4d4d4d;
    text-decoration: none;
}

.fb a,
.fb:before,
.fb {
    background: #3b5999;
    color: #3b5999;
}

.tw a,
.tw:before,
.tw {
    background: #55acee;
    color: #55acee;
}

.in a,
.in:before,
.in {
    background: #e4405f;
    color: #e4405f;
}

.gh a,
.gh:before,
.gh {
    background: #333333;
    color: #333333;
}



ul#buttons {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

ul#buttons:before {
    content: "Alihan YEŞİL";
    font-size: 3em;
    font-family: Arial;
    font-weight: 300;
    color: #4d4d4d;
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: -60px;
}

ul#buttons li {
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    box-sizing: border-box;
    background: transparent;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: .5s;
    box-shadow: 0px 12px 25px -12px,
        0px 0px 25px -12px;
}

ul#buttons li a {
    display: block;
    widows: 100%;
    height: 100%;
    font-size: 3em;
    background: transparent;
    transition: .5s;
    animation: icon-out .5s forwards;
    animation-timing-function: cubic-bezier(0.5, -0.6, 1, 1);
}

ul#buttons li:before {
    content: "";
    width: 150px;
    height: 150px;
    display: block;
    position: absolute;
    transform: rotate(-45deg) translate(-110%, -23px);
    z-index: -2;
    animation: back-out .5s forwards;
    animation-timing-function: cubic-bezier(0.5, -0.6, 1, 1);
}

ul#buttons li:hover a {
    animation: icon-in .5s forwards;
    animation-timing-function: cubic-bezier(0, 0, 0.4, 1.6);
}

ul#buttons li:hover:before {
    animation: back-in .5s forwards;
    animation-timing-function: cubic-bezier(0, 0, 0.4, 1.6);
}

@keyframes back-in {
    0% {
        transform: rotate(-45deg) translate(-110%, -33px);
    }

    80% {
        transform: rotate(-45deg) translate(5%, -33px);
    }

    100% {
        transform: rotate(-45deg) translate(0%, -33px);
    }
}

@keyframes back-out {
    0% {
        transform: rotate(-45deg) translate(0%, -33px);
    }

    20% {
        transform: rotate(-45deg) translate(5%, -33px);
    }

    100% {
        transform: rotate(-45deg) translate(-110%, -33px);
    }
}

@keyframes icon-in {
    0% {
        font-size: 2.25em;
    }

    80% {
        color: #fff;
        font-size: 2.50em;
    }

    100% {
        color: #fff;
        font-size: 2.10em;
    }
}

@keyframes icon-out {
    0% {
        color: #fff;
        font-size: 2.10em;
    }

    20% {
        color: #fff;
        font-size: 2.25em;
    }

    100% {
        font-size: 2em;
    }
}
