/*====================
Default
======================*/
* {
    color: #212121;
    font-family: Pretendard, sans-serif;
}
@font-face {
    font-family: 'GmarketSansBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GmarketSansLight';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

a {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
}

html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: #212121;
}

.main {
    width: 100%;
    min-height: 100vh;
    padding-bottom: 50px;
    background: #212121;
}

/*====================
Header
======================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    border-bottom: 2px solid #B5A1FF;
    background: rgba(33, 33, 33, 0.5);
    z-index: 999;
}

.header .logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.header .logo-wrap .name span {
    font-size: 22px;
}

.header .logo-wrap .name .last-name {
    color: #B5A1FF;
    font-family: GmarketSansBold, sans-serif;
}

.header .logo-wrap .name .first-name {
    font-family: GmarketSansLight, sans-serif;
}

.header .logo-wrap span {
    color: #FFFFFF;
}

.header .logo-wrap .job {
    font-size: 14px;
}

.header .menu-wrap {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header .menu-wrap .menu {
    display: none;
    width: 30px;
    cursor: pointer;
}

.header .menu-wrap a {
    padding: 10px 0 10px 10px;
    color: #FFFFFF;
    font-weight: 600;
    transition: color .25s;
}

.header .menu-wrap a:hover {
    color: #B5A1FF;
}

.header .aside {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 99;
}

.header .aside .aside-menu {
    width: calc(70% - 60px);
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background: #B5A1FF;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.header .aside .aside-menu a {
    color: #FFFFFF;
    font-size: 24px;
}

/*====================
Dark Mode
======================*/
.header .dark-mode {
    position: fixed;
    right: 10%;
    top: 100px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.header .dark-mode > span {
    color: #FFFFFF;
    font-family: Pretendard, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.header .dark-mode > input[type=checkbox] {
    display: none;
}

.header .dark-mode > input[type=checkbox]:checked ~ .toggle {
    background: #B5A1FF;
}

.header .dark-mode > input[type=checkbox]:checked ~ .toggle .switch {
    left: calc(100% - 18px);
    background: #fff;
}

.header .dark-mode .toggle, .header .dark-mode .toggle .switch {
    transition: all 0.2s ease-in;
}

.header .dark-mode .toggle {
    width: 36px;
    height: 20px;
    display: block;
    position: relative;
    border-radius: 30px;
    background-color: #999999;
    cursor: pointer;
}

.header .dark-mode .toggle .switch {
    width: 16px;
    height: 16px;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

/*====================
tab
======================*/
.tab {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    overflow-x: scroll;
}

.tab::-webkit-scrollbar {
    display: none;
}

.tab button {
    padding: 8px 16px;
    border: 2px solid #B5A1FF;
    border-radius: 30px;
    color: #999999;
    font-size: 16px;
    font-weight: 500;
    background: #212121;
    cursor: pointer;
    /*transition: background .5s;*/
}

.tab button:hover {
    background: #555555;
    color: #FFFFFF;
}

.tab button.on {
    color: #212121;
    background: #B5A1FF;
    font-weight: 600;
}

/*====================
Content
======================*/
.content {
    width: 80%;
    margin: 170px auto 0;
}

.main-content {
    margin-top: 120px;
}

.portfolio-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.portfolio-wrap .portfolio {
    width: 100%;
    position: relative;
    cursor: pointer;
}

.portfolio-wrap .portfolio > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
}

.portfolio-wrap .portfolio:hover > div {
    background: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

.portfolio-wrap .portfolio > div > span {
    height: 50%;
    padding: 10px 20px;
    color: #FFFFFF;
    pointer-events: none;
}

.portfolio-wrap .portfolio > div .top {
    display: flex;
    align-items: flex-end;
    font-size: 24px;
    font-weight: 600;
    transform: translateY(-80%);
    transition: transform 0.3s;
}

.portfolio-wrap .portfolio:hover > div .top {
    transform: translateY(0);
}

.portfolio-wrap .portfolio > div .bottom {
    display: flex;
    transform: translateY(80%);
    transition: transform 0.3s;
    font-size: 18px;
}

.portfolio-wrap .portfolio:hover > div .bottom {
    transform: translateY(0);
}

.portfolio-wrap .portfolio img {
    width: 100%;
    border: 1px solid #212121;
}

.empty-wrap {
    width: 100%;
    margin-top: 88px;
}

.empty-wrap div {
    width: 100%;
    height: 550px;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    font-size: 32px;
    font-family: Pretendard, sans-serif;
    font-weight: 500;
    background: url(../images/ico/house.svg) no-repeat center 60px/80% 80%;
}

.content .details {
    width: 100%;
}

.back-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 150px;
}

.back-wrap a {
    padding: 10px 40px;
    border: 2px solid #B5A1FF;
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    background: #212121;
    cursor: pointer;
    /*transition: background .5s;*/
}

.back-wrap a:hover {
    background: #555555;
}

.about-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.about-wrap .card_box{
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
}

.about-wrap .card {
    width: 60%;
}

.about-wrap .motto {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1vw;
}

.about-wrap .motto p:first-child{
    color: #FFFFFF;
    font-size: 4.2vw;
    font-family: GmarketSansBold, sans-serif;
    line-height: normal;
}
.about-wrap .motto p{
    margin: 0;
    color: #B5A1FF;
    font-size: 1.7vw;
    font-family: Pretendard, sans-serif;
    line-height: normal;
    white-space: nowrap;
}

.about-wrap .about {
    width: 100%;
}

.profile-box {
    position: relative;
    overflow: hidden;
}

.profile-box p {
    margin: 0;
}

.about-wrap .speak {
    margin: 7rem 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 80px;
}

.about-wrap .speak p {
    margin: 0;
    width: 100%;
    color:#FFFFFF;
    text-align: center;
    font-size: 20px;
    font-family: Pretendard, sans-serif;
    font-weight: 400;
    line-height: 30px;
    white-space: pre-line;
}

.about-wrap .speak p span {
    color: #B5A1FF;
    font-weight: 700;
}

.about-wrap .text_move {
    position: absolute;
    display: flex;
    gap: 30vw;
    white-space: nowrap;
    top: 8%;
}

.about-wrap .text_move.a {
    animation: scrollTextStart 10s linear infinite;
}

.about-wrap .text_move.b {
    animation: scrollTextEnd 10s linear infinite;
}

.about-wrap .text_move span {
    color: #9582DB;
    font-size: 4.2vw;
    font-family: GmarketSansMedium, sans-serif;
    line-height: normal;
}

@keyframes scrollTextStart {
    from {
        transform: translateX(0);
    }
    to {
        transform: translate(-125%);
    }
}

@keyframes scrollTextEnd {
    from { 
        transform: translateX(125%); 
    }
    to { 
        transform: translateX(0); 
    }
}

[data-aos] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s, transform 0.3s;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.top-button {
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 60px;
    right: 8%;
    opacity: 0;
    border: 0;
    background: url("../images/ico/top.svg");
    transition: opacity .15s;
}

.page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.page > div {
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
}

.page .next {
    align-items: flex-end;
}

.page > div > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page > div > div .btn {
    color: #FFFFFF;
}

.page > div > div img {
    width: 6px;
}

.page .prev > div img {
    rotate: 180deg;
}

.page > div .desc {
    color: #999999;
}

.page > div:hover .desc {
    color: #FFFFFF;
}
/*====================
Footer
======================*/
.footer {
    width: 80%;
    border-top: 2px solid #B5A1FF;
    padding-top: 24px;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.footer .copyright {
    color: #FFFFFF;
    font-size: 14px;
}

.footer .footer-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer .footer-wrap > div {
    height: 160px;
    padding: 24px;
    border-radius: 30px;
    background: #B5A1FF;
}

.footer .footer-wrap .info {
    width: 70%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer .footer-wrap .info img {
    width: 100px;
}

.footer .footer-wrap .info .desc {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: column;
}

.footer .footer-wrap .info .desc .job {
    width: 100%;
    font-size: 24px;
    font-weight: 600;
}

.footer .footer-wrap .info .desc .contact {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.footer .footer-wrap .inside {
    width: 30%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.footer .footer-wrap .inside .desc {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
}

.footer .footer-wrap .inside .desc .title {
    font-size: 24px;
    font-weight: 600;
}

.footer .footer-wrap .inside .desc .subtitle {
    font-size: 16px;
}

.footer .footer-wrap .inside .btn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

}

.footer .footer-wrap .inside .btn-wrap a {
    padding: 12px 16px;
    border-radius: 30px;
    color: #FFFFFF;
    font-size: 14px;
    background: #000;
    box-shadow: 0 0 24px 0 #FFD557;
    animation: blink 3.5s infinite;
}

@keyframes blink {
    0%, 50% {
        box-shadow: 0 0 24px 0 #FFD557;
    }
    25%, 75% {
        box-shadow: none;
    }
}