@font-face {
    font-family: 'Pretendard';
    src: url("./PretendardVariable.ttf");
}

/*#region 애니메이션*/

@keyframes bgani {
    0% {
        background-position: 0%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100%;
    }

    75% {
        background-position: 50% 0;
    }

    to {
        background-position: 0%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(70px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0px);
    }
}

@keyframes fadeInOpacityOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/*#endregion*/

/*#region 기본 세팅*/
* {
    user-select: none;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;

    font-family: 'Pretendard';
}

html {
    overflow: hidden !important;
}

html,
body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #ffffff1a;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: 0 0;
}

body {
    background: linear-gradient(-57.7143deg, #090909, #101010, #111, #1a1a1a) 0 0/100% 100%;
    justify-content: center;
    align-items: center;
    animation: 11.7s ease-in-out infinite bgani;
}

.screen {
    display: flex;
    flex-direction: column;
    width: 100vw;
    overflow-y: scroll;
}

/*#endregion*/

/*#region 네비게이터*/
.navigator {
    border: 1px solid #ffffff1a;
    z-index: 1000;
    position: absolute;
    left: 50%;
    bottom: 50px;
    backdrop-filter: blur(10px);
    width: 235px;
    height: 42.5px;
    border-radius: 50px;
    background-color: #ffffff1f;
    opacity: 0;
    transform: translateX(-50%) translateY(70px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;

    animation: fadeIn .6s cubic-bezier(0.187, 1.736, 0.64, 1) forwards;
    animation-delay: 1s;
}

.navigator a {
    overflow: hidden;
}

.navigator a img {
    cursor: pointer;
    transition-duration: .25s;
    width: 32.5px;
    height: 32.5px;
    border-radius: 50%;
    padding: 5px;
    color: #fff;
    filter: invert(1);
    margin: auto 0;
    overflow-y: hidden;
}

.navigator a img:hover {
    background-color: #88888888;
}

/*#endregion*/

/*#region home*/
.home {
    display: flex;
    height: 100vh;
}

.home .texts {
    margin: auto auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.home .texts .title {
    font-family: 'Pretendard';
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    animation: fadeInOpacityOnly .6s ease-in-out forwards;
    opacity: 0;
    margin: 0 auto;
}

.home .texts .desc {
    font-family: 'Pretendard';
    font-size: 1.08rem;
    font-weight: 300;
    color: white;
    animation: fadeInOpacityOnly .6s ease-in-out forwards;
    opacity: 0;
    margin: 0 auto;
}

/*#endregion*/

/*#region section*/
.section {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    padding: 0 0 120px;
    box-sizing: border-box;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-content: start;
}

.section .subject {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-bottom: 50px;
}

.section .subject .title {
    font-family: 'Pretendard';
    font-weight: 700;
    font-size: 48px;
    color: #fff;
}

.section .subject .desc {
    font-family: 'Pretendard';
    font-weight: 400;
    font-size: 18px;
    color: #d1d1d1;
    text-align: center;
}

/*#endregion*/

/*#region projects*/
.subject {
    grid-column: 1 / -1;
    margin-bottom: 8px;
}

.project {
    min-height: 260px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid #ffffff1a;
    background-color: #ffffff1f;
    backdrop-filter: blur(14px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.project .content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project .title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.project .desc {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.65;
    color: #d7d7d7;
}

.project .row .link {
    width: fit-content;
    padding: 12px 18px;
    border-radius: 50px;
    background-color: #ffffff;
    color: #111;
    text-decoration: none;
    font-size: .96rem;
    font-weight: 600;
    transition-duration: .2s;
    cursor: pointer;
    border: 1px solid #ffffff00;
}

.project .row .link:hover {
    background-color: #00000000;
    backdrop-filter: blur(5px);
    border: 1px solid #ffffff1a;
    color: #fff;
}

.project .properties {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.project .properties span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 50px;
    border: 1px solid #ffffff1a;
    background-color: #ffffff1f;
    color: #f2f2f2;
    font-size: .86rem;
    font-weight: 400;
}

.project .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 0 0;
}

@media (max-width: 768px) {
    .section {
        width: calc(100vw - 32px);
        padding-bottom: 96px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .subject {
        margin-bottom: 2px;
    }

    .project {
        min-height: 220px;
        padding: 24px;
        border-radius: 24px;
        gap: 22px;
    }

    .project .title {
        font-size: 1.35rem;
    }

    .project .row {
        flex-direction: row;
        align-items: flex-start;
    }
}

/*#endregion*/

/*#region connect*/

.connect {
    padding: 24px;
    border-radius: 28px;
    border: 1px solid #ffffff1a;
    background-color: #ffffff1f;
    backdrop-filter: blur(14px);
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 28px;
}

.connect .content {
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    margin: auto 0;
}

.connect .launch {
    width: fit-content;
    padding: 12px 18px;
    border-radius: 50px;
    background-color: #ffffff;
    color: #111;
    text-decoration: none;
    font-size: .96rem;
    font-weight: 600;
    transition-duration: .2s;
    cursor: pointer;
    border: 1px solid #ffffff00;
}

.connect .launch:hover {
    background-color: #00000000;
    backdrop-filter: blur(5px);
    border: 1px solid #ffffff1a;
    color: #fff;
}

/*#endregion*/

/*#region copyright*/

.copyright {
    color: #888;
    margin-left: auto;
}

/*#endregion*/
