@import url("./font-face.css");

/* scroll-bar */

#fixed_contact_box {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  right: 50px;
  bottom: 50px;
  z-index: 2;
}
#fixed_contact_box #scroll_top {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8056dc;
  margin-bottom: 10px;
}
#fixed_contact_box > a:first-child {
  background-color: #8056dc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  padding: 25px;
  box-shadow: 0px 4px 4px 0px #00000040;
  margin-bottom: 30px;
}
#fixed_contact_box .contact_button_list > li > a {
  width: 70px;
  height: 70px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: white;
  background-color: #8056dc;
  border-radius: 50%;
}
#fixed_contact_box .contact_button_list > li > a img {
  width: 35px;
}

/* header */
#header_container {
  width: 100vw;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  transition: 0.4s;
  z-index: 9999999999;
  position: fixed;
  top: 0;
  background-color: white;
  left: 0;
  align-items: center;
}
.header_fixed_margin {
  background-color: #0e1e31;
  padding-bottom: 86px;
}
#header_container.header_main {
  background-color: #0e1e31;
}
#header_container.header_main .header_nav > div > a {
  color: white;
  /* transition: 0.4s; */

  padding: 4px 10px;
}
.header_end_contents {
  display: flex;
  align-items: center;
}
.header_nav {
  display: flex;
  align-items: center;
}
.header_nav > div {
  margin: 0 30px;
}
.header_nav > div:nth-child(5) {
  margin-right: 0px;
}
#header_container.header_main .header_nav > div.active > a {
  border-radius: 999px;
  background: #fff;
  color: #0e1e31;
}
.header_nav > div > a {
  font-size: 20px;
  color: #0e1e31;
}
.header_main .header_menu_btn > span {
  background-color: white;
}

.header_menu_btn {
  display: flex;
  margin-left: 30px;
}
.header_menu_btn > span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0e1e31;
}
#header_container.main_page_header .header_menu_btn > span {
  background-color: white;
}
.header_menu_btn > span:nth-child(2) {
  margin: 0 8px;
}
.close_button {
  color: #0e1e31;
  display: none;
  margin: 0;
}
.header_nav > div.close_button {
  margin: 0;
}
.header_main .close_button {
  color: white;
}
.header_menu_btn {
  display: none;
}

@media (max-width: 900px) {
  .header_menu_btn {
    display: flex;
  }
  .header_nav {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    flex-direction: column;
    justify-content: space-evenly;
    display: none;
    z-index: 9999;
  }
  .header_main .header_nav {
    background-color: #0e1e31;
  }
  .header_nav.on {
    display: flex;
  }
  .header_nav > div > a {
    font-size: 40px;
    text-transform: uppercase;
    font-family: "Moderniz";
    text-align: center;
    transition: 0.4s;
  }
  .header_nav > div > a:hover {
    color: #8056dc;
  }
  .close_button {
    position: absolute;
    right: 15px;
    top: 10px;
    font-family: "Moderniz";
    display: block;
    font-size: 40px;
    cursor: pointer;
  }
  .header_nav > div:nth-child(5) {
    margin-right: 30px;
  }
}

/* footer */

#footer_container {
  background-color: #0e1e31;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  margin-top: 200px;
  padding: 40px 190px;
  position: relative;
}
#footer_container > h2 {
  color: white;
  font-size: 50px;
  margin-bottom: 20px;
}
#footer_container > .footer_contact_link {
  width: fit-content;
  background-color: #8056dc;
  padding: 16px 30px;
  border-radius: 100px;
  color: white;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}
#footer_container > .footer_contact_link > img {
  margin-left: 18px;
}
#footer_container > hr {
  border: none;
  width: 100%;
  height: 1px;
  background-color: #e7eaf1;

  margin-bottom: 39px;
}
#footer_container h3 {
  margin-bottom: 30px;
}
#footer_container > .footer_contents_list {
  width: 100%;
}
#footer_container > .footer_contents_list .footer_contents_list_wrapper div {
  color: #ffffff80;
}
#footer_container > .footer_contents_list .footer_contents_list_wrapper {
  display: flex;
  color: white;
  align-items: flex-end;
  width: 100%;
  justify-content: space-between;
}
#footer_container
  > .footer_contents_list
  .footer_contents_list_wrapper
  > ul
  > li {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 15px;
  font-weight: 400;
}

