* {
  font-family: 'SF Pro Display', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
}

body {
  color: #313c4e;
}

img {
  display: block;
}

.d-none {
  display: none;
}

.w-100 {
  width: 100%;
}

input[type="file"] {
  display: none;
}

@media (min-width: 1450px) {
  .xl-block {
    display: block;
  }
}

.container {
  max-width: 1820px;
  padding: 0 150px;
  margin: 0 auto;
}

body {
  background: #e0e0e2;
}

.alert {
  padding: 20px 0;
  background: #f6f6f6;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.25);
}

.alert__txt {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0.364px;
}

.app__content {
  padding: 60px 0;
}

.title {
  text-align: center;
  font-size: 60px;
  font-weight: 600;
  line-height: 90px;
  margin-bottom: 20px;
}

.page-description {
  text-align: center;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 46px;
}

.form {
  border-radius: 30px;
  background: #f6f6f6;
  padding: 60px;
  margin: 60px 0;
}

.form__name-group {
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.form-row:last-child {
  margin-bottom: 0;
  gap: 20px;
}


.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.form__label {
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 5px;
}

.form__input {
  border-radius: 20px;
  border: 1px solid #aeaeb0;
  padding: 21px 30px;
  font-size: 34px;
  font-style: normal;
  font-weight: 400;
  line-height: 46px;
  outline: none;
  transition: .3s;
}

.invalid .form__input {
  border: 1px solid #ff2e32;
}

.form__input.invalid {
  border: 1px solid #ff2e32;
}

.form__input::placeholder {
  color: rgba(49, 60, 78, 0.6);
}

.form-group--currency {
  max-width: 200px;
  height: fit-content;
}

.currency-icon {
  position: absolute;
  bottom: 16px;
  left: 30px;
}

.form__input--currency {
  padding-left: 103px;
}

.label-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 140px;
  gap: 30px;
  padding: 30px;
  border-radius: 20px;
  border: 1px dashed #aeaeb0;
  cursor: pointer;
}

.file-info {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: none;
}

.form-group--file {
  position: relative;
}

.form-group--file.filled .label-file__inner {
  display: none;
}

.form-group--file.filled .file-info {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.delete-file {
  display: flex;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.file-name {
  font-size: 34px;
  line-height: 46px;
}

.label-file__inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.file__text {
  display: flex;
  flex-direction: column;
}

.file__text-title {
  font-size: 34px;
  font-style: normal;
  font-weight: 400;
  line-height: 46px;
  opacity: 0.6;
}

.file__text-description {
  font-size: 26px;
  font-style: normal;
  font-weight: 300;
  line-height: 36px;
  opacity: 0.6;
}

.btn {
  display: flex;
  justify-content: center;
  border-radius: 20px;
  background: #434343;
  padding: 22px 0;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 1px;
  transition: .3s;
  cursor: pointer;
  outline: none;
  border: none;
}

.btn:hover {
  opacity: 0.8;
}

.form-info {
  text-align: center;
  font-size: 26px;
  font-style: normal;
  font-weight: 300;
  line-height: 36px
}

.form-error {
  display: none;
  color: #ff2e32;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 1px;
  margin-top: 5px;
}

.invalid .form-error {
  display: flex;
}

.advantages {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 120px 0;
}

.advantages__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.advantages__item-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
}

.advantages__item-title {
  text-align: center;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 1px;
}

.advantages__item-text {
  text-align: center;
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: 46px;
  opacity: 0.8;
}

.footer {
  background: #f6f6f6;
  padding: 100px 0;
}

.legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}

.legal__title {
  text-align: center;
  font-size: 34px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.legal__info {
  display: block;
  text-align: center;
  font-size: 30px;
  color: #313c4e;
  font-style: normal;
  font-weight: 500;
  line-height: 46px;
  opacity: 0.8;
  margin-top: 10px;
  transition: .3s;
}

a.legal__info:hover {
  opacity: 1;
}

.pay-card img {
  margin: 0 auto;
  width: 330px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.50);
  opacity: 0;
  z-index: -1;
  transition: .3s;
}

.popup.show {
  opacity: 1;
  z-index: 20;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 30px;
  border: 2px solid rgba(17, 13, 56, 0.05);
  background: #f6f6f6;
  padding: 57px 80px;
}

.popup__cross {
  position: absolute;
  top: 57px;
  right: 80px;
  cursor: pointer;
}

