@font-face {
    font-family: 'HCRDotum';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.0/HCRDotum.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
/* 초기화 */
* {
    margin: 0;
    padding: 0;
    font-family: 'HCRDotum';
}

li {
    list-style: none;
}

body {
    margin: 0 auto;
}


a {
    text-decoration: none;
    color: cornsilk;
}

#pf2 {
    border-radius: 20px 20px 20px 20px;
    width: 300px;
    height: 400px;

}


/*페이지 대문 */

/*페이지1 */
#section1 {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;

    background-color: lightblue;
}

/*페이지2 */
#section2 {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;

    background-color: #cfcf64;
}

/*페이지3 */
#section3 {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;

    background-color: #d6f9d8;
}






/*페이지4 */
#section4 {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;
    background-color: rgb(61, 207, 226);

}

/* 페이지5 */
#section5 {
    height: auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5em;
    background-color: rgb(199, 243, 78);

}





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


/* 메인 */
@import url('https://fonts.googleapis.com/css?family=Poppins:700');

.blob {
    position: absolute;
    top: 0;
    left: 0;
    fill: #023F92;
    width: 50vmax;
    z-index: 999;
    animation: move 10s ease-in-out infinite;
    transform-origin: 50% 50%;
}

@keyframes move {
    0% {
        transform: scale(1) translate(10px, -30px);
    }

    38% {
        transform: scale(0.8, 1) translate(80vw, 30vh) rotate(160deg);
    }

    40% {
        transform: scale(0.8, 1) translate(80vw, 30vh) rotate(160deg);
    }

    78% {
        transform: scale(1.3) translate(0vw, 50vh) rotate(-20deg);
    }

    80% {
        transform: scale(1.3) translate(0vw, 50vh) rotate(-20deg);
    }

    100% {
        transform: scale(1) translate(10px, -30px);
    }
}

/* section2 */
.gd_button{
    position: absolute;
    top:170vh;
}
.gd_contianer{
    height: 500px; width: 900px;
}

.pf_img{
    top:120%; left: 5%;
    padding: 10px;
}
.side_img{
    position: relative;
    top: 15%;
    left: -4%;
}

#ys_typingtext {
    font-size: 2rem;
    font-weight: bold;
    height: 250px;
    text-align: center;
    top: 50%
}

#ys_typingtext::after {
    content: '';
    margin-left: .6rem;
    border-right: 2px solid #777;
    animation: cursor .9s infinite steps(2);
}

@keyframes cursor {
    from {
        border-right: 2px solid #222;
    }

    to {
        border-right: 2px solid #777;
    }
}

/* section3 */
/* .gd_box{
    border: solid;
    margin: 10px;
} */

.gd_contianer3 {
    font-family: ;
    height: 400px;
    width: 400px;
    margin: auto;
    /* position: absolute; */
    top: 50%;
    left: 50%;
    perspective: 1000px;
    animation: gd_spin 120s linear 0s infinite normal none;
    transform-style: preserve-3d;

    transform: translate(-50%, -50%);

}

.gd_Imgbox {
    /* height: 250px;
    width: 250px;
    position: absolute; */
    top: 50%;
    left: 50%;
    /* top: 100px; left: 100px; */
    transform-style: preserve-3d;
    transform: translate(-50%, -50%);
}

.gd_box {
    height: 250px;
    width: 250px;
    text-align: center;
    color: white;
    background: none;
    border: 2px solid black;
    font-size: 32px;
    box-sizing: border-box;
    position: absolute;
    

}

.gd_button {
    background: none;
    border: none;
    cursor: pointer;
}

.front {
    display: block;
    width: 0px;
    height: 0px;
    border-bottom: calc(125px * 1.732) solid rgb(245, 158, 158, 0.5);
    border-left: 125px solid transparent;
    border-right: 125px solid transparent;
    border-top: 0px;
    right: -100px;
    transform: rotate(180deg);
    background: none;
    transition: transform 0.5s, opacity 0.5s;
    /* animation: gd_scale 1s ease normal; */
}
.gd_jkc{
    display: block;
    position: relative;
    right: -25px;
    top: 214px;
    color: #222;
    transform: rotate(180deg);
}



.back {
    width: 0px;
    height: 0px;
    border-bottom: calc(125px * 1.732) solid rgb(135, 207, 235, 0.5);
    border-left: 125px solid transparent;
    border-right: 125px solid transparent;
    border-top: 0px;
    right: -197px;
    top: 54px;
    transform: rotate(240deg);
    transition: transform 0.5s, opacity 0.5s;

}
.gd_coffee{
    display: block;
    position: relative;
    right: -50px;
    top: 214px;
    color: #222;
    transform: rotate(180deg);
}

.top {
    width: 0px;
    height: 0px;
    border-bottom: calc(125px * 1.732) solid rgb(249, 196, 98, 0.5);
    border-left: 125px solid transparent;
    border-right: 125px solid transparent;
    border-top: 0px;
    top: 166px;
    right: -197px;
    transform: rotate(300deg);
    transition: transform 0.5s, opacity 0.5s;
}
.gd_gg{
    display: block;
    position: relative;
    right: -25px;
    top: 214px;
    color: #222;
    transform: rotate(180deg);
}

.bottom {
    width: 0px;
    height: 0px;
    border-bottom: calc(125px * 1.732) solid rgb(16, 219, 108,0.5);
    border-left: 125px solid transparent;
    border-right: 125px solid transparent;
    border-top: 0px;
    top: 220px;
    right: -100px;
    transform: rotate(0deg);
    transition: transform 0.5s, opacity 0.5s;
}
.gd_pf{
    display: block;
    position: relative;
    right: -60px;
    top: 214px;
    color: #222;
    transform: rotate(180deg);
}
.gd_git{
    display: block;
    position: relative;
    right: 60px;
    top: 214px;
    width: 120px;
    color: #222;
    transform: rotate(180deg);
}
.left {
    width: 0px;
    height: 0px;
    border-bottom: calc(125px * 1.732) solid rgba(199, 29, 233, 0.164);
    border-left: 125px solid transparent;
    border-right: 125px solid transparent;
    border-top: 0px;
    top: 166px;
    right: -3px;
    transform: rotate(60deg);
    background: transparent;
    transition: transform 0.5s, opacity 0.5s;
}

.right {
    width: 0px;
    height: 0px;
    border-bottom: calc(125px * 1.732) solid rgba(236, 1, 13, 0.151);
    border-left: 125px solid transparent;
    border-right: 125px solid transparent;
    border-top: 0px;
    top: 54px;
    right: -3px;
    transform: rotate(120deg);
    transition: transform 0.5s, opacity 0.5s;
}

@keyframes gd_spin {

    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.front:hover{
    opacity: 0.5;
    transform: scale(0.8) rotate(180deg);
}
.back:hover{
    opacity: 0.5;
    transform: scale(0.8) rotate(240deg);
}
.top:hover{
    opacity: 0.5;
    transform: scale(0.8) rotate(300deg);
}
.bottom:hover{
    opacity: 0.5;
    transform: scale(0.8) rotate(0deg);
}
.left:hover{
    opacity: 0.5;
    transform: scale(0.8) rotate(60deg);
}
.right:hover{
    opacity: 0.5;
    transform: scale(0.8) rotate(120deg);
}

/* 테스트 커밋용 */
#gd_sidename{

    position: relative;
    top:130px;
    left:-100px;
    transform: rotate(321deg);
    font-size: 1.8em;
    color: #d7b9b9;
}
