/* content css */
 
/*메인슬라이드 s*/
/* .slideshow-pc {
  display: flex;
  width: 100%;
  justify-content: center;
  position: relative;
  margin: auto;
}
.slideshow-pc:hover {
  cursor: pointer;
} */

#birthInputBox_bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff55;
  z-index: 999;
}
#birthInputBox {
  position: fixed; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  width: 270px;
  padding: 10px;
  background: var(--bg-secondary);
  border-radius: 10px;
  z-index: 250;
}
.donut {
  /* width: calc(25% - 16px); */
  width: 120px;
  height: 120px;
  /* padding-bottom: calc(100% - 16px); */
  margin: 0 auto;
  border-radius: 50%;
  position: relative;
  text-align: center;
  transition: background .5s ease-in-out;
  background: conic-gradient(#3F8BC9 0% 72%, #F2F2F2 72% 100%);
  box-shadow:
  -3px -3px 5px 0px #fff6,
  -2px -2px 3px 0px #fff6,
  3px 3px 5px 0px #0004,
  2px 2px 3px 0px #0002;
}
.donut::before {
  color: #fff;
  /* width: 70%; */
  width: 80px;
  height: 80px;
  /* padding: calc(35% - .64vw) 0; */
  font-size: 1.8em;
  font-weight: 700;
  color: black;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 20px;
  top: 20px;
  display: block;
  /* content: attr(data-percent)'%'; */
  content: attr(data-percent)'%';
  transform: skew(-0.03deg);
  margin: 0 auto;
  padding: 22px 0;
  /* padding: calc(35% - 1.3vw) 0; */
}
.now_graph td {padding:5px}
.now_graph p {font-weight: 700;}

.slideshow-mobile {
  display: flex;
  width: 100%;
  max-width: 920px;
  justify-content: center;
  position: relative;
  margin: auto;
}
.slideshow-mobile:hover {
  cursor: pointer;
}
.Slidesbackground {
  margin: 0;
  padding: 0;
  min-height: 150px;
  overflow: hidden;
}
.Slidesbackground img {
  min-height: 150px;
  object-fit: cover;
}
.slideshow-image1 {
  /* border-radius:3%; */
  width: 100%;
  height: auto;
  overflow: hidden;
}
.slideshow-image2 {
  /* border-radius:3%; */
  width: 100%;
  height: auto;
  overflow: hidden;
}
.slideshow-image3 {
  /* border-radius:3%; */
  width: 100%;
  height: auto;
  overflow: hidden;
} 
.mySlides {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* box-shadow: 3px 3px 7px 0px rgba(0, 0, 0, 0.5); */
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}


.Slidesbackground img {
  border-radius: 7px;
}

@media (max-width: 935px) {
  .Slidesbackground img {
      border-radius: 0;
  }
}

.mySlides-text {position: absolute; top:30%; left:10%; width:100%; color:white;}
.mySlides-text h3 {font-size: 5vmin;}
.mySlides-text p {font-size: 3vmin;}

.mySlides-text2 {position: absolute; top:10%; left:5%; width:100%;}

/* 흐르는 headline 텍스트 */
.flow-contents {
  display: flex;
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: hidden;
  transition: 1.0s;
  padding: 5px 0px 7px 0px;
  border-top: #ccc 1px solid;
  border-bottom: #ccc 1px solid;
  font-size: 0.75em;
  color: #555;
  /*font-weight: bold;*/
  /* background-color: #eee; */
}
.flow-contents:hover {
  color: black;
}
.flow-contents:hover .flow-wrap {
  animation-play-state: paused;
  cursor: pointer;
}
.flow-wrap {
  animation: textLoop 5s linear infinite;
  padding-right: 1.4881vw;
}
@keyframes textLoop {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}


/* 최신글 - 게시판 */
.div-padding {
  margin: 0 auto;
  padding: 10px;
}



/* chat ai 말풍선 */
.messageHuman {
  position:relative; float:right; margin:5px 5px 5px 50px; padding: 10px; width:250px; height:auto;
  color: white; text-align: left; border-radius: 10px; background-color: tomato; font-size: 1em; line-height: 1.6em;
}
.messageHuman p {margin-top: 10px; margin-bottom: 10px;}
.messageHuman::after {
  content:""; position: absolute; top: 10px; right: -10px; 
  border-left: 10px solid tomato; border-top: 3px solid transparent; border-bottom: 5px solid transparent;
}
.messageAi {
  position:relative; float:right; margin:5px 60px 5px 5px; padding: 10px; width:250px; height:auto; 
  color: white; text-align: left; border-radius: 10px; background-color: #777; font-size: 1em; line-height: 1.6em;
}
.messageAi p {margin-top: 10px; margin-bottom: 10px;}
.messageAi::after {
  content:""; position: absolute; top: 10px; left: -10px; 
  border-right: 10px solid #777; border-top: 3px solid transparent; border-bottom: 5px solid transparent;
}
.messageAi0 {
  position:relative; float:right; margin:5px 50px 5px 5px; padding: 10px; width:250px; height:auto; 
  color: white; text-align: left; border-radius: 10px; background-color: #aaa; font-size: 1em; line-height: 1.6em;
}
.messageAi0 p {margin-top: 10px; margin-bottom: 10px;}
.messageAi0::after {
  content:""; position: absolute; top: 10px; left: -10px; 
  border-right: 10px solid #aaa; border-top: 3px solid transparent; border-bottom: 5px solid transparent;
}
.messageInfo {
  position:relative; float:left; margin:5px 60px 5px 5px; padding: 10px; width:250px; height:auto; 
  border-radius: 10px; background-color: #ccc; font-size: 1em; line-height: 1.6em;
}
.messageInfo::after {
  content:""; position: absolute; top: 10px; left: -10px; 
  border-right: 10px solid #ccc; border-top: 3px solid transparent; border-bottom: 5px solid transparent;
}

.messageInfo1 {
  position:relative; margin:10px auto; padding: 10px; width:90%; max-width:400px; min-width: 200px; height:auto;
  text-align: left; font-size: 1em; line-height: 1.5em; 
  border-top: 2px solid black; border-bottom: 2px solid black;
}
.messageInfo2 {
  position:relative; margin:10px auto; padding: 10px; width: 90%; max-width:400px; min-width: 200px; height:auto;
  color: #555; text-align: left; font-size: 1em; line-height: 1.5em; 
  border-top: 2px solid black; border-bottom: 2px solid black;
}
.messageInfo3 {
  position:relative; margin:10px auto; padding: 10px; width: 90%; max-width:400px; min-width: 200px; height:auto;
  color: white; background: #aaa; text-align: left; font-size: 1em; line-height: 1.5em; 
  border-top: 2px solid black; border-bottom: 2px solid black;
}

.messageNow {
  position:relative; margin:5px auto; padding: 10px; width:90%; max-width:600px; min-width: 250px; height:auto;
  color: white; background: #555; text-align: left; font-size: 1em; line-height: 1.5em; 
  border-top: 2px solid black; border-bottom: 2px solid black;
}

.speakerButton {
  position:relative; margin:5px; padding-bottom: 4px; width:180px; border-radius: 25px; height:45px; 
  color: white; text-align: center; background-color: #333; font-size: 20px;
}
.stopButton {
  position:relative; margin:5px auto; padding-bottom: 5px; width:50px; border-radius: 25px; height:45px; 
  color: white; text-align: center; background-color: #333; font-size: 20px;
}
/* .speakerButton {padding: 3px 2px 5px 3px; margin:3px; background: black; border:none; border-radius: 50%;} */
/* .message {
  border-top: 1px solid #ccc;
  padding: 10px;
  margin-top: 5px;
  background-color: #e6e6e6;
} */



/* Ai서비스 bg */
.ai_bg {
  margin: 0px auto;
  padding: 0;
  border-top: 10px solid #ccc;
  border-bottom: 10px solid #ccc;
  background: linear-gradient(-45deg, rgb(0, 39, 54), #272629, rgb(88, 69, 81), #174952);
  background-size: 200% 200%;
  animation: gradient 10s ease infinite;
}
@keyframes gradient {
  0% {
   background-position: 0% 50%;
  }
  50% {
   background-position: 100% 50%;
  }
  100% {
   background-position: 0% 50%;
  }
}
 
.tableAi td {text-align:right; vertical-align: bottom; padding-right: 10px;}
.tableAi h1 {font-family:'Nanum Pen Script'; font-size: 2.5em;}
.tableAi p {color:gray; font-size:0.8em;}

.infoMessage p {font-size: 0.85em;}


/* 타로 */
.tarot_bg {
  margin: 0px auto;
  padding: 0;
  border-top: 10px solid #ccc;
  border-bottom: 10px solid #ccc;
  background: linear-gradient(-45deg, SkyBlue, #aaa, Khaki, #cc5555);
  background-size: 200% 200%;
  animation: gradient 10s ease infinite;
}
@keyframes gradient {
  0% {
   background-position: 0% 50%;
  }
  50% {
   background-position: 100% 50%;
  }
  100% {
   background-position: 0% 50%;
  }
}


#game-container {margin:0 auto}
#game-container p {
    margin:10px;
    font-weight: 500;
}

#chat-messages {
  display: flex; 
  align-items: center; 
  flex-direction: column;
  overflow-y: auto;
  width:100%;
  max-width: 400px;
  min-width: 300px;
  padding: 10px;
  margin: 0 auto;
}


.image-container {
  display: inline-block;
  margin: 5px;
  animation: fadein 2s;
  -moz-animation: fadein 2s;
  /* Firefox */
  -webkit-animation: fadein 2s;
  /* Safari and Chrome */
  -o-animation: fadein 2s;
  /* Opera */
}
@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-moz-keyframes fadein {
    /* Firefox */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes fadein {
    /* Safari and Chrome */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@-o-keyframes fadein {
    /* Opera */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-container img {
  width: 175px;
  height: auto;
  border-radius: 5px;
} 
@media screen and (max-width: 900px) {
     .image-container img {
      width: 150px;
      height: auto;
      border-radius: 5px;
    } 
} 
@media screen and (max-width: 600px) {
     .image-container img {
      width: 125px;
      height: auto;
      border-radius: 5px;
    } 
}
@media screen and (max-width: 400px) {
     .image-container img {
      width: 100px;
      height: auto;
      border-radius: 5px;
    } 
}


.tarotInput { display: inline-block; border: none; border-radius: 5px; width:20%; max-width: 300px; height: 30px; text-align: center; line-height: 30px; background-color: #555; color:white; cursor: pointer;
    -webkit-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
    -moz-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
    box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2)}
.tarotInput:hover { /* default hover effect */
    background-color: green;
}
@media (hover: hover) and (pointer: fine) { /* when supported */
    .tarotInput:hover {
        background-color: #aaa;
    }
}




.tarotUserInput {
  display: flex;
  margin: 10px auto;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box; /* 패딩을 포함한 전체 너비 계산 */
}
.tarotUserInput input {
  flex: 1;
  height: 45px;
  border: 2px solid var(--input-border);
  border-radius: 20px;
  background: var(--input-bg);
  color: var(--text-primary); /* 다크/라이트 모드 자동 대응 */
  padding: 7px 10px;
  margin-right: 7px;
  outline: none;
  box-sizing: border-box; /* 패딩을 포함한 전체 너비 계산 */
  width: calc(100% - 47px); /* 버튼 너비(40px)와 마진(7px)을 제외한 너비 */
}
.tarotUserInput input::placeholder {
  color: var(--text-secondary); /* placeholder 텍스트 색상 */
}
#userInputButton {
  border: none;
  border-radius: 30px;
  background-color: #1e88e5;
  color: white;
  cursor: pointer;  
  padding: 10px 20px;
  margin-right: 5px;
}
#userInputButton span {
  font-size: 1.2em;
}
#voiceInputButton {
  border: none; background: none; color: #555;
}
#generateDefault, #button-callgame {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}



