body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #6a5acd;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow-x: hidden; /* 가로 스크롤 방지 */
    overflow-y: auto; /* 세로 스크롤 허용 */
    position: relative;
}

.chat-container {
    width: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chat-box {
    padding: 10px;
    height: 300px;
    overflow-y: scroll;
}

.message-container {
    display: flex;
    margin-bottom: 10px;
}

.user-message {
    background-color: #4caf50;
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    margin-right: 10px;
}

.fortune-message {
    background-color: #2196f3;
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
}
.input-container {
    display: flex;
    padding: 10px;
    background-color: #eee;
}

.user-input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

.send-button {
    padding: 8px 15px;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.send-button:hover {
    background-color: #45a049;
}

.left {
    justify-content: flex-start;
}

.right {
    justify-content: flex-end;
}

.initial-message {
    text-align: center; /* 텍스트를 중앙에 정렬합니다. */
    padding: 20px;
    background-color: #eee;
    border-radius: 10px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
    max-width: 80%; /* 적절한 최대 너비 지정 */
    margin-bottom: 10px;
}

.announcement-button {
    position: fixed;
    top: 10px;
    right: 10px;
}

.announcement-button button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.announcement-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-container img {
    width: 50%;
    min-width: 300px;
}


#loader {
    font-size: 25px;
    text-align: center;
}

/* 애드핏에 대한 스타일 */
.kakao-ad {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%; /* 광고 영역을 화면 너비에 맞게 설정 */
    z-index: 1;
}

/* @media (max-width: 768px) {
    body {
        font-size: 14px;
    }
} */


#kakaoAdFit {
    height: 100px; /* 광고의 높이만큼 설정 */ /* 광고 배경색을 흰색으로 설정 */
}

.chatdoge-main-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 800px;
    width: 100%;
    justify-content: center;
    align-items: flex-start; 
    padding: 10px; 
    overflow-y: auto; 
    max-height: 600px; 
}

.choice-card {
    flex-basis: 200px; 
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border: 2px solid #333;
    border-radius: 10px;
    margin: 10px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .choice-card:hover {
    background-color: #f0f0f0;
  }

  .locked {
    background-color: rgba(169, 169, 169, 0.5);
    pointer-events: none; 
  }

  .lock-icon {
    font-size: 24px;
    margin-top: 20px;
  }

  @media (max-width: 600px) {
    .choice-card {
      width: calc(50% - 10px);
    }
  } 

