@import url('http://fonts.cdnfonts.com/css/biscuits-story');

@font-face {
    font-family: 'KOTRAHOPE';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2110@1.0/KOTRAHOPE.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'twayair';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_tway@1.0/twayair.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

*{margin: 0; padding: 0;}
a{text-decoration: none; color: #111; display: block;
    font-family: 'Noto Sans KR', sans-serif; white-space: nowrap;
    cursor: url('../img/mouse_over.png'),auto;
}
li{list-style: none;}
header, section, footer{width: 100%; float: left;}
div{box-sizing: border-box;}
img{width: 100%;}
html, body{
    cursor: url('../img/mouse.png'),default;
    font-family: 'Noto Sans KR', sans-serif;
}
.wrap{
    width: 100%;
    height: 100vh;
    position: relative;
    background-color: #635c70;
}
.bg_ani img#image{
    width: 500px;
    position: absolute;
    bottom: 0;
    left: 0;
}
/* 말풍선 */
.wrap .talk ul li{
    width: 200px;
    height: 200px;
    background-image: url(../img/talk.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    left: 50px;
    bottom: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    font-family: 'twayair';
    animation: hithere2 2s ease infinite;
}
@keyframes hithere2 {
    30% { }
    40%, 60% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    70% { transform: rotate(0deg); }
    100% { }
}
.talk ul li:nth-child(1) p{
    font-size: 24px;
    margin-bottom: 20px;
}
.talk ul li:nth-child(2) p{
    font-size: 24px;
    margin-bottom: 20px;
}
.talk ul li:nth-child(3) p{
    font-size: 13px;
    margin-bottom: 30px;
    position: relative;
}
.talk ul li:nth-child(3) p::after{
    content: "";
    width: 60px;
    height: 60px;
    position: absolute;
    bottom: -50px;
    right: 10px;
    background-image: url(../img/arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
.talk ul li:nth-child(4) p{
    font-size: 26px;
    margin-bottom: 20px;
    text-align: right;
    color: #f29b76 ;
}
.talk ul li:nth-child(4) p span{
    color: #8cb179;
}
.talk ul li:nth-child(5) p{
    font-size: 22px;
    margin-bottom: 20px;
    text-align: right;
}
/* 별똥별 애니메이션 */
#shooting span{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 1)  ;
    animation:  shooting 5s linear infinite;
    opacity: 0;
}
#shooting span::before{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 8px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(90deg, #fff, transparent);
}
@keyframes shooting {
    0%
    {
        transform: rotate(315deg) translateX(0);
        opacity: 0;
    }
    10%{opacity: 1;}
    70%{opacity: 1;}
    100%
    {
        transform: rotate(315deg) translateX(-800px);
        opacity: 0;

    }
}
#shooting span:nth-child(1){
    top: 0;
    right: 1300px;
    left:initial;
    animation-delay:0 ;
    animation-duration: 1s;
}

#shooting span:nth-child(2){
    top: 0;
    right: 120px;
    left:initial;
    animation-delay:0.2s;
    animation-duration: 3s;
}

#shooting span:nth-child(3){
    top: 80px;
    right: 30px;
    left:initial;
    animation-delay:0.4s ;
    animation-duration: 2s;
}

#shooting span:nth-child(4){
    top: 0;
    right: 220px;
    left:initial;
    animation-delay:0.6s;
    animation-duration: 1.5s;
}
#shooting span:nth-child(5){
    top: 0;
    right: 400px;
    left:initial;
    animation-delay:0.8s;
    animation-duration: 2.5s;
}
#shooting span:nth-child(6){
    top: 0;
    right: 600px;
    left:initial;
    animation-delay:1s ;
    animation-duration: 3s;
}
#shooting span:nth-child(7 ){
    top: 300px;
    right: 0px;
    left:initial;
    animation-delay:1s ;
    animation-duration: 1.75s;
}

#shooting span:nth-child(8){
    top: 0px;
    right: 700px;
    left:initial;
    animation-delay:1.4s ;
    animation-duration: 1.25s;
}

#shooting span:nth-child(9){
    top: 50px;
    right: 1200px;
    left:initial;
    animation-delay:0.75s ;
    animation-duration: 2.25s;
}

