*{
    text-align: center;
    font-family: 'Pretendard', sans-serif;
}
p{
    color:white
}
.content{
color:blueviolet

}

footer {
  margin-top: 0px;
  padding: 40px 0;
  background-color: #2c2c2c;
  text-align: center;
}

.social-links {
  margin-bottom: 0px;
}

.social-links a {
  display: inline-block;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.2);
}

.icon {
  width: 40px;
  height: 40px;
}
.namecard-container{
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0 40px 0;
  
}
.namecard{
    /* border: 5px solid ;border-radius: 10px; 
    background-color: #B290E4; */
    text-align: center;
    width: 40%;
    margin: 0 auto; 
    padding-top: 0px;
    padding-bottom: 20px;
}
.info{
  font-family: 'Pretendard', sans-serif;
    text-align:start;
    padding: 5px;
    color:#FFFFFF;
}
.namecard ul {
  list-style: none;
}
.title{
    color:#FFFFFF;
    margin: 10px;
    font-family: 'SUIT', sans-serif;
    font-size: 3rem;

}

.intro-section {
  display: flex;
  align-items: center;
  padding: 120px 40px 120px 100px;
  gap: 40px;
}

.intro-image {
  flex: 0 0 30%;
}

.intro-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.intro-comment {
  flex: 1;
}

.comment {
  color: #FFFFFF;
  font-size: 1.6rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
}



.stack_container{
    width: 70%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 0 40px 0;
    min-width: 350px;
    margin: 0 auto;
    
}

.stack_item{
    padding: 5px;
    margin: 0 10px 0 10px;
    flex-basis: 0px;
    
}
.project-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 0 80px 0;

}

.project-item{
    width: 300px;              
    overflow: hidden;           /* 안 맞는 부분은 잘리게 */
    margin: 20px 40px 20px 40px;
    text-align: center;        
    
    border: 3px solid;
}
.project-item:hover{
    transform: scale(1.3);

}

.project-item img {
    width: 100%;               
    height: 350px;              
    object-fit: cover;          /* 비율 유지 + 넘치는 부분 잘림 */
   
  }

.project-caption{
    font-weight: bold;
    font-size: 1.2;
    margin: 10px 0 10px 0;
    color: #FFFFFF;
    text-align: center; 

}

.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  padding: 10px 15px;
  font-size: 16px;
  background-color: #6b5b95;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: none; 
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  
}
.scroll-top-btn:hover{
  animation: jelly 0.5s;
}

@keyframes jelly {
  25% {
    transform: scale(0.9, 1.1);
  }

  50% {
    transform: scale(1.1, 0.9);
  }

  75% {
    transform: scale(0.95, 1.05);
  }
}
