@charset "utf-8";

/* 헤더 */
.header {
  width: 100%;
  /* height: 4.8rem; */
  float: right;

  background-color: #063a6d;
}
.b1400 {
  width: 1300px;
  display: flex;
  padding: 1rem;
  margin: 0 auto;
  /* border: 1px solid red; */
  justify-content: flex-end;
  /* padding-right: 30px 0; */
}

#input {
  /* border: 0; */
  border: 1px solid red;
  font-size: 1rem;
  /* background-color: rgba(25, 25, 25, 0); */
  cursor: pointer;
  font-family: "Pretendard-Regular";

  color: white;
}
.sub-menu ul li span {
  font-family: "Pretendard-Regular";
}

.logo {
  flex: 0 0 25%;
  font-family: "Pretendard-Regular";
  transform: translateY(20px);
  font-size: 2rem;
  font-weight: 900;
  /* border: 1px solid red; */
}
.logo span {
  color: #2c407f;
}
.login,
.join {
  width: 7rem;
  height: 3rem;
  /* font-size: 0.5rem; */
  line-height: 3rem;
  text-align: right;
  /* border: 1px solid red; */
}
.login i,
.join i {
  font-size: 1rem;
  /* height: 3rem; */
  /* border: 1px solid red; */
  margin-right: 0.5rem;
}

.login::after {
  content: "";
  width: 1px;
  border-right: 1px solid white;
  margin-left: 10px;
  /* border: 1px solid #ffffff; */
}
.name {
  padding: 0.5rem;
  font-size: 1.5rem;
  font-family: "Pretendard-Regular";

  color: white;
}
.b1400 div {
  margin-right: 2rem;
}

.mypage button {
  font-size: 1.5rem !important;
  padding: 0.5rem;
}

.header {
  width: 100%;
  /* height: 40px; */
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem;
  float: right;
  background-color: #3f87f7;
  /* border: 1px solid red; */
}

#input {
  border: 0;
  background-color: rgba(240, 248, 255, 0);
  cursor: pointer;
  /* border: 1px solid red; */
  /* padding: 1rem; */
  color: white;
  font-size: 1.5rem;
}
/* 메뉴css */
.w1400 {
  width: 100%;
}

ul.main-menu {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

ul.main-menu > li {
  position: relative;
}

ul.main-menu > li > a {
  display: block;
  padding: 2.5rem;
  font-size: 1.6rem;
  font-weight: 500;
  font-family: "Pretendard-Regular";
}

ul.sub-menu {
  height: 0;
  overflow: hidden;
  transition: all 0.8s;
  position: absolute;
  /* top: 100px; */
  left: 0;
  width: 100%;
  z-index: 100000;
  background-color: #ffff;
  /* box-shadow: 0px 2px 2px #3333331b; */
}

ul.main-menu > li.active ul.sub-menu {
  height: auto;
}

ul.sub-menu > li > a {
  display: block;
  padding: 10px;
  font-size: 1.5rem !important;
  font-weight: 500;
  font-family: "Pretendard-Regular";
  padding-bottom: 2rem;
  text-align: center;
  font-size: 1.2rem;
}

#checkbox {
  display: none;
}

.toggle {
  position: relative;
  width: 30px;
  cursor: pointer;
  margin: auto;
  display: block;
  height: calc(4px * 3 + 11px * 2);
}

.bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: calc(4px / 2);
  background: #2c407f;
  color: inherit;
  opacity: 1;
  transition: none 0.35s cubic-bezier(0.5, -0.35, 0.35, 1.5) 0s;
}

/***** Spin Animation *****/

.bar--top {
  bottom: calc(50% + 11px + 4px / 2);
  transition-property: bottom, transform;
  transition-delay: calc(0s + 0.35s), 0s;
}

.bar--middle {
  top: calc(50% - 4px / 2);
  transition-property: opacity;
  transition-delay: calc(0s + 0.35s);
}

.bar--bottom {
  top: calc(50% + 11px + 4px / 2);
  transition-property: top, transform;
  transition-delay: calc(0s + 0.35s), 0s;
}

#checkbox:checked + .toggle .bar--top {
  bottom: calc(50% - 4px / 2);
  transform: rotate(135deg);
  transition-delay: 0s, calc(0s + 0.35s);
}

#checkbox:checked + .toggle .bar--middle {
  opacity: 0;
  transition-duration: 0s;
  transition-delay: calc(0s + 0.35s);
}

#checkbox:checked + .toggle .bar--bottom {
  top: calc(50% - 4px / 2);
  transform: rotate(225deg);
  transition-delay: 0s, calc(0s + 0.35s);
}

.sub-nav,
.toggle {
  opacity: 0;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  box-shadow: 2px 2px 2px #33333300;

  align-items: center;
  position: relative;
  flex-wrap: wrap;
}

.sub-menu {
  flex: 0 0 72%;
}

.sub-menu ul {
  display: flex;
  justify-content: end;
}

.sub-menu ul li a {
  display: block;
  color: #2c407f;
  line-height: 40px;
  margin-left: 50px;
  font-size: 1.5rem;
  text-align: right;
  font-weight: 600;
}
