/*----Сброс стилей-----*/
* {
  padding: 0;
  margin: 0;
  border: 0;
  font-family: 'Nunito', sans-serif;
  font-style: normal;
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;

  a:focus.a::active {
    outline: none;
  }
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

ul,
li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

/*-----------------------------------*/

/*-------------Example of Nunito usage-----
  .nunito-<uniquifier> {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
  }
    
  
  body {
  background: linear-gradient(to bottom, lighten($backgroundColor, 10%), $backgroundColor);
  background-attachment: fixed;
  color: $textColor;
  font-size: 1em;
  padding: 2em;
  // text-shadow: 0px 0px 2px black;
}
*/

/* AUTHORIZATION PAGE START */
.auth_wrapper {
  align-content: center;
  max-width: 1920px;
  margin: 0 auto;
}

.auth_wrapper-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 62px;
}

.logo {
  height: 182px;
  width: 254px;
}

.logo img {
  height: 182px;
  width: 254px;
}

.name {
  text-transform: uppercase;
  margin-top: 9px;
  font-size: 40px;
  font-weight: 700;
  height: 56px;
  line-height: 56px;
}

.auth_form_wrapper {
  height: auto;
  max-width: 100%;
}

.auth_form {
  display: flex;
  flex-direction: column;
  line-height: 36px;
  width: 100%;
  height: auto;
}

.auth_phone {
  margin-top: 36px;
  border-radius: 40px;
  background-color: #F6F6F6;
  font-size: 26px;
  min-height: 71px;
  width: 523px;
  text-indent: 5%;
  font-weight: 400;
  max-width: 100%;
}

.auth_password {
  border-radius: 42px;
  background-color: #F6F6F6;
  font-size: 26px;
  min-height: 71px;
  width: 523px;
  text-indent: 5%;
  font-weight: 400;
  margin-top: 20px;
  max-width: 100%;
}

.auth_lost_pass {
  margin-top: 18px;
  display: flex;
  justify-content: right;
  width: 100%;
  font-weight: 300;
  font-size: 24px;
}

.auth_login button {
  margin-top: 48px;
  border-radius: 13px;
  background-color: #80D1B9;
  font-size: 26px;
  min-height: 83px;
  width: 456px;
  text-indent: 5%;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.auth_register button {
  margin-top: 20px;
  border-radius: 13px;
  background-color: #80D1B9;
  font-size: 26px;
  min-height: 83px;
  width: 456px;
  text-indent: 5%;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: inherit;
}

.auth_form button:hover {
  background-color: #65BAA1;
}

.auth_form button:active {
  background-color: #65BAA1;
}

.auth_form button:focus {
  background-color: #65BAA1;
}

/* Устанавливаем цвет плейсхолдера */
input::placeholder {
  color: black;
  opacity: 1;
  font-weight: 400;
}

.auth_enter_with {
  margin-top: 68px;
  color: #505862;
  font-size: 26px;
  font-weight: 400;
}

.auth_login {
  display: flex;
  justify-content: center;
}

.auth_register {
  display: flex;
  justify-content: center;
}

.auth_social-container {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  padding: 0;
}

.auth_social-container img {
  height: 91px;
  width: 91px;
}

.vk_auth {
  position: static;
  margin-right: 60px;
  opacity: 50%;
  padding: 0;
}

.vk_auth:hover {
  opacity: 100%;
}

.google_auth {
  opacity: 50%;
}

.google_auth:hover {
  opacity: 100%;
}

/* REGISTRATION PAGE START */
.reg_wrapper {
  margin: 0 auto;
  align-content: center;
  width: 1920px;
  max-width: 100%;
}

.reg_wrapper-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 62px auto 30px;
}

.reg_logo {
  width: 254px;
  height: 182px;
}

.reg_logo img {
  width: 254px;
  height: 182px;
}

.error {
  font-size: 18px;
  max-width: 490px;
  text-align: left;
  color: red;
  padding: 0 40px;
}

@media (max-width: 640px) {
  .error {
    font-size: 12px;
  }
}

.reg_name {
  margin-top: 18px;
  font-size: 44px;
  font-weight: 700;
}

