.replay h3{
    margin: 50px;
    background-color: lightgray;
    height: 50px;
    width: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: 0.4s;
    overflow: hidden;
}

.replay .style1::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: left;
}
.replay .style1:hover {
    color: white;
}
.replay .style1:hover::before{
    transform: scaleX(1);
}
.replay .style2::before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: right;
}
.replay .style2:hover{
    color: white;
}
.replay .style2:hover::before{
    transform: scaleX(1);
}
.replay .style3::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    transform: scaleY(0);
    transition: 0.4s;
    transform-origin: top;
}
.replay .style3:hover{
    color: white;
}
.replay .style3:hover::before{
    transform: scaleY(1);
}
.replay .style4::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    transform: scaleY(0);
    transition: 0.4s;
    transform-origin: bottom;
}
.replay .style4:hover{
    color: white;
}
.replay .style4:hover::before{
    transform: scaleY(1);
}

.replay .style5::before{
    content: "";
    width: 150%;
    height: 250%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    border-radius: 60%;
    transform: scale(0);
    transition: 0.4s;
}
.replay .style5:hover{
    color: white;
}
.replay .style5:hover::before{
    transform: scale(1);
}

.replay .style6 {
    background-color: aqua;
}
.replay .style6::before{
    content: "";
    width: 150%;
    height: 250%;
    background-color: lightgray;
    position: absolute;
    z-index: -1;
    border-radius: 60%;
    transform: scale(1);
    transition: 0.4s;
    /* transform-origin: center; */
}
.replay .style6:hover{
    color: white;
}
.replay .style6:hover::before{
    transform: scale(0);
    background-color: aqua;
}

.replay .style7::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    transform: scale(0);
    transition: 0.4s;
}
.replay .style7:hover{
    color: white;
}
.replay .style7:hover::before{
    transform: scale(1);
}

.replay .style8 {
    background-color: aqua;
}
.replay .style8::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: lightgray;
    position: absolute;
    z-index: -1;
    transform: scale(1);
    transition: 0.4s;
}
.replay .style8:hover{
    color: white;
}
.replay .style8:hover::before{
    transform: scale(0);
}

.replay .style9 {
    background-color: aqua;
    transition: 0.4s;
}
.replay .style9:hover{
    color: white;
}
.replay .style9::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: lightgray;
    position: absolute;
    z-index: -1;
    transform: scaleX(1);
    transition: 0.4s;
}
.replay .style9:hover::before{
    transform: scaleX(0);
}
.replay .style10{
    transition: 0.4s;
}
.replay .style10:hover{
    color: white;
}
.replay .style10::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    transform: scaleX(0);
    transition: 0.4s;
}
.replay .style10:hover::before{
    transform: scaleX(1);
}

.replay .style11 {
    background-color: aqua;
    transition: 0.4s;
}
.replay .style11:hover{
    color: white;
}
.replay .style11::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: lightgray;
    position: absolute;
    z-index: -1;
    transition: 0.4s;
    transform: scaleY(1);
}
.replay .style11:hover::before{
    transform: scaleY(0);
}

.replay .style12{
    transition: 0.4s;
}
.replay .style12:hover{
    color: white;
}

.replay .style12::before{
    content: "";
    width: 100%;
    height: 100%;
    background-color: aqua;
    position: absolute;
    z-index: -1;
    transform: scaleY(0);
    transition: 0.4s;
}
.replay .style12:hover::before{
    transform: scaleY(1);
}

.replay .style13 i {
    transition: 0.4s;
}
.replay .style13:hover i {
    transform: translateX(-10px);
}

.replay .style14 i {
    transition: 0.4s;
}
.replay .style14:hover i {
    transform: translateX(10px);
}

.replay .style15 i {
    transition: 0.4s;
}
.replay .style15:hover i {
    transform: translateY(10px);
}

.replay .style16 i {
    transition: 0.4s;
}
.replay .style16:hover i {
    transform: translateY(-10px);
}

.replay .style17::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    bottom: 0;
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: left;
}
.replay .style17:hover::before{
    transform: scaleX(1);
}

.replay .style18::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    bottom: 0;
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: right;
}
.replay .style18:hover::before{
    transform: scaleX(1);
}

.replay .style19::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    bottom: 0;
    transform: scaleX(0);
    transition: 0.4s;
    transform-origin: center;
}
.replay .style19:hover::before{
    transform: scaleX(1);
}

.replay .style20::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    bottom: 0;
    transition: 0.4s;
    transform: scaleY(0);
}
.replay .style20:hover::before{
    transform: scaleY(1);
}

.replay .style21::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    top: 0;
    transition: 0.4s;
    transform: scaleY(0);
}
.replay .style21:hover::before{
    transform: scaleY(1);
}

.replay .style22::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    top: 0;
    transition: 0.4s;
    transform: scaleX(0);
}
.replay .style22:hover::before{
    transform: scaleX(1);
}

.replay .style23::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    top: 0;
    transition: 0.4s;
    transform: scaleX(0);
    transform-origin: right;
}
.replay .style23:hover::before{
    transform: scaleX(1);
}

.replay .style24::before{
    content: "";
    width: 100%;
    height: 3px;
    background-color: aqua;
    position: absolute;
    top: 0;
    transition: 0.4s;
    transform: scaleX(0);
    transform-origin: left;

}
.replay .style24:hover::before{
    transform: scaleX(1);
}