.popup-img__container{
    width:500px;
    height: 401px;
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: 0.3s;
    transform: scale(1);
  }
  
  .popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 110rem;
    margin: 0 auto;
    height: 55rem;
    transform: translate(-50%, -50%);
    padding: 1.6rem;
    display: table;
    overflow: hidden;
    background-color: var(--white);
  }
  
  .popup__close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2rem;
    right: 2rem;
    padding: 1.5rem;
    background-color: var(--primaryColor);
    border-radius: 50%;
    cursor: pointer;
  }
  
  .popup__close svg {
    width: 1.7rem;
    height: 1.7rem;
  }
  
  .popup__left {
    display: table-cell;
    width: 50%;
    height: 100%;
    vertical-align: middle;
  }
  
  .popup__right {
    display: table-cell;
    width: 50%;
    vertical-align: middle;
    padding: 3rem 5rem;
  }
  
  .popup-img__container {
    width: 100%;
    overflow: hidden;
  }
  
  .popup-img__container img.popup__img {
    display: block;
    width: 60rem;
    height: 45rem;
    max-width: 100%;
    border-radius: 1rem;
    object-fit: cover;
  }
  .popup__form {
    width: 100%;
    padding: 2rem 0;
    text-indent: 1rem;
    margin-bottom: 1.6rem;
    border-radius: 3rem;
    background-color: var(--primaryColor);
    border: none;
  }
  
  .popup__form:focus {
    outline: none;
  }
  .hide__popup {
    transform: scale(0.2);
    opacity: 0;
    visibility: hidden;
  }    
@media only screen and (max-width: 998px) {
    .popup__right {
      width: 100%;
    }
  
    .popup__left {
      display: none;
    }
  
    .right__content h1 {
      font-size: 5rem;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .right__content h1 {
      font-size: 4rem;
    }
  
    .right__content p {
      font-size: 1.6rem;
    }
  
    .popup__form {
      width: 90%;
      margin: 0 auto;
      padding: 1.8rem 0;
      margin-bottom: 1.5rem;
    }
  
    .goto-top:link,
    .goto-top:visited {
      right: 5%;
      bottom: 5%;
    }
  }
  
  @media only screen and (max-width: 568px) {
    .popup__right {
      padding: 0 1.6rem;
    }
  
    .popup__content {
      height: 35rem;
      width: 90%;
      margin: 0 auto;
    }
  
    .right__content {
      width: 100%;
    }
  
    .right__content h1 {
      font-size: 3rem;
    }
  
    .right__content p {
      font-size: 1.4rem;
    }
  
    .popup__form {
      width: 100%;
      padding: 1.5rem 0;
      margin-bottom: 1.3rem;
    }
  
    .right__content a:link,
    .right__content a:visited {
      padding: 1.5rem 3rem;
    }
  
    .popup__close {
      top: 1rem;
      right: 1rem;
      padding: 1.3rem;
    }
  
    .popup__close svg {
      width: 1.4rem;
      height: 1.4rem;
    }
  }