* {
  margin: 0;
  padding: 0;
}
.logo {
  width: 44px;
  height: 44px;
}
body{
  font-family: "IBM Plex Sans KR", sans-serif;
  font-weight: 400;
  font-style: normal;
}



/* darkmode */
body.lite {
  background: white;
  color: #151515;
  transition: all 0.2s ease-in;
}
body.dark {
  background: #151515;
  color: white;
  transition: all 0.2s ease-in;
}

/* nav */
nav {
  position:fixed;
  width: 100%;
  height: 80px;
  color: white;
  background-color: #609fd6;
  border-bottom: 1px solid #609fd6;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2); /* 그림자 설정 */
  transition: all 0.2s ease-in;
}

nav.nav_dark {
  background-color: #151515;
  border-bottom: 1px solid #5f5f5f;
  box-shadow: 0 2px 4px rgba(141, 141, 141, 0.2); /* 그림자 설정 */
  transition: all 0.2s ease-in;
}
.nav_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  height: 60px;
}

/* toggle */
.toggleSwitch {
  width: 55px;
  height: 30px;
  display: block;
  position: relative;
  border-radius: 30px;
  background-color: #fff;
  box-shadow: 0 0 16px 3px rgba(0 0 0 / 15%);
  cursor: pointer;
}

.toggleSwitch .toggleButton {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 4px;
  transform: translateY(-50%);
  border-radius: 50%;
}
.toggleSwitch {
  background: #e0e0e0;
}
.toggleSwitch.active {
  background: #5c5c5c;
}

.toggleSwitch.active .toggleButton {
  left: calc(100% - 25px);
  background: #fff !important;
}

.toggleSwitch,
.toggleButton {
  transition: all 0.2s ease-in;
}

.toggleButton {
  display: inline-block;
  position: relative;
  background: #ffffff;
}

.toggleSwitch.blue.active {
  background: #5151e5;
}

.toggleSwitch.blue .toggleButton {
  background: #5151e5;
}

/* display mode img */
.display_mode_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
}

main {
  padding: 80px 0 0 0;
  display: flex;
  justify-content: center;
}
.container {
  width: 440px;
  padding: 0 20px;
  margin: 50px 0;
}

.wave_select_wrap {
  display: flex;
}
.radio_wave {
  display: none;
}

.custom-radio + label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  background-color: #88b4da;
  color: black;
  border: 1px solid #79acd8;
  transition: all 0.2s ease-in;
}

.custom-radio:checked + label {
  background-color: #609fd6; /* 체크된 상태의 배경 색상 변경 */
  color: white;
  transition: all 0.2s ease-in;
}

.custom-radio + label.label_dark{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 110px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  background-color: #3a3a3a;
  color: white;
  border: 1px solid rgb(118, 118, 118);
  transition: all 0.2s ease-in;
}
.custom-radio:checked + label.label_dark{
  background-color: #151515;
  color: white;
  transition: all 0.2s ease-in;
}


.frequency_wrap{
  height: 100px;
}
.flex_center{
  display: flex;
  justify-content: center;
  align-items: center;
}
.m_20_0{
  margin: 20px 0
}
.frequency_bar_wrap{
  margin-top: 40px;
}


/* range bar custom */
#bar_frequency {
  -webkit-appearance: none;
  appearance: none; 
  width: 340px;
  cursor: pointer;
  outline: none;
  overflow: hidden;
  border-radius: 16px;
}

#bar_frequency::-webkit-slider-runnable-track {
  height: 15px;
  background: #ccc;
  border-radius: 16px;
  transition: all 0.2s ease-in;
}

#bar_frequency::-moz-range-track {
  height: 15px;
  background: #ccc;
  border-radius: 16px;
  transition: all 0.2s ease-in;
}

#bar_frequency::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none; 
  height: 15px;
  width: 15px;
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #609fd6;
  box-shadow: -407px 0 0 400px #609fd6;
  transition: all 0.2s ease-in;
}

