@import url('https://fonts.googleapis.com/css2?family=Montserrat: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');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

.button-right-hand
{
    display: inline-flex;
}

.button-right-hand button
{
    background-color: #006DFF;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    height: 60px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 235px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 18px;
    font-weight:600;
    font-style: normal;
    line-height: 40px;
    font-family: 'Montserrat', sans-serif;
}

.button-right-hand button p
{
    align-items: center;
    display: flex;
    font-size: 18px;
    height: 100%;
    justify-content: center;
    margin: 0;
    width: 100%;
}

.button-right-hand button div
{
    align-items: center;
    background-color: #00f;
    display: flex;
    height: 100%;
    justify-content: center;
    left: 100%;
    position: absolute;
    width: 17%;
}

.button-right-hand button div img
{
    height: 20px;
    width: 20px;
}

.button-right-hand button:hover > div
{
    animation: slideInImage 0.35s forwards ease-out;
}

.button-right-hand button:hover > p
{
    animation: slideInText 0.35s forwards ease-out;
}

.button-right-hand button > div
{
    animation: slideOutImage 0.35s forwards ease-out;
}

.button-right-hand button > p
{
    animation: slideOutText 0.35s forwards ease-out;
}

@keyframes slideInImage
{
    from
    {
        left: 100%;
    }

    to
    {
        left: 83%;
    }
}

@keyframes slideInText
{
    from
    {
        width: 100%;
    }

    to
    {
        width: 83%;
    }
}

@keyframes slideOutImage
{
    from
    {
        left: 83%;
    }

    to
    {
        left: 100%;
    }
}

@keyframes slideOutText
{
    from
    {
        width: 83%;
    }

    to
    {
        width: 100%;
    }
}

@media only screen and (max-width: 1780px)
{
    form.button-right-hand
    {
        width: 231px;
    }
}

@media only screen and (max-width: 1640px)
{
    form.button-right-hand
    {
        width: 227px;
    }

    .button-right-hand button > p
    {
        font-size: 17px;
    }
}

@media only screen and (max-width: 1500px)
{
    form.button-right-hand
    {
        width: 223px;
    }
}

@media only screen and (max-width: 1360px)
{
    form.button-right-hand
    {
        width: 219px;
    }
}

@media only screen and (max-width: 1220px)
{
    form.button-right-hand
    {
        width: 215px;
    }

    .button-right-hand button > p
    {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1080px)
{
    form.button-right-hand
    {
        width: 211px;
    }
}

@media only screen and (max-width: 940px)
{
    form.button-right-hand
    {
        width: 207px;
    }
}

@media only screen and (max-width: 800px)
{
    form.button-right-hand
    {
        width: 203px;
    }

    .button-right-hand button > p
    {
        font-size: 15px;
    }
}

@media only screen and (max-width: 660px)
{
    form.button-right-hand
    {
        width: 199px;
    }
}

@media only screen and (max-width: 520px)
{
    form.button-right-hand
    {
        width: 195px;
    }
}

@media only screen and (max-width: 375px)
{
    form.button-right-hand
    {
        width: 192px;
    }

    .button-right-hand button > p
    {
        font-size: 14px;
    }
}