@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap"); /* Poppins */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');                  /* Unbounded */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

.fm{
    font-family: Unbounded;
}

.ta-c{
    text-align: center;
}

.op{
    opacity: 0.92;
}

.register_box{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.register_box .left{
    background-image: url(https://abrakadabra.fun/uploads/posts/2022-01/1642266455_6-abrakadabra-fun-p-krasivie-arti-mainkraft-13.jpg);
    max-width: 100vh;
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: end;
    align-items: end;
}

.linear_gradient{
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, #000000, #00000000);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: end;
}

.logo{
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: .5s;
    gap: 0.5em;
    width: 260px;
    margin-bottom: 40px;
}

.favicon{
    width: 64px;
    height: 64px;
    background-image: url(../../logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    margin-right: 10px;
    filter: drop-shadow(1px 1px 5px #d08004);
    transition: 0.5s ease-in;
}

.logo:hover .favicon{
    transform: rotate(-14deg);
}

.logo:hover .text_logo p{
    transform: rotate(3deg);
}

.logo:hover{
    transform: scale(1.025);
}

.text_logo{
    display: grid;
    grid-template-rows: auto auto;
    margin-bottom: -5px;
    transition: .5s ease;
}

.text_logo p{
    font-size: 27.3px;
    color: #ec8e01;
    font-weight: 700;
    text-shadow: 1px 1px 5px #d08004;
    margin-top: -9px;
    transition: 0.5s ease-in;
}

.text_logo span{
    color: #fff;
    opacity: 0.6;
    font-size: 12px;
}

.box_reg{
    width: 100%;
    height: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.reg_form{
    width: 440px;
    display: grid;
    gap: 1em;
    animation: reg_form_anim 1.5s forwards;
}

@keyframes reg_form_anim {
    0% {
        transform: translate(0px, -30px) rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: translate(0px, 0px) rotate(0deg);
        opacity: 1;
    }
  }

.title_reg{
    letter-spacing: .5px;
}

.button_google{
    width: 100%;
    height: auto;
    border: solid 1px #E5E5E7;
    padding: 14px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    cursor: pointer;
    transition: .5s;
}

.button_google:hover{
    opacity: 0.7;
}

.button_google p{
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
}

.button_google span,
.button_google em{
    width: 22px;
    height: 22px;
    background-image: url(https://cdn.iconscout.com/icon/free/png-256/free-google-1772223-1507807.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.and_email{
    display: flex;
    gap: 1em;
    justify-content: center;
    align-items: center;
}

.line{
    width: 100%;
    height: 1px;
    background-color: #E5E5E7;
}

.and_email p{
    width: 100%;
}

.email_list{
    font-size: 13px;
}

.block_reg{
    display: block;
    margin-bottom:10px;
}

label,
input{
    width: 100%;
}

label{
    font-size: 13px;
    font-weight: 600;
}

input{
    background: rgb(248, 249, 251);
    width: 100%;
    height: 46px;
    padding-left: 12px;
    padding-right: 12px;
    transition: all 0.2s ease 0s;
    color: rgb(133, 141, 149);
    font-size: 14px;
    outline: none;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    border: none;
    border-radius: 6px;
}

.checkbox_main{
    display:flex;
    gap: 1em;
    justify-content: start;
    align-items: center;
    margin-top:30px;
}

.checkbox_main .radio{
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#checkbox{
    width: 20px;
    height: 20px;
}

.checkbox_text{
    font-size: 12px;
}

.a_checkbox{
    color: rgb(133, 141, 149);
    transition: .5s;
}

.a_checkbox:hover{
    color:#1f1f1f;
}

.button_create{
    margin-top: 40px;
    display: flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease 0s;
    border-radius: 6px;
    cursor: pointer;
    background: rgb(255, 166, 0);
    box-shadow: rgba(16, 24, 40, 0.04) 0px 1px 2px 0px;
    width: 100%;
    outline: none;
    border: none;
    color: rgb(255, 255, 255);
    font-family: Unbounded;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    opacity: 0.8;
}

.button_create:hover{
    opacity: 1;
    transform: translate(0, -5px) rotate(0deg);
}

.autorization{
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.autorization a{
    text-decoration: none;
    font-weight: 600;
}

.div_a_href{
    display: block;
}

.a_href_op{
    margin-top: 20px;
    text-decoration: none;
    font-size: 14px;
    color: #252525;
    display: flex;
    gap: 0.4em;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.a_href_op:hover{
    transform: translate(-5px, 0px) rotate(0deg);
}

.a_href_op:hover i:hover{
    color: #d08004;
}

.icon_input{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    border-radius: 6px;
    border: 1px solid rgb(229, 229, 231);
    background: rgb(248, 249, 251);
    color: rgb(133, 141, 149);
}

.icon_input i{
    padding: 10px;
    font-size: 20px;
}

input:focus {
    border: 1px solid rgb(255, 172, 19);
}

input:focus .icon_input{
    border: 1px solid rgb(255, 172, 19);
}

.checkbox-wrapper-7 .tgl {
    display: none;
}
.checkbox-wrapper-7 .tgl,
.checkbox-wrapper-7 .tgl:after,
.checkbox-wrapper-7 .tgl:before,
.checkbox-wrapper-7 .tgl *,
.checkbox-wrapper-7 .tgl *:after,
.checkbox-wrapper-7 .tgl *:before,
.checkbox-wrapper-7 .tgl + .tgl-btn {
box-sizing: border-box;
}
.checkbox-wrapper-7 .tgl::-moz-selection,
.checkbox-wrapper-7 .tgl:after::-moz-selection,
.checkbox-wrapper-7 .tgl:before::-moz-selection,
.checkbox-wrapper-7 .tgl *::-moz-selection,
.checkbox-wrapper-7 .tgl *:after::-moz-selection,
.checkbox-wrapper-7 .tgl *:before::-moz-selection,
.checkbox-wrapper-7 .tgl + .tgl-btn::-moz-selection,
.checkbox-wrapper-7 .tgl::selection,
.checkbox-wrapper-7 .tgl:after::selection,
.checkbox-wrapper-7 .tgl:before::selection,
.checkbox-wrapper-7 .tgl *::selection,
.checkbox-wrapper-7 .tgl *:after::selection,
.checkbox-wrapper-7 .tgl *:before::selection,
.checkbox-wrapper-7 .tgl + .tgl-btn::selection {
background: none;
}
.checkbox-wrapper-7 .tgl + .tgl-btn {
outline: 0;
display: block;
width: 4em;
height: 2em;
position: relative;
cursor: pointer;
-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
        user-select: none;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:after,
.checkbox-wrapper-7 .tgl + .tgl-btn:before {
position: relative;
display: block;
content: "";
width: 50%;
height: 100%;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:after {
left: 0;
}
.checkbox-wrapper-7 .tgl + .tgl-btn:before {
display: none;
}
.checkbox-wrapper-7 .tgl:checked + .tgl-btn:after {
left: 50%;
}

.checkbox-wrapper-7 .tgl-ios + .tgl-btn {
background: #fbfbfb;
border-radius: 2em;
padding: 2px;
transition: all 0.4s ease;
border: 1px solid #e8eae9;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:after {
border-radius: 2em;
background: #fbfbfb;
transition: left 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), padding 0.3s ease, margin 0.3s ease;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 4px 0 rgba(0, 0, 0, 0.08);
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:hover:after {
will-change: padding;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:active {
box-shadow: inset 0 0 0 2em #e8eae9;
}
.checkbox-wrapper-7 .tgl-ios + .tgl-btn:active:after {
padding-right: 0.8em;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn {
background: #86d993;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn:active {
box-shadow: none;
}
.checkbox-wrapper-7 .tgl-ios:checked + .tgl-btn:active:after {
margin-left: -0.8em;
}

.has-error {
  /*border: 1px solid #d76666; */
  animation: messageBox2 1.5s infinite;
}

@keyframes messageBox2 {
    0% {border: 1px solid rgb(229, 229, 231)}
    50%{border: 1px solid #d76666;}
    100% {border: 1px solid rgb(229, 229, 231)}
  }

.has-success{
    border: 1px solid #8fd766;
    display: block;
}

#messageBox{
    height: auto;
    transition: .5s;
    animation: messageBox 1.5s forwards;
    position: fixed;
    top: 0;
    right: 0;
    margin: 10px;
    z-index: 3;
}


#messageBox li{
    list-style-type: none;
    font-size: 12px;
    color: #2c2c2c;
    background: #fb6969;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 31px;
    margin-bottom: 10px;
    animation: messageBox3 3.5s forwards;
}

#messages2{
    position: fixed;
}


@keyframes messageBox3 {
    0% {
        opacity: 0;
        transform: translate(60px, 0px) rotate(-3deg);
    }
    
    25% {
        transform: translate(0px, -2px);
    }
    50% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
    75% {
        transform: translate(0px, -2px);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(30px, 0px) rotate(-2deg);
        display: none;
  }
}

#messageBox label{
    border: none !important;
    font-size: 12px;
}


.view_control{
    animation: password_contr 2.5s infinite;
    cursor: pointer;
    transition: .5s;
}

.view_control:hover{
    transform: scale(1.025);
}

.view_control2{
    animation: password_contr 2.5s infinite;
    cursor: pointer;
    color:#e97777;
}

@keyframes password_contr {
    0% {
        transform: translate(0px, 0px) rotate(0deg);
    }
    50%{
        transform: translate(0px, -3px) rotate(0deg);
    }
    100% {
        transform: translate(0px, 0px) rotate(0deg);
  }
}

#unlock_password{
    display: none;
}


.loader_body{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #2a2a2a1a;
    z-index: 2;
    display:none;
}
.loader {
    color: #fff;
    width: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
    transform: translateX(-38px);
    animation: l21 .5s infinite alternate linear;
  }
  
  @keyframes l21 {
    50%  {box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px}
    100% {box-shadow: 19px 0 0 0  , 38px 0 0 3px, 57px 0 0 7px}
  }

.success_reg{
    display: none;
    width: 100%;
    background: #1f1f1f45;
    position: absolute;
    z-index: 4;
    min-height: 100%;
    justify-content: center;
    align-items: center;
}

@keyframes messageBox4 {
    0% {
        opacity: 0;
        transform: translate(60px, 0px) rotate(-3deg);
    }
    
    25% {
        transform: translate(0px, -5px);
    }
    50% {
        opacity: 1;
        transform: translate(5px, 0px);
    }
    75% {
        transform: translate(0px, -5px);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translate(0px, -500px) rotate(90deg);
        display: none;
  }
}

.success_main{
    width: auto;
    height: auto;
    display: grid;
    justify-content: center;
    align-items: center;
    gap: 1em;
    animation: messageBox4 3.5s forwards;
}

#success_load{
    margin: auto;
    margin-top: 20px;
}

.success_text{
    background: #Fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.success_icon{
    background-image: url(../image/background/love.png);
    width: 52px;
    height: 34px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.success_page_text span{
    color: #565656;
}

.success_page_text{
    display: grid;
    gap: 0.5em;
}

.pointer{
    cursor: pointer;
}


.checkbox_auth{
    margin-top: 24px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -10px;
}




.checkbox-wrapper-52 input[type="checkbox"] {
    visibility: hidden;
    display: none;
  }

  .checkbox-wrapper-52 label {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    line-height: 1;
    font-family: Unbounded !important;
    display: flex;
    align-items: center;
  }

  .checkbox-wrapper-52 *,
  .checkbox-wrapper-52 ::after,
  .checkbox-wrapper-52 ::before {
    box-sizing: border-box;
  }

  .checkbox-wrapper-52 .item .cbx {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    border: 1px solid #c8ccd4;
    border-radius: 3px;
    cursor: pointer;
  }
  .checkbox-wrapper-52 .item .cbx svg {
    position: relative;
    top: -1px;
    transform: scale(0);
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .checkbox-wrapper-52 .item .cbx svg polyline {
    stroke-width: 2;
    stroke: #18cda6;
  }
  .checkbox-wrapper-52 .item .cbx:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background: #18cda6;
    transform: scale(0);
  }
  .checkbox-wrapper-52 .item .cbx:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 2px;
    height: 2px;
    border-radius: 2px;
    box-shadow: 0 -18px 0 #18cda6, 12px -12px 0 #18cda6, 18px 0 0 #18cda6, 12px 12px 0 #18cda6, 0 18px 0 #18cda6, -12px 12px 0 #18cda6, -18px 0 0 #18cda6, -12px -12px 0 #18cda6;
    transform: scale(0);
  }
  .checkbox-wrapper-52 .item .cbx-lbl {
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 12px;
  }
  .checkbox-wrapper-52 .item .cbx-lbl:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 1px;
    background: #9098a9;
  }
  .checkbox-wrapper-52 .item input {
    display: none;
  }
  .checkbox-wrapper-52 .item input:checked + .cbx {
    border-color: transparent;
  }
  .checkbox-wrapper-52 .item input:checked + .cbx svg {
    transform: scale(1);
    transition: all 0.4s ease;
    transition-delay: 0.1s;
  }
  .checkbox-wrapper-52 .item input:checked + .cbx:before {
    transform: scale(1);
    opacity: 0;
    transition: all 0.3s ease;
  }
  .checkbox-wrapper-52 .item input:checked + .cbx:after {
    transform: scale(1);
    opacity: 0;
    transition: all 0.6s ease;
  }
  .checkbox-wrapper-52 .item input:checked ~ .cbx-lbl {
    color: #9098a9;
  }
  .checkbox-wrapper-52 .item input:checked ~ .cbx-lbl:after {
    width: 100%;
    transition: all 0.4s ease;
  }


.checkbox_auth a{
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    color: rgb(133, 141, 149);
    transition: .5s;
    font-family: Unbounded;
    font-size: 12px;
    transition: .5s;
}

.checkbox_auth a:hover{
    color: black;
    opacity: 0.92;
}

/*-------MOBILE-----------*/
@media(max-width: 900px) {
    .register_box .left {
        display: none;
    }
    .register_box {
        grid-template-columns: 1fr;
    }
    .register_box {
        min-height: 100vh;
    }
}

@media(max-width: 460px) {
    .reg_form {
        width: 100%;
        padding: 10px;
    }
    .line {
        width: 80%;
    }
    .block_reg {
        margin-bottom: 10px;
    }
    .checkbox_main {
        margin-top: 31px;
    }
    .div_a_href{
        display: block;
        margin-bottom: 30px;
    }
}

@media(max-width: 390px) {
    .line {
        width: 60%;
    }
}