@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --black: #000000;
  --light-gray: #f1f1f1;
  --new-user: #d7d7d7;
  --header-background-color-1: #29405a;
  --header-background-color-2: #496279;
  --text: #333333;
}

html,
body {
  height: 100%;
  background-color: var(--white);
}

body {
  font-family: 'Noto Sans KR';
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.flex {
  display: flex;
}

header {
  flex-direction: column;
  color: white;
}

#login-signup-close {
  justify-content: space-between;
  align-items: end;
  padding: 18px 30px 18px 18px;
  background-color: var(--header-background-color-1);
  height: 70px;
}

#login-signup {
  align-items: center;
  gap: 4px;
  font-size: 16px;
}

#login-signup img {
  width: 16px;
  height: 16px;
}

#new-user {
  align-items: center;
  padding: 20px;
  gap: 10px;
  background-color: var(--header-background-color-2);
  height: 42px;
  font-size: 14px;
  color: var(--new-user);
}

#new-user-icon {
  width: 20px;
  height: 20px;
}

#right-arrow {
  width: 13px;
  height: 12px;
}

/* main */
main {
  flex-direction: column;
  padding: 24px;
}

#mypage,
#customs,
#customer-service {
  flex-direction: column;
}

#mypage h3,
#customs h3,
#customer-service h3 {
  background-color: var(--light-gray);
  padding: 8px;
  font-size: 16px;
  font-weight: 500;
}

.menus-wrapper {
  width: 100%;
  justify-content: center;
  padding: 10px;
  font-size: 13px;
}

#customs-menus-wrapper,
#customer-service-menus-wrapper {
  padding: 20px 10px;
}

.mypage-menus-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.mypage-menus {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 90px;
  height: 90px;
}

.mypage-menus img {
  width: 50px;
  height: 50px;
}

.customs-menus-container,
.customer-service-menus-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: stretch;
  gap: 6px;
}

.customs-menus,
.customer-service-menus {
  align-items: center;
  gap: 4px;
  height: 50px;
  min-width: 165px;
  padding-left: 6px;
  width: 100%;
}

.customs-menus img,
.customer-service-menus img {
  width: 40px;
  height: 40px;
}

@media screen and (max-width: 480px) {
  main {
    padding: 24px 10px;
  }
}
