/* content css */
 
/*메인슬라이드 s*/
/* .slideshow-pc {
  display: flex;
  width: 100%;
  justify-content: center;
  position: relative;
  margin: auto;
}
.slideshow-pc:hover {
  cursor: pointer;
} */

.date_print h2 {
  font-size: 1.5em;
}

.custom-btn button {
  background: #000;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 7px 20px;
  margin: 5px;
}
.custom-btn button:hover {
  background: #555;
}

.custom-btn input, select {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 3px;
  margin: 3px;
}

#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: #eee;
  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%;
  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;
  }
}

.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%;}



/* 최신글 - 게시판 */
.div-padding {
  margin: 0 auto;
  padding: 10px;
}



/* chat ai 말풍선 */
.messageHuman {
  position:relative; float:right; margin:5px 5px 5px 60px; 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 75px 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: #777; 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 #777; 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:5px auto; padding: 10px; width:90%; max-width:390px; min-width: 300px; height:auto;
  color: black; background: #eee; text-align: left; font-size: 1em; line-height: 1.5em; 
  border-top: 2px solid black; border-bottom: 2px solid black;
}
.messageInfo2 {
  position:relative; margin:5px auto; padding: 10px; width:90%; max-width:390px; min-width: 300px; 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;
}

.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;
    }
}



/* 만세력 */
#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: #eee;}
/* .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;}





/* 구글 번역 */
/* #google_translate_element select option {
  background-color: #777;
  color: white;
  border: none;
}
#google_translate_element > div > div {
  position: relative;
  min-width: 100px;
  height: 31px;
  margin-bottom: 3px;
}
#google_translate_element > div > div > select::-ms-expand {
  display: none;
}
#google_translate_element > div > div:after {
  content: "<>"; 
  font: 10px "Consolas", monospace;
  color: #ccc;
  transform: rotate(90deg);
  right: 8px;
  top: 10px;
  padding: 0 0 2px;
  position: absolute;
  pointer-events: none;
}
#google_translate_element > div > div > select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  max-width: 180px;
  height: 27px;
  float: right;
  padding: 1px 15px;
  font-size: 13px;
  line-height: 1.5;
  color: white;
  background: linear-gradient(to top, #777, transparent);
  border: 1px solid silver;
  -ms-word-break: normal;
  word-break: normal;
  border-radius: 5px;
} */





.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 #777;
  border-radius: 20px;
  background: #fff;
  padding: 7px 10px;
  margin-right: 7px;
  outline: none;
  box-sizing: border-box; /* 패딩을 포함한 전체 너비 계산 */
  width: calc(100% - 47px); /* 버튼 너비(40px)와 마진(7px)을 제외한 너비 */
}
#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;
}
