.natours-popup{
  position: fixed;
  top:0;
  left: 0;
  height: 100vh;
  width: 100%;
  display: block;
  background-color: rgba($natours-color-black, 0.9);
  z-index: 1005;
  transition: all .3s;

  opacity: 0;
  visibility: hidden;

  @supports (-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px)) {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    background-color: rgba($natours-color-black, 0.3);
  }

  &:target{
    opacity: 1;
    visibility: visible;
  }

  &:target &__content{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }



  &__content{
    @include natours-center-horizontal-vertical;

    width: 75%;
    background-color: $natours-color-white;
    box-shadow: 0 2rem 4rem rgba($natours-color-black, 0.5);
    border-radius: 5px;
    display: table;
    overflow: hidden;

    opacity: 0;
    transform: translate(-50%, -50%) scale(.25);
    transition: all .4s .2s;


  }

  &__left{
    width: 33.3333333%;
    display: table-cell;
  }

  &__right{
    width: 66.6666666%;
    display: table-cell;
    vertical-align: middle;
    padding: 3rem 5rem;

  }

  &__img{
    display: block;
    width: 100%;
  }

  &__text{
    font-size: 1.4rem;
    margin-bottom: 4rem;

    column-count: 2;
    column-gap: 4rem;
    column-rule: 1px solid $natours-color-gray-light-2;

    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    -webkit-hyphenate-character: auto;
  }

  &__close{
    &:link, &:visited{
      color: $natours-color-gray-dark;
      position: absolute;
      top: 2.5rem;
      right: 2.5rem;
      font-size: 3rem;
      text-decoration: none;
      transition: all .2s;
      line-height: 1;
    }

    &:hover{
      color:$natours-color-primary;
    }
  }
}
