/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

/* 제목 & 헤더 */
header#intro {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    color: #fff;
}

header#intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

header#intro h1 span {
    color: #ffdd57;
}

header#intro .box {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

header#intro .box p {
    color: #222;
}

/* 공통 박스 */
.box {
    background: #fff;
    padding: 40px;
    margin: 40px auto;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 섹션 제목 */
h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 6px solid #4e73df;
    padding-left: 10px;
}

/* 기술 스택 */
#tech-stack ul {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
}

#tech-stack li img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#tech-stack li img:hover {
    transform: scale(1.2);
}

/* 포트폴리오 */
#portfolio .item {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    background: #f4f6f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portfolio .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

#portfolio h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #2e59d9;
}

#portfolio p {
    font-size: 1rem;
    color: #555;
}
