body {
    position: relative;
}

/*  #BACKROUND  */

div#backRound {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -2;
}
@keyframes dashRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.dashRound {
    position: absolute;
    width: 30vw;
    height: 30vw;
    border-radius: 50%;
    border: 1px dashed var(--sub-color);
    animation: dashRotate 360s linear infinite;
}
div#backRound > div:nth-child(1) {
    top: 6vw;
    left: -2vw;
}
div#backRound > div:nth-child(2) {
    top: 1vw;
    right: -3vw;
}
div#backRound > div:nth-child(3) {
    top: -10vw;
    right: -3vw;
}

/*  SECTION  */

section {
    width: 100vw;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 0;
}
section > div {
    float: left;
}

/*  #ABOUTLEFT  */

div#aboutLeft {
    width: 33vw;
    padding: 0 5vw 0 12vw;
    position: relative;
}
div#aboutLeft h2 {
    font-weight: 200;
    font-size: 64px;
}
div#aboutLeft p {
    padding-top: 10vw;
    font-size: 1vw;
    font-weight: 200;
    line-height: 160%;
}

/*  #ABOUTRIGHT  */

div#aboutRight {
    padding-top: 10px;
    width: 67vw;
    overflow: hidden;
}

#container::-webkit-scrollbar {
    display: none;
}
#container {
    /* 가로 스크롤 가능 */
    overflow-x: auto;
    overflow-y: hidden;
    /* 아래처럼 Grid 설정 (6열 x 2행) */
    display: block; /* 감싸기용. 실제 그리드는 ul에서 적용할 것 */
    width: 100%;
}

#container ul {
    /* 6열 x 2행 */
    display: grid;
    grid-template-columns: repeat(3, 21vw);
    grid-template-rows: repeat(2, auto);
    /* 칸 사이 간격 - 필요하면 조절 */
    column-gap: 3vw;
    row-gap: 3vw;
    /* 전체가 6칸이므로, 가로폭은 대략 6*24vw + (5*3vw) 정도 */
    width: calc(3 * 21vw + 2.3 * 3vw);

    /* 스크롤 막대 안 보이게(크롬) */
    scrollbar-width: none; /* 파이어폭스 */
}

/* -----------------------------------------
    각 li: 
    1번 li => (col:1, row:1)
    2번 li => (col:1, row:2)
    3번 li => (col:2, row:1)
    4번 li => (col:2, row:2)
    ...
    11번 li => (col:6, row:1)
    12번 li => (col:6, row:2)
----------------------------------------- */
#container ul li:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}
#container ul li:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}
#container ul li:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
}
#container ul li:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}
#container ul li:nth-child(5) {
    grid-column: 3;
    grid-row: 1;
}
#container ul li:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}
#container ul li:nth-child(7) {
    grid-column: 4;
    grid-row: 1;
}
#container ul li:nth-child(8) {
    grid-column: 4;
    grid-row: 2;
}
#container ul li:nth-child(9) {
    grid-column: 5;
    grid-row: 1;
}
#container ul li:nth-child(10) {
    grid-column: 5;
    grid-row: 2;
}
#container ul li:nth-child(11) {
    grid-column: 6;
    grid-row: 1;
}
#container ul li:nth-child(12) {
    grid-column: 6;
    grid-row: 2;
}

#container li {
    border-bottom: 1px dashed var(--sub-color);
    width: 21vw;
}
#container .bgimg {
    background-size: cover;
    height: 13vw;
    overflow: hidden;
    padding: 0 1vw;
}
#container span {
    padding: 5px 0;
    display: inline-block;
    font-size: 1.1vw;
    font-weight: 100;
}
#container span + span {
    text-align: right;
    float: right;
}

/*  HOVER  */

#container li:hover .bgimg {
}

@media (max-width: 780px) {
    html,
    body {
        height: 100vh;
        overflow-y:scroll;
    }
    /*  #BACKROUND  */

    .dashRound {
        width: 50vw;
        height: 50vw;
    }
    div#backRound > div:nth-child(1) {
        top: 8vw;
        left: -6vw;
    }
    div#backRound > div:nth-child(2) {
        top: 90vw;
        right: 10vw;
    }
    div#backRound > div:nth-child(3) {
        top: 90vw;
        right: -5vw;
    }

    /*  SECTION  */

    section {
        top: 200vw;
    }

    section > div {
        float: none;
    }

    /*  #ABOUTLEFT  */

    div#aboutLeft {
        width: 100vw;
        padding: 0 12vw;
        position: relative;
    }

    div#aboutLeft h2 {
        font-weight: 200;
        font-size: 64px;
        width: 50%;
    }

    div#aboutLeft p {
        font-size: 1.8vw;
        width: 100%;
        padding: 6vw 0;
        text-align: left;
    }

    /*  #ABOUTRIGHT  */

    div#aboutRight {
        padding: 12vw 0;
        width: 100vw;
        height: 190vw;
        overflow: visible;
    }

    #container {
        height: auto;
        overflow: visible;
    }

    #container ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        row-gap: 7vw;
        width: 75%;
        margin: auto;
        height: 100%;
    }

    #container ul li {
        width: 36vw;
    }

    #container .bgimg {
        height: 22vw;
    }

    #container span {
        font-size: 20px;
    }

    #container .bgimg div p {
        font-size: 16px;
    }

    /*  ACTIVE  */

    #container li:active .bgimg div {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    /*  #BACKROUND  */

    .dashRound {
        position: fixed;
        width: 60vw;
        height: 60vw;
    }
    div#backRound > div:nth-child(1) {
        top: 15vw;
    }
    div#backRound > div:nth-child(2) {
        top: 75vh;
        right: 10vw;
    }
    div#backRound > div:nth-child(3) {
        top: 75vh;
    }

    section {
        top: 10vh;
        transform: translateY(0);
    }
    div#aboutLeft {
        padding: 0 8vw;
        display: flex;
        flex-direction: column;
    }
    div#aboutLeft h2 {
    }
    div#aboutLeft p {
        font-size: 14px;
    }

    div#aboutRight {
        padding: 20vw 0;
    }
    #container {
        padding-bottom: 15vw;
    }
    #container ul {
        width: 100%;
        padding: 8vw;
        row-gap: 8vw;
    }
    #container ul li {
        width: 100%;
    }
    #container .bgimg {
        height: 52vw;
    }

    #container li .bgimg div {
        opacity: 1;
        top: 52vw;
        height: 20vw;
        background-image: none;
        padding: 10px 0;
    }
}