#bar_frequency::-moz-range-thumb {
  height: 15px;
  width: 15px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #609fd6;
  box-shadow: -407px 0 0 400px #609fd6;
  transition: all 0.2s ease-in;
}


/* range bar dark */
#bar_frequency.range_dark::-webkit-slider-runnable-track {
  height: 15px;
  background: #ccc;
  border-radius: 16px;
  transition: all 0.2s ease-in;
}

#bar_frequency.range_dark::-moz-range-track {
  height: 15px;
  background: #ccc;
  border-radius: 16px;
  transition: all 0.2s ease-in;
}

#bar_frequency.range_dark::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none; 
  height: 15px;
  width: 15px;
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #eab44f;
  box-shadow: -407px 0 0 400px #eab44f;
  transition: all 0.2s ease-in;
}

#bar_frequency.range_dark::-moz-range-thumb {
  height: 15px;
  width: 15px;
  background-color: #fff;
  border-radius: 50%;
  border: 1px solid #eab44f;
  box-shadow: -407px 0 0 400px #eab44f;
  transition: all 0.2s ease-in;
}







label[for="bar_frequency"]{
  margin-right: 10px;
}

#span_frequency{
  width: 70px;
  height: 35px;
  font-size: 25px;
  text-align: right;
  outline: none;
  border-style: none;
  border-bottom: 1px solid lightgrey;
  transition: all 0.2s ease-in;
}
#span_frequency.input_dark{
  background-color: #151515;
  border-bottom: 1px solid rgb(118, 118, 118);
  color: white;
  transition: all 0.2s ease-in;
}
.hz{
  display: inline-block;
  width: 40px;
  font-size: 20px;
  margin-left: 5px;
}

#btn{
  width: 100%;
  height: 35px;
  background-color: #609fd6;
  color: white;
  border-style: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease-in;
}
#btn.btn_dark{
  background-color: #3a3a3a;
  transition: all 0.2s ease-in;
}

#btn:active{
  opacity: .8;
}



/* 사용법 */
.how_to_use{
  margin: 40px 0 20px 0;
  width: 440px;
  border: 1px solid #5884ab;
  border-radius: 3px;
}
.how_to_use.htu_dark{
  border-style: none;
  /* border: 1px solid rgb(118, 118, 118); */
}
.htu_h3{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  background-color: #609fd6;
  color: white;
  font-size: 14px;
  transition: all 0.2s ease-in;
}
.htu_h3.htu_h3_dark{
  background-color: #2b2b2b;
  transition: all 0.2s ease-in;
}
.description{
  border-top-style: none;
  transition: all 0.2s ease-in;
}
.description.desc_dark{
  border-style: none;
  background-color: #3a3a3a;
  transition: all 0.2s ease-in;
}

.description p{
  font-size: 15px;
  padding: 10px;
}

/* table */
table{
  margin: 40px 0 20px 0;
  width: 100%;
  border-collapse: collapse;
}
table th, td{
  border: 1px solid #5884ab;
  width: 50%;
  height: 35px;
  text-align: center;
  transition: all 0.2s ease-in;
}
table th{
  background-color: #609fd6;
  color: white; 
  transition: all 0.2s ease-in;
}
table th.th_dark{
  background-color: #2b2b2b;
  border-color: #151515;
  transition: all 0.2s ease-in;
}
table td.td_dark{
  background-color: #3a3a3a;
  border-color: #151515;
  transition: all 0.2s ease-in;
}


/* checkbox */
input[type="checkbox"] {
  display: none; /* 기본 체크박스 숨기기 */
}

label[for="auto_increment"] {
  display: inline-block;
  margin-right: 5px;
  padding: 7px;
  cursor: pointer;
  background-color: #e0e0e0;
}

/* 체크된 상태일 때의 스타일 */
input[type="checkbox"]:checked + label {
  background-color: #609fd6; /* 체크된 경우의 배경색 */
  color: white; /* 체크된 경우의 텍스트 색상 */
  position: relative;
  transition: all 0.2s ease-in;
}

