@charset "utf-8";

/* 헤더 */
.header {
  width: 100%;
  background-color: #3f87f7;
  padding: 1rem 0;
}
.header ul li {
  padding: 0 2rem;
  font-size: 1rem;
}
.header ul li a,
.header ul li p {
  font-size: 1rem;
  color: #fff;
}

.header ul li i {
  margin-right: 5px;
}

#input {
  border: 1px solid red;
  font-size: 1rem;
  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";
  font-size: 2rem;
  font-weight: 900;
}
.logo span {
  color: #2c407f;
}

.login {
  border-right: 1px solid #fff;
}

/* 메뉴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: 1.5rem 2.5rem;
  font-weight: 500;
  font-family: "Pretendard-Regular";
  cursor: pointer;
}

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.2rem !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: 30px;
}

.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% + 6px + 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% + 6px + 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 {
  display: none;
}

.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;
}


.admin-wrap {
  width: 100%;
  height: 100%;
}

.layout-wrap {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 270px minmax(1234px, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
     "nav header "
     "nav  main  "
     "nav  main  "
}

.layout-wrap .main-warp {
  padding: 30px;
  grid-area: main;
  background: #f8f8f8;
}

.user-wrap .main-warp {
  min-height: 70rem;
}
