@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #101010;
    display: flex;
    justify-content: center;
    align-items: center;
}

div {
    width: 20vmin;
    height: 7.5vmin;
    background-color: rgb(230, 20, 20);
    border: none;
    color: #fff;
    font-family: "Bangers", system-ui;
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    border: 2px solid #fff;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}

div::before{
    content: '';
    position: absolute;
    width: 20%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: scale(1.5) translate(-110%) skewX(-34deg);
    background-color: #ffffff;
    transition: all 0.5s ease-in;
}

div:hover::before{
    transform: scale(1.5) translate(400%) skewX(-34deg);
    box-sizing: 4px 4px 0px 0px ;
    background-color: rgb(185, 13, 13);
}

div:hover{
    box-shadow: 3px 3px 0px 0px #dadada, 0px 0px 10px rgb(230, 75, 75);
}

div:active{
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px 0px;
}