@font-face {
  font-family: 'Pretendard-Regular';
  src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

:root {
  font-family: 'Pretendard-Regular';
  --pc-purple: #4f39d8;
  --pc-gray: #555;
  --pc-lightgray: #f4f7fc;
  --pc-gray-50: #ededed;
  --pc-gray-100: #d4d4d4;
  --pc-gray-200: #bababa;
  --pc-gray-300: #a1a1a1;
  --pc-gray-400: #878787;
  --pc-gray-1000: #6e6e6e;
  --pc-gray-600: #555555;
  --pc-gray-700: #3b3b3b;
  --pc-gray-800: #080808;
  --pc-gray-900: #000000;
  --light: 400;
  --normal: 500;
  --bold: 600;
  --black: 700;
  --black-xl: 800;
  --black-xxl: 900;
  font-size: 14pt;
}

body {
  padding: 0 200px;
}

body * {
  font-family: 'Pretendard-Regular';
}

p1 {
  font-size: 32pt;
}
p2 {
  font-size: 28pt;
}
p3 {
  font-size: 24pt;
}
p4 {
  font-size: 20pt;
}
p5 {
  font-size: 18pt;
}
p6 {
  font-size: 16pt;
}
p7 {
  font-size: 14pt;
}

h1 {
  font-size: 50pt;
}
h2 {
  font-size: 40pt;
}
h3 {
  font-size: 36pt;
}
h4 {
  font-size: 28pt;
}
h5 {
  font-size: 24pt;
}
h6 {
  font-size: 20pt;
}

button {
  font-size: 1rem;
  cursor: pointer;
  background: white;
  outline: none;
  border: 1px solid;
  border-radius: 5px;
}

em {
  color: var(--pc-purple);
  font-style: normal;
}

input {
  font-size: 1rem;
}

ul.menus {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

ul.menus li {
  cursor: pointer;
}

hr {
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  border: 1px solid var(--pc-gray-100);
}

.logo {
  height: 36px;
}

/* 상단 navigation bar */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 20px 0;
  margin-bottom: 40px;
}

nav .left {
  display: flex;
  gap: 40px;
  align-items: center;
}

.left > select {
  outline: none;
  border: none;
  font-size: 1rem;
  padding: 8px;
}

.left > select::after {
  content: '';
  border-right: 3px solid var(--pc-gray-100);
  height: 20px;
}

nav > .right {
  display: flex;
  gap: 24px;
}

nav button {
  border: none;
}

/* 검색창 */
.search {
  border-radius: 100px;
  border: 1px solid var(--pc-gray-100);
  outline: none;
  padding: 8px 20px;
}

.search input[type='text'] {
  border: none;
  background: none;
  outline: none;
}

.search input[type='text']::placeholder {
  color: var(--pc-gray-100);
  font-size: 0.9rem;
}

.banner,
.category > .item > .icon,
.contact {
  border-radius: 10px;
  border: 2px solid var(--pc-gray-50);
}

/* 상단 배너 페이지네이션 */
ul.pagination {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

ul.pagination li {
  width: 20px;
  color: var(--pc-gray-200);
  background: var(--pc-gray-200);
  font-size: 4px;
  margin-top: 40px;
}

ul.pagination li.active {
  color: var(--pc-purple);
  background: var(--pc-purple);
}

/* 카테고리 리스트 */
.category {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-contact-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 20px;
}

.category > .item {
  display: grid;
  justify-items: center;
}

.category > .item > .icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.banner {
  background-color: var(--pc-gray-50);
  padding: 72px 140px;
  font-weight: var(--bold);
  display: grid;
  margin: 28px 0;
}

.banner button {
  border-color: var(--pc-purple);
  color: var(--pc-purple);
  padding: 8px 12px;
}

.banner h3 {
  margin: 0;
  padding: 0;
  font-weight: var(--black);
}

.banner.banner-big {
  justify-items: start;
  gap: 40px;
  position: relative;
}

.banner .left,
.banner .right {
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 100%;
  border-color: var(--pc-gray-100);
}

.banner .left {
  left: -64px;
}

.banner .right {
  right: -64px;
}

.banner.banner-band {
  justify-items: center;
}

.contact {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact .top > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--pc-gray-100);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.contact .top label {
  font-weight: var(--bold);
}

.contact .top a {
  color: black;
}

.contact p5 {
  color: var(--pc-purple);
  font-weight: var(--bold);
}

.contact .bottom {
  display: grid;
  justify-content: space-between;
}

.contact .bottom > div {
  display: grid;
  grid-template-columns: 56px 1fr;
}

/* 섹션 공통 */
section {
  margin-top: 60px;
  margin-bottom: 120px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-header > div {
  display: flex;
  gap: 24px;
}

.section-header > div > a {
  color: var(--pc-gray-200);
}

.section-header > div > a:last-child {
  color: black;
}

.section-header a {
  text-decoration: none;
  color: var(--pc-gray-200);
}

.thumbnail {
  border-radius: 10px;
  background: var(--pc-gray-50);
  position: relative;
  background-position: center;
  background-size: cover;
}

section .icon {
  background: var(--pc-gray-300);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-size: cover;
}

/* 프로모션 */
section.promotion .section-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

section.promotion .item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

section.promotion .thumbnail {
  aspect-ratio: 1 / 1;
}

section.promotion .favorite {
  border-radius: 100%;
  right: 16px;
  bottom: 16px;
  height: 44px;
  width: 44px;
  color: white;
}

section.promotion .category {
  font-size: 0.9rem;
  color: var(--pc-purple);
  display: block;
}

section.promotion label {
  font-weight: var(--bold);
  font-size: 1.1rem;
  display: block;
}

section.promotion .apply-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

section.promotion .apply-info p {
  margin: 0;
}

section.promotion .apply-info p > span {
  color: var(--pc-gray-300);
}

section.promotion .apply-info .dday {
  display: flex;
  align-items: center;
  gap: 8px;
}

section.promotion .apply-info .dday svg {
  color: var(--pc-gray-100);
}

section.promotion .apply-info .dday span {
  color: var(--pc-purple);
}

section.promotion .sns {
  border-radius: 5px;
  border: 1px solid var(--pc-gray-100);
  color: var(--pc-gray-300);
  padding: 4px 8px;
  width: fit-content;
}

section.promotion .goods-info {
  display: grid;
  gap: 12px;
}

section.promotion .goods-info .title {
  line-height: 1.4;
}

section.promotion .goods-info .description {
  color: var(--pc-gray);
}

/* 컨텐츠 PICK */
section.contents-pick .thumbnail {
  aspect-ratio: 3 / 2;
}

section.contents-pick .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  left: 32px;
  bottom: 32px;
}

section.contents-pick .icon.instagram {
  background-image: url('./assets/Instagram_logo_2016.png');
}

section.contents-pick .section-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

section.contents-pick h6 {
  margin-top: 24px;
  margin-bottom: 0;
  padding: 0;
}

section.contents-pick p {
  color: var(--pc-gray-200);
}

/* footer */
footer {
  width: 100%;
  position: absolute;
  left: 0;
  background: var(--pc-gray-50);
  margin-top: 80px;
}

footer .top {
  padding: 24px 200px;
  background: #0000000a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .top li {
  color: var(--pc-gray);
}

footer .bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 68px 200px;
  align-items: center;
  gap: 120px;
}

footer .bottom label {
  font-weight: var(--bold);
  color: var(--pc-gray);
}

footer .bottom hr {
  margin-top: 16px;
  margin-bottom: 16px;
}

footer .bottom p {
  color: var(--pc-gray-300);
  padding: 0;
  margin: 0;
}