input[type="checkbox"]:checked + label.check_dark {
  background-color: #eab44f; /* 체크된 경우의 배경색 */
  transition: all 0.2s ease-in;
}

input[type="checkbox"]:checked + label::before {
  content: '\2713'; /* 체크 모양 유니코드 */
  font-size: 9px; /* 체크 모양 크기 조절 */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* footer */
footer{
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  width: 100%;
  height: 170px;
  background-color: rgb(227, 227, 227);
  transition: all 0.2s ease-in;
}
footer.footer_dark{
  background-color: #2b2b2b;
  transition: all 0.2s ease-in;
}

footer h4{
  color: rgb(149, 149, 149);
}

.share_container{
  display: flex;
  align-items: center;
}
.share_content{
  display: flex;
  justify-content: center;
}
.link-icon { position: relative; display: flex; justify-content: center; width: 60px; font-size: 14px; font-weight: 500; color: #333;  padding: 20px 0 20px 0; }
.link-icon.twitter {background-repeat: no-repeat;}
.link-icon.facebook {background-repeat: no-repeat;} 
.link-icon.kakao {background-repeat: no-repeat;}

.naver_btn{
  position: relative;
  width: 60px;
  height: 40px;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.naver_btn a{
  width: 0;
  height: 0;
}
#naver{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.copyright{
  color: rgb(162, 162, 162);
}


/* menu */
#Accordion_wrap{
  position: fixed;
  width: 100%;
  z-index: 11;
  color: black;
  top:80px;
  height: 10px;
}
.menu_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: white;
  width: 100px;
  height: 20px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  margin-top:1px;
  border: 1px solid rgb(195, 195, 195);
  border-top-style: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0 0 16px 0px rgba(0 0 0 / 15%);
  transition: all 0.2s ease;
}

.menu_btn.menu_btn_dark{
  background-color: #3a3a3a;
  color:white;
  transition: all 0.2s ease;
  border-style: none;
}
.menu_btn.on > span {
  font-weight: bold;
  color: #006633;
}
.menu {
  height: 0;
  overflow: hidden;
  font-size: 14px;
  background-color: white;
  box-shadow: 0 0 10px 0px rgba(0 0 0 / 15%);
  transition: all 0.2s ease; /* 슬라이드 업/다운 효과를 위한 트랜지션 추가 */
}
.menu.open{
  height: 250px;
}
.menu.menu_dark{
  background-color: #3a3a3a;
  color: white;
  transition: all 0.2s ease;
}
.menu_container{
  height: 210px;
  margin: 20px 0;
  padding: 0 20px;
}
.menu_container a{
  text-decoration: none;
  color: #3a3a3a;
}
.menu_container a.link_dark{
  text-decoration: none;
  color: white;
}
.menu_content{
  float: inline-start;
  display: inline-block;
  width: 20%;
}

.menu_content ul li{
  list-style-type:none;
  margin: 5px 0;
}
.menu_container .content_type{
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 15px;
}
@media screen and (max-width: 768px) {

  .menu.open{
    position: relative;
    height: 350px;
    overflow: scroll;
    z-index: 10;
  }
  .menu_container {
    margin: 0;
    padding: 0;
    height: calc(100vh - 120px);
  }
  .menu_content{
    width: 100%;
    transition: all 0.2s ease;
  }
  .menu_content ul li, .menu_content p{
    margin: 0 !important;
    padding: 5px 0 !important;
    border-bottom: 1px solid lightgray;
  }
  .menu_content ul{
    display: none;
  }
  .menu_content ul.content_open{
    display: block;
  }

}
.frequency_text{
  margin-bottom: 5px;
  display: none;
}
@media screen  and (max-width: 426px){
  .container{
    width: 300px;
  }
  #bar_frequency{
    width: 300px;
  }
  .frequency_bar_wrap{
    flex-direction: column;
  }
  .frequency_bar_wrap label{
    display: none;
  }
  .frequency_text{
    display: block;
  }
  .how_to_use{
    width: 300px;
  }
}