@import url(reset.css);
@import url('https://fonts.googleapis.com/css?family=Montserrat:500,600&display=swap');
@font-face{font-family:'be'; src:url(../font/bernadette.woff)}
@font-face { font-family: 'S-CoreDream-4Regular'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff'); font-weight: normal; font-style: normal; }
@font-face { font-family: 'S-CoreDream-8Heavy'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-8Heavy.woff') format('woff'); font-weight: normal; font-style: normal; }

/*상단고정 해더*/
body{font-family:'S-CoreDream-4Regular', sans-serif;color: #333}
#header{width: 80%;max-width: 1600px;/*min-width: 1024px*/;margin: auto;height: 135px;position: fixed;top: 0;left: 0;right: 0;z-index: 999}
#header h1 a{background: url(../imgs/logo5.png) no-repeat;display: block;width: 100px;height: 35px;font-size: 0;float: left;margin-top: 50px;z-index: 998}
#gnb{width: calc(100% - 200px);float: right;text-align: right;margin-top: 40px;z-index: 998;font-family: 'Montserrat', sans-serif}
#gnb>li{display: inline-block;margin: 0 45px;height: 40px;line-height:40px;position: relative;letter-spacing: 1.5px}
#gnb>li:first-child{margin-left: 0}
#gnb>li:last-child{margin-right: 0}
#gnb>li>a{font-size: 18px;display: block; width: auto;color:rgba(255,255,255,1);transition: all 0.5s;position: relative;overflow: hidden}
#gnb>li>a::before {position: absolute;z-index: -1;content: "";left: 0;bottom: 0px;width: 100%;height: 2px;background:linear-gradient(to right, #f09819 0%, #ff5f2f 100%);transition: transform .3s ease-in-out;transform: translateX(-101%) }
#gnb>li:hover>a::before{transform: translateX(0);}

#header.scroll .headerbg{width: 100%;height: 80px;position: fixed;left: 0;right: 0;top: 0;z-index: -2; background: rgba(255,255,255,.5);border-bottom: 1px solid #ccc;display: block}
#header.scroll h1 a{background: url(../imgs/logo55.png) no-repeat;margin-top: 23px}
#header.scroll #gnb{margin-top: 0px}
#header.scroll #gnb>li{line-height: 80px}
#header.scroll #gnb>li>a{color: #333}
.nav-icon{display: none}

/*섹션1*/
.container{position: relative;left: 0;top: 0;width: 100%;height: 100%;overflow: hidden;box-sizing: border-box;margin:0 auto}
#page1{background-image: url(../imgs/mainbg.jpg);background-size: cover;}
#page1 h2{position: absolute;top:380px;right: 0;left: 0;text-align:center;font-size: 125px;color: #fff;font-family: 'be', sans-serif;letter-spacing: 7px;}
#page1 .focus-in-expand {
	-webkit-animation: focus-in-expand 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: focus-in-expand 1.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
#page1 .sub_t{position: absolute;top: 550px;right: 0;left: 0;text-align: center; font-size: 20px;color: #fff;letter-spacing: 3px}
#page1 .sub_t span{font-weight: bold}
#index .scroll-down{position: absolute;bottom: 30px;left: 0;right: 0;margin: auto;width: 14px;height: 50px}
#index p{position: absolute;bottom: 95px;left: 0;right: 0;text-align: center;font-size: 14px;letter-spacing: 1.2px;color: rgba(255,255,255,0.9);font-family: 'Montserrat', sans-serif}
#index .scroller{width: 14px;height: 16px;;animation: scroll 2s infinite}
@keyframes scroll{
    0%{opacity: 0}
    10%{opacity: 1;transform: translateY(0)}
    100%{opacity: 0.1;transform: translateY(15px)}
}

/*섹션2*/
#profile{height: 100%;max-width: 1600px;font-size: 14px;line-height: 30px;font-family: 'S-CoreDream-4Regular', sans-serif;z-index: 10}
#profile h1{font-size: 35px;font-family:'Montserrat', sans-serif;margin:180px 0 100px;text-align: center;letter-spacing: 3px;font-weight: 600}
#profile .profile_pic{width: 10%;float: left;margin: 0 120px}
#profile .profile_pic img{width: 100%}
#profile .profile_pic .p_list{display: block;margin-top:30px;padding:10px 0 10px 0;color: #ff8822;font-size: 1vw;text-align:center;border:2px solid #ff8822;transition: all 0.3s;}
#profile .profile_pic .p_list:hover{color:#fff;box-shadow:inset 160px 0 0 0 #ff8822}
#profile .profile_info{width: calc(80% - 100px);float: left;box-sizing: border-box;background: #fff;padding-left: 20px;box-sizing: border-box}
#profile .about{width: 50%;float: left;height: 250px;margin-right: 20px}
#profile .about p:first-child{font-size: 18px}
#profile .about p span{font-size: 12px;display: block;line-height: 1;margin-bottom: 10px}
#profile .about .keyword{margin: 10px 0}
#profile h3{color:rgb(244, 133, 51);font-size: 20px;margin-bottom: 10px;position: relative}
#profile h3::before{content: '';width: 4px; height: 24px;background:#ff8822;display: block;position: absolute;top: 3px;left: -15px}
#profile .career{float: left;width: calc(50% - 20px);margin-bottom: 20px}
#profile .career .edu{margin-left: 140px}
#profile .license{float: left;width:calc(50% - 20px)}
.profile_info span{color: #999}
#profile .skills{width: 100%;clear: both;padding: 20px;box-sizing: border-box}
#profile .skill_wrap{float: left;width: 50%;padding: 30px 70px 30px 0;box-sizing: border-box}
#profile .skills .graph{width: 100%;height: 10px;background: #b9b7b7;position: relative;clear: both}
#profile .skills .graph-text li:first-child{float: left}
#profile .skills .graph-text li:last-child{float: right}
#profile .skills .graph .bar{position: absolute;width: 0%;height: 100%;background: rgba(24, 22, 85, 0.98)}
canvas{ display: block; vertical-align: bottom;z-index: 1} 
#particles-js{ position:absolute;top: 0;left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0);z-index: 1}

/*섹션3*/
#page3{background: rgba(237, 237, 237, 0.43)}
.portfolio{width: 80%;max-width: 1600px;height: 100%; margin: auto;font-size: 14px;font-family: 'S-CoreDream-4Regular', sans-serif}
.portfolio h1{font-size: 35px;font-family:'Montserrat', sans-serif;padding:120px 0 40px;text-align: center;letter-spacing: 3px;font-weight: 600}
.button-group{width: 300px;margin: 0 auto 50px}
.button{border: none;color: #555;padding: 5px 10px;font-size:14px;background: none;outline: none;font-family: 'Montserrat', sans-serif;transition: all 0.1s;}
.button:hover {background-color: #ff8822;color: #fff;cursor: pointer;}
.button:active, .button.is-checked {background-color:#ff8822;color: #fff;font-weight: bold}
.element-item{clear: both; float: left;width: calc(33.3% - 20px);height:auto;padding: 0 10px;text-align: center}

.portfolio_item {
    position: relative;
    overflow: hidden;
    display: block;
    margin-bottom: 30px;
}
.portfolio_item .portfolio_item_hover {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0;margin: auto;
    height: 100%;
    width: 100%;
    max-width: 400px;
    background-color: rgba(255, 136, 34, 0.9);
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    color: #333;
}
.portfolio_item .portfolio_item_hover .item_info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    font-weight: bold;
}
.portfolio_item .portfolio_item_hover .item_info span {
    display: block;
    color: #fff;
    font-size: 20px;
    -webkit-transform: translateY(-100px);
    transform: translateY(-100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
}
.portfolio_item .portfolio_item_hover .item_info em {
    font-style: normal;
    display: inline-block;
    padding: 5px 20px;
    color: #fff;
    margin-top: 10px;
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: normal;
}
.portfolio_item:hover .portfolio_item_hover {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
.portfolio-padding{display: none}

/*섹션4*/
#contact{background-image:url(../imgs/contact_bg.png);background-size: cover;font-family: 'S-CoreDream-4Regular', sans-serif}
#contact .bg-text{font-family: 'be', sans-serif;color: rgba(255, 255, 255, 0.1);font-size: 130px;text-align: right;position: absolute;bottom: 100px;right: 50px;line-height: 1.3}
#contact .contact-text{width: 300px;height: 255px;color: #fff;background-color: rgba(0, 0, 0, 0.6);position: absolute;top: 380px;left:0;right: 0;margin: auto;padding: 80px;z-index: 1}
#contact .contact-text h2{font-size:50px;margin-bottom: 50px;font-family: 'Montserrat';font-weight: 600;letter-spacing:1px;color: #eee}
#contact .contact-text h2::after{content: '';width: 50px;height: 2px;display: block;background-image: linear-gradient(to right, #f09819 0%, #ff5f2f 100%);/*background: #ff8822*/;position: absolute;top: 156px;left: 80px;z-index: -1}
#contact .contact-text p{font-size: 20px;line-height: 2.5;position: relative}
#contact .contact-text p:nth-child(3){margin-left: 40px}
#contact .contact-text p:nth-child(4){margin-left: 40px}
#contact .contact-text p:nth-child(3)::before{content: '';background:url(../imgs/phone.png) no-repeat;display: block; width:16px;height: 27px;position: absolute;top: 50%;transform: translateY(-50%);left: -35px}
#contact .contact-text p:nth-child(4)::before{content: ''; background:url(../imgs/email.png) no-repeat;display: block;width: 24px;height: 18px;position: absolute;top: 50%;transform: translateY(-50%);left: -40px}
#contact .contact-text p span{display: inline-block;font-size: 14px;line-height: 1;margin-bottom: 20px;font-weight: normal}
#contact .copyright{position: absolute;bottom: 0px;right: 0;left: 0;height: 45px;background: #000;padding-top: 25px;text-align: center;font-size: 14px;color: #fff}

#contact .contact-text.slide-top {
	-webkit-animation: slide-top 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-top 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@-webkit-keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
  }
}
@keyframes slide-top {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-100px);
            transform: translateY(-100px);
  }
}

/*모달*/
.modal-content {box-shadow: 0 5px 15px rgba(0, 0, 0, 0);border: none;}
/*.popup-modal {background: rgba(255, 255, 255, 1);}*/
.close-popup-modal {float: right;margin: 20px;font-size: 40px;opacity: 0;cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transition-delay: .6s;
    transition-delay: .6s;
    position: fixed;z-index: 100000;right: 14px;}

.animatedModal-on .close-popup-modal {opacity: 1}

.modal-content .wrap{position: fixed;top: 80px;left: 120px;padding: 20px}
.modal-content .title h1{font-size: 35px;font-weight: bold;margin-bottom: 15px}
.modal-content .title p{font-size:16px;margin-bottom: 30px}
.modal-content .info ul{float: left;width: 130px;margin-bottom: 35px;line-height: 25px;position: relative}
.modal-content .info ul:first-child::after{content: '';display: block;width: 1px;height: 65px;background: #999;position: absolute;top: 5px;left: 93px}
.modal-content .btn{clear: both;font-size: 18px}
.modal-content .btn p{margin-bottom: 20px;width: 175px;font-weight: bold;text-align: center}
.modal-content .btn p a{display: block;padding: 15px;border: 2px solid #ff8822;color: #555;transition: all 0.5s}
.modal-content .btn p a:hover{border: 2px solid #ff8822;background:#ff8822;color: #fff}
/*.modal-content .magnifyBorder {
    padding: 18px;
    box-shadow: inset 0 0 0 2px #474E51;
    transition: 300ms box-shadow cubic-bezier(0.4, 0, 0.6, 1), 300ms background-color cubic-bezier(0.4, 0, 0.6, 1), 300ms color cubic-bezier(0.4, 0, 0.6, 1);;
    color: #474E51;
}
.modal-content .magnifyBorder:hover {box-shadow: inset 0 0 0 4px #5778F3;color: #5778F3;}*/
.modal-content img{max-width: 1200px;display: block;margin: 0 0 0 25%}

@media screen and (max-width:1440px){
    #profile .profile_pic{width: 10%;margin: 0 70px}
    #profile .career .edu{margin-left: 120px}
    #contact .bg-text{font-size: 100px}
    .modal-content .wrap{left: 30px}
    .modal-content img{width: 100%;min-width: 1000px}
}
@media screen and (max-width:1280px){
    #profile .career .edu{margin-left: 80px}
    #contact .contact-text{top: 280px}
    .modal-content .wrap{position: static}
    .modal-content img{margin: 0;width: 100%;min-width: 1000px}
}
@media screen and (max-width:800px){
    #header, #profile, .portfolio{width: 90%}
    #gnb{background: rgba(255, 255, 255, 0.5);width: 100%;text-align: center;margin-top: 100px;position: absolute;top: -150%;right: 0;transition: all .5s;border-bottom: 1px solid #ccc/*box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3)*/}
    #gnb>li{width: 25%;display: block;float: left;text-align: center;margin: 0;height: 50px;line-height:50px}
    #gnb>li>a{font-size: 20px;display: block; width: auto;color:#333}
    #gnb>li>a::before {display: none}
    #gnb>li:hover>a{color: #ff8822}
    #header.scroll #gnb{margin-top: 82px}
    #header.scroll #gnb>li{line-height: 50px}
    #header.scroll #gnb>li:hover>a{color: #ff8822}
    .nav-icon {display: block;width: 35px;font-size: 0;position: absolute;top: 48px;right: 0px;z-index: 20000}
    .nav-icon:after, .nav-icon:before, .nav-icon div {background-color: #ff8822;border-radius: 2px;content: '';display: block;height: 4px;margin: 7px 0;transition: all .2s ease-in-out}
    .nav-icon.on:before {transform: translateY(10px) rotate(135deg)}
    .nav-icon.on:after {transform: translateY(-12px) rotate(-135deg)}
    .nav-icon.on div {transform: scale(0)}
    #header.scroll .nav-icon{top: 20px;}
    #profile h1{margin:120px 0 40px}
    #profile .profile_pic{float: none;display: flex;justify-content:center;width: 100%;margin:0 0 30px 0}
    #profile .profile_pic img{width: 15%;}
    #profile .profile_pic .p_list{align-self: center;margin-top:0;margin-left:30px;padding:10px;font-size:14px;}
    #profile .profile_info{width: 100%}
    #profile .career .edu{margin-left: 0px}
    .element-item{width: calc(50% - 20px)}
    #contact .bg-text{font-size:80px;letter-spacing: 2px}
    #contact .contact-text{top: 390px}
}
@media screen and (max-width:414px){
    #gnb>li>a{font-size: 14px;letter-spacing: 0}
    .nav-icon{width: 25px}
    .nav-icon:after, .nav-icon:before, .nav-icon div {border-radius: 2px;height: 2px;margin: 7px 0}
    .nav-icon.on:before {transform: translateY(10px) rotate(135deg)}
    .nav-icon.on:after {transform: translateY(-8px) rotate(-135deg)}
    .nav-icon.on div {transform: scale(0)}
    #header.scroll .nav-icon{top: 23px}
    #page1 h2{top:300px;font-size: 55px;color: #fff;letter-spacing: 1.5px}
    #page1 .sub_t{position: absolute;top: 390px;right: 0;left: 0;text-align: center; font-size: 16px;color: #fff;letter-spacing: 1px}
    #profile .profile_info{width: 100%;padding-left:0}
    #profile .about{width: 100%;text-align: center;margin-bottom: 10px}
    #profile .career{width: 100%}
    #profile h3{padding-left: 20px}
    #profile h3::before{content: '';width: 4px; height: 24px;background:#ff8822;display: block;position: absolute;top: 3px;left: 0px}
    #profile .license{width: 100%}
    #profile .skills{padding: 10px 0 0 0}
    #profile .skill_wrap{width: 100%;padding: 0px 0px 20px 0}
    #contact .bg-text{font-size: 50px;right: 10px}
    #contact .contact-text{top: 300px;padding:50px 0px 50px 50px}
    #contact .contact-text h2::after{top: 125px;left: 50px}
}
@media screen and (max-width:360px){
    #page1 .h2{top: 250px}
    #profile .about{height: 300px}
    #contact .contact-text{width: 280px;top: 240px;padding: 30px 0 30px 30px}
    #contact .contact-text h2::after{top: 105px;left: 29px}
}