/* 로또번호 추천 */
.lucky_bg {
  margin: 0px auto;
  padding: 0;
  border-top: 10px solid #ccc;
  border-bottom: 10px solid #ccc;
  background: linear-gradient(-45deg, #db4d22, #cf1c60, #23a6d5, #08b625);
  background-size: 200% 200%;
  animation: gradient 10s ease infinite;
}
@keyframes gradient {
  0% {
   background-position: 0% 50%;
  }
  50% {
   background-position: 100% 50%;
  }
  100% {
   background-position: 0% 50%;
  }
}

.lucky {display: block; margin: auto; width: 100%; max-width: 550px; padding: 0px 0px 0px 0px; justify-items: center; text-align: center;}
.lucky Img {width: 40%; height: auto; max-width: 450px;}


#recommendations {
    margin-top: 20px;
}
.number-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.number-set {
    margin: 10px;
    display: flex;
    flex-direction: column; /* 세로 방향으로 정렬 */
}
.number {
    width: 27px; height: 27px;
    margin: 2px;
    /* padding: 3px; */
    /* line-height: 25px;  */
    /* vertical-align: center; */
    align-items: center;
    font-size: 16px;
    color: white;
    background: radial-gradient( chocolate, gold );
    border: 1px solid gold;
    border-radius: 50%;
}  