#shooting span:nth-child(10){
    top: 0px;
    right: 1000px;
    left:initial;
    animation-delay:2.75s ;
    animation-duration: 2.25s;
}
/* 별 애니메이션 */
#star span{
    position: absolute;
    width: 5px;
    height: 5px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 1)  ;
    animation:  animate2 3s linear infinite;
    opacity: 0;
}
@keyframes animate2{
    0%{opacity: 0;}
    50%{opacity: 1;}
    100%{opacity: 0;}
}
#star span:nth-child(1){
    top: 200px;
    right: 10%;
    left:initial;
    animation-delay:1.4s ;
    animation-duration: 1.25s;
}
#star span:nth-child(2){
    top: 220px;
    right: 30%;
    left:initial;
    animation-delay:2.75s ;
    animation-duration: 2.25s;
}
#star span:nth-child(3){
    top: 290px;
    right: 40%;
    left:initial;
    animation-delay:1s ;
    animation-duration: 1.75s;
}
#star span:nth-child(4){
    top: 131px;
    right: 44%;
    left:initial;
}
#star span:nth-child(5){
    top: 250px;
    right: 50%;
    left:initial;
}
#star span:nth-child(6){
    top: 200px;
    right: 53%;
    left:initial;
    animation-delay:1s;
    animation-duration: 1.75s;
}
#star span:nth-child(7){
    top: 220px;
    right: 60%;
    left:initial;
    animation-delay:0.8s;
    animation-duration: 1.3s;
}
#star span:nth-child(8){
    top: 210px;
    right: 65%;
    left:initial;
    animation-delay:0.5s;
    animation-duration: 1.5s;
}
#star span:nth-child(9){
    top: 145px;
    right: 70%;
    left:initial;
    animation-delay:0.8s;
    animation-duration: 1.3s;
}
#star span:nth-child(10){
    top: 190px;
    right: 78%;
    left:initial;
    animation-duration: 1.7s;
}
#star span:nth-child(11){
    top: 170px;
    right: 85%;
    left:initial;
    animation-delay:0.8s;
    animation-duration: 1s;
}
#star span:nth-child(12){
    top: 133px;
    right: 90%;
    left:initial;
    animation-duration: 1.7s;
}
#star span:nth-child(13){
    top: 140px;
    right: 25%;
    left:initial;
    animation-delay:0.8s;
    animation-duration: 1.3s;
}
#star span:nth-child(14){
    top: 180px;
    right: 37%;
    left:initial;
    animation-duration: 1.7s;
}
/* 사이드 버튼 */
.side_btn a{
    width: 150px;
    height: 150px;
    background-image: url(../img/sidebutton.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 90;
}

/* 헤더 */
header{
    height: 100px;
    background-color: transparent;
    position: absolute;
    top: 0;
    z-index: 100;
    display: none;
}
header .center_box{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-content: center;
    justify-content: space-between;
}
header .logo a{
    width: 100px;
    height: 100px;
    background-image: url(../img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
header nav{
    height: 100px;
    width: 700px;
}
header nav ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
header nav ul li{
    position: relative;
}
header nav ul li a{
    font-family: 'Biscuits Story', sans-serif;
    color: #dad66b;
    text-shadow: 3px 3px 3px #111;
    font-size: 28px;
}
/* nav deco */
header nav ul li .deco{
    width: 35px;
    height: 35px;
    /* background-color: #111; */
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
header nav ul li .deco i{
    color: yellow;
    font-size: 16px;
    margin-top: 70px;
}

/* intro */
.section.s1{
    font-family: 'Biscuits Story', sans-serif;
    color: #dad66b;
    text-shadow: 5px 5px 5px #111;
    font-size: 4vw;
    text-align: center;
    position: relative;
}
.section.s1.active h1{
    margin: 0;
    animation: intro1 1s ;
}
@keyframes intro1{
    0%{transform: scale(0.3);
    opacity: 0;}
    80%{transform: scale(0.3);
    opacity: 0;}
    100%{transform: scale(1);
    opacity: 1;}
}
.section.s1.active h2{
    animation: intro1 1.2s;
}
.section.s1.active p{
    animation-delay:1s;
    animation: intro2 2s;
}
@keyframes intro2{
    0%{margin-left: 600px;
    opacity: 0;}
    50%{margin-left: 600px;
    opacity: 0;}
    100%{margin-left: 0;
    opacity: 1;}
}
.section.s1 p{
    margin-top: 5vh;
    font-size: 3vw;
}

.section.s1 .mouse span{
    color: #fff;
    font-size: 20px;
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}
.section.s1 .mouse{
    width: 50px;
    height: 90px;
    border: 3px solid #fff;
    border-radius: 60px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 50px;
}
.section.s1 .mouse::before{
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    animation: wheel 2s infinite;
    -webkit-animation: wheel 2s infinite;
}
@keyframes wheel {
    to {
        opacity: 0;
        top: 60px;
    }
}
@-webkit-keyframes wheel {
    to {
        opacity: 0;
        top: 60px;
    }
}

/* profile */
.section.s2 .center_box{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    color: #fff;
    font-size: 20px;
}
.section.s2 .center_box > .box1{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section.s2 .center_box > .box1 .me{
    width: 300px;
    height: 300px;
    border: 10px solid #fff;
    border-radius: 50%;
    background-image: url(../img/character.png);
    transition: all 0.5s;
}
.section.s2 .center_box > .box1:hover .me{
    background-image: url(../img/character_hover.png);
    transition: all 0.5s;
}
.section.s2 .center_box > .box1 h1{
    width: 250px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #fff;
    border-radius: 30px;
    color: #111;
    font-size: 32px;
    margin-bottom:50px ;
}
.section.s2 .about .box1{
    margin-bottom: 20px;
    font-size: 20px;
}
.section.s2 .edu > .box1{
    margin-bottom: 20px;
}
.section.s2 .center_box > .box2{
    text-align: center;
    margin-top: 80px;
    color: #9aed90;
}

/* skills */
.section.s3 .center_box{
    width: 1200px;
    height: 660px;
    margin: 50px auto 0;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
.section.s3 h1{
    width: 250px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: #fff;
    border-radius: 30px;
    color: #111;
    font-size: 32px;
}
.section.s3 .box{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px;
}
.section.s3 .detail{
    width: 40%;
    height: 100%;
    background-image: url(../img/memo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80%;
    position: relative;
    font-family: 'KOTRAHOPE';
}
.section.s3 .detail > div{
    width: 230px;
    height: 180px;
    position: absolute;
    top: 35%;
    left: 48%;
    transform: translate(-50%);
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
}
.section.s3 .detail > div > .box1{
    display: flex;
    justify-content: space-between;
}
.section.s3 .detail > div .box1 > .title h3{
    font-size: 30px ;
}
.section.s3 .detail > div .box1 > .addper{
    font-size: 40px;
    font-weight: bold;
}
.section.s3 .detail> div .box1 > .addper i{
    font-size: 20px;
}
.section.s3 .detail > div .box2{
    white-space: nowrap;
    font-size: 16px;
}

/* nohover */
.section.s3 .detail .nohover p{
    font-size: 24px;
    text-align: center;
    line-height: 180px;
}
.section.s3 .detail .sm_detail h3{
    line-height: 24px;
}


.section.s3 .skill{
    width: 60%;
    height: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    font-family: 'KOTRAHOPE';

}
.section.s3 .skill > div{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section.s3 .skill > div img{
    width: 70px;
    height: 70px;
}
.section.s3 .skill > div .per{
    width: 500px;
    height: 30px;
    background-color: #ddd;
    border-radius: 50px;
    margin-left: 20px;
}
.section.s3 .skill > div .per .bar{
    width: 5%;
    height: 100%;
    float: left;
    border-radius: 30px;
}
.section.s3 .skill .ps .per .bar{
    background-color: #0072bc;
}
.section.s3 .skill .ai .per .bar{
    background-color: #ee9717;
}
.section.s3 .skill .html .per .bar{
    background-color: #8fc07c;
}
.section.s3 .skill .js .per .bar{
    background-color: #eecd17;
}
.section.s3 .skill .jq .per .bar{
    background-color: #d14653;
}
.section.s3.active .skill > div .per .bar{
    transition: all 2s;
    transition-delay: 0.8s;
}

.section.s3.active .skill .ps .per .bar{
    width: 60%;
}
.section.s3.active .skill .ai .per .bar{
    width: 50%;
}
.section.s3.active .skill .html .per .bar{
    width: 80%;
}
.section.s3.active .skill .js .per .bar{
    width: 65%;
}
.section.s3.active .skill .jq .per .bar{
    width: 70%;
}

.section.s3 .skill > div .per span{
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    margin-left: 10px;
}
/* skill-etc */
.section.s3 .skill .etc p{
    width: 70px;
    text-align: center;
    font-size: 24px;
    font-family: 'KOTRAHOPE';
    color: #fff;
}
.section.s3 .skill .etc ul{
    width: 500px;
    margin-left: 20px;
}
.section.s3 .skill .etc ul li{
    width: 70px;
    height: 70px;
    float: left;
    margin-right: 10px;
}

/* web */
.section.s4 > .center_box{
    width: 1400px;
    height: 700px;
    margin: 0 auto;
}
.section.s4 .swiper {
    width: 1400px;
    height: 700px;
    margin: 0 auto;
    border-radius: 50px;
    margin-top: 140px;
    padding: 0 15px;
}
.section.s4 .swiper-slide{
    height: 600px;
    border-radius: 50px;
    box-shadow: 3px 3px 10px 3px #111;
}
.section.s4 .w1{
    background: linear-gradient(to bottom, #fff 10%, #fcb68b 100%);
}
.section.s4 .w2{
    background: linear-gradient(to bottom, #fff 10%, #fff775 100%);
}
.section.s4 .w3{
    background: linear-gradient(to bottom, #fff 10%, #948ff5 100%);
}
.section.s4 .w4{
    background: linear-gradient(to bottom, #fff 10%, #fd8881 100%);
}
.section.s4 .w5{
    background: linear-gradient(to bottom, #fff 10%, #fad58e 100%);
}
.section.s4 .w6{
    background: linear-gradient(to bottom, #fff 10%, #8fd9fc 100%);
}
.section.s4 .w7{
    background: linear-gradient(to bottom, #fff 10%, #e173fd 100%);
}
.section.s4 .w8{
    background: linear-gradient(to bottom, #fff 10%, #ffe240 100%);
}
.section.s4 .w9{
    background: linear-gradient(to bottom, #fff 10%, #1c2161 100%);
}

.section.s4 .preview{
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    position: relative;
}
.section.s4 .preview .box{
    width: 80px;
    height: 80px;
    position: absolute;
    border-radius: 50%;
    background-color: #fad58e;
    bottom: 30px;
    left: 30px;
    font-size: 14px;
    color: #333;
    font-family: 'twayair';
    text-align: center;
    padding: 19px 0;
    box-shadow: 2px 2px 5px #333;
}
.laptop{
    display: inline-block;
    position: relative;
    text-align: center;
    width: 70%;
}
.laptop.mobile{
    width: 30%;
}
.laptop.mobile .laptop-inner{
    border-radius: 10px;
    height: 92%;
    top: 50%;
}
.w3 .laptop.mobile{
    width: 20%;
    position: absolute;
    bottom: 0px;
    right: 50px;
}
.laptop .laptop-inner{
    display: inline-block;
    height: 66%;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 37%;
    transform: translate(-50%, -50%);
    width: 94%;
}
  
.laptop .laptop-inner img{
    display: block;
    left: 0;
    position: absolute;
    top: 0;
    transform: translate3d(0px, 0px, 0px);
    transition: 5s ease-in-out;
    width: 100%
}

.section.s4 .detail{
    width: 100%;
    height: 300px;
    padding: 10px 50px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    font-family: 'twayair';
}
.section.s4 .detail h2{
    margin-bottom: 20px;
}
.section.s4 .detail .btn{
    display: flex !important;
}
.section.s4 .detail button{
    border: none;
    background-color: transparent;
    margin: 20px auto;
}
.section.s4 .detail button a{
    width: 150px;
    height: 50px;
    border-radius: 50px;
    font-size: 16px;
    line-height: 50px;
    color: #111;
    background-color: #8fc07c;
    text-align: center;
    font-weight: bold;
    float: left;
    font-family: 'twayair';
}
.section.s4 .detail button.m a{
    background-color: #b487f0;
}
.section.s4 .detail p{
    margin-top: 10px;
    font-size: 13px;
    font-family: 'twayair';
}
.section.s4 .detail span{
    width: 54px;
    height: 58px;
    display: block;
    float: left;
    text-align: right;
    margin-right: 5px;
}
.swiper-pagination-bullet{
    width: 50px;
    height: 50px;
    border-radius: 0;
    background-color: transparent;
    background-image: url(../img/slider-icon2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.swiper-pagination-bullet-active{
    background-image: url(../img/slider-icon1.png);
}
.swiper-pagination-clickable .swiper-pagination-bullet{
    cursor: url('../img/mouse_over.png'),auto;
}


.section.s5 .center_box{
    width: 1200px;
    margin: 0 auto;
}
.section.s5 .graphic ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 50px;
}
.section.s5 .graphic ul li{
    border-radius: 30px;
    background-color: #ddd;
    overflow: hidden;
    padding: 20px;
    display: flex;
    position: relative;
    box-shadow: 3px 3px 10px 3px #111;
}
.section.s5 .graphic ul li::after{
    content: "";
    width: 80px;
    height: 80px;
    position: absolute;
    background-image: url(../img/Vicon.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0px;
    right: 0px;
    opacity: 0;
    transition: all 0.3s;
}
.section.s5 .graphic ul li .title{
    text-align: center;
    font-family: 'twayair';
}
.section.s5 .graphic ul li p{
    font-size: 24px;
    font-weight: bold;
}
.section.s5 .graphic ul li hr{
    width: 100px;
    margin: 5px auto;
}
.section.s5 .graphic ul li span{
    font-size: 18px;
    /* font-weight: bold; */
    transition: all 0.5s;
}
.section.s5 .graphic ul li .image{
    margin-top: 20px;
    transition: all 0.5s;
}
.section.s5 .g1{
    background: linear-gradient(to bottom, #fff 10%, #67fdd8 100%);
}
.section.s5 .g2{
    background: linear-gradient(to bottom, #fff 10%, #8a85f4 100%);
}
.section.s5 .g3{
    background: linear-gradient(to bottom, #fff 10%, #91ec85 100%);
}
.section.s5 .g4{
    background: linear-gradient(to bottom, #fff 10%, #fff77b 100%);
}
.section.s5 .g5{
    background: linear-gradient(to bottom, #fff 10%, #ffb0ab 100%);
}
.section.s5 .g6{
    background: linear-gradient(to bottom, #fff 10%, #fcb487 100%);
}
.section.s5 .g7{
    background: linear-gradient(to bottom, #fff 10%, #e173fd 100%);
}
.section.s5 .g8{
    background: linear-gradient(to bottom, #fff 10%, #8fd9fc 100%);
}

.section.s5 .graphic ul li:hover::after{
    opacity: 1;
}
.section.s5 .graphic ul li:hover .image{
    margin-top: -20px;
}
.section.s5 .graphic ul li:hover span{
    opacity: 0;
}

.section.s5 .popup ul li{
    position: absolute;
    width: 1400px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    box-shadow: 3px 3px 10px 3px #333;
    background-color: rgba(51, 51, 51, 0.98);
}
.popup img{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
}
.popup .dv1 img{
    width: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.popup .dv4 img{
    width: 70%;
}
.popup .dv5 img{
    top: 50%;
    transform: translate(-50%, -50%);
}
.popup .dv6 img{
    width: 70%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.popup .dv7 img{
    width: 40%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/*  */
#wrap {
    position: relative;
}
  
#layerPopup {
    position: fixed;
    z-index: 999;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}
#layerPopup .box {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    overflow-y: auto;
}
.popup_header{
    width: 94%;
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}
.close-container{
    position: relative;
    margin: auto;
    width: 50px;
    height: 50px;
    cursor: url('../img/mouse_over.png'),auto;
}
.leftright{
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color: #844613;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: all .3s ease-in;
}

.rightleft{
    height: 4px;
    width: 50px;
    position: absolute;
    margin-top: 24px;
    background-color: #844613;
    border-radius: 2px;
    transform: rotate(-45deg);
    transition: all .3s ease-in;
}

label{
    color: white;
    font-family: Helvetica, Arial, sans-serif; 
    font-size: .6em;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all .3s ease-in;
    opacity: 0;
}
.close{
    margin: 60px 0 0 5px;
    position: absolute;
}

.close-container:hover .leftright{
    transform: rotate(-45deg);
    background-color: #F25C66;
    cursor: url('../img/mouse_over.png'),auto;
}
.close-container:hover .rightleft{
    transform: rotate(45deg);
    background-color: #F25C66;
}
.close-container:hover label{
    opacity: 1;
} 
.popup .box::-webkit-scrollbar {
    width: 10px;
}
.popup .box::-webkit-scrollbar-thumb {
    background-color: #84461367;
    border-radius: 10px;
}
.popup .box::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.322);
}
  
.popup_header .box1 h1{
    color: #fff;
    font-size: 20px;
}


/* contact me */
.section.s6 .center_box{
    width: 1400px;
    height: 660px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 50px;
    transform: scale(0.5);
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    transition: all 1s;
}
.section.s6.active .center_box{
    transform: scale(1.0);
}
.section.s6 .center_box h1{
    font-family: 'twayair';
    text-align: center;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.email fieldset{
    margin: 10px 0;
    font-family: 'twayair';
    font-size: 14px;
}
.email label{
    width: 90px;
    color: #111;
    font-size: 20px;
    opacity: 1;
    float: left;
    text-align: right;
    margin-right: 10px;
    font-family: 'twayair';
}
.email fieldset input{
    width: 200px;
}
.pure-form .pure-group input:last-child,
.pure-form .pure-group textarea:last-child{
    border-radius: 10px;
}
.email button{
    font-family: 'twayair';
    background-color: #f08787;
    color: #fff;
    display: block;
    margin-left: auto;
    margin-right: 0;
}
.thankyou_message h2{
    text-align: center;
}

.letter-image {
	width: 200px;
	height: 200px;
	transform: translate(-50%, -50%);
    margin-left: 100px;
    margin-top: 100px;
}

.animated-mail {
	position: absolute;
	height: 150px;
	width: 200px;
	transition: .4s;
}	
.animated-mail .body {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 100px 200px;
    border-color: transparent transparent #e4e4e4 transparent;
    z-index: 2;
}
	
.animated-mail .top-fold {
    position: absolute;
    top: 50px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 100px 0 100px;
    transform-origin: 50% 0%;
    transition: transform .4s .4s, z-index .2s .4s;
    border-color: #cccbcb transparent transparent transparent;
    z-index: 2;
}
	
.animated-mail .back-fold {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 100px;
    background: #cccbcb;
    z-index: 0;
}
	
.animated-mail .left-fold {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 0 50px 100px;
    border-color: transparent transparent transparent #dbdbdb;
    z-index: 2;
}
	
.animated-mail .letter {
    left: 10px;
    bottom: 0px;
    position: absolute;
    width: 180px;
    height: 60px;
    background: white;
    z-index: 1;
    overflow: hidden;
    transition: .4s .2s;
    border: 5px solid rgba(221, 221, 221, 0.541);
    padding: 20px 10px 0;
}
.animated-mail .letter p{
    font-size: 12px;
    font-family: 'twayair';
    font-weight: bold;
    margin: 5px 0;
}
.animated-mail .letter img {
    margin-top: 5px;
    margin-left: 110px;
    height: 20px;
    width: 30px;
}
.shadow {
	position: absolute;
	top: 200px;
	left: 50%;
	width: 400px;
	height: 30px;
	transition: .4s;
	transform: translateX(-50%);
	background: radial-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.0), rgba(0,0,0,0.0));
}
.s6 .center_box:hover .animated-mail {
    transform: translateY(50px);
}	
.s6 .center_box:hover .animated-mail .top-fold {
    transition: transform .4s, z-index .2s;
    transform: rotateX(180deg);
    z-index: 0;
}	
.s6 .center_box:hover .animated-mail .letter {
    height: 180px;
}	
.s6 .center_box:hover .shadow {
   width: 250px;
}
.s6 .center_box > p{
    text-align: center;
    font-family: 'twayair';
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    bottom: 50px ;
    right: 80px;
}
.s6 .f_text{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'KOTRAHOPE';
    color: #dad66b;
    text-shadow: 3px 3px 3px #111;
    font-size: 50px;
    animation: hithere 4s ease infinite;
    display: none;
}
@keyframes hithere {
    30% { transform: translate(-50%, -50%); }
    40%, 60% { transform: rotate(-5deg) translate(-50%, -50%); }
    50% { transform: rotate(5deg)  translate(-50%, -50%); }
    70% { transform: rotate(0deg)  translate(-50%, -50%); }
    100% { transform: scale(1) translate(-50%, -50%); }
}


/* footer */
footer{
    background-color: #fff;
}
footer p{
    text-align: center;
    font-family: 'twayair';
    font-size: 24px;
    margin: 30px 0;
    color: #0072bc;
}
footer p span{
    margin-top: 20px;
    font-size: 18px;
    color: #666;
}
