@font-face {
    font-family: 'GmarketSans';
    font-weight: 300;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.ttf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 500;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.ttf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    font-weight: 700;
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot');
    src: url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot?#iefix') format('embedded-opentype'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff2') format('woff2'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff') format('woff'),
        url('https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.ttf') format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 300;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 400;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 700;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 800;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 900;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot?#iefix") format("embedded-opentype"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff2") format("woff2"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff") format("woff"),
        url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.ttf") format("truetype");
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

:root {
    --fontN: "nanumSquareNeo";
    --fontG: "GmarketSans";
}

a {
    text-decoration: none;
    color: #00A7FD;
}

li {
    list-style: none;
}

body {
    width: 100%;
    height: 100vh;
    background: #030f23;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-direction: column;
}

body.lightsOn {
    background: #efeddf;
}

body.lightsOn .animal-wrapper .eye-wrapper .eye .pupil {
    width: 57px;
    height: 75px;
}

body.lightsOn .switch-wrapper {
    top: -20px;
}

body.lightsOn .switch-wrapper .string {
    background: #ff6347;
}

body.lightsOn .switch-wrapper .knot,
body.lightsOn .switch-wrapper .tassel {
    background: #ffc32d;
}

body.lightsOn .switch-wrapper .gap {
    background: #efeddf;
}

/* main__icons */
.main__icons {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;

    .icon {
        width: 65px;
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin: 10px;
        cursor: pointer;
        text-align: center;

        img {
            width: 50px;
            border-radius: 50%;
        }

        span {
            display: block;
            font-family: var(--fontN);
            margin-top: 8px;
            color: #fff;
            font-size: 13px;
        }
    }
}

.member {
    position: absolute;
    left: 10px;
    bottom: 10px;
    text-align: center;
    width: 100%;
}

.member ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.member li {
    margin-bottom: 10px;
    margin-right: 5px;
    list-style: none;
}

.member img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}

.member a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
}

/* layer__wrap */
.layer__wrap {}

.layer__inner {

    .layer {
        width: 80vw;
        height: 90vh;
        /* background-color: #ccc; */
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-family: var(--fontN);

        .layer__conts {
            background-color: #223167a8;
            backdrop-filter: blur(30px);
            width: 100%;
            height: 100%;
            padding: 5%;
            border-radius: 10px;
            overflow-y: scroll;

            &::-webkit-scrollbar {
                width: 10px;
                background-color: #223167a8;
                border-radius: 20px;
            }

            &::-webkit-scrollbar-thumb {
                background-color: #ffffff51;
                border-radius: 20px;
            }

            &::-webkit-scrollbar-track {
                background-color: #223167a8;
            }

            .intro {
                h3 {
                    font-size: 25px;
                    margin-bottom: 15px;
                    font-weight: 300;
                }

                span {
                    display: block;
                    margin-bottom: 10px;
                }

                .mail {
                    display: block;
                    font-size: 12px;
                    color: #c9c9c9;
                    text-decoration: none;
                    margin-bottom: 30px;
                    margin-top: 30px;
                    position: relative;

                    &::after {
                        content: '';
                        width: 80px;
                        height: 1px;
                        background-color: #fff;
                        position: absolute;
                        top: -14px;
                        left: 0;
                    }
                }

                p {
                    line-height: 1.7;
                }

                .style1 {
                    font-size: 20px;
                    margin-bottom: 20px;
                    font-weight: 300;
                }

                .style2 {
                    font-size: 16px;
                    opacity: 0.6;
                }
            }

            .skill {
                margin-top: 30px;
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;

                h3 {
                    width: 100%;
                    border-bottom: 1px solid #fff;
                    font-weight: 100;
                    font-size: 16px;
                    line-height: 2;
                    text-transform: uppercase;
                    margin-bottom: 20px;
                    margin-top: 20px;
                }

                dl {
                    width: 48%;

                    dt {
                        text-transform: uppercase;
                        text-decoration: underline;
                        text-underline-position: under;
                        margin-bottom: 10px;
                    }

                    dd {
                        margin-bottom: 20px;
                        line-height: 1.6;
                    }
                }
            }

            .picture {
                h3 {
                    width: 100%;
                    border-bottom: 1px solid #fff;
                    font-weight: 100;
                    font-size: 16px;
                    line-height: 2;
                    text-transform: uppercase;
                    margin-bottom: 20px;
                    margin-top: 20px;
                }

                ul {
                    display: flex;
                    flex-wrap: wrap;

                    li {
                        width: 25%;
                        list-style: none;

                        img {
                            width: 100%;
                            vertical-align: top;
                        }
                    }
                }
            }
        }

        .layer__footer {}
    }
}