.dateInput { display: inline-block; border: none; border-radius: 0%; margin: 5px 0px 15px 0px; width:20%; max-width: 300px; height: 30px; line-height: 30px; background-color: green; color:white; cursor: pointer;
    -webkit-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
    -moz-box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2);
    box-shadow:0px 1px 5px rgba(97, 97, 97, 0.2)}
.dateInput:hover { /* default hover effect */
    background-color: green;
}
@media (hover: hover) and (pointer: fine) { /* when supported */
    .dateInput:hover {
        background-color: #aaa;
    }
}

.plus {
    /* margin: 10px; */
    margin: auto 5px;
    vertical-align: center;
    font-size: 16px;
    font-weight: bold;
}

/* 추가된 스타일 */
/* #print-btn {
    margin-top: 20px;
    padding: 10px;
    background-color: rgb(121, 113, 168);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
} */



/* 만세력 */
#datePrintOther {text-align: left; padding: 15px 20px; line-height: 2em;}
.date_result {display: block; margin: auto; width: 100%; max-width:500px; border-radius: 10px; background-color: var(--bg-secondary);}
/* .print_btn {border: none; border-radius: 5px; color: white; background-color: #3399cc; padding:4px 10px 5px 10px; cursor: pointer;} */
.print_btn {width:70px; text-align: center; border: none; border-radius: 5px; color: white; background-color: chocolate; padding:4px 10px 5px 10px; cursor: pointer;}


.play-speed {
  background-color: #eee;
  color: #555;
  border-radius: 25px;
  padding: 10px;
  margin: 10px auto;
  width: 100%;
  max-width: 400px;
  border: 1px solid #ddd;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
}
.play-speed table {
  margin: 0 auto;
}
