@charset "UTF-8";
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *: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;
}

a:hover {
  text-decoration: none;
}

ol, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 400;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  color: #FFFFFF;
  height: min-content;
  display: block;
}

* {
  scrollbar-color: #005C3D #878787;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #005C3D;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background-color: #878787;
}

.main {
  background-color: #FFFFFF;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 400;
}

._container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 10px;
}

._button-white {
  color: #009C68;
  background-color: white;
  width: 131px;
  height: 38px;
  border-radius: 5px;
  border: 1px solid #009C68;
  transition: all 0.8s ease;
}
._button-white:hover {
  color: white;
  background-color: #009C68;
}

._button-green {
  color: white;
  border-radius: 5px;
  transition: all 0.8s ease;
  background-color: #009C68;
}
._button-green:hover {
  background-color: #005C3D;
  cursor: pointer;
}

._link-green {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #009C68;
  width: 131px;
  height: 38px;
  border-radius: 5px;
  transition: all 0.8s ease;
}
._link-green:hover {
  background-color: #005C3D;
}

._link-white {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #009C68;
  background-color: white;
  border: 1px solid #009C68;
  border-radius: 5px;
  transition: all 0.8s ease;
}
._link-white:hover {
  background-color: #009C68;
  color: white;
}

.hidden {
  display: none;
}

.form {
  width: 100%;
  height: 100%;
  background-color: #0E110D;
  color: white;
  display: flex;
  padding-bottom: 110px;
  position: relative;
}
.form__container {
  display: flex;
}
.form__container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.9) url(on.cd35ce9a.svg) center/150px no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease 0s;
}
.form__container._sending::after {
  opacity: 1;
  visibility: visible;
}
.form__form {
  display: flex;
  flex-direction: column;
  padding-right: 10px;
}
@media (max-width: 999px) {
  .form__form {
    padding-right: 0;
  }
}
.form__title {
  font-weight: 700;
  font-size: 25px;
  padding: 50px 0 25px 0;
  line-height: 130%;
}
@media (max-width: 480px) {
  .form__title {
    font-size: 22px;
  }
}
.form__subtitle {
  font-size: 18px;
  line-height: 140%;
  padding-bottom: 52px;
  width: 54%;
}
@media (max-width: 999px) {
  .form__subtitle {
    width: 75%;
  }
}
@media (max-width: 480px) {
  .form__subtitle {
    font-size: 14px;
  }
}
.form__send-form {
  display: flex;
  flex-direction: column;
}
@media (max-width: 999px) {
  .form__send-form input {
    max-width: 100%;
  }
  .form__send-form textarea {
    max-width: 100%;
  }
}
.form__send-form input:focus, .form__send-form textarea:focus {
  box-shadow: 0 0 15px #7a956b;
}
.form__send-form input, .form__send-form textarea {
  transition: all 0.5s ease 0s;
}
.form__input-name {
  border-radius: 5px;
  max-width: 560px;
  height: 50px;
  margin-bottom: 25px;
  padding-left: 30px;
}
.form__input-name._error {
  box-shadow: 0 0 15px red;
}
.form__input-name._error::-webkit-input-placeholder {
  color: red;
}
.form__input-name._error::-moz-placeholder {
  color: red;
}
.form__input-email {
  border-radius: 5px;
  max-width: 560px;
  height: 50px;
  margin-bottom: 25px;
  padding-left: 30px;
}
.form__input-email._error {
  box-shadow: 0 0 15px red;
}
.form__input-email._error::-webkit-input-placeholder {
  color: red;
}
.form__input-email._error::-moz-placeholder {
  color: red;
}
.form__textarea {
  max-width: 560px;
  height: 120px;
  padding: 17px 0 0 30px;
  border-radius: 5px;
  resize: none;
  border: none;
  outline: none;
}
.form__textarea._error {
  box-shadow: 0 0 15px red;
}
.form__textarea._error::-webkit-input-placeholder {
  color: red;
}
.form__textarea._error::-moz-placeholder {
  color: red;
}
.form__footer {
  padding-top: 55px;
  max-width: 560px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 999px) {
  .form__footer {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .form__footer {
    flex-direction: column-reverse;
    padding-top: 20px;
  }
}
.form__icons {
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .form__icons {
    padding-top: 20px;
  }
}
.form__icon:nth-child(2) {
  margin: 0 46px;
}
.form__icon:hover {
  cursor: pointer;
}
.form__button {
  width: 270px;
  height: 47px;
}
@media (max-width: 768px) {
  .form__button {
    width: 100%;
  }
}
.form__picture {
  display: flex;
  flex-direction: column;
}
.form__picture img:first-child {
  padding: 50px 0 30px 0;
}
@media (max-width: 999px) {
  .form__picture {
    display: none;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  padding: 50px 10px 0 10px;
  font-family: Montserrat, sans-serif;
}
.modal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.9) url(on.cd35ce9a.svg) center/150px no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease 0s;
}
.modal._sending::after {
  opacity: 1;
  visibility: visible;
}
.modal__body {
  max-width: 940px;
  padding: 0;
  flex-direction: column;
  background-color: white;
  position: relative;
}
.modal__container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.modal__title {
  font-size: 35px;
  font-weight: 700;
  padding: 50px 0;
}
@media (max-width: 999px) {
  .modal__title {
    font-size: 35px;
  }
}
@media (max-width: 768px) {
  .modal__title {
    font-size: 30px;
    padding: 40px 0;
  }
}
@media (max-width: 480px) {
  .modal__title {
    font-size: 25px;
    padding: 30px 0;
  }
}
@media (max-width: 360px) {
  .modal__title {
    font-size: 20px;
    padding: 20px 0;
  }
}
.modal__close {
  float: right;
  cursor: pointer;
}
.modal__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.modal__form input:focus, .modal__form textarea:focus {
  box-shadow: 0 0 15px #7a956b;
  border: none;
}
.modal__form input, .modal__form textarea {
  transition: all 0.5s ease 0s;
}
.modal__input-container {
  position: relative;
  width: 45%;
  margin: 20px;
}
.modal__input-container img {
  position: absolute;
  top: -25%;
  right: -10px;
}
@media (max-width: 850px) {
  .modal__input-container {
    width: 42%;
  }
}
@media (max-width: 550px) {
  .modal__input-container {
    width: 100%;
  }
}
.modal__input {
  border: 1px solid black;
  border-radius: 5px;
  padding: 16px 0 16px 25px;
  width: 100%;
}
.modal__input_name._error {
  box-shadow: 0 0 15px red;
  border: none;
}
.modal__input_name._error::-webkit-input-placeholder {
  color: red;
}
.modal__input_name._error::-moz-placeholder {
  color: red;
}
.modal__input_birthday._error {
  box-shadow: 0 0 15px red;
  border: none;
}
.modal__input_birthday._error::-webkit-input-placeholder {
  color: red;
}
.modal__input_birthday._error::-moz-placeholder {
  color: red;
}
.modal__input_password._error {
  box-shadow: 0 0 15px red;
  border: none;
}
.modal__input_password._error::-webkit-input-placeholder {
  color: red;
}
.modal__input_password._error::-moz-placeholder {
  color: red;
}
.modal__input_phone._error {
  box-shadow: 0 0 15px red;
  border: none;
}
.modal__input_phone._error::-webkit-input-placeholder {
  color: red;
}
.modal__input_phone._error::-moz-placeholder {
  color: red;
}
.modal__input_email._error {
  box-shadow: 0 0 15px red;
}
.modal__input_email._error::-webkit-input-placeholder {
  color: red;
}
.modal__input_email._error::-moz-placeholder {
  color: red;
}
.modal__input_textarea {
  width: 95%;
  height: 100px;
  margin-bottom: 18px;
  resize: none;
  outline: none;
}
.modal__input_textarea._error {
  box-shadow: 0 0 15px red;
}
.modal__input_textarea._error::-webkit-input-placeholder {
  color: red;
}
.modal__input_textarea._error::-moz-placeholder {
  color: red;
}
@media (max-width: 850px) {
  .modal__input_textarea {
    width: 91%;
  }
}
.modal__paragraph {
  width: 100%;
  padding: 0 0 0 20px;
}
.modal__button {
  width: 289px;
  height: 48px;
  margin: 32px 0 40px 0;
}
.modal__vector {
  position: absolute;
  top: 30%;
  left: 91%;
  cursor: pointer;
}
.modal__vector:hover {
  filter: brightness(0.5) invert(0.5);
}

