#board{
    padding: 200px 0 100px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/sub/board-bg.png);
}
#board .tit{
    font-family: 'NexonFootballGothic';
    display: flex;
    align-items: center;
}
#board .tit h2{
    position: relative;
    font-size: 80px;
}
#board .tit h2 img{
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%,-50%);
    width: 400px;
}
#board .tit p{
    font-size: 30px;
    margin-left: 100px;
}
#board .tit>img{
    margin-top: 60px;
    margin-left: -100px;
}

#board .boardBox .top{
    margin-top: 140px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 40px;
} 
#board .boardBox .top p span{
    color: #25a1c8;
}
#board .boardBox .top .searchInput{
    position: relative;
    margin-left: auto;
}
#board .boardBox .top .searchInput input{
    height: 58px;
    background-color: #1c1c1c;
    border: none;
    border-radius: 10px;
    width: 450px;
    padding: 0 20px;
}
#board .boardBox .top .searchInput button{
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    padding: 0;
    background-color: transparent;
}
#board .boardBox .top .searchInput button img{
    width: 100%;
}
.board-wrap .boardBox .list .item:first-child{
    border-top: 1px solid #424242;
}
.board-wrap .boardBox .list .item{
    padding: 30px 40px;
    display: flex;
    align-items: center;
    border-bottom: #424242 1px solid;
}
.board-wrap .boardBox .list .item h3{
    font-size: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.board-wrap .boardBox .list .item p{
    font-size: 14px;
    color: #999999;
}
.board-wrap .boardBox .list .item h3 span{
    color: #00eee3;
}
.board-wrap .boardBox .list .item button{
    margin-left: auto;
    background-color: transparent;
    width: 25px;
    height: 25px;
    padding: 0;
}
.board-wrap .boardBox .list .item button img{
    width: 100%;
}
#board .boardBox .boardPage{
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#board .boardBox .boardPage a{
    color: #fff;
    margin: 0 15px;
}
#board .boardBox .boardPage a img{
    height: 12px;
}
#board .boardBox .boardPage li.on a{
    position: relative;
    color: #000;
    z-index: 0;
    border-radius: 20px;
}
#board .boardBox .boardPage li.on a::before{
    position: absolute;
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 30px;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: -1;
}


.gallery-wrap .boardBox .list {
    display: flex;
    flex-wrap: wrap;
    gap: 80px 25px;
}
.gallery-wrap .boardBox .list .item{
    width: calc((100% - 50px) / 3);
}
.gallery-wrap .boardBox .list .item .img{
    height: 280px;
    border-radius: 25px;
    overflow: hidden;
}
.gallery-wrap .boardBox .list .item .img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-wrap .boardBox .list .item .tt {
    margin-top: 15px;
}
.gallery-wrap .boardBox .list .item .tt h3{
    font-size: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gallery-wrap .boardBox .list .item .tt p{
    font-size: 14px;
    color: #999;
}
.detail-wrap  .boardBox{
    margin-top: 140px;
}
.detail-wrap  .boardBox .cbox{
    border-top: 2px solid #fff;
}
.detail-wrap  .boardBox .cbox .tit{
    font-size: 30px;
    padding: 10px 0 0 0;
}
.detail-wrap  .boardBox .cbox .date{
    font-size: 16px;
    padding-bottom: 10px;
    color: #999;
    border-bottom: 1px solid #424242;
}
.detail-wrap  .boardBox .cbox .file{
    border-bottom: 1px solid #424242;
    padding: 10px 0;
}
.detail-wrap  .boardBox .cbox .file a{
    position: relative;
    color: #fff;
    padding-left: 20px;
}
.detail-wrap  .boardBox .cbox .file a::before{
    position: absolute;
    content: "";
    width: 12px;
    height: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    background-image: url(../images/sub/file.png);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.detail-wrap  .boardBox .cbox .txt{
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.detail-wrap  .boardBox .btnList{
    margin: 50px auto 0;
    display: block;
    width: 180px;
    height: 50px;
    background-color: #4840e4;
    color: #fff;
    border-radius: 5px;
}
@media screen and (max-width: 1180px){
    #board .tit h2{
        font-size: 60px;
    }
    #board .tit p{
        font-size: 20px;
    }
    .board-wrap .boardBox .list .item h3{
        font-size: 20px;
    }
    .gallery-wrap .boardBox .list .item .tt h3{
        font-size: 20px;
    }
}

@media screen and (max-width: 1024px){
    #board .tit h2{
        font-size: 50px;
    }
    #board .tit p{
        font-size: 18px;
    }
    #board .tit>img{
        display: none;
        height: 36px;
    }

    #board::after{
        opacity: 0.1;        
    }

    .detail-wrap .boardBox {
        margin-top: 100px;
    }

}
@media screen and (max-width: 768px){
    #board{
        padding: 120px 0 0 0 ;
        background-position: right -170px top;
    }
    #board .tit p{
        display: none;
    }
    #board .tit h2 img{
        width: 280px;
    }
    #board .boardBox .top{
        margin-top: 80px;
    }
    #board .boardBox .top .searchInput input{
        height: 46px;
        width: 300px;
        font-size: 14px;
    }
    .board-wrap .boardBox .list .item h3{
        font-size: 16px;
    }
    .board-wrap .boardBox .list .item p{
        font-size: 12px;
    }
    .board-wrap .boardBox .list .item{
        padding: 20px;
    }
    .board-wrap .boardBox .list .item button{
        width: 18px;
        height: 18px;
    }

    .gallery-wrap .boardBox .list{
        gap: 30px 25px;
    }
    .gallery-wrap .boardBox .list .item .img{
        height: 150px;
        border-radius: 20px;
    }
    .gallery-wrap .boardBox .list .item .tt{
        margin-top: 5px;
    }
    .gallery-wrap .boardBox .list .item .tt h3{
        font-size: 16px;
    }
    .gallery-wrap .boardBox .list .item .tt p{
        font-size: 12px;
    }
    .gallery-wrap .boardBox .list{
        gap: 25px;
    }

    .detail-wrap .inner > .tit{
        justify-content: center;
    }

    .detail-wrap .boardBox .cbox .tit{
        font-size: 20px;
    }
    .detail-wrap .boardBox .cbox .date{
        font-size: 14px;
    }
    .detail-wrap .boardBox .cbox .file a{
        font-size: 14px;
    }
    .detail-wrap .boardBox .cbox .txt p{
        font-size: 14px;
    }
    .detail-wrap .boardBox .btnList{
        width: 140px;
        font-size: 14px;
    }
}


@media screen and (max-width: 425px){
    #board .boardBox .top{
        flex-wrap: wrap;
        margin-bottom: 20px;
    }

    #board .boardBox .top p{
        margin-bottom: 10px;
    }

    #board .boardBox .top p,
    #board .boardBox .top .searchInput,
    #board .boardBox .top .searchInput input{
        width: 100%;
    }

    .gallery-wrap .boardBox .list .item{
        width: 100%;
    }
    .gallery-wrap .boardBox .list .item .img{
        height: 180px;
        border-radius: 15px;
    }
}

@media screen and (max-width: 320px){
    #board .tit h2 img {
        width: 250px;
    }

    #board .tit h2 {
        font-size: 40px;
    }
}