@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

html {
    /* 62.5% of 16px browser font size is 10px */
    /* 16px * 0.625 = 10px */
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    /* 1.6 * 10px = 16px */
}

html,
body {
    min-height: 100vh;
    height: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    --color-bg: #0a0a0a;
    padding: 0;
    scroll-behavior: smooth;
}

a {
    display: block;
}

#scrolli {
    display: none;
    position: relative;
    text-align: center;
    top: 56px;
    animation: moveTop 2.5s ease-in-out both infinite;
    font-size: 1.8rem;
}

@keyframes moveTop {
    0% {
        transform: translate3d(0, -20px, 8px);
        opacity: 0.2;
        visibility: hidden;
    }

    100% {
        transform: translate3d(0, 0, 8px);
        opacity: 1;
        visibility: visible;
    }
}

#load {
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    opacity: 1;
    background: rgb(255, 255, 255);
    z-index: 99;
    text-align: center;
    object-fit: cover;
}

#load img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 100;
    object-fit: cover;
    width: auto !important;
    height: auto !important;
}

.wrap {
    /* background: var(--color-bg); */
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.notice {
    width: 100%;
    display: block;
    position: fixed;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.9);
    height: 4.1vh;
}

.notice h5 {
    color: #e2e2e2;
}

.back {
    pointer-events: auto;
    cursor: pointer;
}

.cont {
    background: var(--color-bg);
    padding: 0 10rem;
    padding-top: 4%;
    /* display: none; */
    transition: all 1s;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#cont {
    background: #ededed;
    /* background-size: 400% 400%;
    animation: gradient 30s ease infinite; */
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.cont div,
.cont a {
    border-radius: 78px;
}

/* ************윗층*************/
.c_top {
    display: flex;
    gap: 2.2rem;
    flex-wrap: nowrap;
    min-height: 51.925vh;
    width: 100%;
}

.top_1 {
    background-color: black;
    flex: 1 1 812px;
    flex-basis: 812px;
    max-width: 100%;
    background-image: url(../img/s_profile.jpg);
    background-position: 100% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    filter: grayscale(0.11);
    outline: 3px solid #e6e6e6;
}

.c_top .top_1 h3 {
    display: inline-block;
    position: absolute;
    bottom: 7%;
    left: 5%;
    content: "About";
    z-index: 9990;
    color: white;
    font-family: "Noto Sans KR", "san-serif";
    font-size: 2rem;
    letter-spacing: 0.5px;
    line-height: 1;
    transition: all 1s;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 900px;
    padding: 2.2rem 4.8rem;
    font-weight: 500;
    border: 3px solid rgba(255, 255, 255, 0.82);
}

.c_top .top_1 h3 span {
    font-size: 2.8rem;
}

.top_1:hover h3 {
    font-size: 2.35rem;
    letter-spacing: 2px;
    transition: all 0.5s;
    text-align: left;
}

.top_1:hover {
    filter: sepia(0.1);
    transition: filter 1s;
    outline: 5px solid #f2f3f5;
    cursor: url(../img/plus_cursor.png) 50 50, progress;
    /* transform: rotateX(-3deg) rotateY(-3deg) perspective(-1200px); */
    transform: perspective(1500px) rotateX(-5deg) rotateY(5deg);
}

@keyframes scaleUp {
    from {
        transform: scale(0.75);
    }

    to {
        transform: scale(1);
    }
}

.cursor,
.follow {
    position: fixed;
    pointer-events: none;
    mix-blend-mode: difference;
    transform: rotate(45deg);
    z-index: 9999;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--pr-color);
    transition: transform .4s var(--cubicbz);
}

.follow {
    width: 30px;
    height: 30px;
    border: 2px solid #303030;
    transition: border .4s var(--cubicbz);
}

.cursor.active {
    transform: rotate(45deg) scale(0);
}

.follow.active {
    border-color: transparent;
}

.follow__txt {
    position: absolute;
    width: 300%;
    height: 300%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--pr-color);
    transition: opacity .4s var(--cubicbz), transform .4s var(--cubicbz);
    transition-delay: .1s;
}

.follow.active .follow__txt {
    transform: translate(-50%, -50%) scale(1);
}