#footer_container
  > .footer_contents_list
  .footer_contents_list_wrapper
  > ul
  > li
  > div {
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
#footer_container
  > .footer_contents_list
  .footer_contents_list_wrapper
  > ul
  > li
  > div {
  display: flex;
  align-items: center;
}
#footer_container
  > .footer_contents_list
  .footer_contents_list_wrapper
  > ul
  > li
  > div
  strong {
  color: white;
  margin-left: 10px;
  display: block;
}
#footer_container
  > .footer_contents_list
  .footer_contents_list_wrapper
  > ul
  > li
  > span {
  display: block;
  width: 1px;
  height: 10px;
  background-color: white;
  margin: 0 20px;
}
#footer_container > .footer_contents_list .footer_contents_list_wrapper > a {
  color: white;
  font-size: 14px;
  line-height: 19.4px;
}
#footer_container
  > .footer_contents_list
  .footer_contents_list_wrapper
  > ul
  > li:last-child {
  margin-bottom: 0;
}
#footer_container .top_btn {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 69px;
  right: 10%;
  cursor: pointer;
}
#footer_container .top_btn img {
  width: 100%;
  height: 100%;
}
.copylight {
  font-size: 14px;
  line-height: 19.5px;
}

.public_wrapper {
  width: 100%;
  max-width: 1572px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}
.swiper-container {
  height: fit-content !important;
}
#footer_container .contact_button_list .top_btn {
  width: 80px;
  height: 80px;
  position: absolute;
  top: -90px;
  right: -4%;
  cursor: pointer;
}

@media (max-width: 1500px) {
  .copylight {
    font-size: 12px;
    line-height: 19.5px;
  }
}
@media (max-width: 1280px) {
  #footer_container h3 {
    margin-bottom: 20px;
  }
  .public_wrapper {
    width: 100%;
    max-width: 980px;
  }
  #footer_container {
    margin-top: 200px;
    padding: 40px 150px;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li
    > div {
    font-size: 14px;
  }
  #footer_container > .footer_contents_list .footer_contents_list_wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .copylight {
    margin-top: 10px;
  }
}

@media (max-width: 900px) {
  #footer_container .contact_button_list .top_btn {
    width: 50px;
    height: 50px;
    top: -62px;
    right: 0%;
  }
  #footer_container .top_btn {
    top: 47px;
    right: 3%;
  }
  #footer_container {
    margin-top: 100px;

    padding: 44px 100px;
    font-size: 13px;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li {
    margin-bottom: 0;
    flex-wrap: wrap;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li
    > div {
    font-size: 13px;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li
    > div
    strong {
    font-size: 13px;
  }
  #footer_container > h2 {
    margin-bottom: 10px;
  }
  #footer_container > .footer_contact_link {
    margin-bottom: 30px;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li
    > span {
    margin: 0 2vw;
  }

  #footer_container > .footer_contents_list .footer_contents_list_wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  .copylight {
    margin-top: 10px;
  }
  #header_container {
    padding: 17px 16px;
  }
  .header_fixed_margin {
    padding-bottom: 50.44px;
  }
}
@media (max-width: 700px) {
  #footer_container {
    padding: 44px 20px;
  }
}

