@import '../../partials/variables';

.modal {
  display: flex;
  flex-direction: column;
  align-items: center;

  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;

  background-color: var(--background-color);

  &__item {
    display: flex;
    flex-direction: column;
    align-self: center;

    margin: 20px 0;
    padding: 20px;

    width: 60%;

    @media (max-width: $mobile-breakpoint) {
      width: initial;
    }
  }

  &__header {
    padding: 5px 0;
  }

  &__content {
    padding: 10px 0;
  }

  &__footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    padding: 10px 0;
  }
}