.follow__txt div {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 14px;
    color: var(--second-color);
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.small {
    animation: small 0.3s ease both;
}

@keyframes small {
    0% {
        scale: 0.8;
    }

    100% {
        scale: 1;
    }
}

.top_2 {
    background-color: black;
    border-radius: 5000px !important;
    flex: 1 1 292px;
    flex-basis: 292px;
    background-image: url(../img/vid-min.gif);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.top_2::before {
    opacity: 0;
    position: absolute;
    content: "Career";
    color: white;
    font-size: 3rem;
    border-bottom: 1px solid #ececec;
    padding-bottom: 1.5%;
    text-align: center;
    top: 50%;
    left: 50%;
    display: inline-block;
    transform: translate(-50%, -45%);
    transition: opacity 0.5s;
    font-family: "SUIT", "sans-serif";
}

.top_2:hover::before {
    opacity: 1;
    transition: 0.5s;
}

.top_2:hover {}

.top_3 {
    background-color: transparent;
    flex: 1 1 552px;
    flex-basis: 552px;
    background-image: url(../img/pexels-tranmautritam-326502.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    filter: grayscale(1);
}

.top3_inner {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    display: block;
    background-color: rgb(251, 250, 252);
    z-index: 99;
    padding: 4.75rem;
    border: 3px solid var(--color-bg);
}

.top3_inner:hover {
    background-color: transparent;
    border: 3px solid white;
}

.top3_inner:hover h3 {
    color: #ffffff;
    transform: translate(2px, 10px);
    transition: all 0.8s;
    font-size: 4.5vw;
    color: white;
}

.top3_inner h3 {
    font-size: 4.8vw;
    letter-spacing: -1px;
    /* -webkit-text-fill-color: rgb(153 79 235 / 1%); */
    /* -webkit-text-stroke-width: 0.3px; */
    /* -webkit-text-stroke-color: #000000; */
    transition: all 0.5s ease;
}

.top3_inner:hover::after {
    right: 18px;
    transition: right 1s ease;
}

.top3_inner::after {
    position: absolute;
    width: 5.5rem;
    height: 5.5rem;
    background-color: #f7f5f4;
    content: "";
    box-sizing: border-box;
    display: block;
    bottom: 0;
    right: 0;
    margin: 10%;
    border-radius: 100px;
    background-image: url(../img/arrow-down-right.png);
    background-position: center;
    background-size: 45%;
    background-repeat: no-repeat;
    transition: right 1s;
}

/********** 아랫층 ***********/
.c_bot {
    display: flex;
    gap: 2rem;
    margin-top: 4.5rem;
    flex-wrap: wrap;
    width: 100%;
    color: white;
    min-height: 31.158vh;
}

.c_bot a:hover::after {
    left: 6px;
    transition: left 0.8s;
}

.c_bot a::after {
    transition: left 1s;
}

.bot_1 {
    background-color: transparent;
    flex-grow: 1;
    background-image: url(../img/meco2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.bot_1::after {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.2rem 3.8rem;
    background-color: var(--color-bg);
    content: "메코텍티타늄";
    display: block;
    border-radius: 9999px;
    margin: 5%;
    font-family: "SUIT", "sans-serif";
    letter-spacing: 0.3px;
    font-size: 1.8rem;
    font-weight: 500;
    z-index: 3;
    color: white;
}

.bot_1::before {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(10, 10, 10, 0.15);
    z-index: 2;
    border-radius: 70px;
    content: "";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(28px, 3.2vw, 82px);
    color: #333;
    font-family: "Gugi", sans-serif;
}

.do-hyeon-regular {
    font-family: "Do Hyeon", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.nanum-brush-script-regular {
    font-family: "Nanum Brush Script", cursive;
    font-weight: 400;
    font-style: normal;
}

.gugi-regular {
    font-family: "Gugi", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.bot_1:hover::before {
    content: "전문기업";
    font-weight: 500;
    color: white;
    background-color: rgb(10, 10, 10, 0.3);
    transition: 0.6s;
}

.bot_2:hover::before {
    content: "교육기업";
    font-weight: 500;
    color: white;
    background-color: rgb(10, 10, 10, 0.3);
    transition: 0.6s;
}

.bot_3:hover::before {
    content: "공공기관";
    font-weight: 500;
    color: white;
    background-color: rgb(10, 10, 10, 0.3);
    transition: 0.6s;
}

.bot_2 {
    background-color: transparent;
    flex-grow: 1;
    background-image: url(../img/project_1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.bot_2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.2rem 3.8rem;
    background-color: var(--color-bg);
    content: "서울유니에듀";
    display: block;
    border-radius: 9999px;
    margin: 5%;
    font-family: "SUIT", "sans-serif";
    letter-spacing: 0.3px;
    font-size: 1.8rem;
    font-weight: 500;
    z-index: 3;
    color: white;
}

.bot_2::before {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(10, 10, 10, 0.15);
    z-index: 2;
    content: "";
    border-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: clamp(28px, 3.2vw, 82px);
    font-family: "Gugi", sans-serif;
}

.bot_3 {
    background-color: transparent;
    flex-grow: 1;
    background-image: url(../img/minhwa.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    z-index: 1;
}

.bot_3::after {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2.2rem 3.8rem;
    background-color: var(--color-bg);
    content: "한국민화 뮤지엄";
    display: block;
    border-radius: 9999px;
    margin: 5%;
    font-family: "SUIT", "sans-serif";
    letter-spacing: 0.3px;
    font-size: 1.8rem;
    font-weight: 500;
    z-index: 3;
    color: white;
}

.bot_3::before {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(10, 10, 10, 0.15);
    z-index: 2;
    content: "";
    border-radius: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: clamp(28px, 3.2vw, 82px);
    font-family: "Gugi", sans-serif;
}

h2 {
    display: none;
}

.c_top div,
.c_bot a {
    cursor: pointer;
    transition: all 1s;
    animation: scaleUp 0.5s ease;
}

.c_top div:hover,
.c_bot a:hover {
    scale: 0.95;
    transition: 0.65s ease;
}

.revealer {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    pointer-events: none;
}

.revealer__inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--color-bg);
}

.overlay {
    opacity: 0;
    background-color: #f7f5f4;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    scroll-behavior: smooth;
}

.overlay_2 {
    opacity: 0;
    background-color: #0a0a0a;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    scroll-behavior: smooth;
}

.overlay_3 {
    opacity: 0;
    background-color: rgb(236, 235, 236);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    scroll-behavior: smooth;
}

/* 모바일 */
@media all and (max-width: 700px) {
    body {
        --color-bg: #f2f3f5;
    }

    .wrap {
        height: auto;
    }

    .cont {
        padding: 0 0px;
        background: var(--color-bg) !important;
    }

    .c_top {
        flex-direction: row;
        padding-top: 100px;
        gap: 18px;
        transition: all 0.3s;
        padding: 100px 20px 40px 20px;
        max-height: 51.925vh;
    }

    .c_top div {
        max-height: 320px;
    }

    .c_top .top_1 {
        flex: 1 1 0;
        background-image: url(../img/s_profile.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        aspect-ratio: 1 / 1;
        position: relative;
    }

    .c_top .top_1:hover {
        transform: none;
    }

    .c_top .top_1 h3 {
        display: none;
    }

    .c_top .top_1::after {
        display: flex;
        content: "Profile";
        box-sizing: border-box;
        position: absolute;
        width: 100%;
        height: 30px;
        color: rgb(0, 0, 0);
        bottom: -50px;
        left: 0;
        transform: translate(0, -50%);
        font-size: 20px;
        font-weight: 700;
        justify-content: center;
        align-items: center;
        font-family: "Playfair Display", serif;
        padding-top: 3%;
        letter-spacing: 0.5px;
    }

    .c_top .top_2 {
        flex: 1 1 0;
        background-image: url(../img/vid-min.gif);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        aspect-ratio: 1 / 1;
        position: relative;
    }

    .c_top .top_2 {
        border: none;
        outline: none;
        stroke: none;
    }

    .c_top .top_2::before {
        display: none;
        opacity: 0;
    }

    .c_top .top_2::after {
        display: flex;
        content: "Career";
        box-sizing: border-box;
        position: absolute;
        width: 100%;
        height: 30px;
        color: rgb(0, 0, 0);
        bottom: -50px;
        left: 0;
        transform: translate(0, -50%);
        font-size: 20px;
        font-weight: 700;
        justify-content: center;
        align-items: center;
        font-family: "Playfair Display", serif;
        padding-top: 3%;
        letter-spacing: 0.3px;
    }

    .c_top .top_3 {
        flex: 1 1 0;
        background-image: url(../img/pexels-tranmautritam-326502.jpg);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        aspect-ratio: 1 / 1;
        position: relative;
        filter: grayscale(0.8);
    }

    .c_top .top_3:hover {
        filter: none;
    }

    .c_top .top_3::after {
        display: flex;
        content: "Works";
        box-sizing: border-box;
        position: absolute;
        width: 100%;
        height: 30px;
        color: rgb(0, 0, 0);
        bottom: -50px;
        left: 0;
        transform: translate(0, -50%);
        font-size: 20px;
        font-weight: 700;
        justify-content: center;
        align-items: center;
        font-family: "Playfair Display", serif;
        padding-top: 3%;
        letter-spacing: 0.3px;
    }

    .c_top .top3_inner {
        display: none;
    }

    .c_top div:hover {
        flex: 2 1 0;
        transition: all 1s;
    }

    .c_top div {
        transition: gap 0.5s;
    }

    .c_top:hover div {
        margin-right: -5px;
        transition: all 0.5s;
    }

    .c_top:hover div:last-child {
        margin-right: 0;
    }

    .c_bot {
        flex-direction: column;
        gap: 24px;
        padding-bottom: 100px;
        margin-top: 15.8vh;
        padding: 65px 20px 100px 20px;
        background: #222;
        border-radius: 0 !important;
    }

    .c_bot a {
        flex-basis: 130px;
        border-radius: 20px;
        animation: none;
    }

    .c_bot a:hover {
        outline: 1px solid #252525;
        transition: 0.3s ease;
    }

    .bot_1::before,
    .bot_2::before,
    .bot_3::before {
        border-radius: 20px;
    }

    .c_bot h2 {
        display: inline-block;
        /* color: rgb(148, 148, 148); */
        color: white;
        margin: 12px 0 4px 0;
        font-family: "Orbit", serif;
        font-weight: 700;
        letter-spacing: 0.15px;
        font-size: 42px;
    }

    .bot_1::after,
    .bot_2::after,
    .bot_3::after {
        background-color: rgb(24, 25, 26);
        padding: 0.8rem 2rem;
        font-size: 3.22vw;
    }

    #scrolli {
        display: block;
        opacity: 1;
    }
}