.fancy-alert {
    font-family: sans-serif;
    color: white;
    width: 78px;
    z-index: 9999!important;
    top: 0px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    position: fixed;
    overflow: hidden;
    box-shadow: 0 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    height: 100%!important;
    max-height: max-content!important;
    background-color: gray;
    -moz-transform: scale(0, 0);
    -ms-transform: scale(0, 0);
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.fancy-alert.fancy-alert__active {
    opacity: 1;
    top: 10%;
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

@media (max-width: 395px) {
    .fancy-alert.fancy-alert__extended {
        width: 100%;
        height: 150px;
    }
}

@media (min-width: 396px) {
    .fancy-alert.fancy-alert__extended {
        width: 100%;
        height: 100px;
    }
}

@media (min-width: 576px) {
    .fancy-alert.fancy-alert__extended {
        width: 80%;
        height: 100px;
    }
}

@media (min-width: 768px) {
    .fancy-alert.fancy-alert__extended {
        width: 80%;
        height: 100px;
    }
}

@media (min-width: 992px) {
    .fancy-alert.fancy-alert__extended {
        width: 60%;
        height: 100px;
    }
}

@media (min-width: 1200px) {
    .fancy-alert.fancy-alert__extended {
        width: 60%;
        height: 100px;
    }
}

.fancy-alert.fancy-alert__extended .fancy-alert--content {
    opacity: 1;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    max-width: 100%;
}

.fancy-alert.fancy-alert__extended .fancy-alert--words {
    top: 18px;
    opacity: 1;
}

.fancy-alert.error {
    background-color: #d64646;
}

.fancy-alert.success {
    background-color: #3cb971;
}

.fancy-alert.info {
    background-color: #e8c22c;
    color: #000000;
}

.fancy-alert a {
    color: white;
    text-decoration: underline;
}

.fancy-alert .fancy-alert--content {
    padding: 10px;
    opacity: 0;
}

.fancy-alert .fancy-alert--words {
    font-size: 18px;
    font-weight: bold;
    padding: 0 18px 0 90px;
    max-width: 80%;
    position: relative;
    top: -50px;
    opacity: 0;
    height: 60px;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
}

.fancy-alert .fancy-alert--icon {
    padding: 26px;
    float: left;
    font-size: 26px;
    background-color: rgba(3, 3, 3, 0.15);
}

.fancy-alert .fancy-alert--close {
    position: absolute;
    text-decoration: none;
    right: 10px;
    top: 10px;
    font-size: 15px;
    padding: 6px 9px;
    background: rgba(0, 0, 0, 0.12);
}

.container {
    text-align: center;
    margin: 200px 0;
}

.show-alert {
    border: 0;
    background: #f2f2f2;
    padding: 15px 70px;
    font-weight: bold;
    border-radius: 5px;
    border-bottom: 3px solid #c8c8c8;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.23), inset 0 -53px 20px -30px rgba(59, 65, 74, 0.06);
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    color: #808080;
    text-shadow: 0 1px #fff;
    outline: 0;
    position: relative;
}

.show-alert:active {
    border: 0;
    box-shadow: none;
    top: 2px;
}

.show-alert__info {
    color: #e8c22c;
}

.show-alert__success {
    color: #3cb971;
}

.show-alert__error {
    color: #d64646;
}

.fancy-alert .fancy-alert--buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.fancy-alert .fancy-alert--button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.fancy-alert .fancy-alert--button.confirm {
    background-color: #3cb971;
    color: white;
}

.fancy-alert .fancy-alert--button.cancel {
    background-color: #d64646;
    color: white;
}