@charset "UTF-8";

/* header */
.header {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 150px;
}

/* header_top */
.header_top {
  position: relative;
  z-index: 3;
  height: 50px;
  background: linear-gradient(90deg, #000 0%, #1a2c59 50%, #000 100%);
  text-align: right;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
}

/* 로그인 회원가입 */
.header_user {
  position: relative;
  width: 350px;
  height: 50px;
  margin-right: 50px;
  padding-top: 10px;
}

.header_user>a:first-of-type {
  margin-right: 20px;
}

.user_ui {
  width: 200px;
  height: 30px;
  position: absolute;
  top: 7px;
  left: 0;
  display: none;
  color: white;
  text-align: center;
  cursor: pointer;
}

.user_ui img {
  vertical-align: bottom;
}

.user_ui span {
  margin-left: 10px;
}





.profile_info {
  margin-top: 10px;
  width: 200px;
  height: 0;
  overflow: hidden;
  background: rgba(151, 151, 151, 0.3);
  transition: .3s;
}

.mypage {
  display: inline-block;
  width: 150px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
  background: rgba(0,0,0,0.4);
}

.sign_out_btn {
  width: 150px;
  height: 50px;
  line-height: 50px;
  margin: 0 auto;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}






.login,
.sign_up {

  display: inline-block;
  width: 115px;
  height: 35px;
  text-align: center;
  line-height: 2;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff65;
  transition: 0.3s;
}

.login:hover,
.sign_up:hover {
  background: linear-gradient(90deg, #000 0%, #223c7c 50%, #000 100%);
  transform: scale(1.1);
}

/* header_bottom */
.header_bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  background: linear-gradient(90deg, #000 0%, #1a2c59 50%, #000 100%);
}

.logo {
  margin-left: 50px;
}

/* 내비게이션 */
.gnb {
  width: 810px;
  margin-right: 525px;
}

.main {
  display: flex;
  justify-content: space-evenly;
}

.main::before {
  z-index: -1;
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0;
  transition: 0.3s;
  background: linear-gradient(90deg, #000 0%, #1a2c59 50%, #000 100%);
}

.main:hover::before {
  height: 200px;
}

.main>li {
  width: 170px;
  height: 40px;
  text-align: center;
  line-height: 40px;
}

.main>li>a {
  position: relative;
  font-size: 20px;
  transition: 0.3s;
}

.main>li>a::after {
  content: "";
  position: absolute;
  top: 130%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #8e2de2;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.main>li>a:hover::after {
  transform: scaleX(1);
}

.main>li:hover .header_main {
  color: #8e2de2;
}

.sub {
  height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: 0.3s;
}

.sub a {
  transition: 0.2s;
}

.sub a:hover {
  color: #8e2de2;
}

.sub li {
  margin-top: 18px;
}