.sub-top-bn{
    height:300px;
    position:relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width:100%;
    overflow: hidden;
}
.sub-top-bn::before{
  content:"";
  position:absolute;
  display: block;
  background-image: url(../zento_img/portfolio.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width:100%;
  height: 100%;
  transform:scale(120%);
}
.sub-top-bn.start::before{
  transform:scale(100%);
  transition: transform 1.5s;
}
.sub-top-bn::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #011A47;
    opacity: 0.3;
}
.sub-top-bn > .sub-top-bn-text{
    position:absolute;
    top:50%;
    left: 50%;
    transform:translateX(-50%) translateY(-50%);
    font-size: 2rem;
    font-weight: 400;
    color:white;
    z-index: 1;
}

/* 포트폴리오 화면 */
.portfolio > .portfolio-title{
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    padding-bottom: 20px;
    padding-top: 100px;
}
.portfolio > .portfolio-menu{
    font-size: 1.2rem;
    font-weight: 600;
}
.portfolio > .portfolio-menu > .portfolio-menu-name{
    cursor:pointer;
    text-align: center;
    transition:color .15s;
    padding:20px;
}
.portfolio > .portfolio-menu > .portfolio-menu-name:hover, .portfolio > .portfolio-menu > .portfolio-menu-name.active{
    color:#125FEF;
    border-bottom:2px solid #125FEF;
}
.portfolio > .portfolio-container {
overflow: hidden;
padding:0 100px;
}
.portfolio > .portfolio-container > .portfolio-box{
    margin:0 -10px;
}
.portfolio > .portfolio-container > .portfolio-box > .item{
    width:calc(100% / 3);
    box-sizing: border-box;
    padding:10px;
    height: 400px;
}
.portfolio > .portfolio-container > .portfolio-box > .item > .thumbnail{
    height: 250px;
    background-color: #00000020;
    position:relative;
    object-fit: cover;
    overflow:hidden;
}
.portfolio > .portfolio-container > .portfolio-box > .item > .thumbnail > img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.portfolio > .portfolio-container > .portfolio-box > .item:hover > .thumbnail > img{
  transform:scale(110%);
}
.portfolio > .portfolio-container > .portfolio-box > .item > .thumbnail::before{
    content:"";
    display: block;
    position:absolute;
    top:0;
    left: 0;
    right:0;
    bottom:0;
    background-color: #125FEF;
    opacity: 0;
    z-index: 1;
    color:#fff;
}
.portfolio > .portfolio-container > .portfolio-box > .item:hover > .thumbnail::before, .portfolio > .portfolio-container > .portfolio-box > .item.active > .thumbnail::before{
    opacity: .9;
    transition: opacity .3s;
}
.portfolio > .portfolio-container > .portfolio-box > .item > .thumbnail::after{
    content:"VIEW";
    display: block;
    position:absolute;
    top: 50%;
    left: 50%;
    transform:translateX(-50%) translateY(-50%);
    color:white;
    font-size: 2rem;
    opacity: 0;
    z-index: 2;
}
.portfolio > .portfolio-container > .portfolio-box > .item:hover > .thumbnail::after, .portfolio > .portfolio-container > .portfolio-box > .item.active > .thumbnail::after{
    opacity: 1;
    transition: opacity .3s;
}
.portfolio > .portfolio-container > .portfolio-box > .item > .pf-name{
    font-size: 1.2rem;
    font-weight: 600;
    padding:15px 0 10px;
}
.portfolio > .portfolio-container > .portfolio-box > .item > .pf-content{
    font-size: 1.1rem;
    padding-bottom: 30px;
}
.selected {
    color:#125FEF;
    border-bottom:2px solid #125FEF;
}
.show{
    z-index: 999;
    display: none;
}
.show .overlay{
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.66);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 40;
}
.show .img-show{
    width: 750px;
    background: rgb(16, 16, 16);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color:white;
    box-shadow: rgba(0, 0, 0, 1);
    z-index: 45;
}
.show .img-show > .img-popup{
    width:100%;
    margin:0 auto;
}
.show .img-show > .text-box {
  box-sizing: border-box;
  padding:25px 40px;
}
.show .img-show > .text-box > .title {
  font-size: 1.5rem;
  padding-bottom: 5px;
}
.show .img-show > .text-box > .content{
  font-size: 1rem;
  padding-bottom:20px;
}
.show .img-show > .text-box > .use-tools{
  font-size: 1rem;
  opacity: 80%;
}
.img-show span{
    position: absolute;
    bottom: 100%;
    right: 0;
    z-index: 99;
    cursor: pointer;
    width:50px;
    height: 50px;
}
.img-show span::after{
    content:"";
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(-45deg);
    width:3px;
    height: 25px;
    background-color: #000;
    border-radius: 1.5px;
}
.img-show span::before{
    content:"";
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
    width:3px;
    height: 25px;
    background-color: #000;
    border-radius: 1.5px;
}
.img-show img{
    width: 100%;
    display: block;
}

@media screen and (max-width:1000px) {
  .sub-top-bn{
    height: 200px;
  }
  .sub-top-bn > .sub-top-bn-text{
      transform:translateX(-50%) translateY(0%);
    }
    .portfolio > .portfolio-container > .portfolio-box > .item{
        width:calc(100% / 2);
    }
    .portfolio > .portfolio-container > .portfolio-box > .item{
      height: 280px;
    }
    .portfolio > .portfolio-container > .portfolio-box > .item > .thumbnail{
      height: 150px;
    }
    .show .img-show{
      width:500px;
    }
}
@media screen and (max-width:700px){
  .portfolio > .portfolio-menu{
    padding:0 30px;
    justify-content: flex-start;
    flex-flow: row wrap;
  }
  .portfolio > .portfolio-title{
    padding: 30px 30px 20px;
    text-align: left;
  }
  .portfolio > .portfolio-menu > .portfolio-menu-name{
    padding:3px 5px;
    background-color: #00000015;
    margin-right: 8px;
    margin-bottom: 8px;
    text-align: left;
  }
  .portfolio > .portfolio-container{
    padding:0 30px;
  }
  .show .img-show{
    width:400px;
  }
}

@media screen and (max-width:500px){
  .sub-top-bn{
    display: none;
  }
  .portfolio > .portfolio-title{
    padding-top: 75px;
  }
  .portfolio > .portfolio-container > .portfolio-box > .item{
    height: 220px;
  }
  .portfolio > .portfolio-container > .portfolio-box > .item > .pf-content{
    display: none;
  }
  .portfolio > .portfolio-container > .portfolio-box > .item > .thumbnail{
    height: 120px;
  }
  .show .img-show{
    width:80%;
  }
}