@import url(KOTRA_BOLD.ttf);
@font-face {
    font-family: 'KotraBold';
    src: url("KOTRA_BOLD.ttf") format("truetype");
    font-weight: normal;
}

@font-face{
    font-family: 'KotraGothic';
    src: url("KOTRA_GOTHIC.ttf") format("truetype");
    font-weight: normal;
}
/* 기본 스타일 초기화 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.background {
  width: 100%;
  height: 100%;
  display: block;
}

body {
  background-color: #000; /* 배경색: 검정 */
  color: #fff;           /* 글자색: 흰색 */
  font-family: sans-serif;
  line-height: 1.5;
  justify-content: center;
  align-items: center;
}

header, section, footer {
  text-align: center;
  padding: 40px 0;
}

/* 상단 로고 & 문구 */
header .logo {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

header .tagline {
    font-size: 32px;
  font-family: 'KotraBold';
  line-height: 35px;
  margin-bottom: 20px;
}

/* 네비게이션 */
nav {
  text-align: center;
  margin-bottom: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin: 0 20px;
}

nav a:hover {
  text-decoration: underline;
}

/* 스크롤 다운 표시 */
.scroll-down {
  font-family: 'KotraBold';
  font-size: 10px;
}

/* OUR GAMES 섹션 */
#games h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.games-container {
  display: flex;
  justify-content: center;
  font-family: 'KotraBold';
  gap: 100px; /* 게임 아이콘 사이 간격 */
  flex-wrap: wrap;
  margin-top: 20px;
}

.game-item {
  text-align: center;
}

/* 이미지 크기 조절은 필요에 맞게 수정 */
.game-item img {
  width: 120px;
  height: 120px;
  object-fit: contain; /* 이미지 비율 유지 */
  margin-bottom: 10px;
}

/* CONTACT 섹션 */
#contact h2 {
  font-family: 'KotraBold';
  margin-bottom: 100px;
  font-size: 16px;
}

.contact-info {
  line-height: 2;
  font-size: 16px;
  font-family: 'KotraBold';
}

  /* 하단 푸터 */
  footer {
  padding: 40px 0;
  font-size: 0.9rem;
  text-align: left; /* 좌측 정렬(두 열이기 때문에) */
}

.footer-container {
  display: flex;
  font-family: 'KotraGothic';
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px; /* 최대 너비 예시 */
  margin: 0 auto;    /* 중앙 정렬 */
  padding: 0 20px;   /* 좌우 여백 */
}

.footer-left, .footer-right {
  width: 45%; /* 2열 레이아웃 (적절히 조정 가능) */
  line-height: 1.8;
}

/* 가장 아래 카피라이트 영역 */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #ccc;
}

.container {
  width: 100%;
  width: 840px;
  height: 340px;
  display: flex;
  gap: 15px;
  margin-inline: 50px;
  margin: 0 auto;
}

.card {
  min-width: 70px;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;

  display: flex;
  align-items: flex-end;
  flex-grow: 1;
  cursor: pointer;
  position: relative;
  transition: flex-grow 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --transition-timing: 0.35s;
}

.card.active {
  flex-grow: 100;
}

.card:hover {
  flex-grow: 7;
}

.card > .background {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4);
  z-index: -1;
  transition: var(--transition-timing) ease;
}
.card:hover > .background {
  filter: brightness(1);
}

.card > .card-content {
  display: flex;
  align-items: center;
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 20px;
  overflow: hidden;
  transition: var(--transition-timing);
  z-index: 10;
}
.card:hover > .card-content {
  inset: 20px;
  top: auto;
}

.card-content > * {
  transition: var(--transition-timing);
}

.card-content > .profile-image {
  min-width: 50px;
  max-width: 50px;
  height: 50px;
  border: 1px solid white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
}
.card:hover .profile-image {
  border: 1px solid rgb(110, 252, 205);
}
.profile-image > svg {
  stroke: #fefefe;
}
.card:hover .profile-image > svg {
  stroke: rgb(110, 252, 205);
}

.card-content > .title {
  font-family: 'KotraGothic';
  font-size: 25px;
  white-space: pre;
  margin-left: 10px;
  translate: 0 100%;
  opacity: 0;
}

.card-content > .desc{
  font-family: 'KotraGothic';
  font-size: 16px;
  white-space: pre;
  margin-left: 10px;
  translate: 0 100%;
  line-height: 10px;
  opacity: 0;
}

.card:hover .title {
  opacity: 1;
  translate: 0 0;
}

.card:hover .desc {
  opacity: 1;
  translate: 0 0;
}

.card > .backdrop {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  z-index: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}
