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

body,
main {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.overlay_mode {
    overflow: hidden;
}



/* overlay_1 */
.overlay .overlay_mode {
    border: 1px solid #000;
}

.b_wrap {
    display: flex;
    position: relative;
    font-family: 'Roboto', 'sans-serif';
}

.b_left {
    width: 35vw;
    height: 830px;
    overflow: hidden;
    object-fit: cover;
    position: relative;
}

.b_left::after {
    opacity: 0;
    position: absolute;
    content: 'Dong-Ho';
    font-size: 12vh;
    z-index: -1;
    display: inline-block;
    font-weight: 700;
    left: 25%;
    margin-top: 24px;
    height: 100%;
    word-break: break-word;
    word-wrap: break-word;
    width: 30px;
    line-height: 0.78;
    color: #e0dede;
}

.b_left img {
    border: 2px solid #000;
    width: 100%;
    object-fit: cover;
    display: block;
    transform: translateY(-10%);
}

.b_right {
    display: flex;
    flex-direction: column;
    width: 65vw;
    border: 1px solid #000;
}

.br_one {
    width: 100%;
    height: 35vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #fff;
    z-index: 1;
}

.br_one div {
    font-size: 2vw;
    border: none;
    position: relative;
    margin-left: 1.5rem;
}

.br_one::before {
    position: absolute;
    content: 'KIM DONG-HO';
    display: block;
    font-size: 12vw;
    font-family: 'Jockey One', 'sans serif';
    z-index: -1;
    color: rgba(0, 0, 0, 0.07);
    width: 100%;
    margin-left: 3%;
}

.br_two {
    height: 65vh;
}

.f_wrap {
    position: absolute;
    width: 70vw;
    height: 65%;
    bottom: 0;
    right: 0;
    background-color: #fff;
    z-index: 1;
    display: flex;
    margin-bottom: 20px;
    flex-direction: column;
    border: 1px solid #000;
}

.f_box {
    flex: 1 1 0;
    position: relative;
    border: 1px solid #000;
    background-color: #ebebeb;
}

.iconbox {
    margin: 0 8%;
    display: flex;
    flex: 1 1 0;
    justify-content: space-around;
    align-items: center;
    vertical-align: middle;
    height: 90%;
}

.iconbox li img {
    transition: 0.7s;
}

.iconbox li:hover img {
    scale: 1.1;
}

.f_box::after {
    display: block;
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20%;
    z-index: 11;
    background-color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #000;
    font-size: 1.3rem;
}

.f_box:nth-of-type(1) .iconbox {
    display: flex;
    height: 87%;
    margin: 0 8%;
}

.f_box:nth-of-type(1)::after {
    content: 'Photoshop , Illustrator , Figma';
}

.f_box:nth-of-type(2)::after {
    content: 'HTML , CSS , JS , jQuery , V·S Code';
    letter-spacing: -0.2px;
}

.f_box:nth-of-type(3)::after {
    content: '-';
    justify-content: flex-end;
}

.br_one .info div {
    vertical-align: middle;
    display: flex;
    align-items: center;
    line-height: 1.71;
}

.br_one .email::before {
    display: inline-block;
    content: '';
    background: url(../img/icon/email.png);
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    height: 42px;
    width: 42px;
    margin-right: 4px;
}

.br_one .number::before {
    display: inline-block;
    content: '';
    background: url(../img/icon/phone.png);
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    height: 42px;
    width: 42px;
    margin-right: 4px;
}

.br_one .address::before {
    display: inline-block;
    content: '';
    background: url(../img/icon/location.png);
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    height: 42px;
    width: 42px;
    margin-right: 4px;
}

.back {
    position: fixed;
    top: 0;
    right: 0;
    width: 14vw;
    height: 14vw;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0.85;
}

/* 모바일 세로 (해상도 ~ 479px)*/
@media all and (max-width:700px) {
    main .overlay_3 .ot_grid {
        grid-template-columns: 1fr;
    }

    .f_wrap {
        flex-direction: column;
    }

    .back {
        width: 28vw;
        height: 28vw;
    }

    .br_one div {
        font-size: 1.2rem;
    }

    .b_left::after {
        opacity: 1;
    }

    .wrap {
        overflow: auto;
        height: 100vh;
    }

    .cont {
        overflow: auto;
    }

    .br_one::before {
        opacity: 0;
    }

    .b_left img {
        transform: translateY(0);
    }

    .iconbox {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        margin: 8% 8%;
        /* display: flex; */
        flex: 1 1 0;
        justify-content: space-around;
        align-items: center;
        vertical-align: middle;
        height: auto;
    }
}


/* overlay_3*/

.overlay_3 .ot_grid {
    display: grid;
    gap: 20px;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    grid-gap: 1rem;
}

.overlay_3 .ot_grid a {
    overflow: hidden;
    border-radius: 2vw;
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 1px solid #ebebeb;
    background: #f0f0f0;
}

.overlay_3 .ot_grid a img {
    height: 100%;
    margin: 0;
    padding: 0;
    display: block;
    transition: all 1s;
    cursor: pointer;
}

.overlay_3 .ot_grid a img:hover {
    transform: scale(1.05);
    transition: all 0.55s ease;
    transition-delay: 0.08s;
    transition-duration: 1.2s;
}

.overlay_3 .overlay_mode {
    overflow: auto;
    height: 100%;
    margin: 0 12px;
}

.overlay_3 h3 {
    font-size: 16.2vw;
    color: #c9c8c9;
    letter-spacing: -0.4vw;
    margin-top: 8px;
}

.menu-wrap {
    display: flex;
    gap: 6px;
    flex: 1 1 auto;
    margin: 5vh 0;
}

.menu-link {
    display: flex;
    min-height: 50px;
    background-color: transparent;
    color: black;
    border-radius: 999px;
    min-width: 10vw;
    padding: 1.25vw 3vw;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', 'sans-serif';
    border: 1px solid #000;
}

.menu-link:hover {
    animation: .6s both hov1;
    background: #ddd;
    font-weight: 600;
}

@keyframes hov1 {
    0% {
        -webkit-transform: scaleY(1);
        transform: scaleY(1)
    }

    30% {
        -webkit-transform: scaleY(.8) scaleX(1.2);
        transform: scaleY(.8) scaleX(1.2)
    }

    65% {
        -webkit-transform: scaleY(1.1) scaleX(.9) translateY(-8px);
        transform: scaleY(1.1) scaleX(.9) translateY(-8px)
    }

    85% {
        -webkit-transform: scaleY(.95) scaleX(1.01) translateY(0);
        transform: scaleY(.95) scaleX(1.01) translateY(0)
    }

    100% {
        -webkit-transform: scaleY(1) scaleX(1) translateY(0);
        transform: scaleY(1) scaleX(1) translateY(0)
    }
}

@media all and (min-width:53em) {
    .overlay_3 .ot_grid a {
        height: 88vh;
    }
}


.overlay_2 .overlay_mode {
    overflow: hidden;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay_2 .overlay_mode::before {
    display: block;
    content: 'History';
    color: white;
    position: absolute;
    font-size: 15.2vw;
    letter-spacing: -2px;
    margin: 14px 24px;
    opacity: 0.5;
    top: 0;
    left: 0;
    font-weight: 600;
}

.swiper {
    width: 240px;
    height: 320px;
    position: relative;
}

/* .swiper::after {
    display: block;
    content: '';
    background-image: url(../img/swap_arrow.png);
    background-repeat: no-repeat;
    font-size: 2rem;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
} */
.swiper .next-s {
    display: block;
    content: '';
    background-image: url(../img/swap_arrow.png);
    background-repeat: no-repeat;
    font-size: 2rem;
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    z-index: 99999;
    cursor: pointer;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.swiper-cards .swiper-slide {
    color: #0a0a0a;
    padding: 25px 25px;
    display: flex;
    width: 240px;
    text-align: left;
    justify-content: start;
    z-index: 4;
    transform: translate3d(0px, 0px, 0px) rotateZ(0deg) scale(1);
    flex-direction: column;
    align-items: baseline;
}

.swiper-cards .swiper-slide .year {
    font-size: 1.6rem;
    border-top: 3px solid #000;
}

.swiper-cards .swiper-slide .company {
    font-size: 1.875rem;
    flex-grow: 1;
    display: block;
    margin-top: 17%;
}

.swiper-cards .swiper-slide .work {
    font-size: 1.2rem;
    font-weight: 400;
}

.swiper-slide:nth-child(1n) {
    background-color: #fff9f7;
}

.swiper-slide:nth-child(2n) {
    background-color: #d0e957;
}

.swiper-slide:nth-child(3n) {
    background-color: #ffbc01;
}

.swiper-slide:nth-child(4n) {
    background-color: #f2b2d7;
}