:root {
  --color-black: #111;
  --color-navy: #001d4a;
  --color-dark-blue: #27476e;
  --color-blue: #006992;
  --color-lemon: #eaf8bf;
  --color-yellow: #eca400;
  --color-white: #eee;

  --font-size-sm: 10pt;
  --font-size-md: 16pt;
  --font-size-lg: 24pt;
  --font-size-xlg: 32pt;

  --nav-button: 10px;
  --lg-button: 5px;
}

@font-face {
  font-family: "Nanum Gothic";
  font-style: normal;
  font-weight: 400;
  src: url(//themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Regular.eot);
  src: url(//themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Regular.eot?#iefix)
      format("embedded-opentype"),
    url(//themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Regular.woff2)
      format("woff2"),
    url(//themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Regular.woff)
      format("woff"),
    url(//themes.googleusercontent.com/static/fonts/earlyaccess/nanumgothic/v3/NanumGothic-Regular.ttf)
      format("truetype");
}

* {
  font-family: "Nanum Gothic";
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline: 1px dotted red; */
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  cursor: pointer;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.main_wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
}

header {
  width: 100%;
  display: flex;
}

header .navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 5rem;
}

h3 {
  font-size: 14pt;
}

.logo > a > img {
  width: 30%;
  min-width: 150px;
}

/* 네비게이션 바 스타일 */
.navbar {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #f8f8f8;
  border-bottom: 1px solid #ddd;
  position: relative;
  height: 75px;
}

/* 로고와 회사 이름 */
.navbar .logo {
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.navbar .menu {
  display: flex;
  gap: 30px;
}

.navbar .menu-item {
  position: relative;
  width: 120px;
  padding: 1rem;
  border-radius: 10px;
  color: var(--color-navy);
  text-align: center;
  cursor: pointer;
}

.navbar .menu-item:hover {
  background-color: var(--color-navy);
  color: white;
  transition: all 100ms ease-in;
}

/* 드롭다운 전체 메뉴 */
.dropdown-wrapper {
  display: none;
  position: absolute;
  top: 75px;
  left: 0;
  background-color: white;
  border-top: 1px solid #ddd;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  padding: 0 5rem 0 2rem;
  z-index: 10;
  justify-content: flex-end;
  gap: 30px;
}

/* 드롭다운 내부 스타일 */
.dropdown-section {
  width: 120px;
}

.dropdown-section a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: black;
  text-align: center;
  font-size: var(--font-size-sm);
}

.dropdown-section a:hover {
  background-color: var(--color-dark-blue);
  color: white;
  transition: all 100ms ease-in;
}

.hamburger {
  display: none;
}

/* 컨테이너 */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 페이지 내용 */
.article {
  flex: 1;
}

/* 푸터 스타일 */
footer {
  background-color: var(--color-navy);
  color: white;
  padding: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
  font-size: var(--font-size-sm);
  justify-content: center;
}

footer img {
  width: 130px;
  padding-bottom: 0.3rem;
}

footer > div {
  padding: 0rem 5rem;
}

footer > div > p {
  padding: 0.3rem;
}

.footer_left {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ddd;
  text-align: left;
}

.footer_right {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.footer_right div {
  padding: 0.3rem;
  display: flex;
}

@media screen and (max-width: 600px) {
  * {
    /* outline: 1px dotted red; */
  }

  header {
    justify-content: space-around;
  }

  .logo a {
    display: flex;
    justify-content: center;
  }

  .navbar {
    height: auto;
    width: 100%;
    position: relative;
  }

  .navbar .menu {
    display: none;
  }

  .dropdown-wrapper {
    position: absolute;
    top: 3.8rem;
    gap: 0px;
    width: 100vw;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: none;
  }

  .dropdown-wrapper.showMenu {
    display: flex;
  }

  .menu-item {
    cursor: pointer;
  }

  .hamburger_icon {
    display: flex;
  }

  .hamburger {
    display: flex;
    margin: 1rem;
    cursor: pointer;
  }

  footer {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .footer_left {
    border-right: none;
    width: 100%;
  }

  .footer_right {
    width: 100%;
  }
}
