/** 
* Header
*/
header {
  align-items: center;
  align-self: stretch;
  background: #fff;
  border-bottom: 1px solid var(--gray-secondary-50, #e7e7f2);
  color: var(--gray-secondary-main, #3c3d4f);
  display: flex;
  flex-direction: column;
  font-weight: bold;
  gap: 18px;
  height: 75px;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2;
}

header .menu-item {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex: 1;
  float: left;
  justify-content: center;
  margin: 0;
  padding: 0;
  position: relative;
  width: 82px;
}
header .menu-item a {
  line-height: var(--space-3-000, 24px);
  padding: 23px 0;
  text-align: center;
  width: 100%;
}
header .menu-item a.active:after {
  transform: scaleX(1);
}
header .menu-item a:hover:after {
  transform: scaleX(1);
}
header .menu-item a:after {
  border-top-style: solid;
  content: ' ';
  left: 0;
  position: absolute;
  top: 71px;
  transform: scaleX(0);
  transition: transform 0.2s ease-in-out;
  width: 100%;
}

/**
* Header Container
*/
header .container {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  max-width: 1220px;
  white-space: nowrap;
  width: 100%;
}
/**
* Header Container Left
*/
header .container .left {
  align-items: center;
  display: flex;
  flex: 1 0 0;
  gap: calc(var(--spacing) * 5);
}
header .container .left .logo {
  align-items: center;
  display: flex;
  gap: 10px;
  width: 162px;
}
header .container .left .logo a {
  align-items: center;
  display: flex;
  gap: 10px;
}
header .container .left .menu {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}
/**
* Header Container Right
*/
header .container .right {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* 760px 이하 화면용 스타일 (mobile) */
@media (max-width: 760px) {
  header {
    height: 54px;
    padding: 0;
  }
  header .container {
    gap: 12px;
    padding: 0 12px;
  }
  header .container .left .menu {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    position: absolute;
    top: 54px;
    width: 100%;
  }
  header .menu-item {
    border-bottom: 1px solid #ddd;
    width: 100%;
  }
  header .menu-item a {
    line-height: var(--space-3-000, 24px);
    padding: 15px 0;
    text-align: center;
    width: 100%;
  }
  header .menu-item a:after {
    top: 54px;
  }
  .menu-toggle {
    cursor: pointer;
    display: block;
    padding: 0 8px;
  }
  .menu-toggle img {
    flex-shrink: 0;
    height: 20px;
    margin-top: 2px;
    width: 20px;
  }
  #header-button-getStarted {
    height: 35px;
  }
}
/* 761px ~ 960px 화면용 스타일 (tablet) */
@media (min-width: 761px) and (max-width: 960px) {
  header .container .left .logo {
    width: 100px;
  }
}