.reg_form {
  display: flex;
  flex-direction: column;
  line-height: 48px;
  justify-content: center;
}

@media (max-width: 640px) {
  .reg_form {
    align-items: center;
  }
}

.reg_input {
  border-radius: 55px;
  background-color: #F6F6F6;
  font-size: 26px;
  min-height: 71px;
  text-indent: 11px;
  font-weight: 400;
  padding-top: 0px;
  padding-left: 35px;
}

.reg_name {
  margin-top: 40px;
}

.reg_phone,
.reg_email,
.reg_password {
  margin-top: 20px;
}

.reg_password_conf {
  width: 100%;
  margin-top: 24px;
}

.reg_allow_personal,
.reg_allow_user_agreement {
  display: flex;
  line-height: 22px;
  font-size: 18px;
  font-weight: 300;
  height: 24px;
  color: #000000;
  align-items: center;
  width: 488px;
}

.reg_allow_user_agreement {
  margin-top: 20px;
}

.reg_allow_user_agreement_link,
.reg_allow_personal_link {
  margin-left: 10px;
}

.reg_allow_personal {
  margin-top: 32px;
}

/* CHECKBOX SETTINGS START */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  height: 25px;
  width: 25px;
  min-width: 15px;
  border: 1px solid #F3EFEF;
  cursor: pointer;
  display: flex;
  outline: none;
  align-items: center;
  justify-content: center;
  top: 3px;
}

input[type="checkbox"]:after {
  font-family: "Font Awesome 6 Free";
  content: "\f00c";
  font-weight: 900;
  font-size: 10px;
  color: #F3EFEF;
  display: none;
}

input[type="checkbox"]:hover {
  border: 1px solid #F3EFEF;
}

input[type="checkbox"]:checked {
  background-color: #80D1B9;
}

input[type="checkbox"]:checked:after {
  display: block;
}

/* CHECKBOX SETTINGS END */

.reg_register {
  display: flex;
  justify-content: center;
  margin-top: 29px;
  font-weight: 300;
}

.reg_register button {
  border-radius: 55px;
  background-color: #80D1B9;
  font-size: 26px;
  min-height: 83px;
  width: 456px;
  text-decoration: none;
  color: #FFFFFF;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  padding-top: 24px;
}

.reg_form button:hover {
  background-color: #65BAA1;
}

.reg_form button:active {
  background-color: #65BAA1;
}

.reg_form button:focus {
  background-color: #65BAA1;
}

/* Устанавливаем цвет плейсхолдера */
input::placeholder {
  color: black;
  opacity: 1;
  font-weight: 400;
}

/* МЕДИА ЗАПРОСЫ */
@media (max-width: 1440px) {
  .auth_wrapper {
    max-width: 1440px;
  }

  .auth_wrapper-flex {
    margin-top: 53px;
  }

  .logo img {
    height: 132px;
    width: 184px;
  }

  .logo {
    height: 140px;
    width: 195px;
  }

  .name {
    margin-top: 2px;
    font-size: 44px;
    height: 60px;
    line-height: 60px;
  }

  .auth_form {
    width: 100%;
  }

  .auth_phone {
    margin-top: 108px;
    border-radius: 40px;
    font-size: 26px;
    min-height: 71px;
    width: 523px;
    text-indent: 5%;
  }

  .auth_password {
    border-radius: 42px;
    font-size: 26px;
    min-height: 71px;
    width: 523px;
    text-indent: 5%;
    margin-top: 20px;
  }

  .auth_lost_pass {
    font-size: 24px;
    margin-top: 6px;
    width: 100%;
  }

  .auth_login button {
    margin-top: 40px;
    border-radius: 13px;
    font-size: 26px;
    min-height: 63px;
    width: 360px;
    padding-top: 14px;
  }

  .auth_register button {
    margin-top: 20px;
    border-radius: 13px;
    font-size: 26px;
    min-height: 63px;
    width: 360px;
    padding-top: 14px;
  }

  .auth_enter_with {
    margin-top: 55px;
    font-size: 26px;
  }

  .auth_social-container {
    margin-top: 30px;
    padding: 0;
  }

  .auth_social-container img {
    width: 91px;
    height: 91px;
  }

  .vk_auth {
    position: static;
    margin-right: 60px;
    padding: 0;
  }
}

