/* 언어 선택 드롭다운 시작 ///////////////////////// */
.dropdown {
  position: relative;
  float: right;
  width: 76px;
}

.dropdown-button {
  background-color: white;
  padding: 8px 10px 8px 14px;
  font-size: .9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border: none;
  width: 100%;
}

.dropdown-arrow {
  width: 12px;
  transition: transform 0.3s ease;
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  font-size: .9rem;
  border-top: 1px solid #ccc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 1;
}

.dropdown-list.active {
  max-height: 500px;
}

.dropdown-list.active + .dropdown-button img {
  transform: rotate(180deg);
}

.dropdown-item {
  padding: 8px 14px;
  cursor: pointer;
  background-color: white;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}
/* 언어 선택 드롭다운 끝 ///////////////////////// */


.wrap{
  width: 100%;
  max-width: 100%;
  position: relative;
}

header{
  width: 100%;
  height: 94px;
  position: absolute;
  top: 0;
  left: 0;
  padding: 30px;
  z-index: 100;
}

.logo{
  width: 116px;
  float: left;
}

.top{
  width: 100%;
  height: 464px;
  background-image: url('img/mainheaderimg.png');
  background-size: cover;
  background-position: center;  
  background-repeat: no-repeat;  
  position: relative;
}

.top-in-text{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 140px;
}

.top-in-text > p{
  font-size: 1.625rem;
  color: white;
  line-height: 40px;
  padding-bottom: 30px;
  text-align: center;
  letter-spacing: -1px;
}

.top-in-text > h1{
  font-size: 2.5rem;
  color: white;
  line-height: 40px;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: -1px;
}







.container{
  width: 100%;
  position: relative;
}

.container-introduction{
  width: 800px;
  height: 483px;
  margin: 30px auto 100px auto;
  position: relative;
}

.container-introduction-left{
  width: 60%;
  float: left;
  position: relative;
  top: 48px;
}

.introduction-group{
  display: flex;
  justify-content: space-between;
}

.introduction{
  float: left;
  padding-bottom: 50px;
  display: grid;
}

.introduction-Questions{
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 40px;
  float: left;
}

.introduction-bar{
  height: 4px;
  width: 100%;
  background-color: #313131;
}

.introduction-Answers{
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 40px;
}

.introduction-text{
  line-height: 28px;
  padding-bottom: 50px;
}

.top-download{
  width : 200px;
}

.phone-mockup{
  width: 240px;
  position: absolute;
  right: 0;
}




.container-box{
  width: 800px;
  margin:0 auto  100px auto;
  position: relative;
}

.container-box>h1{
  line-height: 40px;
  font-weight: 700;
  letter-spacing: -1px;
}

.container-box-img{
  margin: 20px 0;
}

.container-box > p {
  line-height: 28px;

}



.applogoanddownload{
  width: 400px;
  margin: 0 auto  100px auto;
}

.ubhind{
  width: 110px;
  margin: 0 auto;
  padding-bottom: 20px;
}

.download{
  width: 200px;
  margin: 0 auto;
}



footer{
  width: 100%;
  height: 200px;
  position: relative;
  bottom: 0;
  left: 0;
  background-color: #353535;
}
.footer-center-box{
  width: 400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-center-box > div {
  margin: 14px 0;
  color: white;
  font-family: sans-serif;
  font-weight: 200;
  letter-spacing: 1px;
}
.email {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 맨위로 스크롤 버튼 */
.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: none; /* 기본은 숨김 */
  z-index: 9999;
  transition: opacity 0.3s ease;
  transition: transform 0.3s ease;
}

.scroll-top-btn:hover {
  transform: translateY(-6px) scale(1.15);
}

.top-download-mo{
  display: none;
}


/* ----------- 모바일 반응형 시작 ----------- */
@media screen and (max-width: 830px) {

header {
  padding: 20px;
  height: auto;
}

.logo {
  width: 100px;
}

.dropdown {
  width: 70px;
}

.top {
  height: 328px;
}

.top-in-text {
  top: 115px;
  padding: 0 20px;
}

.top-in-text > p {
  font-size: 1.1rem;
  line-height: 24px;
}

.top-in-text > h1 {
  font-size: 1.6rem;
  line-height: 32px;
}

.introduction-Questions {
  padding-right: 10px;
  line-height : 30px;
  font-size: 1rem;
}

.introduction-Answers{
  padding-left : 10px;
  line-height : 30px;
   font-size: 1rem;
}

  .introduction-bar{
  height: 16px;
  width: 3px;
  background-color: #313131;
  line-height : 30px;
}

.introduction-text{
  text-align : left;
  margin-top : 30px;
  padding-bottom: 30px;
}

.container-introduction {
  width: 90%;
  height: auto;
  margin: 30px auto 30px auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
}

.container-introduction-left {
  width: 100%;
  float: none;
  top: 0;
  background-color: #fcfcfc;
  padding: 30px 0 70px 0;
}

.introduction-group {
  flex-direction: column;
  gap: 20px;
}

.introduction {
  float: none;
  padding-bottom: 0px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.phone-mockup {
  width: 94%;
  max-width : 400px;
  padding-left : 20px;
  max-height : 400px;
  position: static;
}

.container-box {
  width: 90%;
  margin: 0 auto 80px auto;
}

.container-box > h1 {
  font-size: 1.4rem;
}

.applogoanddownload {
  width: 90%;
  margin: 0 auto 60px auto;
}


.ubhind {
  width: 90px;
}

.download {
  width: 180px;
}

footer {
  height: auto;
  padding: 20px 0;
}

.footer-center-box {
  width: 90%;
}

.scroll-top-btn {
  width: 44px;
  height: 44px;
  bottom: 20px;
  right: 10px;
}

.email, .copy{
  font-size : .8rem;
}

.dropdown-button {
  font-size: 0.8rem;
}

.top-download{
  display: none;
}

.top-download-mo{
width: 200px;
margin-bottom: 30px;
display: block;
}


}
/* ----------- 모바일 반응형 끝 ----------- */