/* 기본설정 및 navbar 관련*/
@font-face {
    font-family: 'Pretendard Variable';
    font-weight: 45 920;
    font-style: normal;
    font-display: swap;
    src: local('Pretendard Variable'),
         url('../fonts/PretendardVariable.woff2') format('woff2-variations');
}

:root {
    --text-color: #555;
    --background-color: white;
    --accent-color: rgb(87, 170, 166)
}      
body {
    margin : 0;
    padding: 0;
    height: 100%;
    font-family:'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    background-color: white;
}
a {
    text-decoration: none;
    color: var(--text-color);
}
section {
  margin: 0; padding: 0;
}
div {
  margin: 0;
  padding: 0;  
  text-align: center;
}
table {
  margin: 0 auto;
  padding: 0;
}
img {
  display: inline;
  margin: 0 auto;
  max-width: 100%;
 }
footer {
  position : fixed;
}

.topbar {
  display: flex; /* display 속성을 flex로 변경 */
  align-items: center; /* 세로 중앙 정렬 */
  justify-content: space-between; /* 가로 정렬을 양쪽 끝으로 설정 */
  width: 100%; 
  height: 85px; 
  top: 0; 
  left: 0; 
  background-color: white;
}
.main {padding: 30px 10px;}
.divText {margin: 0 auto; text-align: center; max-width: 1000px;}
 
/* head 네비바 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%; 
    height: 40px;
    line-height: 40px;
    margin: 0px auto;
    padding: 11px 10px;  
    font-size: 20px; 
    position: relative;
}
.navbar__logo {
    color: rgb(100, 150, 200);   
    font-size: 21px; 
    position: absolute;
    left: 15px;
}
.navbar__logo img {
  margin-left: 15px;
  height: 25px;
  width: auto;
}
.navE {
  width: 14px;
  height: auto;
  margin-left: -7px;
  margin-right: -7px;
  margin-bottom: -1px;
}

.navbar__menu {
    display: flex;
    list-style: none;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.navbar__menu li {
    color: var(--text-color);
    padding: 0px 15px;
}
.navbar__menu li:hover {
    color: #9ecad1;
}
.navbar__icons {
    list-style: none;
    display: flex;
    position: absolute;
    right: 15px;
    margin: 0;
    padding: 0;
}
.navbar__icons li {
    color: var(--text-color);
    padding: 0px 10px; 
    font-size: 17px; 
}
.navbar__icons li:hover {
    color: #9ecad1;}
.navbar__toggleBtn {
    display: none;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 22px;
    color: rgb(100, 150, 200);
    cursor: pointer;
}
@media screen and (max-width: 800px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 13px 10px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: white;
        z-index: 10000;
    }
    
    .navbar__logo {
        position: static;
        margin-bottom: 10px;
    }
    .navbar__logo img {
      margin-bottom: -13px;
    }
    .navbar__menu {
        position: static;
        transform: none;
        display: none;
        flex-direction: column;
        width: 100%;
        margin: 10px 0;
        background-color: white;
        padding: 10px 0;
        padding-top: 20px;
        /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    }
    
    .navbar__icons {
        position: static;
        display: none;
        width: 100%;
        padding: 20px;
        justify-content: center;
        background-color: white;
        border-bottom-right-radius: 20px;
        box-shadow: 0 3px 0px rgba(0,0,0,0.1);
    }
    
    .navbar__toggleBtn {
        display: block;
        position: absolute;
        right: 25px;
        top: 20px;
        z-index: 1000;
    }
    
    .navbar__menu.active,
    .navbar__icons.active {
        display: flex;
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .navbar__menu li,
    .navbar__icons li {
        width: 100%;
        text-align: center;
        padding: 5px 10px;
    }

    /* .navbar__menu li:hover,
    .navbar__icons li:hover {
      border-radius: 5px;
      background: #eee;
    } */
}


/*드롭다운 공유버튼*/
.dropup {
	position: fixed; 
  right: 20px; 
  bottom:20px;
	display: inline-block;
  z-index: 9999;
}
.dropbtn {
	background-color:rgba(255, 255, 255, 0);
	padding: 0px;
	border: none;
}
.dropup-content {
	display: none;
	position: absolute;
	background-color: none;
	bottom: 50px;
	z-index: 1;
}
.dropup-content a {
	color: none;
	padding: 0px 0px 10px 0px;
	text-decoration: none;
	display: block;
}
.dropup-content a:hover {
    background-color: none;
}
.dropup:hover .dropup-content {
  display: block;
}
.dropup:hover .dropbtn {
  background-color: none;
}
.share {
  width: 50px; 
  height: auto;
}
/*기타*/
.pointer {
  cursor: pointer;
}


