#topBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    display: none;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

#topBtn:hover {
    background-color: #555;
}

/* ================================
    Header
================================ */
header {
    width: 100%;
    height: 100vh;
    background-color: #FBFBF4;
    position: relative;
}

.headerInner {
    position: absolute;
    width: 100%;
    height: 70px;
    background-color: #FBFBF4;
    padding: 0 10.667%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #000;
    z-index: 99;
}

.logo a {
    font-size: 2.4rem;
    font-weight: bold;
}

nav>ul {
    width: 500px;
    display: flex;
    justify-content: space-between;
}

nav a {
    font-size: 2rem;
    font-weight: 600;
}

nav li {
    transition: 0.5s;
}

nav li:hover {
    transform: translateY(-5px);
}

.home {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home_title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home_title div {
    font-size: 100px;
    font-family: "IBM Plex Mono", monospace;
    font-weight: 600;
    color: #3B59BD;
    margin-bottom: 50px;
}

.home_title div span {
    font-family: 'Pretendard';
    font-weight: 600;
}

.home_title p {
    font-size: 2.6rem;
    margin-top: 30px;
    color: #2C2C2C;
}

.home_title p span {
    font-family: "Roboto Serif", serif;
    font-weight: 500;
    margin-right: 20px;
}

.home .scroll-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    color: #A09999;
    font-size: 1.8rem;
    font-weight: 300;
}

.home .scroll-down span {
    display: block;
    width: 30px;
    height: 50px;
    border: 1px solid #A09999;
    border-radius: 20px;
    position: relative;
    margin: 10px auto;
}

.home .scroll-down span:before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #A09999;
    left: 42%;
    top: 20%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }

    50% {
        transform: translate(0, 20px);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ================================
    Section 1 - About
================================ */
#sec1 {
    width: 100%;
    height: 100vh;
    background-color: #F5F5F0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sec1 .left,
#sec1 .right {
    width: 780px;
}

#sec1 .right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#sec1 .right>div {
    width: 626px;
}

#sec1 .line {
    width: 1px;
    height: 600px;
    background-color: #274ECD;
    margin: 0 100px;
}

#sec1 h3 {
    color: #3B3B3B;
    font-size: 2rem;
    line-height: 30px;
}

#sec1 .title {
    display: flex;
    height: 30px;
}

#sec1 .title img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

#sec1 .about h3::before {
    background-image: url(../img/about_me.png);
}

#sec1 .edu h3::before {
    background-image: url(../img/edu.png);
}

#sec1 .ex h3::before {
    background-image: url(../img/ex.png);
}

#sec1 .license h3::before {
    background-image: url(../img/li.png);
}

#sec1 .skills h3::before {
    background-image: url(../img/skill.png);
}

#sec1 .list {
    display: flex;
    margin-top: 13px;
}

#sec1 .right li {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

#sec1 .ul_right {
    font-weight: 500;
    color: #4B66BE;
}

#sec1 .ul_left {
    margin-left: 15px;
    color: #627BCF;
}

/* About me */
.about {
    display: flex;
    margin-bottom: 50px;
}

.a_right {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    margin-left: 70px;
    background: #D9D9D9 url(../img/my_img.png) no-repeat center/cover;
}

.a_right img {
    width: 100%;
    height: 100%;
}

/* Person */
.person {
    display: flex;
}

.person li {
    width: 74px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    background: #D9D9D9;
    margin-right: 10px;
    border-radius: 19px;
    font-size: 1.8rem;
    color: #4B66BE;
}

/* Education & Experience */
.edu {
    margin-bottom: 50px;
}

.ex_li {
    display: flex;
}

.ex {
    margin-right: 30px;
}

/* Intro */
.intro h4 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 36px;
}

.intro p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 24px;
    word-break: keep-all;
    width: 600px;
}

.intro .tell h5 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #4B66BE;
    margin-bottom: 5px;
}

.intro .tell:first-of-type {
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Skills */
.skills {
    margin-top: 50px;
}

.skills .contents {
    margin-top: 16px;
}

.skills .icons {
    width: 480px;
    height: 60px;
    background: #d4e8ff;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-evenly;
}

.skills .icons li {
    width: 60px;
    height: 60px;
    padding: 5px;
    cursor: pointer;
}

.skills .icons li img {
    width: 100%;
    height: 100%;
}

.skills .icons li.on {
    background: #fff;
}

.texts li {
    display: none;
    width: 480px;
    height: 80px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    font-size: 1.6rem;
    line-height: 1.1875;
    text-align: center;
    padding-top: 22px;
}

.texts li.active {
    display: block;
}

/* ================================
    Section 2 - Web Project
================================ */
#sec2 {
    width: 100%;
    height: 100vh;
    padding: 70px;
    background-color: #FBFBF4;
}

.wrap {
    width: 1202px;
    height: 800px;
    margin: 0 auto;
    position: relative;
}

#sec2 .title,
#sec3 .title {
    text-align: center;
    margin-bottom: 50px;
}

#sec2 .title h3,
#sec3 .title h3 {
    font-size: 4rem;
    font-weight: 600;
    color: #4B66BE;
    margin-bottom: 15px;
}

#sec2 .title span,
#sec3 .title span {
    font-size: 1.8rem;
    color: #4B66BE;
}