@media (max-width: 600px) {
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li {
    margin-bottom: 5px;
  }
  #footer_container .top_btn {
    width: 40px;
    height: 40px;
    top: 48px;
    right: 3%;
  }
  #footer_container {
    padding: 40px 20px;
  }
  #footer_container > h2 {
    font-size: 8vw;
    margin-bottom: 5vw;
  }
  #footer_container > .footer_contents_list {
    display: block;
  }
  #footer_container > hr {
    margin-bottom: 10vw;
  }
  #footer_container > .footer_contact_link {
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 15px;
  }
  #footer_container {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
  }
  .footer_contents_list ul {
    /* margin-bottom: 5vw; */
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li
    > div
    strong {
    font-size: 11px;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    > ul
    > li
    > div {
    font-size: 11px;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    .mobile_none {
    display: none;
  }
  #footer_container
    > .footer_contents_list
    .footer_contents_list_wrapper
    div.copylight {
    font-size: 2.5vw;
    margin-top: 0;
    color: #ffffff80;
  }
  #footer_container h3 img {
    width: 35vw;
  }
}

@media (max-width: 588px) {
  .header_fixed_margin {
    padding-bottom: 50.44px;
  }
  #header_container {
    padding: 17px 16px;
  }
  #header_logo img {
    width: 122px;
    vertical-align: middle;
  }

  .white_circle {
    width: 80px;
    height: 80px;
    bottom: -40px;
    right: -40px;
  }
}

/* scroll-bar */
.main_fixed_contact {
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  right: 50px;
  bottom: 50px;
  z-index: 10;
}
.main_fixed_contact .scroll_top {
  border-radius: 100px;
  background-color: #8056dc;
  margin-bottom: 23px;
  box-shadow: 0px 4px 4px 0px #00000040;
}
.main_fixed_contact .scroll_top > div {
  gap: 10px;
  display: flex;
  margin: 20px;
  flex-direction: column;
  align-items: center;
}
.main_fixed_contact .scroll_top > div > p {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;

  text-underline-position: from-font;
  text-decoration-skip-ink: none;

  color: #ffffff;
}

.main_fixed_contact > a:first-child {
  background-color: #8056dc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: white;
  padding: 25px;
  box-shadow: 0px 4px 4px 0px #00000040;
  margin-bottom: 30px;
}
.main_fixed_contact .contact_button_list > li > .button_wrap {
  border: 1px solid #8056dc;
  gap: 20px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;

  background-color: #fff;
  border-radius: 100px;

  box-shadow: 0px 4px 4px 0px #00000040;
}
.main_fixed_contact .contact_button_list > li > .button_wrap div {
  text-align: center;
}

.main_fixed_contact > button {
  display: none;
}
.main_fixed_contact .contact_button_list {
  display: block;
}
.main_fixed_contact .contact_button_list > li > .button_wrap img {
  width: 35px;
}

.main_fixed_contact
  .contact_button_list
  > li
  > .button_wrap
  > a:nth-of-type(1) {
  margin: 20px 20px 0 20px;
  gap: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main_fixed_contact
  .contact_button_list
  > li
  > .button_wrap
  > a:nth-of-type(2) {
  margin: 0px 20px 20px 20px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main_fixed_contact .contact_button_list > li > .button_wrap > a > p {
  color: #8056dc;
  font-weight: 500;
  line-height: 16px;
}
@media (max-width: 965px) {
  .header_nav > div {
    margin: 0 20px;
  }
}
@media (max-width: 900px) {
  .main_fixed_contact {
    right: 20px;
  }
  .main_fixed_contact .contact_button_list > li > .button_wrap img {
    width: 30px;
  }
  .main_fixed_contact .contact_button_list > li > .button_wrap {
    width: 50px;
    height: 150px;
    gap: 5px;
  }
  .main_fixed_contact .contact_button_list > li > .button_wrap div p {
    font-size: 14px;
  }
  .header_nav.on {
    align-items: center;
  }
  .header_nav.on > div {
    margin: 0 250px;
  }
  .header_nav.on .close_button {
    margin: 0 30px;
  }
}
/* 965 기준 헤더 반응형으로 좀 줄어들게 */

@media (max-width: 360px) {
  .header_nav.on > div > a {
    font-size: 28px;
  }
  .header_nav.on .close_button {
    right: -10px;
    font-size: 28px;
  }
}

@media (max-height: 280px) {
  .header_nav.on {
    overflow-x: hidden;
  }
}