/* .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;
}

.tarotUserInput {
  display: flex;
  margin: 10px auto;
  margin-top: 50px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box; /* 패딩을 포함한 전체 너비 계산 */
}
.tarotUserInput input {
  flex: 1;
  height: 40px;
  border: 2px solid #777;
  border-radius: 20px;
  background: #fff;
  padding: 5px 10px;
  margin-right: 10px;
  outline: none;
  box-sizing: border-box; /* 패딩을 포함한 전체 너비 계산 */
  width: calc(100% - 47px); /* 버튼 너비(40px)와 마진(7px)을 제외한 너비 */
}
#userInputButton {
  border: none;
  border-radius: 30px;
  background-color: #3182ce;
  color: white;
  cursor: pointer;  
  padding: 10px 20px;
}
#userInputButton span {
  font-size: 1.2em;
}
#voiceInputButton {
  border: none; background: none; color: #555;
}
#generateDefault, #button-callgame {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}


/* input 버튼 기본 */
.custom-btn {
  width: 200px;
  height: 35px;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}
.btn-0 {
  background: #8fa3b6;
  border: none;
  color: white;
  padding: 0;
  box-shadow:
   -3px -3px 10px 0px #fff8,
   -2px -2px 3px 0px #fff8,
   3px 3px 10px 0px #0002,
   2px 2px 3px 0px #0001;
}
.btn-0:hover {
  background: gray;
  border: none;
}



.slideshow-mobile {
  display: flex;
  width: 100%;
  justify-content: center;
  position: relative;
  margin: auto;
}
.slideshow-mobile:hover {
  cursor: pointer;
}
.Slidesbackground {
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh;
}
.Slidesbackground img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}
.slideshow-image1 {
  /* border-radius:3%; */
  width: 100%;
  height: 500px; /* 기본 높이 설정 */
  height: auto;
  overflow: hidden;
  object-fit: cover; /* 비율 유지 */
}
.slideshow-image2 {
  /* border-radius:3%; */
  width: 100%;
  height: 500px; /* 기본 높이 설정 */
  height: auto;
  overflow: hidden;
  object-fit: cover; /* 비율 유지 */
}
.slideshow-image3 {
  /* border-radius:3%; */
  width: 100%;
  height: 500px; /* 기본 높이 설정 */
  height: auto;
  overflow: hidden;
  object-fit: cover; /* 비율 유지 */
} 
.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;
  }
}

.slide-text {position: absolute; top: 120px; left: 0px; width:100%; color:white; z-index: 99;}
.slide-text h3 {font-size: 2.5rem;}
.slide-text p {font-size: 1.5rem;}

.guide p {font-size: 1em; line-height: 1.8em; color: #555; padding: 0px 20px 0px 15px;}
.text_border {width: 50%; max-width: 300px; margin: 0 auto;}

/* 모바일 대응을 위한 미디어 쿼리 */
@media screen and (max-width: 480px) {
  .tarotUserInput {
    padding: 10px;
    margin-top: 30px;
  }
  
  .tarotUserInput input {
    height: 35px;
    padding: 5px 10px;
  }
}

.chat-container {
  margin: 0 auto;
  width: 100%;
  max-width: 430px;
  min-width: 200px;
  box-sizing: border-box;
}

/* 모바일 대응을 위한 미디어 쿼리 추가 */
@media screen and (max-width: 480px) {
  .chat-container {
    padding: 0 10px;
  }
}

@media screen and (max-width: 480px) {
  .Slidesbackground {
    height: 100vh;
  }
  
  .Slidesbackground img {
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.rounded-full {
  border-radius: 9999px;
}

.circle-box {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  text-align: center;
  padding: 20px;
  margin: 0 auto;
}

@media screen and (max-width: 480px) {
  .circle-box {
    width: 150px;
    height: 150px;
  }
}

.sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.copy {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 20px 10px;
  color: #aaa;
  font-size: 13px;
  background-color: #fff;
  z-index: 10;
}
