.alert{
    width: 620px;
    right: 50%;
    top: 30px;
    transform: translateX(50%);
    border-radius: 50px;
    border: 4px solid #FFF;
    background: #FFD900;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    padding: 60px;
    margin: 0;
    z-index: 200;
}

.alert-danger{
    width: 620px;
    right: 50%;
    top: 30px;
    transform: translateX(50%);
    border-radius: 50px;
    border: 4px solid #FFF;
    background: #FFD900;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    padding: 60px;
    margin: 0;
    z-index: 200;
}

.alert button.close{
    font-size: 0;
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: none;
    padding: 0;
    opacity: 1;
}

.alert button.close > img{
    height: 40px;
    width: 35px;
}

.alert .alert-title{
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 38px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    text-transform: uppercase;
    max-width: 490px;
    width: 100%;
    padding-bottom: 40px;
    margin: 0;
}

.alert .alert-text{
    color: #000;
    text-align: center;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    text-transform: uppercase;
    margin: 0;
}

.alert .alert-button{
    color: #FFF;
    font-family: "Lays Cyr";
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.408px;
    text-transform: uppercase;

    display: flex;
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    padding: 15px 80px;
    margin: 30px auto 0;
    box-sizing: border-box;

    border-radius: 0 0 20px 20px;
    background: #FF091A;
    box-shadow: 0 4px 19.1px 0 rgba(0, 0, 0, 0.25);
    border: none;
    transition: 0.2s;
}

.alert .alert-button:hover{
    transition: 0.2s;
    transform: scale(1.1);
    text-decoration: none;
}


@media (max-width: 768px) {

    .alert {
        width: calc(100% - 24px);
        padding: 48px 18px 28px;
        border-radius: 20px;
    }

    .alert .alert-title {
        font-size: 30px;
        max-width: 490px;
        padding-bottom: 26px;
    }

    .alert .alert-text {
        font-size: 16px;
    }

    .alert .alert-button {
        font-size: 16px;
    }

    .alert button.close {
        top: 14px;
        right: 14px;
    }

    .alert button.close > img {
        width: 28px;
        height: auto;
    }
}