.sweet-alert{
    top: 40%;
    /*width: 540px;*/
    padding: 30px
}

@media screen and (max-width: 768px) {
    .sweet-alert h2{
        font-size: 24px;
        line-height: 32px;
    }
    .sweet-alert{
        /*width: 500px;*/
    }
}

@media screen and (max-width: 540px) {
    .sweet-alert h2{
        font-size: 18px;
        line-height: 28px;
    }
}