.round,
.switch-wrapper .knot,
.switch-wrapper .tassel,
.animal-wrapper .eye-wrapper .eye .pupil,
.animal-wrapper .eye-wrapper .eye {
    border-radius: 50%;
    transform-origin: 50%;
}

.center,
.animal-wrapper .eye-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.swing {
    animation: swing 1s 1;
}

.hide {
    display: none;
}

.animal-wrapper {
    position: relative;
    margin-top: 150px;
}

.animal-wrapper #animal-body {
    position: absolute;
    bottom: -710px;
    left: 50%;
    transform: translateX(-50%);
}

.animal-wrapper .eye-wrapper {
    top: 195px;
    display: flex;
    justify-content: space-between;
    width: 280px;
}

.animal-wrapper .eye-wrapper .eye-inner-wrapper {
    animation: blink 4s infinite;
}

.animal-wrapper .eye-wrapper .eye {
    position: relative;
    background: #fff;
    border: 4px solid #000;
    width: 85px;
    height: 85px;
}

.animal-wrapper .eye-wrapper .eye .pupil {
    background: #000;
    width: 70px;
    height: 70px;
    position: absolute;
    bottom: 16px;
    right: 13px;
}

.switch-wrapper {
    position: absolute;
    top: 0;
    left: 20%;
    transition: all 0.2s;
}

.switch-wrapper .string {
    background: #fff;
    width: 7px;
    height: 280px;
}

.switch-wrapper .knot,
.switch-wrapper .tassel {
    cursor: pointer;
    background: #daa520;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.switch-wrapper .knot {
    width: 28px;
    height: 22px;
    bottom: 71px;
}

.switch-wrapper .tassel {
    width: 105px;
    height: 75px;
    bottom: -2px;
    -webkit-clip-path: polygon(38% 0, 62% 0, 80% 100%, 20% 100%);
    clip-path: polygon(38% 0, 62% 0, 80% 100%, 20% 100%);
}

.switch-wrapper .gap {
    background: #030f23;
    width: 20px;
    height: 20px;
    -webkit-clip-path: polygon(49% 0, 29% 100%, 56% 100%);
    clip-path: polygon(49% 0, 29% 100%, 56% 100%);
    position: absolute;
    bottom: 0;
    left: -22px;
}

@keyframes blink {

    0%,
    100% {
        transform: scaleY(0.01);
    }

    5%,
    95% {
        transform: scaleY(1);
    }
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(0deg) translate(0);
    }

    25% {
        transform: rotate(-2deg) translateX(10px);
    }

    50% {
        transform: rotate(2deg) translateX(-10px);
    }
}

@media (max-width: 1200px) {
    .layer__inner {
        .layer {
            width: 90vw;
        }
    }
}

@media (max-width: 960px) {
    .layer__inner {
        .layer {
            width: 95vw;
            height: 95vh;

            .layer__conts {
                .picture {
                    ul {
                        li {
                            width: 33.3333%;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 800px) {
    .layer__inner {
        .layer {
            .layer__conts {
                .skill {
                    flex-direction: column;

                    dl {
                        width: 100%;
                    }
                }

                .picture {
                    ul {
                        li {
                            width: 50%;
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 600px) {
    .layer__inner {
        .layer {
            .layer__conts {
                background-color: #223167;

                .picture {
                    ul {
                        li {
                            width: 100%;
                        }
                    }
                }
            }
        }
    }
}