.modal__body.disappearance {
  animation: zoomReverse 0.3s linear forwards;
}

.modal__body.open {
  animation: zoom 0.3s linear forwards;
}

.modal.open {
  animation: fade 0.3s linear forwards;
}

.modal.disappearance {
  animation: fadeReverse 0.3s linear forwards;
}

@keyframes zoomReverse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(0.1);
  }
}
@keyframes zoom {
  0% {
    transform: scale(0.1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes fade {
  0% {
    backdrop-filter: blur(0);
  }
  100% {
    backdrop-filter: blur(3px);
  }
}
@keyframes fadeReverse {
  0% {
    backdrop-filter: blur(3px);
  }
  100% {
    backdrop-filter: blur(0);
  }
}
.registration {
  width: 100%;
  height: 100%;
  background-color: black;
}
.registration__content {
  background-color: black;
}
.registration__title {
  color: #009C68;
}
.registration__form {
  flex-direction: column;
  width: 450px;
}
@media (max-width: 460px) {
  .registration__form {
    width: 100%;
  }
}
.registration label input {
  display: none;
}
.registration label span { /* <-- стилизируем новый */
  height: 16px;
  width: 16px;
  display: inline-block;
  position: relative;
  background-color: #FFF;
  border-radius: 2px;
  top: 2px;
  padding: 2px;
}
.registration [type=checkbox]:checked + span:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 2px;
  background-color: green;
}
.registration__input {
  width: 100%;
  margin: 30px 0 0 0;
}
.registration__button {
  width: 100%;
  margin: 15px 0 0 0;
}
.registration__checkbox {
  color: grey;
  margin-top: 10px;
  position: relative;
}
.registration__tips {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.registration__login {
  background-color: transparent;
  color: grey;
  transition: all 0.5s ease;
}
.registration__login:hover {
  color: #009C68;
}
.registration__password {
  background-color: transparent;
  color: grey;
  transition: all 0.5s ease;
}
.registration__password:hover {
  color: #009C68;
}
@media (max-width: 450px) {
  .registration__reg-btn {
    width: 100%;
  }
}