.Modal {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  z-index: 2;

  &-header {
    height: 50px;
    background: white;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    .heading {
      margin: 0;
      padding: 10px;
      color: #2c3e50;
      font-weight: 500;
      font-size: 18px;
      text-align: center;
    }
  }

  &-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  &-content {
    min-width: 340px;
    min-height: 200px;
    background: white;
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.04);
  }

  &-header {
    height: 50px;
    background: white;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;

    .heading {
      margin: 0;
      padding: 10px;
      color: #2c3e50;
      text-align: center;
    }
  }

  &-body {
    padding: 10px;
    color: #2c3e50;
    p {
      font-size: 16px;
    }
  }

  &-close {
    padding: 4px 8px;
    border-radius: 8px;
    border: none;
    color: #2c3e50;
    background: #fcfcfc;
    position: absolute;
    right: 0;
    top: 0;
    align-self: flex-end;

    &:hover {
      background: rgba($color: #d5d3d3, $alpha: 0.8);
    }
  }
}
