.BornHS__Wrapper {
  position: relative;

  .BornHS__Close {
    display: none;
  }
  .Content__Wrapper {
    position: relative;
  }

  .BornHS__Modal__Content {
    background: var(--bg-kleur)!important;
    border-radius: 5px;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.22);
    color: #fff;
    opacity: 0;
    position: absolute;
    transition: all 0.3s ease-in-out;
    visibility: hidden;
    width: 360px;
    z-index: 4;
    .Content__Wrapper {
      padding: 20px;
      .BornHS__Title {
        font-size: 16px;
        text-transform: uppercase;
      }
      p {
        font-size: 13px;
        margin: 0;
        padding: 0;
      }
    }
  }

  .BornHS__Input {
    height: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-indent: -9999px;
    width: 0;
    z-index: -1;
    + .BornHS__Label {
      background: var(--bg-kleur);
      border-radius: 50%;
      cursor: pointer;
      height: 20px;
      position: absolute;
      transition: all 300ms ease;
      width: 20px;
      z-index: 2;
      @media (min-width: 768px) {
        height: 30px;
        width: 30px;
      }
      &:before,
      &:after {
        background: var(--text);
        content: "";
        cursor: pointer;
        display: block;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
      }

      &:before {
        height: 2px;
        width: 40%;
      }
      &:after {
        height: 40%;
        width: 2px;
      }
    }
    ~ .BornHS__Overlay {
      display: none;
      height: 100%;
      left: 0;
      position: absolute;
      width: 100%;
      top: 0;
      z-index: 3;
    }
    &:checked {
      + .BornHS__Label {
        transform: rotate(45deg);
      }
      ~ .BornHS__Modal__Content {
        opacity: 1;
        visibility: visible;
      }
      ~ .BornHS__Overlay {
        display: block;
      }
    }
  }
  &.BornHS__Blur {
    figure {
      -webkit-filter: blur(2px);
      -moz-filter: blur(2px);
      -o-filter: blur(2px);
      -ms-filter: blur(2px);
      filter: blur(2px);
    }
    .BornHS__Input {
      display: none;
      + .BornHS__Label {
        opacity: 0.5;
        pointer-events: none;
      }
      &:checked {
        display: inline-block;
        + .BornHS__Label {
          opacity: 1;
          pointer-events: auto;
        }
      }
    }
  }
}

.BornHS__Modal {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 1;
}

@media (max-width: 768px) {
  .BornHS__Wrapper {
    .BornHS__Modal__Content {
      bottom: auto !important;
      left: 50% !important;
      top: 50% !important;
      transform: translate(-50%, -50%) !important;

      .BornHS__Close {
        background: var(--bg-kleur);
        border-radius: 50%;
        cursor: pointer;
        display: block;
        height: 20px;
        right: -5px;
        position: absolute;
        top: -5px;
        transition: all 300ms ease;
        transform: rotate(45deg);
        width: 20px;
        z-index: 5;

        &:before,
        &:after {
          background: var(--text);
          content: "";
          cursor: pointer;
          display: block;
          left: 50%;
          position: absolute;
          top: 50%;
          transform: translate(-50%, -50%);
        }

        &:before {
          height: 2px;
          width: 40%;
        }
        &:after {
          height: 40%;
          width: 2px;
        }
      }
    }
  }
}