.main-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tag-circle {
  width: 600px;
  height: 600px;
  position: relative;
}


/* 손그림 느낌의 원형 배경 */
.tag-circle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 580px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  z-index: 1;
  
  /* 울퉁불퉁한 경계선 효과 */
  animation: blobAnimation 20s infinite alternate ease-in-out;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.05));
}

@keyframes blobAnimation {
  0% {
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
      border-radius: 50% 50% 40% 60% / 40% 60% 40% 60%;
  }
  50% {
      border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%;
  }
  75% {
      border-radius: 60% 40% 50% 50% / 30% 60% 40% 70%;
  }
  100% {
      border-radius: 50% 50% 30% 70% / 60% 40% 60% 40%;
  }
}



/* 말풍선 스타일 */
.speech-bubble {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  
  background:radial-gradient(circle, #f1dd2a 20%, #dfcc16 80%);
  border-radius: 50%;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  text-align: center;
}



.speech-bubble.visible {
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



.info-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #043f43;
}

.info-content {
  font-size: 15px;
  color: #690904;
  line-height: 1.5;
  max-height: 150px;
  overflow-y: auto;
  padding: 0 5px;
}


legend{
  line-height:0px;
}

input:-internal-autofill-selected {
  background-color: transparent !important;
  color: fieldtext !important;
}

input:-webkit-autofill {
background-color: transparent !important;
color: black !important;
transition: background-color 5000s ease-in-out 0s;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
background-color: transparent !important;
color: black !important;
transition: background-color 5000s ease-in-out 0s;
-webkit-text-fill-color: black !important;
}



.tag {
  position: absolute;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  color: #3a5107 !important;
  cursor: pointer;

  z-index: 5;
  user-select: none;
}

.tag:hover {
  transform: scale(1.1);
}

.default-message {
  opacity: 0.7;
  font-style: italic;
}



h1{font-size:2rem}
.main-container .main-title-logo{display:flex;justify-content:right;align-items:center;}
.main-container h1 span{color: #009688;}

.main-container .main-title h1{
  font-family: 'Gyeonggi_Batang_Regular';
}

.main-container .main-title h1 span{
  font-family: 'omyu_pretty';
}

@media (max-width: 768px) {

  .main-container{
      flex-direction: column;
  }
  .tag-circle{
      width: 100vw;
      height: 100vh;
  }
  .tag-circle::before{
      width: 350px;
      height: 350px;
  }

  .main-title{
      z-index:11;
      position: fixed;
  }

  .main-container .main-title-logo{
      justify-content: center;
  }

  .main-container .main-title h1{
      text-align: center;
      display:none;
  }



  .speech-bubble{
      opacity: 1;
      visibility: visible;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
  }

  .speech-bubble .info-title,.speech-bubble .info-content{
      display: none;
  }

  .tag-circle .tag{
      display: none;
  }

  .speech-bubble {
    width: 150px;
    height: 150px;
  }

 
}