@media (max-width: 1020px) {
  .reg_wrapper {
    width: 1020px;
  }

  .reg_wrapper-flex {
    margin-top: 42px;
  }

  .reg_logo {
    width: 195px;
    height: 140px;
  }

  .reg_logo img {
    width: 195px;
    height: 140px;
  }

  .name {
    margin-top: 34px;
    font-size: 26px;
    line-height: 1;
  }

  .reg_input {
    border-radius: 55px;
    font-size: 22px;
    min-height: 66px;
    width: 430px;
    padding-top: 0px;
    padding-left: 16px;
  }

  .reg_name {
    margin-top: 40px;
  }

  .reg_phone,
  .reg_email,
  .reg_password {
    margin-top: 19px;
  }

  .reg_password_conf {
    margin-top: 20px;
  }

  .reg_allow_personal,
  .reg_allow_user_agreement {
    line-height: 18px;
    font-size: 16px;
    width: 359px;
  }

  .reg_allow_user_agreement_link,
  .reg_allow_personal_link {
    margin-left: 10px;
  }

  .reg_allow_personal {
    margin-top: 25px;
  }

  input[type="checkbox"] {
    height: 15px;
    width: 15px;
    min-width: 15px;
    top: 3px;
  }

  input[type="checkbox"]:after {
    font-weight: 900;
    font-size: 10px;
  }

  .reg_allow_user_agreement {
    margin-top: 26px;
  }

  .reg_register {
    margin-top: 29px;
  }

  .reg_register button {
    border-radius: 20px;
    font-size: 22px;
    min-height: 43px;
    width: 258px;
    padding-top: 6.5px;
  }
}

