@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

* {
    -webkit-appearance: none;
}

.preloader-text {
    position: fixed;
    display: block;
    text-align: center;
    justify-content: center;
    top: 20%;
}


.text_advertising {
    display:block;
    margin: 10px auto;
    text-decoration: none;
    color: #1a73e8;
    transition: all 1550ms cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 1;
    outline: 0;
    line-height: 40px;
    position: relative;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.text_advertising:hover {
    color: #1765cc;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
}

.text_advertising:hover:after {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}
.text_advertising:hover:before {
    opacity: 0;
    transform: translateY(50%) rotateX(90deg);
}
.text_advertising:after {
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    color: #323237;
    display: block;
    transition: 0.5s;
    position: absolute;
    background: #BFE2FF;
    content: attr(data-back);
    transform: translateY(-50%) rotateX(90deg);
}
.text_advertising:before {
    top: 0;
    left: 0;
    opacity: 1;
    color: #83c0f1;
    display: block;
    padding: 0 30px;
    line-height: 40px;
    transition: 0.5s;
    position: relative;
    background: #ffffff;
    content: attr(data-front);
    transform: translateY(0) rotateX(0);
}

.btn {
    color: #1a73e8;
    cursor: pointer;
    display: block;
    font-size: 12px;
    font-weight: 500;
    line-height: 35px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
    margin: 0 0 0 20px;
}

.btn_error {
    color: #1a73e8;
    cursor: pointer;
    display: block;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 12px;
    font-weight: 500;
    line-height: 35px;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: max-content;
    margin: 0 0 0 20px;
}

.btn-5 {
    border: 0 solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    outline: rgb(140, 168, 201) solid 1px;
    outline-offset: 0px;
    text-shadow: none;
    transition: all 850ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn-5:hover {
    border: 0px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
}


.btn-5:active {
    transform: translateY(-4px)
}



@media screen and  (max-width: 768px) {
    .logo {
        width: max-content;
        height: max-content;
        position: relative;
        max-width: 180px;
        max-height: 51px;
    }

    .content {
        justify-content: center;
        vertical-align: middle;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 60px;
    }
    .button_back {
        position:relative;
        margin: 10px auto;
        transition: all 0.1s cubic-bezier(0.19, 1, 0.22, 1);

    }



    * {

    }
}

@media screen and (min-width: 768px) {
    .logo {
        width: max-content;
        height: max-content;
        max-width: 310px;
        max-height: 87px;
    }

    .content {
        justify-content: center;
        vertical-align: middle;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 55px;
    }

    ::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
    }
    ::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background-color: rgba(0,0,0,0.5);
        -webkit-box-shadow: 0 0 1px rgba(255,255,255,0.5);
    }

    .button_back {
        position:sticky;
        margin: 10px;
        bottom:10px;
        transition: all 0.3s ease;
    }

    * {

    }
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Roboto', sans-serif;
    background-color: #e9eeff;
    margin: 0;
}

.maket {
    margin: 0 auto;
}

.shapka {
    background-color: rgb(255, 255, 255);
    width: 100%;
    max-height: 100px;
    position: sticky;
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
    align-items: center;
}


.footer {
    max-height: 50px;
    display: flex;
    justify-content: space-evenly;
    vertical-align: middle;
    align-items: center;
    text-align: center;
    position: fixed;
    clear: both;
    height: 10%;
    width: 100%;
    background-color: #1c1919;
    color: #ffffff;
    right: 0;
    bottom: 0;
    margin-top: 10px;
}

.exit_button {
    text-align: center;
    border-radius: 20px;
}

.exit .exit_button:before {
    left: -30px;
    bottom: 100%;
    transition: all .7s;
}

@media (hover: hover) {
    .exit .exit_button:hover:before {
        bottom: -50px;
    }
}

.exit a {
    color: crimson;
}

@media screen and (min-width: 768px) {
    .exit .exit_button {
        display: inline-block;
        width: 130px;
        height: 40px;
        line-height: 40px;
        margin: 20px;
        position: relative;
        overflow: hidden;
        border: 1px solid crimson;
        transition: color .5s;
        text-decoration: none;
    !important;
    }

    .exit {
        margin-right: 25px;
    }
}

@media screen and (max-width: 768px) {
    .exit .exit_button {
        display: inline-block;
        width: 110px;
        height: 30px;
        line-height: 30px;
        margin: 5px;
        position: relative;
        overflow: hidden;
        border: 1px solid crimson;
        transition: color .5s;
        text-decoration: none;
    !important;
    }

    .exit {
        margin-right: 7px;
        width: min-content;
    }
}

.exit .exit_button:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: crimson;
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

@media (hover: hover) {
    .exit .exit_button:hover {
        color: #fff;
    }
}

.exit .exit_button:active {
    box-shadow: 0 4px 8px rgba(69, 69, 69, 0.77);
    transform: scale(.98);
}

