  body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    background-image: url('images/background.jpg'); /* ✅ 여기에 추가 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
  }


  nav ul {
    list-style: none;
    display: flex;
    justify-content: right;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1rem;
  }

  nav ul li {
    margin: 0 1rem;
  }

  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }

  section {
    text-align: center;
    padding: 4rem 2rem;
  }

  .profile-img {
    width: 120px;
    border-radius: 50%;
  }
  /*아래 코드는 "야옹이와 스프 (C언어)"는 이제 진짜 버튼처럼 눈에 확 띔

  "← 돌아가기"도 보기 쉬운 파란 버튼으로 바뀜

  마우스 오버 시 색상 변화도 있어 클릭 유도 잘 됨 */
/* Project1 버튼 스타일 */
.project1-button {  
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #ff6f61; /* 주황색 */
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.project1-button:hover {
  background-color: #ff3b2e;
}

/* Project2 버튼 스타일 */
.project2-button {  
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #3498db; /* 파란색 */
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.project2-button:hover {
  background-color: #1d6fa5;
}


.back-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(45deg, #00c6ff, #0072ff);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.back-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

  .skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    justify-items: center;
    margin-top: 2rem;
  }

  .skill-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    width: 180px;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .skill-card {
    width: 220px;
  }


  .skill-card img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
  }

  html {
    scroll-behavior: smooth;
  }
.project-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  width: 350px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: scale(1.05);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-card p {
  font-weight: bold;
  margin: 0;
}
.project-detail-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  margin-bottom: 1rem;
}
.project3-button {  
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #f39c12; /* 주황색 톤 */
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.project3-button:hover {
  background-color: #d68910;
}
.project4-button {  
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #16a085; /* 청록색 */
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.project4-button:hover {
  background-color: #117a65;
}
.project5-button {  
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: white;
  background-color: #ca2368; /* 빨간 계열 */
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: bold;
  margin-top: 0.5rem;
  transition: background-color 0.3s;
}

.project5-button:hover {
  background-color: #be2887;
}
