* {
  margin: 0;
  padding: 0;
}

.my-info {
  height: 100vh;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

a {
  text-decoration: none;
}

.page-title {
  position: absolute;
  top: 60px;
  font-size: 2rem;
  color: #336ae5;
  margin-bottom: 16px;
}

.arrow {
  position: absolute;
  margin: 0;
  padding: 0;
  top: 60%;
  opacity: 0;
  transition: top 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
  font-size: 24px;
  color: #0029d7;
}

.arrow-show {
  margin: 0;
  padding: 0;
  top: 60%;
  opacity: 1;
}

.hidden {
  visibility: hidden;
}

.btn-hide {
  opacity: 0;
}

.top-nav-header {
  position: fixed;
  top: 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  width: 100%;
  height: 45px;
  background-color: #3369e4;
  z-index: 2;
}

.top-nav-header .top-nav {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0 100px;
  align-items: center;
  color: #fefefe;
}

.top-nav-header .top-nav li {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-nav-header .top-nav li:hover {
  cursor: pointer;
}

.board-wrap {
  min-height: 100vh;
  overflow: auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f6f8fe;
  transition: transform 1s ease-in-out;
}

.board-wrap:nth-child(odd) {
  background-color: #fefefe;
}

/* section1 self-introduce */
.self-introduction-wrap {
  text-align: center;
  width: 720px;
  height: 550px;
}

h1 {
  font-size: 2.5em;
  color: #336ae5;
  height: 90px;
  margin-bottom: 80px;
}

.introduction-info {
  display: flex;
  visibility: visible;
}

.self-introduction-animation {
  animation: introduction-fadeIn 1s ease-in-out;
}

@keyframes introduction-fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  30% {
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.introduction-info .my-photo {
  width: 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #555;
  margin-right: 20px;
  padding: 20px;
  border-radius: 10px;
}

.introduction-info .my-photo img {
  width: 100%;
  border-radius: 15%;
}

.introduction-info .personal-info-wrap {
  width: 65%;
  padding: 20px;
  text-align: left;
}

.introduction-info h2 {
  color: #666;
}

.introduction-info .personal-info-wrap .tagline {
  margin-top: 10px;
  font-style: italic;
  font-size: 18px;
  color: #666;
  text-align: center;
}

.introduction-info .personal-info-wrap p {
  margin: 10px 0;
}

/* section2 skill list */
.skill-section {
  width: 100%;
  position: relative;
}

.skill-contents-wrap {
  width: 80%;
  margin: 0 auto;
}

.skill-seperate-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.subheading {
  font-weight: bold;
  color: #336ae5;
  font-size: 1.5rem;
  margin: 24px 0 12px 0;
}

.skills-show {
  display: block;
}

.skill-seperate-wrap .skill-explain-wrap {
  display: flex;
  visibility: hidden;
  align-items: center;
  margin: 4px 10px;
  padding: 5px 10px;
  background: #f4f4f4;
}

.skill-seperate-wrap .skill-explain-wrap .icon-txt {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 92px;
  line-height: 22px;
  margin-right: 8px;
}

.skill-seperate-wrap .skill-explain {
  width: 200px;
}

.skill-seperate-wrap .skill-card-animation {
  visibility: visible;
  animation: card-fade-in 1.5s ease-in-out;
}

@keyframes card-fade-in {
  0% {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
  }

  100% {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

.skill-icon {
  margin: 0 10px;
  height: 40px;
  width: 40px;
}

.personal-project-wrap {
  display: flex;
  justify-content: center;
  width: 80%;
  align-items: center;
  height: 100vh;
}

.personal-project-wrap .project-explain-wrap {
  width: 45vw;
  height: 30vw;
}

.personal-project-wrap .projects-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2개의 열 */
  gap: 14px;
  /* 박스 사이 간격 */
  width: 30vw;
  height: 62vh;
  margin: 20px auto;
}

.personal-project-wrap .projects-wrap .box {
  position: relative;
  background-color: #deeaff;
  color: #0029d7;
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

/* 개인 프로젝트 svg */

.wrap {
  margin: 40px auto;
  padding: 24px
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px
}

header h1 {
  font-size: 20px;
  margin: 0
}

header p {
  margin: 0;
  font-size: 13px
}

/* DIAGRAM AREA */
.diagram {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 20px;
}

.canvas {
  width: 66vw;
  height: 70vh;
  min-width: 600px;
  max-width: 900px;
  min-height: 420px;
  display: grid;
  place-items: center;
  position: relative;
}

/* svg lines overlay */
svg.connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.personal-project-node {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: #4a90e2;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-project-node:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.personal-project-node .title {
  font-size: 12px;
  color: #fff
}

.personal-project-node .sub {
  font-size: 10px;
  margin-top: 4px
}

.p-project-node-guide {
  position: absolute;
  bottom: 0;
  font-size: 14px
}

/* preview panel */
.preview {
  position: relative;
  width: 340px;
  min-width: 240px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('./image/gigaChangseop.jpg') center/cover no-repeat;
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview .shot {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.03)
}

.preview h3 {
  margin: 0;
  font-size: 1.7rem;
}

.preview .p-project-info {
  margin: 20px 0;
  font-size: 16px
}

.preview .meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 6px
}

/* Project sections */
.projects {
  margin-top: 22px;
  display: grid;
  gap: 18px
}

.project {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.03));
  padding: 18px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  align-items: center
}

.project h2 {
  margin: 0 0 6px 0
}

.project p {
  margin: 0;
}

.proj-shot {
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
}

.explain-box {
  width: inherit;
}

.top-button {
  position: fixed;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 14px;
  padding-bottom: 8px;
  top: 90%;
  right: 20px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  border-radius: 50%;
  transition: opacity 0.6s ease-in-out;
}

.career-wrap {
  margin-top: 40px;
}

.work-history-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  height: 75vh;
  padding: 20px;
  box-sizing: border-box;
}

.history-card {
  display: flex;
  flex-direction: column;
  background: white;
  max-width: 360px;
  height: 360px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 1.2rem;
  box-sizing: border-box;
  gap: 1rem;
}

.history-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-card .label {
  font-size: 0.85rem;
  background-color: #eee;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
  color: #666;
  margin-bottom: 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
}

.zoom-fade-enter-active,
.zoom-fade-leave-active {
  transition: all 1.5s ease;
}

.zoom-fade-enter-from,
.zoom-fade-leave-to {
  opacity: 0;
  transform: scale(0.4);
}

.zoom-fade-enter-to,
.zoom-fade-leave-from {
  opacity: 1;
  transform: scale(1);
}

.thanks-wrap {
  text-align: center;
}

.thanks-text {
  font-size: 3rem;
  color: #336ae5;
  margin-bottom: 40px;
  font-weight: 400;
}

.thanks-text-2 {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.copyright-wrap {
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: rgb(136, 136, 136);
  position: absolute;
  bottom: 8px;
}