/* popaup news */
body {
  min-height: 1800px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3;
  }
  
  .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 5000px;
    min-width: auto;
    background: var(--primary-color-light);
    padding: 20px;
    box-shadow: 0 10px 10px var(--shadow-color);
    z-index: 3;
    border-radius: 16px;
  }
  
  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  .popup-header h2 {
    margin: auto;
    font-size: 1.5em;
    color: var(--text-color);
  }
  
  .close-btn {
    font-size: 1.5em;
    cursor: pointer;
    color: var(--text-color);
  }
  
  .popup-content {
    font-size: 1em;
    line-height: 1.5;
    color: var(--text-color);
    border-radius: 10px;
    box-shadow: 0 10px 10px var(--shadow-color);
    padding: 10px;
  }
  
  body.dimmed {
    overflow: hidden;
  }
  
  body.dimmed::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3;
  }
  
  .img-poppup {
    top: 10px;
    margin-left: 26%;
    margin-right: auto;
    width: calc(50% - 2em);
    height: calc(50% - 2em);
    border-radius: 26px;
  }