.modal {
  width: 100%;
  max-width: 565px;
  width: 80%;
  padding: 30px 32px 40px 32px;
  border: none;
  border-radius: 3px;
  background-color: #565656;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
  color: #fff;
  text-align: center;
}

.modal::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
}

.modal__logo {
  width: 100%;
  max-width: 340px;
}

.modal__text {
  margin-bottom: 40px;
}

.modal__buttonContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.modal__button {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 4px 16px;
  background-color: transparent;
  border: 1px solid #fbc400;
  color: #fbc400;
  font-size: 20px;
  line-height: 32px;
  text-transform: uppercase;
}

.modal__button:focus-visible {
  outline: #fbc400 auto 1px;
}

@media screen and (min-width: 1024px) {
  .modal {
    padding: 30px 50px 40px 50px;
  }

  .modal__text {
    font-size: 20px;
    line-height: 1.3;
  }
}