.exit .exit_button:not(active) {
    box-shadow: 0 0 0 0;
    transform: scale(1);
}


.button {
    text-align: center;
    border-radius: 20px;
}

.buttons .button:before {
    left: -30px;
    bottom: 100%;
    transition: all .7s;
}

@media (hover: hover) {
    .buttons .button:hover:before {
        bottom: -50px;
    }
}

.buttons a {
    color: rgba(0, 86, 189, 0.7);
}

@media screen and (min-width: 768px) {
    .buttons .button {
        display: inline-block;
        width: 130px;
        height: 40px;
        line-height: 40px;
        margin: 20px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0, 86, 189, 0.7);
        transition: color .5s;
        text-decoration: none;
    !important;
    }

    .buttons {
        margin-right: 25px;
    }

}

@media screen and (max-width: 768px) {
    .buttons .button {
        display: inline-block;
        width: 110px;
        height: 30px;
        line-height: 30px;
        margin: 5px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(0, 86, 189, 0.7);
        transition: color .5s;
        text-decoration: none;
    !important;
    }

    .buttons {
        margin-right: 7px;
        width: min-content;
    }
}


.buttons .button:before {
    content: "";
    position: absolute;
    z-index: -1;
    background: rgba(0, 86, 189, 0.7);
    height: 150px;
    width: 200px;
    border-radius: 50%;
}

@media (hover: hover) {
    .buttons .button:hover {
        color: #fff;
    }
}

.buttons .button:active {
    box-shadow: 0 4px 8px rgba(69, 69, 69, 0.77);
    transform: scale(.98);
}

.buttons .button:not(active) {
    box-shadow: 0 0 0 0;
    transform: scale(1);
}

@media (min-width: 768px){



}



.button_back {
    text-decoration: none;
    padding: 10px 25px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: rgba(0, 64, 144, 0.7);
    outline: none !important;
    cursor: pointer;
    width:  max-content;
    display: block;
    border: 2px solid rgba(0, 64, 144, 0.7);
    border-radius: 10px;

}
.button_back:hover {
    background: rgba(0, 64, 144, 0.7);
    color: #fff;
    box-shadow: 0 10px 15px -5px rgba(71, 71, 71, 0.75);

}

.button_back:active {
    transform: scale(1.1);
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    outline-offset: 15px;
    text-shadow: 1px 1px 2px #427388;
}



/* прелоадер */
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all 0.5s;
    opacity: 1;
}

.preloader-remove {
    display: none;
    opacity: 0;
    z-index: -10;
}

.preloader-5 {
    display: block;
    position: relative;
    width: 150px;
    height: 150px;
    margin: 30px auto;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #337AB7;
    animation: preloader-5-spin 2s linear infinite;
}

.preloader-5:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #BFE2FF;
    animation: preloader-5-spin 3s linear infinite;
}

.preloader-5:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #337AB7;
    animation: preloader-5-spin 1.5s linear infinite;
}

@keyframes preloader-5-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* всплывающие уведомления и цвета для разных категорий */
.message {
    width: max-content;
    padding: 5px;
    height: 30px;
    display: flex;
    z-index: 100;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.warning {
    background-color: #ffeb3b;

    box-shadow:
            inset 0 7em 10em -5em rgba(255,255,255,0.6),
            0 0.3em 0.5em -0.2em rgb(175, 189, 47),
            0 1em 2em -0.75em rgba(175, 189, 47, 0.75),
            0 1em 3em -0.5em rgba(163, 189, 47, 0.5),
            0 3em 3em -0.25em rgba(175, 189, 47, 0.2);
}

.success {
    background-color: #a0ff3b;

    box-shadow:
            inset 0 7em 10em -5em rgba(255,255,255,0.6),
            0 0.3em 0.5em -0.2em rgb(125, 189, 47),
            0 1em 2em -0.75em rgba(125, 189, 47, 0.75),
            0 1em 3em -0.5em rgba(125, 189, 47, 0.5),
            0 3em 3em -0.25em rgba(125, 189, 47, 0.2);
}

.danger {
    background-color: #ff3b3b;

    box-shadow:
            inset 0 7em 10em -5em rgba(255,255,255,0.6),
            0 0.3em 0.5em -0.2em rgb(189, 47, 47),
            0 1em 2em -0.75em rgba(189, 47, 47, 0.7),
            0 1em 3em -0.5em rgba(125, 47, 47, 0.5),
            0 3em 3em -0.25em rgba(125, 47, 47, 0.2);
}




input[type="text"]::-webkit-input-placeholder {font-family: Roboto, sans-serif}
input[type="text"]:-ms-input-placeholder { font-family: Roboto, sans-serif}
input[type="text"]::-ms-input-placeholder {font-family: Roboto, sans-serif}
input[type="text"]::placeholder {font-family: Roboto, sans-serif}
