  @import url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSans.css');
  body { font-family: 'GmarketSansMedium', sans-serif;}
  
  .popup {
    font-family: 'GmarketSansMedium', sans-serif;
    position: fixed;
    width: 300px;
    height: 200px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
  }
  .popup h3 {
    font-family: 'GmarketSansMedium', sans-serif;
    font-size: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
  }
    @keyframes blinkColor {
     0%, 100% {
      color: #ffff00;
     }
    50% {
      color: #ffffff;
    }
    }
    .popup-font1 {
     font-family: 'GmarketSansMedium', sans-serif;
     font-size: 18px;
     font-style: italic;
     font-weight: 900;
     color: #ffff00; /* 초기 노랑 */
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
     animation: blinkColor 3s infinite ease-in-out;
    }
    .popup-font3 {
     font-family: 'GmarketSansMedium', sans-serif;
     font-size: 16px;
     font-weight: 300;
     color: #fff !important;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
     line-height: 1.2; /* 줄 간격: 폰트 크기의 1.2배 */
    }
    .popup-font1, .popup-font3 {
    margin: 0;
    }
    .popup-1 {
    font-family: 'GmarketSansMedium', sans-serif;
    left: 30px;
    top: 30%;
    padding: 37px 0px;
    text-align: center;
    background-color: rgba(170, 20, 20, 0.5);
    background-image: url('');
    background-size: contain;        /* 이미지 전체가 보이도록 */
    background-repeat: no-repeat;    /* 이미지 반복 없음 */
    background-position: center;     /* 가운데 정렬 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    }
    .popup-2 {
    font-family: 'GmarketSansMedium', sans-serif;
    left: 30px;
    top: 52%;
    padding: 37px 0px;
    text-align: center;
    background-color: rgba(30, 140, 20, 0.5);
    background-image: url('');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 999;
    }
    .popup-3 {
    font-family: 'GmarketSansMedium', sans-serif;
    left: 30px;
    top: 75%;
    padding: 37px 0px;
    text-align: center;
    background-color: rgba(0, 0, 150, 0.5);
    background-image: url('');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 99;
    }
    .popup-content {
    font-family: 'GmarketSansMedium', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    resize: vertical;
    height: 50px;
    }
@media (max-width: 768px) {
  .popup-1 {
    width: 300px;
    height: 200px;
    font-size: 0.8em;
    left: 45% !important;
    top:56% !important;
    transform: translateX(-50%) !important;
  }

  .popup-2 {
    width: 300px;
    height: 200px;
    font-size: 0.8em;
    left: 48% !important;
    top: 58% !important;
    transform: translateX(-50%) !important;
  }

  .popup-3 {
    width: 300px;
    height: 200px;
    font-size: 0.8em;
    left: 52% !important;
    top: 60% !important;
    transform: translateX(-50%) !important;
  }
}


  .popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 33px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: left;
    font-size: 12px;
    padding: 2px 40px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: bottom;
    box-sizing: border-box;
  }

  .popup-footer .today-hide {
    cursor: pointer;
  }

    .popup-footer .popup-close {
    color: #fff;
    font-size: 12px;
    align-items: top;
    cursor: pointer;
    background: none;
    border-radius: 6px;
    padding: 0px 0px;
    margin-left: 30px;
    margin-right: 15px;
    margin-top: 3px;
  }

  .popup-footer .popup-close:hover {
    background-color: #333;
  }
  .popup-footer input[type="checkbox"] {
   width: 14px;
   height: 14px;
   transform: scale(1.0); /* 크기 키우기 */
   vertical-align: middle; /* 텍스트와 수직 정렬 */
   margin-right: 5px;
   margin-top: 0px;
  }
  .popup-footer label {
   display: flex;
   align-items: center;
   font-size: 12px;
   margin-top: 8px;
  }
