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

body {
  min-width: 360px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1550px;
  width: 100%;
  height: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.flex-icon-wrapper {
  display: flex;
  align-items: center;
}

.iomoney-card {
  width: 270px;
  height: 130px;
}

.iomoney-cover {
  width: 250px;
  height: 110px;
}

.iomoney-wallet {
  width: 250px;
  height: 130px;
}

.logo-img {
  width: 170px;
  height: 125px;
}

.cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-img {
  width: 170px;
  height: 130px;
}

.logo-vk {
  width: 77px;
  height: 77px;
}

.logo-vk:hover {
  transform: scale(1.05);
}

.logo-wa {
  width: 100px;
  height: 100px;
}

.logo-wa:hover {
  transform: scale(1.05);
}

.logo-tg {
  width: 84px;
  height: 84px;
}

.logo-tg:hover {
  transform: scale(1.05);
}

.flex-main-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-header-title {
  font-family: "Balsamiq Sans", sans-serif;
  font-size: 80px;
  text-align: center;
  margin-left: 88px;
}

.flex-donate-header-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header-title {
  font-family: "Balsamiq Sans", sans-serif;
  font-size: 60px;
  text-align: center;
}

header,
footer {
  background-color: rgba(253, 199, 92, 0.726);
  margin: 30px;
  border-radius: 100px;
}

.title-header {
  background-color: rgba(75, 255, 0, 0.64);
  margin: 30px;
  border-radius: 100px;
}

.donate-header {
  background-color: rgba(75, 255, 0, 0.64);
  padding: 10px;
}

.mobile-donate-header {
  display: none;
}

.main {
  padding: 0 0 80px 0;
  background-image: url(../images/map.jpg);
}

.card-flex-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.card {
  background-color: transparent;
  border: 2px solid #e7e7e7;
  border-radius: 30px;
  padding: 46px 20px;
  width: 330px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card:hover {
  border: 2px solid rgba(253, 199, 92, 0.726);
  box-shadow: 0 5px 15px rgba(253, 199, 92, 0.726);
}

.card-title {
  font-weight: 800;
  font-size: 22px;
  text-align: center;
}

.card-hands {
  margin: -3px;
  height: 44px;
  width: 44px;
}

.card-img {
  height: 200px;
  /*сверху 40 по бокам 0 снизу 36*/
  margin: 40px 0 36px;
}

.card-text {
  font-weight: 400;
  font-size: 18px;
  font-family: "Vollkorn SC", serif;
  text-align: justify;
  min-height: 240px;
}

.flex-card-icon-wrapper {
  display: flex;
  justify-content: end;
  align-items: center;
}

.flex-card-title-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

footer {
  padding: 50px 0;
}

.flex-footer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
}

.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.3);
  display: grid;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s, visibility 0.4s;
}

.modal__box {
  position: relative;
  max-width: 500px;
  padding: 45px;
  z-index: 1;
  margin: 30px 15px;
  background: linear-gradient(45deg, #ffffff, #39ec69);
  box-shadow: 0px 0px 17px -7px rgba(34, 60, 80, 0.2);
  transform: scale(0);
  transition: transform 0.8s;
}

.modal__box-timeout {
  font-size: 30px;
  font-family: "Cormorant", serif;
  text-align: center;
}

.modal__close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background-color: transparent;
  padding: 5px;
  font-size: 24px;
  transition: color 0.4s;
}

.modal__close-btn:hover {
  cursor: pointer;
  color: red;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal.open .modal__box {
  transform: scale(1);
}

.modal__open-btn {
  flex-grow: 1;
  font-size: 32px;
  color: #000;
  text-decoration: none;
  background-color: transparent;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 13px 38px;
  text-align: center;
}

.modal__open-btn:hover {
  background-color: #4bcb5a;
  color: #fff;
  border: 2px solid #5ac51b;
  box-shadow: 0 5px 15px #5ac51b;
  cursor: pointer;
}

.flex-donate-modal-wrapper {
  display: flex;
  justify-content: center;
}

.modal__donate-open-btn {
  width: 330px;
  height: 150px;
  margin-top: 20px;
}

.flex-modal-donate-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.mobile-donate-modal {
  display: none;
}

.form {
  max-width: 550px;
  margin: 0px auto;
  color: #000;
  padding: 30px 0;
}

.form * {
  outline: none;
}

.form__title {
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.form__item {
  margin: 0 0 20px 0;
}

.form__label {
  font-size: 18px;
  display: block;
  margin: 0 0 10px 0;
}

.form__input {
  height: 50px;
  padding: 0 20px;
  border-radius: 5px;
  width: 100%;
  font-size: 18px;
}

.form__input._error {
  box-shadow: 0 0 15px red;
}

textarea.form__input {
  min-height: 120px;
  resize: vertical;
  padding: 20px;
}

.checkbox._error .checkbox__label::before {
  box-shadow: 0 0 15px red;
}

.checkbox__input {
  display: none;
}

.checkbox__input:checked+.checkbox__label::after {
  transform: scale(1);
}

.checkbox__label {
  min-width: 100%;
  font-size: 16px;
  line-height: 140%;
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.checkbox__label::before {
  content: "";
  align-self: flex-start;
  flex: 0 0 24px;
  height: 24px;
  border: 1px solid black;
  border-radius: 4px;
  margin: 0 10px 0 0;
}

.checkbox__label::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 4.8px;
  left: 4.8px;
  background-color: rgba(253, 199, 92, 0.726);
  border-radius: 4px;
  transform: scale(0);
}

.form__button {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  background-color: rgba(253, 199, 92, 0.726);
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 20px;
  box-shadow: 0 5px 0 rgba(47, 37, 17, 0.726);
  transition: background-color 0.5s ease 0s;
  position: relative;
  top: 0;
}

.form__button:hover {
  background-color: rgba(247, 166, 5, 0.875);
}

.form__button:active {
  top: 3px;
  box-shadow: 0 2px 0 rgba(47, 37, 17, 0.726);
}

@media (max-width: 450px) {
  header {
    margin: 10px;
  }

  .header-title {
    font-size: 40px;
  }

  .donate-header {
    display: none;
  }

  .mobile-donate-modal {
    display: contents;
  }

  .main-header-title {
    font-size: 30px;
    margin: 0;
  }

  .main {
    padding: 0;
    background-image: url(../images/map.jpg);
  }

  .logo-img {
    width: 100px;
    height: 80px;
  }

  .iomoney-card {
    width: 270px;
    height: 170px;
  }

  .iomoney-wallet {
    width: 270px;
    height: 170px;
  }

  .qr-img {
    width: 100%;
    height: 100%;
  }

  .qr-title {
    font-size: 10px;
  }

  .logo-vk {
    width: 25px;
    height: 25px;
  }

  .logo-wa {
    width: 35px;
    height: 35px;
  }

  .logo-tg {
    width: 25px;
    height: 25px;
  }

  .modal__open-btn {
    font-size: 14px;
  }

  footer {
    margin: 10px;
    padding: 15px 0;
  }
}