/* 슬라이드 영역 */
.swiper {
    width: 100%;
    height: 650px;
    margin: 0 auto;
    overflow: hidden;
}

.SlideShow {
    display: block;
    position: relative;
    height: 600px;
}

#sec2 .SlideShow:nth-child(1) .img {
    background-image: url(../img/content1.png);
}

#sec2 .SlideShow .img {
    width: 100%;
    height: 600px;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    transition: background-position 0.5s ease, background-color 0.3s ease;
}

#sec2 a:hover .img {
    background-position: bottom;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

/* 슬라이드 내부 텍스트 */
#sec2 .img .img-inner {
    display: none;
    width: 100%;
    height: 100%;
    padding: 70px 0 0 50px;
}

#sec2 .img .name {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

#sec2 .img .name span,
#sec2 .img .topic span,
#sec2 .img .topic p {
    font-size: 1.8rem;
    font-weight: 400;
}

#sec2 .img .topic p {
    margin-top: 5px;
}

#sec2 .img .short {
    font-size: 1.6rem;
    margin-bottom: 30px;
    line-height: 1.375;
}

#sec2 .img .topic {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

#sec2 .img .topic .icons {
    display: flex;
    margin-top: 5px;
}

#sec2 .img .topic .icons li {
    width: 36px;
    height: 36px;
    margin-right: 6px;
}

#sec2 .img .topic .icons li img {
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    margin-top: 15px;
}

.cont_btn {
    width: 100%;
    height: 50px;
    background-color: #111;
    color: #fff;
    font-size: 1.8rem;
    line-height: 50px;
    text-align: center;
}

/* 버튼 */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 30px;
    background-color: #222;
    color: #fff;
    z-index: 10;
    cursor: pointer;
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

.preparing {
    font-size: 5rem;
    font-weight: 900;
    position: absolute;
    top: 50%; left: 32%;
    transform: rotate(-50%, -50%);
    align-self: center;
}

/* ================================
    Section 3 - Design Project
================================ */
#sec3 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #F5F5F0;
    padding: 70px;
}

#sec3 .Slides {
    display: flex;
}

/* javascript로 표현
#sec3 .Slides .SlideShow:nth-child(1) .img {
    background-image: url(../img/design/cont1.jpg);
}

#sec3 .Slides .SlideShow:nth-child(2) .img {
    background-image: url(../img/design/cont2_1.jpg);
}

#sec3 .Slides .SlideShow:nth-child(3) .img {
    background-image: url(../img/design/cont3.jpg);
}

#sec3 .Slides .SlideShow:nth-child(4) .img {
    background-image: url(../img/design/cont4.jpg);
}

#sec3 .Slides .SlideShow:nth-child(5) .img {
    background-image: url(../img/design/cont5.jpg);
}

#sec3 .Slides .SlideShow:nth-child(6) .img {
    background-image: url(../img/design/cont6.jpg);
}

#sec3 .Slides .SlideShow:nth-child(7) .img {
    background-image: url(../img/design/cont7.jpg);
}

#sec3 .Slides .SlideShow:nth-child(8) .img {
    background-image: url(../img/design/cont8.jpg);
}

#sec3 .Slides .SlideShow:nth-child(9) .img {
    background-image: url(../img/design/cont9_1.jpg);
}

#sec3 .Slides .SlideShow:nth-child(10) .img {
    background-image: url(../img/design/cont10_1.jpg);
}

#sec3 .Slides .SlideShow:nth-child(11) .img {
    background-image: url(../img/design/cont11.jpg);
} */

#sec3 .SlideShow .img {
    transition: background-position 0.5s ease, background-color 0.3s ease;
}

#sec3 .SlideShow:hover .img {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
}

#sec3 .img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    cursor: pointer;
}

#sec3 .img .img-inner {
    display: none;
    width: 100%;
    height: 100%;
    padding: 50px 0 0 50px;
}

#sec3 .img .name {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

#sec3 .img .name span {
    font-size: 1.6rem;
    font-weight: 400;
    margin-left: 15px;
}

#sec3 .img .short {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

#sec3 .img .topic {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

#sec3 .img .topic span {
    font-size: 1.8rem;
    font-weight: 400;
}

.l-r {
    display: flex;
    font-size: 2rem;
    font-weight: 600;
}

.l-r .left {
    margin-right: 25px;
}

#sec3 .l-r .icons {
    display: flex;
    margin-top: 5px;
}

#sec3 .l-r .icons li {
    width: 36px;
    height: 36px;
    margin-right: 6px;
}

.right .icons li {
    background-color: #274ECD;
}

#sec3 .l-r .icons li img {
    width: 100%;
    height: 100%;
}

/* ================================
    Popup
================================ */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    background-color: rgba(101, 101, 101, 0.5);
    z-index: 999;
}

.popup_inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 860px;
    height: 700px;
    background-color: #272727;
    transform: translate(-50%, -50%);
    overflow-y: scroll;
    text-align: center;
}

.popup_inner img {
    width: 660px;
    height: auto;
}

/* ================================
    Footer
================================ */
footer {
    width: 100%;
    height: 200px;
    background-color: #222;
    text-align: center;
}

footer p {
    padding-top: 76px;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.5;
}
