html,
body {
    width: 100%;
}

body.warning-overlay {
    overflow: hidden;
}

body.warning-overlay>*:not(.warning) {
    -webkit-filter: blur(5px) grayscale(0.25);
    filter: blur(5px) grayscale(0.25);
}

body:not(.warning-overlay) .warning {
    visibility: hidden;
    cursor: default;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -ms-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -o-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-warning::before {
    background-color: rgba(0, 0, 0, 1);
    background-image: url(../images/warning-bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    /*
    -webkit-filter: blur(30px) grayscale(0.05);
    filter: blur(20px) grayscale(0.05);
    */
}

.warning,
.page-warning::after {
    background: rgba(0, 0, 0, 0.8);
    display: block;
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.warning {
    z-index: 999999;
    -webkit-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -ms-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    -o-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.warning,
.warning-wrapper {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.warning-wrapper {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50px;
    color: #fff;
    flex: 0 1 auto;
    margin: auto;
    padding: 6%;
    max-width: 1430px;
    position: relative;
    z-index: 3;
    width: 74.48%;
    border: 2px solid #646464;
    box-shadow: 4.135px 14.419px 55.29px 1.71px rgba(0, 0, 0, 0.004);
}

.block-button,
.warning-text,
.warning-logo {
    flex: 0 1 auto;
    margin-left: auto;
    margin-right: auto;
    ;
}

.warning-logo {
    margin: 0 auto 1rem;
}

.warning-text {
    font-size: 13px;
    line-height: 1.2;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-bottom: 1rem;
}

.warning-buttons {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    text-align: center;
}

.warning-buttons .btn {
    border-radius: 50px;
    border: none;
    color: #fff;
    display: inline-block;
    font-size: 20px;
    padding: 0.5em 2em;
    flex: 0 1 auto;
    text-decoration: none;
    text-align: center;
    min-width: 7em;
    text-transform: uppercase;
    font-family: "Oswald", sans-serif;
    width: 100%;
    -webkit-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -moz-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -ms-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    -o-transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width:479px) {
    .warning-buttons {
        width: 100%;
    }

    .warning-buttons .btn {
        font-size: 28px;
    }

    .warning-buttons .btn+.btn {
        margin-top: 0.5em;
    }
}

@media (min-width:480px) {
    .warning-buttons {
        flex-flow: row nowrap;
    }

    .section-warning .warning-buttons.block-button .btn {
        font-size: 22px;
    }

    .warning-buttons .btn+.btn {
        margin-left: 5%;
    }

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

@media (min-width:580px) {
    .warning-text {
        font-size: 17px;
    }
}

@media (min-width:768px) {
    .warning-text {
        font-size: 18px;
    }
}

@media (min-width:992px) {
    .warning-buttons .btn {
        max-width: 45%;
        width: 300px;
    }

    .warning-text {
        font-size: 19px;
    }
}

@media (min-width:1080px) {
    .warning-text {
        font-size: 20px;
    }
}

@media (min-width:1280px) {
    .warning-text {
        font-size: 21px;
    }
}

@media (min-width:1360px) {
    .warning-text {
        font-size: 22px;
    }
}

.warning-buttons .btn-warning-enter {
    background: #00f;
}

.warning-buttons .btn-warning-enter:hover {
    background: #3232ff;
}

.warning-buttons .btn-warning-exit {
    background: #505050;
}

.warning-buttons .btn-warning-exit:hover {
    background: #969696;
}