@media (max-width: 640px) {
  .reg_wrapper {
    width: 640px;
  }

  .reg_wrapper-flex {
    margin-top: 45px;
  }

  .reg_logo {
    width: 160px;
    height: 116px;
  }

  .reg_logo img {
    width: 160px;
    height: 116px;
  }

  .name {
    margin-top: 18px;
    font-size: 18px;
  }

  .reg_input {
    border-radius: 20px;
    font-size: 16px;
    min-height: 44px;
    width: 310px;
    padding-top: 0px;
    padding-left: 4px;
  }

  .reg_name {
    margin-top: 16px;
  }

  .reg_phone,
  .reg_email,
  .reg_password {
    margin-top: 20px;
  }

  .reg_password_conf {
    margin-top: 20px;
  }

  .reg_allow_personal,
  .reg_allow_user_agreement {
    line-height: 13px;
    font-size: 12px;
    width: 305px;
  }

  .reg_allow_user_agreement_link,
  .reg_allow_personal_link {
    margin-left: 10px;
  }

  .reg_allow_personal {
    margin-top: 16px;
  }

  input[type="checkbox"] {
    height: 15px;
    width: 15px;
    min-width: 15px;
  }

  input[type="checkbox"]:after {
    font-weight: 900;
    font-size: 10px;
  }

  .reg_allow_user_agreement {
    margin-top: 11px;
  }

  .reg_register {
    margin-top: 11px;
  }

  .reg_register button {
    border-radius: 20px;
    font-size: 16px;
    min-height: 43px;
    width: 258px;
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .reg_wrapper {
    width: 480px;
  }

  .reg_wrapper-flex {
    margin-top: 47px;
  }

  .reg_logo {
    width: 129px;
    height: 95px;
  }

  .reg_logo img {
    width: 129px;
    height: 95px;
  }

  .name {
    margin-top: 38px;
    font-size: 18px;
  }

  .reg_input {
    border-radius: 20px;
    font-size: 16px;
    min-height: 42px;
    width: 310px;
    padding-top: 0px;
    padding-left: 4px;
  }

  .reg_name {
    margin-top: 40px;
  }

  .reg_phone,
  .reg_email,
  .reg_password {
    margin-top: 18px;
  }

  .reg_password_conf {
    margin-top: 18px;
  }

  .reg_allow_personal,
  .reg_allow_user_agreement {
    line-height: 11px;
    font-size: 10px;
    width: 305px;
  }

  .reg_allow_user_agreement_link,
  .reg_allow_personal_link {
    margin-left: 5px;
  }

  .reg_allow_personal {
    margin-top: 11px;
  }

  input[type="checkbox"] {
    height: 15px;
    width: 15px;
    min-width: 15px;
  }

  input[type="checkbox"]:after {
    font-weight: 900;
    font-size: 10px;
  }

  .reg_allow_user_agreement {
    margin-top: 11px;
  }

  .reg_register {
    margin-top: 7px;
  }

  .reg_register button {
    border-radius: 13px;
    font-size: 14px;
    min-height: 40px;
    width: 250px;
    padding-top: 10px;
  }
}

@media (max-width: 360px) {
  .reg_wrapper {
    width: 360px;
  }

  .reg_wrapper-flex {
    margin-top: 80px;
  }

  .reg_logo {
    width: 114px;
    height: 82px;
  }

  .reg_logo img {
    width: 114px;
    height: 82px;
  }

  .name {
    margin-top: 18px;
    font-size: 18px;
  }

  .reg_input {
    border-radius: 20px;
    font-size: 16px;
    min-height: 37px;
    width: 234px;
    padding-top: 2px;
    padding-left: 4px;
  }

  .reg_name {
    margin-top: 40px;
  }

  .reg_phone,
  .reg_email,
  .reg_password {
    margin-top: 19px;
  }

  .reg_password_conf {
    margin-top: 20px;
  }

  .reg_allow_personal,
  .reg_allow_user_agreement {
    line-height: 11px;
    font-size: 10px;
    width: 235px;
  }

  .reg_allow_user_agreement_link,
  .reg_allow_personal_link {
    margin-left: 5px;
  }

  .reg_allow_personal {
    margin-top: 11px;
  }

  input[type="checkbox"] {
    height: 15px;
    width: 15px;
    min-width: 15px;
  }

  input[type="checkbox"]:after {
    font-weight: 900;
    font-size: 10px;
  }

  .reg_allow_user_agreement {
    margin-top: 8px;
  }

  .reg_register {
    margin-top: 21px;
  }

  .reg_register button {
    border-radius: 13px;
    font-size: 16px;
    min-height: 40px;
    width: 208px;
    padding-top: 10px;
  }
}

@media (max-width: 320px) {
  .reg_wrapper {
    width: 320px;
  }

  .reg_wrapper-flex {
    margin-top: 27px;
  }

  .reg_logo {
    width: 107px;
    height: 72px;
  }

  .reg_logo img {
    width: 102px;
    height: 72px;
  }

  .name {
    margin-top: 18px;
    font-size: 18px;
  }

  .reg_input {
    border-radius: 20px;
    font-size: 14px;
    min-height: 33px;
    width: 208px;
    padding-top: 2px;
    padding-left: 4px;
  }

  .reg_name {
    margin-top: 32px;
  }

  .reg_phone,
  .reg_email,
  .reg_password {
    margin-top: 19px;
  }

  .reg_password_conf {
    margin-top: 15px;
  }

  .reg_allow_personal,
  .reg_allow_user_agreement {
    line-height: 11px;
    font-size: 10px;
    width: 195px;
  }

  .reg_allow_user_agreement_link,
  .reg_allow_personal_link {
    margin-left: 5px;
  }

  .reg_allow_personal {
    margin-top: 11px;
  }

  input[type="checkbox"] {
    height: 15px;
    width: 15px;
    min-width: 15px;
  }

  input[type="checkbox"]:after {
    font-weight: 900;
    font-size: 10px;
  }

  .reg_allow_user_agreement {
    margin-top: 8px;
  }

  .reg_register {
    margin-top: 11px;
  }

  .reg_register button {
    border-radius: 13px;
    font-size: 16px;
    min-height: 38px;
    width: 208px;
    padding-top: 8px;
  }
}