.popup__icon {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.popup__title {
  text-align: center;
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.popup__text {
  max-width: 630px;
  text-align: center;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 0.364px;
  margin: 0 auto 30px;
}

@media (max-width: 1820px) {
  .container {
    max-width: 1560px;
    padding: 0 130px;
  }

  .alert{
   padding: 15px 0;
  }

  .alert__txt{
    font-size: 18px;
    line-height: 22px;
  }

  .app__content{
   padding: 40px 0;
  }

  .title{
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 15px;
  }

  .page-description{
    font-size: 19px;
    font-weight: 500;
    line-height: 30px;
  }

  .form{
    margin: 40px 0;
    padding: 40px;
  }

  .form__name-group{
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 13px;
  }

  .form__label{
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 3px;
  }

  .form-row{
    gap: 20px;
    margin-bottom: 40px;
  }

  .form-group{
    border-radius: 13px;
  }

  .form__input{
    padding: 13px 18px;
    font-size: 22px;
    line-height: 30px;
  }

  .form-group--currency{
    max-width: 160px;
  }

  .form__input--currency {
    height: fit-content;
    padding-left: 80px;
  }

  .currency-icon svg{
    width: 30px;
    height: 30px;
  }

  .currency-icon {
    position: absolute;
    bottom: 11px;
    left: 25px;
  }

  .label-file{
    border-radius: 13px;
    padding: 20px;
    height: 93px;
  }

  .label-file__inner{
    gap: 20px;
  }

  .file__text-title{
    font-size: 22px;
    line-height: 30px;
  }

  .file__text-description{
    font-size: 16px;
    line-height: 24px;
  }

  .file__icon{
    display: flex;
  }

  .file__icon svg{
    width: 50px;
    height: 50px;
  }

  .file-name{
    font-size: 22px;
    line-height: 30px;
  }

  .btn{
   border-radius: 13px;
    font-size: 22px;
    line-height: 31px;
    padding: 14px 0;
  }

  .form-info{
    font-size: 16px;
  }

  .form-row:last-child{
    gap: 10px;
  }

  .advantages{
    margin: 80px 0 40px;
  }

  .advantages__item{
    gap: 13px;
  }

  .advantages__item-icon{
    width: 90px;
    height: 90px;
  }

  .advantages__item-title{
    font-size: 22px;
    line-height: 24px;
  }

  .advantages__item-text{
   font-size: 19px;
    line-height: 30px;
  }

  .footer{
   padding: 65px 0;
  }

  .legal__title{
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 14px;
  }

  .legal__info{
    font-size: 19px;
    font-weight: 500;
    line-height: 30px;
    margin-top: 6px;
  }

  .legal{
    margin-bottom: 15px;
  }

  .pay-card img{
    width: 230px;
  }

  .popup-content {
    padding: 40px 53px;
    max-width: 570px;
  }

  .popup__icon{
    margin-bottom: 20px;
  }

  .popup__icon svg{
    width: 87px;
    height: 87px;
  }

  .popup__title{
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 6px;
  }

  .popup__text{
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 20px;
  }

  .popup__cross {
    top: 41px;
    right: 52px;
    cursor: pointer;
  }

  .popup__btn{
    max-width: 335px;
    margin: 0 auto;
  }

  .form-error {
    font-size: 16px;
    line-height: 22px;
    margin-top: 3px;
  }

}

@media (max-width: 1230px) {
  .form-group--data {
    width: 100%;
  }
}

@media (max-width: 1124px) {
  .popup-content {
    width: 80vw;
  }
}

@media (max-width: 1024px) {
  .container{
    padding: 0 20px;
  }
}

@media (max-width: 850px) {
  .alert {
    padding: 8px 0;
  }

  .alert__txt {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.364px;
    text-align: left;
  }

  .app__content {
    padding: 40px 0;
  }

  .title {
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
    margin-bottom: 10px;
  }

  .page-description {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
  }

  .form {
    padding: 30px 20px;
    margin: 40px 0;
  }

  .form__name-group {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 10px;
  }

  .form-row {
    gap: 10px;
    margin-bottom: 30px;
  }

  .form-group {
    width: 100%;
  }

  .form__label {
    font-size: 16px;
    line-height: 20px;
  }

  .form__input {
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
  }

  .form-group--currency {
    width: 108px;
    max-width: initial;
    flex-grow: 0;
  }

  .form__input--currency {
    padding-left: 54px;
  }

  .currency-icon {
    position: absolute;
    bottom: 5px;
    left: 20px;
  }

  .currency-icon svg {
    width: 26px;
    height: 26px;
  }

  .form-group--amount {
    width: 55%;
  }

  .label-file {
    padding: 12px 20px;
    height: 77px;
  }

  .label-file__inner {
    gap: 8px;
  }

  .file__icon svg {
    width: 42px;
    height: 42px;
  }

  .file__text-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 5px;
  }

  .file__text-description {
    font-size: 12px;
    font-style: normal;
    font-weight: 274;
    line-height: 16px;
  }

  .file-name {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
  }

  .delete-file {
    right: 15px;
  }

  .delete-file svg {
    width: 25px;
    height: 25px;
  }

  .btn {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px; /* 162.5% */
    letter-spacing: 1px;
    padding: 12px 0;
    border-radius: 10px;
  }

  .form-info {
    margin: 0 auto;
    font-size: 12px;
    font-style: normal;
    font-weight: 274;
    line-height: 16px;
  }

  .advantages {
    flex-direction: column;
    gap: 30px;
    margin: 70px 0 30px;
  }

  .advantages__item {
    gap: 5px;
  }

  .advantages__item-icon {
    width: 80px;
    height: 80px;
  }

  .advantages__item-title {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
  }

  .advantages__item-text {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
  }

  .footer {
    padding: 60px 0;
  }

  .legal__title {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
  }

  .legal__info {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
  }

  .pay-card img {
    width: 195px;
  }

  .popup-content {
    width: calc(100% - 40px);
    padding: 18px 30px;
  }

  .popup__cross{
    top: 30px;
    right: 18px;
  }

  .popup__cross svg{
    width: 15px;
  }

  .popup__icon{
    margin-bottom: 10px;
  }

  .popup__icon svg{
    width: 55px;
    height: 55px;
  }

  .popup__title {
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    margin-bottom: 10px;
  }

  .popup__text {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
    margin-bottom: 20px;
  }

  .form-error{
    font-size: 12px;
    line-height: 16px;
  }
}

@media (max-width: 400px) {
  .form-info {
    max-width: 70%;
  }
}

.form-group--file{
  display: none;
}