/* 언어설정 */
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Dancing+Script:wght@400..700&family=Unlock&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grandiflora+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Titan+One&display=swap');
/* font-family: "Unlock", serif; */
/* font-family: "Allura", cursive; */
/* font-family: "Dancing Script", cursive; */
/* font-family: "Grandiflora One", cursive; */
/* font-family: "DM Serif Text", serif; */
/* font-family: "Frank Ruhl Libre", serif; */
/* font-family: "Titan One", sans-serif; */



/* 전체설정 */
* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    color: #333;
    text-decoration: none;
}

img {
    border: none;
    vertical-align: bottom;
}


/* 네비게이션 설정 */
nav {
    width: 100%;
    height: 150px;

    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 2;
}

nav ul {
    width: 80%;
    height: 100%;
    margin-left: 5%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}


nav ul li:nth-child(1) {
    margin-left: 100px;
}

nav ul li a {
    position: relative;
}

nav ul li a img {
    position: absolute;
    transition: all 0.5s;
    opacity: 0.6;
}

nav ul li a img:nth-child(2) {
    display: none;
}

nav ul li a img:nth-child(3) {
    display: none;
}

nav ul li a img:nth-child(4) {
    display: none;
}

nav ul li:nth-child(1) a img:nth-child(2) {
    left: -55px;
    top: -30px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(1) a img:nth-child(3) {
    left: -20px;
    top: -23px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;

}

nav ul li:nth-child(1) a img:nth-child(4) {
    left: 90px;
    top: 25px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}


nav ul li:nth-child(2) a img:nth-child(2) {
    left: -50px;
    top: -30px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(2) a img:nth-child(3) {
    left: -15px;
    top: -23px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(2) a img:nth-child(4) {
    left: 150px;
    top: 25px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(3) a img:nth-child(2) {
    left: -45px;
    top: -30px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(3) a img:nth-child(3) {
    left: -10px;
    top: -23px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(3) a img:nth-child(4) {
    left: 130px;
    top: 25px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(4) a img:nth-child(2) {
    left: -50px;
    top: -30px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(4) a img:nth-child(3) {
    left: -15px;
    top: -23px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

nav ul li:nth-child(4) a img:nth-child(4) {
    left: 150px;
    top: 25px;

    animation: ani1 0.8s 1 linear, ani2 0.8s linear infinite 0.8s;
}

@keyframes ani1 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes ani2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

/* on 설정 */
nav ul li.on img:nth-child(1) {
    opacity: 1;
    height: 40px;
    margin-left: -20px;
    margin-top: -5px;
}

nav ul li.on img:nth-child(2) {
    display: flex;
}

nav ul li.on img:nth-child(3) {
    display: flex;
}

nav ul li.on img:nth-child(4) {
    display: flex;
}


/* MAIN 설정 */
.main {
    position: fixed;

    width: 100%;
    height: 100vh;
    background-image: url(../img/main_bg_01.jpg);
    background-repeat: no-repeat;
    background-size: 100vw 100vh;
}

.main img {
    width: 1000px;
    height: 550px;

    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -500px;
    margin-top: -275px;

    animation: logo 3s linear infinite;
}

@keyframes logo {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.9);
    }
}


/* MEMBER 설정 */
.member {
    width: 100%;
    height: 100%;
    position: fixed;
    background-image: url(../img/mem_02.png);
    background-repeat: no-repeat;
    background-size: cover;

    display: none;
}

.member>p {
    width: 100%;
    height: 100%;
    font-family: "Unlock", serif;
    font-size: 300px;
    background: url(../img/mem_01.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: -178px -550px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 5px #d9d9d9;

    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -800px;
    margin-top: -40px;
    z-index: 4;
}

.member div {
    width: 400px;
    height: 400px;
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    transition: all 0.8s;
}

.member div:hover {
    opacity: 1;
}

.member div p {
    font-family: "Dancing Script", cursive;
    font-size: 30px;
    color: #111;
    text-shadow: 4px 4px 4px #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
}

.member div span {
    font-family: "Allura", cursive;
    color: #fff;
    font-size: 55px;
    position: absolute;
    letter-spacing: 5px;
    display: block;
}

.member>div.on {
    display: block;
}


/* 윤두준 */
.member .mem_yoon {
    margin-left: -600px;
    margin-top: -350px;
    z-index: 5;
}

.member .mem_yoon p {
    margin-left: -10px;
    margin-top: -10px;
}

.member .mem_yoon span {
    margin-left: 50px;
    margin-top: 10px;
}


/* 양요섭 */
.member .mem_yang {
    margin-left: 250px;
    margin-top: -250px;
    z-index: 8;
}

.member .mem_yang p {
    margin-left: -90px;
    margin-top: -20px;
}

.member .mem_yang span {
    margin-left: 20px;
    margin-top: 20px;
}


/* 이기광 */
.member .mem_lee {
    margin-left: -300px;
    margin-top: -300px;
    z-index: 6;
}

.member .mem_lee p {
    margin-left: -120px;
    margin-top: -5px;
}

.member .mem_lee span {
    margin-left: 10px;
    margin-top: 10px;
}


/* 손동운 */
.member .mem_son {
    margin-top: -350px;
    z-index: 7;
}

.member .mem_son p {
    margin-left: -35px;
    margin-top: 10px;
}

.member .mem_son span {
    margin-left: 5px;
    margin-top: 20px;
}

.member .mouse {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: 3;
    background-color: red;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -100px;
    background-image: url(../img/mem_01.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    pointer-events: none;
    background-color: #111;
    opacity: 1;
    transition: none;
}


/* 개인 설정 */
/* yoon 설정 */
.yoon {
    display: none;
}

.yoon,
.yang,
.lee,
.son {
    width: 100%;
    height: 100%;
    position: fixed;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.yoon>img,
.yang>img,
.lee>img,
.son>img {
    position: absolute;
    top: 50%;
    left: 50%;
}

.yoon>img:nth-child(1),
.yang>img:nth-child(1),
.lee>img:nth-child(1),
.son>img:nth-child(1) {
    width: 1100px;
    height: 650px;
    margin-left: -600px;
    margin-top: -325px;
    opacity: 0.7;
    animation: logo 3s linear infinite;
}

.yoon>img:nth-child(2),
.yang>img:nth-child(2),
.lee>img:nth-child(2),
.son>img:nth-child(2) {
    transform: rotate(-5deg) translateX(-1000px);
    margin-top: -600px;
    animation: pic1 50s linear infinite;
}

.yoon>img:nth-child(3),
.yang>img:nth-child(3),
.lee>img:nth-child(3),
.son>img:nth-child(3) {
    transform: rotate(-5deg) translateX(-1000px);
    margin-top: -290px;
    animation: pic3 50s linear infinite;
}

.yoon>img:nth-child(4),
.yang>img:nth-child(4),
.lee>img:nth-child(4),
.son>img:nth-child(4) {
    transform: rotate(-5deg) translateX(-1000px);
    margin-top: 20px;
    animation: pic1 50s linear infinite;
}

.yoon>img:nth-child(5),
.yang>img:nth-child(5),
.lee>img:nth-child(5),
.son>img:nth-child(5) {
    width: 700px;
    margin-top: -300px;
    margin-left: -900px;
    z-index: 10;
}

.yoon>img:nth-child(6),
.yang>img:nth-child(6),
.lee>img:nth-child(6),
.son>img:nth-child(6) {
    margin-top: -500px;
    margin-left: 100px;
    opacity: 0;
    z-index: 20;
}

.yoon>img:nth-child(7),
.yang>img:nth-child(7),
.lee>img:nth-child(7),
.son>img:nth-child(7) {
    transform: rotate(-5deg) translateX(2165px);
    margin-top: -600px;
    animation: pic2 50s linear infinite;
}

.yoon>img:nth-child(8),
.yang>img:nth-child(8),
.lee>img:nth-child(8),
.son>img:nth-child(8) {
    transform: rotate(-5deg) translateX(2165px);
    margin-top: -290px;
    animation: pic4 50s linear infinite;
}

.yoon>img:nth-child(9),
.yang>img:nth-child(9),
.lee>img:nth-child(9),
.son>img:nth-child(9) {
    transform: rotate(-5deg) translateX(2165px);
    margin-top: 20px;
    animation: pic2 50s linear infinite;
}

/* 클릭버튼 설정 */
.yoon>p,
.yang>p,
.lee>p,
.son>p {
    font-family: "Dancing Script", cursive;
    font-size: 60px;
    color: #111;
    text-shadow: 4px 4px 4px #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -500px;
    margin-top: -50px;
    display: block;
    z-index: 10;
    animation: cl1 1s linear infinite;
}

/* 필모그래피 설명 설정 */
.yoon>.txt,
.yang>.txt,
.lee>.txt,
.son>.txt {
    width: 495px;
    height: 100%;
    position: fixed;
    left: 50%;
    top: 0;
    margin-left: 203px;
    background-color: #CECECE;
    font-family: "Grandiflora One", cursive;
    color: #333;
    padding: 50px;
    box-sizing: border-box;
    opacity: 0;
    z-index: 20;
}

.yoon>.txt .name,
.yang>.txt .name,
.lee>.txt .name,
.son>.txt .name {
    font-size: 35px;
    margin-bottom: 20px;
    letter-spacing: 5px;
    margin-top: 20px;
}

.yoon>.txt .year,
.yang>.txt .year,
.lee>.txt .year,
.son>.txt .year {
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: 20px;
}

.yoon>.txt .posi,
.yang>.txt .posi,
.lee>.txt .posi,
.son>.txt .posi {
    font-size: 20px;
    margin-bottom: 50px;
    margin-left: 20px;
}

.yoon>.txt .filmo,
.yang>.txt .filmo,
.lee>.txt .filmo,
.son>.txt .filmo {
    font-size: 30px;
    margin-bottom: 20px;
    letter-spacing: 5px;
}

.yoon>.txt ul,
.yang>.txt ul,
.lee>.txt ul,
.son>.txt ul {
    font-size: 18px;
    margin-left: 40px;
    list-style: circle;
}

.yoon>.txt ul li,
.yang>.txt ul li,
.lee>.txt ul li,
.son>.txt ul li {
    margin-top: 20px;
}

/* 애니메이션 */
@keyframes pic1 {
    0% {
        transform: rotate(-5deg) translateX(-1000px);
    }

    100% {
        transform: rotate(-5deg) translateX(-4165px);
    }
}

@keyframes pic2 {
    0% {
        transform: rotate(-5deg) translateX(2165px);
    }

    100% {
        transform: rotate(-5deg) translateX(-1000px);
    }
}

@keyframes pic3 {
    0% {
        transform: rotate(-5deg) translateX(-1000px);
    }

    100% {
        transform: rotate(-5deg) translateX(2165px);
    }
}

@keyframes pic4 {
    0% {
        transform: rotate(-5deg) translateX(-4165px);
    }

    100% {
        transform: rotate(-5deg) translateX(-1000px);
    }
}

@keyframes cl1 {
    0% {
        font-size: 60px;
    }

    50% {
        font-size: 65px;
    }

    100% {
        font-size: 60px;
    }
}

/* yang 설정 */
.yang {
    display: none;
}

/* lee 설정 */
.lee {
    display: none;
}

.lee>img:nth-child(5) {
    margin-top: -400px;
}

.lee>p {
    margin-left: -530px;
    margin-top: -90px;
}

/* son 설정 */
.son {
    display: none;
}

.son>img:nth-child(5) {
    width: 850px;
    margin-top: -510px;
    margin-left: -960px;
}

.son>p {
    margin-left: -620px;
    margin-top: -80px;
}

/* other 설정 */
.other {
    width: 350px;
    height: 200px;
    background-image: url(../img/mem_04.png);
    background-repeat: no-repeat;
    background-size: 350px 200px;
    position: fixed;
    z-index: 30;
    right: 0;
    top: 50px;
    opacity: 0;
}

.other .other_txt {
    width: 330px;
    height: 140px;
    background-color: #ddd;
    position: absolute;
    left: 9px;
    top: 30px;
    font-family: "Allura", cursive;
    font-size: 20px;
    letter-spacing: 1px;
    text-shadow: 4px 4px 4px #fff;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.other p {
    margin-bottom: 5px;
    padding: 2px 10px;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
}

.other p:hover {
    border-bottom: 1px solid #fff;
}

.other p:nth-child(3) {
    margin-bottom: 0;
}

.other em {
    font-family: "Grandiflora One", cursive;
    font-size: 10px;
    margin-top: 2px;
    position: absolute;
    left: 50%;
    top: 10px;
    margin-left: -130px;
}

@keyframes ot1 {
    0% {
        right: -350px;
        opacity: 0;
    }

    100% {
        right: 0;
        opacity: 1;
    }
}

@keyframes ot2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}


/* ALBUM 설정 */
.album {
    width: 100%;
    height: 100%;
    position: fixed;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;

    display: none;
}

.album .play {
    width: 90%;
    height: 800px;
    background-color: #3F4E65;
    position: relative;
    left: 0;
    top: 50%;
    margin-top: -430px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    box-shadow: 10px 10px 10px rgba(00, 00, 00, 0.6);
    overflow: hidden;
}


.album .play .lp {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.album .play .lp img {
    position: absolute;
    top: 50%;
}

@keyframes lp {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes ta1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(30deg);
        margin-left: -80px;
    }
}

@keyframes ta2 {
    0% {
        transform: rotate(30deg);
        margin-left: -80px;
    }

    100% {
        transform: rotate(30deg);
        margin-left: -80px;
    }
}

.album .play .lp img:nth-child(1) {
    margin-top: -325px;
    left: 50px;
    animation: lp 10s linear infinite 2.5s;
}

.album .play .lp img:nth-child(2) {
    margin-top: -270px;
    left: 670px;
    animation: ta1 2s linear 1, ta2 1s linear infinite 2s;
}


.album .play .song {
    width: 49%;
    height: 45%;
    position: absolute;
    right: 0;
    top: 0;
    overflow: hidden;
    margin-right: 1%;
}

.album .play .song h2 {
    font-family: "DM Serif Text", serif;
    font-size: 35px;
    color: #fff;
    text-shadow: 2px 2px 7px #fff;
    letter-spacing: 3px;
    width: 270px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.album .play .song>p {
    font-family: "Titan One", sans-serif;
    font-size: 80px;
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -40px;
    z-index: 50;
    color: #fff;
    text-shadow: 0px 0px 5px #fff;
    animation: right 1s linear infinite;
    cursor: pointer;
    width: 80px;
    height: 70px;
}

@keyframes right {
    0% {
        right: 10px;
        text-shadow: 0px 0px 2px #fff;
    }

    50% {
        right: 5px;
        text-shadow: 0px 0px 10px #fff;
    }

    100% {
        right: 10px;
        text-shadow: 0px 0px 2px #fff;
    }
}

.album .play .song .playlist {
    width: 5750px;
    height: calc(100% - 40px);
    display: flex;
    margin-top: 30px;
    position: absolute;
}

.album .play .song .playlist>div {
    width: 250px;
    height: 260px;
    position: relative;
}

.album .play .song .playlist>div img {
    position: absolute;
    left: 0;
    top: 0;
}

.album .play .song .playlist>div img:nth-child(1) {
    z-index: 40;
    border: 3px solid #fff;
    cursor: pointer;
}

.album .play .song .playlist>div img:nth-child(2) {
    z-index: 30;
    top: 1.5px;
}

.album .play .song .playlist>div.on img:nth-child(2) {
    left: 50px;
}

.album .play .song .playlist>div h3 {
    margin-top: 10px;
    color: #fff;
    font-size: 20px;
    font-family: "Frank Ruhl Libre", serif;
    text-shadow: 2px 2px 2px rgba(00, 00, 00, 0.25);
    padding: 0 5px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 40px;
}

.album .play .song .playlist>div p {
    margin-top: 5px;
    color: #ddd;
    font-size: 14px;
    padding: 0 5px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    bottom: 20px;
}

.album .play .song .playlist>div p span {
    display: inline-block;
    font-size: 12px;
    margin-left: 10px;
}


.album .play .lyrics {
    width: 49%;
    height: 52%;
    position: absolute;
    right: 0;
    bottom: 0;
    overflow-y: scroll;
    margin-bottom: 1%;
    margin-top: 2%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: rgba(225, 225, 225, 0.1);
    margin-right: 1%;
    border-radius: 100px;
    box-shadow: 0px 0px 10px #fff;
}

.my-scroll::-webkit-scrollbar {
    display: none;
}

.album .play .lyrics p {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    font-size: 16px;
    color: #eee;
    text-align: center;
    display: none;
}

.album .play .lyrics p.on {
    display: block;
}



/* GALLERY 설정 */
.gallery {
    width: 100%;
    height: 100%;
    position: fixed;
    background-image: url(../img/bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    perspective: 2000px;
    display: none;
}

.gallery .gallery_txt {
    font-family: "DM Serif Text", serif;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery .gallery_txt p {
    position: absolute;
    left: 50%;
}

.gallery .gallery_txt p:nth-child(1) {
    color: #333;
    font-size: 30px;
    margin-left: -265px;
    top: 120px;
    text-shadow: 4px 4px 4px #aaa;
    animation: gal1_1 1s linear 1, gal1_2 3s linear 1 1s, gal5_1 0.5s linear 1 4s;
    display: block;
    width: 650px;
}

.gallery .gallery_txt p:nth-child(2) {
    color: #ddd;
    font-size: 30px;
    margin-left: 30px;
    top: 120px;
    text-shadow: 4px 4px 4px #aaa;
    animation: gal4 1s linear 1, gal2_1 1s linear 1 1s, gal2_2 2s linear 1 2s, gal5_2 0.5s linear 1 4s;
    display: block;
    width: 550px;
}

.gallery .gallery_txt p:nth-child(3) {
    color: #555;
    font-size: 14px;
    margin-left: -210px;
    top: 170px;
    animation: gal4 2s linear 1, gal3_1 1s linear 1 2s, gal3_2 1s linear 1 3s, gal4 1s linear 1 4s, gal6 0.5s linear 1 5s;
}

@keyframes gal1_1 {
    0% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 0;
        margin-left: -850px;
    }

    100% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 50%;
        margin-left: -650px;
    }
}

@keyframes gal1_2 {
    0% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 50%;
        margin-left: -650px;
    }

    100% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 50%;
        margin-left: -650px;
    }
}

@keyframes gal2_1 {
    0% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 100%;
        margin-left: 250px;
    }

    100% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 50%;
        margin-left: 20px;
    }
}

@keyframes gal2_2 {
    0% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 50%;
        margin-left: 20px;
    }

    100% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        left: 50%;
        margin-left: 20px;
    }
}

@keyframes gal3_1 {
    0% {
        font-size: 24px;
        margin-left: -370px;
        top: 50%;
        opacity: 0;
    }

    100% {
        font-size: 24px;
        margin-left: -370px;
        top: 50%;
        opacity: 1;
    }
}

@keyframes gal3_2 {
    0% {
        font-size: 24px;
        margin-left: -370px;
        top: 50%;
        opacity: 1;
    }

    100% {
        font-size: 24px;
        margin-left: -370px;
        top: 50%;
        opacity: 0;
    }
}

@keyframes gal4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes gal5_1 {
    0% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        margin-left: -650px;
    }

    100% {
        font-size: 30px;
        top: 120px;
        margin-top: 0;
        margin-left: -265px;
    }
}

@keyframes gal5_2 {
    0% {
        font-size: 70px;
        top: 50%;
        margin-top: -100px;
        margin-left: 20px;
    }

    100% {
        font-size: 30px;
        top: 120px;
        margin-top: 0;
        margin-left: 30px;
    }
}

@keyframes gal6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


.gallery .gallery_img {
    width: 800px;
    height: 550px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -400px;
    margin-top: -275px;
    transform-style: preserve-3d !important;
    animation: gal4 5s linear 1, img2 1.5s linear 1 5s, img1 30s linear infinite 6.5s;
}

.gallery .gallery_img.on {
    opacity: 1;
}

.gallery .gallery_img:hover {
    animation-play-state: paused;
}

.gallery .gallery_img>div {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    backface-visibility: hidden;
}

.gallery .gallery_img>div img {
    width: 800px;
    height: 550px;
}

@keyframes img1 {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes img2 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* gallery 3d 배치 */
.img1 {
    transform: rotateY(0deg) translateZ(-1019px);
}

.img2 {
    transform: rotateY(45deg) translateZ(-1019px);
}

.img3 {
    transform: rotateY(90deg) translateZ(-1019px);
}

.img4 {
    transform: rotateY(135deg) translateZ(-1019px);
}

.img5 {
    transform: rotateY(180deg) translateZ(-1019px);
}

.img6 {
    transform: rotateY(225deg) translateZ(-1019px);
}

.img7 {
    transform: rotateY(270deg) translateZ(-1019px);
}

.img8 {
    transform: rotateY(315deg) translateZ(-1019px);
}


/* 섹션 on 설정 */
section.on {
    display: flex;
}