@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

/* обнуления */
/* build 3.1 */
* {
    margin: 0;
    padding: 0;
}

html,
body {
    max-width: 900px;
    min-height: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
}

body {
    font-size: 14px;
    line-height: normal;
    font-family: "Open Sans", sans-serif; 
    background-color: #17191f;
}

.body-img {    
    background-color: #17191f;
    margin: 0;
    background: url("../images/main_img.webp") no-repeat;
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;   

}

.body-img, .body-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 900px;
    height: 100%;
    margin: 0 auto;
    z-index: 1;
}

.body-content {
    z-index: 2;
}

.hide {
    display: none!important;
}

.header-title {    
    margin: 5px auto 0px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title__logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-img {    
    background: url("../images/logo1.png") no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
}

.header-title__logo span {
    font-size: 0.5em;
    color:rgba(255, 255, 255, 0.8);
    text-align: center;
}

.header-title__num {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
}

.body-content {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

main {
    height: 100%;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
}

.main-content {
    height: 100%;
    margin: 0 auto;
    padding: 5px 20px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.title, .subtitle {
    font-size: 1.4em;
    font-weight: 700;
    text-align: center;
    width: 90%;
    margin: 0 auto;
    padding: 10px 0;
    background: -webkit-linear-gradient(left, #CCE1FA,#DBDAFC);
    background: -o-linear-gradient(right, #CCE1FA, #DBDAFC);
    background: -moz-linear-gradient(right, #CCE1FA, #DBDAFC);
    background: linear-gradient(to right, #CCE1FA, #DBDAFC); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1em;
    font-weight: normal;
}

.main-content__img {
    width: 100%;
    height: auto;
}

.img {   
    width: 100%;
    overflow: hidden;
}

.undertext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    padding: 0;
    text-align: center;
}

.pin, .phone {
    font-size: 1.6em;
    color: rgba(255, 255, 255, 0.5);
    width: 100%;
    text-align: center;
    height: 2.4em;
    border: none;
    border: 1px solid #BDC4FD;
    border-radius: 10px;
    background: #000;
}

::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input, select, textarea{
    color: #fff;
}

textarea:focus, input:focus {
    color: #fff;
}

input:focus {
    outline: none;
}

.main-content__button-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 100%;
}

#button-area__input {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 70%;
    top: 0;
    z-index: 1;
}

.button-area__confirm-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #98D8FB, #C9DBFB, #DCD9FC);
    color: #000;
    border: none;
    border-radius: 30px;
    width: 70%;
    margin: 10px auto;
    vertical-align: middle;
    z-index: 10;
}

.button-area__confirm-button a {
    text-decoration: none;
    color: #000;
    padding: 14px;
    width: 100%;
}

.confirm-button {
    font-size: 16px;
    font-weight: 700;
}

.button-area__mistake {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    padding: 0 0 10px 0;
}
.footer-text {
    margin: 2px auto;
}
.footer-text p {
    font-size: 0.7em;
    text-align: center;
    color: #9495AA;
}

/* Checkbox styles */
#agreement {
    align-items: center !important;
    display: flex;
    margin-bottom: 15px;
}

.agreement__styled-checkbox {
    /* margin-right: 10px; */
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    height: 16px;
    width: 16px;
    background: #fff;
    position: relative;
}

.agreement__styled-checkbox:after,
.agreement__styled-checkbox:before {
    content: "";
    display: block;
    position: absolute;
    height: 16px;
    width: 4px;
    border: 2px solid transparent;
    border-left: 0;
    border-bottom: 0;
    top: 12px;
    left: 0px;
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -o-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scaleX(-1) rotate(135deg);
    -moz-transform: scaleX(-1) rotate(135deg);
    -o-transform: scaleX(-1) rotate(135deg);
    -ms-transform: scaleX(-1) rotate(135deg);
    transform: scaleX(-1) rotate(135deg);
}

.agreement__checkbox:checked~.agreement__styled-checkbox:after {
    -webkit-animation: check 0.3s;
    -moz-animation: check 0.3s;
    -o-animation: check 0.3s;
    -ms-animation: check 0.3s;
    animation: check 0.3s;
    border-color: #000;
}

.agreement__text {
    font-size: 12px;
    color: #fff;
    text-align: center;
    padding-left: 10px;
}

@-moz-keyframes check {
    0% {
        height: 0;
        width: 0;
    }

    25% {
        height: 0;
        width: 4px;
    }

    50% {
        height: 16px;
        width: 4px;
    }
}

@-webkit-keyframes check {
    0% {
        height: 0;
        width: 0;
    }

    25% {
        height: 0;
        width: 4px;
    }

    50% {
        height: 16px;
        width: 4px;
    }
}

@-o-keyframes check {
    0% {
        height: 0;
        width: 0;
    }

    25% {
        height: 0;
        width: 4px;
    }

    50% {
        height: 16px;
        width: 4px;
    }
}

@keyframes check {
    0% {
        height: 0;
        width: 0;
    }

    25% {
        height: 0;
        width: 4px;
    }

    50% {
        height: 16px;
        width: 4px;
    }
}

/* Checkbox styles end*/

@media only screen
/* and (min-device-width: 320px)  */
and (max-device-height: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    .header-title__num {
        font-size: 1em;
    }
    .main-content {
        height: 100%;
    }
    .title, .subtitle {
        font-size: 1em;
        padding: 5px 0;
    }
    .subtitle {
        font-size: 0.8em;
    }
    .pin, .phone {
        font-size: 1em;
        line-height: 2em;
    }
}

@media only screen and (min-device-width: 1280px) and (orientation: landscape) {
}

@media only screen and (min-device-width: 715px) and (max-device-width: 992px) and (orientation: landscape) {}

/* success page styles */

.body-success {
    background-color: #fff;
}

.success-img {
    background-color: #17191f;
    background: url("../images/success_fon.png") no-repeat;
    background-size: cover;
    background-position: center; 
    filter: opacity(0.7);
}

.success-main {
    justify-content: space-evenly;
}

.success-btn {
    background: #764F78;
}

.success-btn a {
    color: #fff;
}

.success-title, .success-subtitle {
    font-size: 1.6em;
    color: #764F78;
    background: none;
    -webkit-text-fill-color: #764F78;
}

.success-subtitle {
    font-size: 1.2em;
}