.custom-modal-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 60;
  }
  
  .custom-modal-content {
    background-color: #fefefe;
    margin: 50% auto;
    padding: 20px;
    border: 1px solid #888;
  }
  
  .custom-modal-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .custom-modal-header-text {
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
    margin: auto 0;
  }
  
  .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    margin: auto 0;
  }
  
  .close-modal:hover,
  .close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  @media (min-width: 768px) {
      .custom-modal-content {
          margin: 40% auto;
          width: 26rem;
      }
  }
  
  @media (min-width: 1024px) {
      .custom-modal-content {
          margin: 25% auto;
      }
  }
  
  
  @media (min-width: 1280px) {
      .custom-modal-content {
          margin: 20% auto;
      }
  }