/* 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: #ffffffaa;
  z-index: 200;
}
#birthInputBox {
  position: fixed; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  width: 270px;
  padding: 10px;
  background: #bbbbbbee;
  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;}


/* 흐르는 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);
  }
}


/* 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 70px 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 60px 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 70px 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: 3px; 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: 3px; width:50px; border-radius: 25px; height:45px; 
  color: tomato; 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: 500px;
  min-width: 250px;
  padding: 10 px;
  margin: 0 auto;
}


.image-container {
  display: inline-block;
  margin: 5px auto;
  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: 120px;
      height: auto;
      border-radius: 5px;
    } 
}
@media screen and (max-width: 400px) {
     .image-container img {
      width: 90px;
      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;
    }
}

/* .custom-btn {font-size:1em} */
.ft-userinput {
    width: 100%;
    height: 85px;
    background: transparent;
    position: fixed; 
    left: 0px; 
    bottom: 0px;
    display: inline-block;
    z-index: 88;
}


#comments-section {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  height: 85px;
}
