

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-y: scroll;
    overflow-x: hidden;
}



.main{
    max-width: 100vw;
    padding: 0;
    margin: 0;
}

    .section{
        max-width: 1500px;
        margin: 150px auto;
    }

    .sec-title{
        font-size: 4rem;
        text-align: center;
        color: var(--main-color);
        margin: 100px auto;
    }

    .section-top{
        max-width: 100vw;
        margin: 0 auto;
    }

        .top-view{
            width: 100%;
        }
            .top-view img{
                width: 100%;
                height: 100vh;
                object-fit: cover;
            }



    .section-member-select{
        max-width: 1500px;
        height: auto;
    }        

        .member-select-box{
        }

            .member-select-list{
                margin: auto;
                width: auto;
                
                display: flex;
                justify-content: center;
                gap: 30px;
                flex-wrap: wrap;
            }

                .member-views{
                    width: 350px;
                    height: 350px;
                    position: relative;
                    cursor: pointer;
                }

                    .member-views a{
                        text-decoration: none;
                        color: var(--background-color);
                    }

                    .member-views p{
                        font-weight: bold;
                        text-align: center;
                        font-size: 2rem;
                        opacity: 0;
                        transition: 0.5s;
                        color: var(--background-color);

                        margin: 0;

                        z-index: 200;
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                        -webkit-transform: translate(-50%, -50%);
                        -ms-transform: translate(-50%, -50%);
                    }
                    .member-views img{
                        z-index: 150;
                        position: absolute;
                        width: 350px;
                        height: 350px;
                        object-fit: cover;
                        transition: 0.5s;
                    }

                    .all-member-btn:hover{
                        backdrop-filter: blur(5px) brightness(0.8);
                    }
                    .member-views:hover img{
                        transition: 0.5s;
                        filter: blur(5px) brightness(0.8);
                    }
                    .member-views:hover p{
                        opacity: 1;
                        transition: 0.5s;
                    }


        

    .section-member{
        max-width: 1500px;
        height: auto;
    }

            .member-page{
                width: 100%;
            }

                .profile-box{
                    gap: 50px;
                    width: 100%;
                    
                }

                    .profile-img-box{
                        width: 800px;
                        margin: 0 auto;
                    }

                        .profile-img-box img{
                            width: 100%;
                            height: auto;
                        }

                    .profile-text-box{
                        width: 700px;
                        height: auto;
                        text-align: left;
                        margin: 0 auto;
                        text-align: center;
                    }

                        .profile-text-box h5{
                            margin: 30px 0 0 0 ;
                            font-size: 2rem;
                            color: var(--main-color);
                        }

                        .profile-text-box h4{ 
                            margin: 0 0 20px 0;
                            font-size: 4rem;
                            color: var(--main-color);
                        }

                        .profile-text-box .year{
                            font-size: 0.8rem;
                            color: var(--main-color);
                            display: block;
                        }

                        .profile-text-box p{ 
                            margin-top: 50px;
                            margin-bottom: 50px;
                            font-size: 1.3rem;
                            font-weight: bolder;
                            color: var(--main-color);
                            line-height: 3rem;
                        }

                        .profile-other{
                            width: auto;
                            display: flex;
                            gap: 20px;
                            align-items: center;
                            margin: 0 auto;
                        }

                            .more-info-btn{
                                margin: 0 auto;
                            }

                            .joined-icon{
                                display: flex;
                                gap: 20px;
                            }

                            .joined-icon ion-icon{
                                display: block;
                                margin: 5px 0;
                                padding: 5px;
                                background-color: var(--accent-color);
                                color: var(--main-color);
                                font-size: 2.5rem;
                                border-radius: 5px;
                                cursor: pointer;
                            }

                            .joined-icon a{
                                display: block;
                            }

            .image-list-box{
                margin: 150px auto 0 auto;
                padding: 0 100px;
            }

                .image-list{
                    column-count: 3;
                    width: 100%;
                    height: auto;
                }

                    .img-box{
                        width: 400px;
                        height: auto;
                        break-inside: avoid;
                        margin: 0  auto 10px auto;
                        color: #FFF;
                        padding: 0.5em 1em;
                        transition: opacity 0.3s;
                    }

                        .img-box img{
                            width: 100%;
                        }

                    .img-box.hidden {
                        display: none;
                    }



            .member-links{
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                list-style: none;
                gap: 10px;
                padding: 0;

                /* max-width: 90vw; */
                width: 100%;
                margin: 100px 0 0 0;
            }

                .active-link{
                    color: var(--main-color);
                }

                .member-links a{
                    text-decoration: none;
                    color: var(--sub-color);
                    transition: 0.5s;
                }

                .member-links a:hover{
                    color: var(--main-color);
                    transition: 0.5s;
                }


            /* .works-box-btn{
                margin-top: 100px;
                width: 100%;
                justify-content: center;
                text-align: center;
            }

                .works-box-btn a.btn-flat::before{
                    -webkit-transform: translateX(-86%) translateY(-70%) rotate(135deg);
                    transform: translateX(-86%) translateY(-70%) rotate(135deg);
                }

                .works-box-btn a.btn-flat:hover:before {
                    -webkit-transform: translateX(-11%) translateY(-25%) rotate(135deg);
                    transform: translateX(-11%) translateY(-25%) rotate(135deg);
                } */

    /* .bottom{
        width: 100vw;
        background-color: var(--main-color);
        color: var(--background-color);
        text-align: center;
    }
        .bottom-info{
            padding: 30px 400px;
        }

        .bottom a{
            text-decoration: none;
            color: var(--background-color);
        }

            .bottom-info p{
                width: auto;
                text-align: center;
                margin-bottom: 30px;
            }

            .contact-btn{
                display: block;
                width: 100%;
                padding: 30px 0;
                height: auto;
                border: solid var(--background-color);
            }

                .contact-btn span{
                    font-size: 3.2rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 30px;
                }

            .bottom-info-text-flex{
                margin: 30px 0;
                display: flex;
                justify-content: space-between;
            }

                .bottom-info-text-flex p{
                    margin: 0;
                }

                .sns-list{
                    display: flex;
                    padding: 0;
                    width: 100%;
                    justify-content: center;
                    gap: 30px;
                }

                    .sns-list li{
                        font-size: 30px;
                        list-style: none;
                    }

                .othor-link{
                    display: flex;
                    gap: 15px;
                    width: 100%;
                    justify-content: center;
                }

                    .othor-link a{
                        display: block;
                    }

                    .othor-link p{
                        margin: 0;
                        padding: 0;
                    }

                    .under-space{
                        height: 30px;
                    } */

                
                    












@media screen and (max-width: 1500px) {

        .image-list{
            column-count: 2;
        }

            .img-box{
                width: 90%;
                height: auto;
                break-inside: avoid;
                margin: 0  auto 10px auto;
                color: #FFF;
                padding: 2.5%;
                transition: opacity 0.3s;
            }


}



@media screen and (max-width: 800px) {
    .hamburger{
        display: block;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu{
        position: fixed;
        left: 100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item{
        margin: 16px 0;
    }


    .section-member-select{
        margin: 50px 0;
    }

        .member-select-list{
            width: 90vw;
            margin: 0 5vw;
        }

            .member-views{
                width: 40vw;
                height: 40vw;
                position: relative;
                cursor: pointer;
            }

                .member-views p{
                    font-size: 2rem;
                }
                .member-views img{
                    width: 100%;
                    height: 100%;
                }






    .image-list-box{
        margin: 150px auto;
        padding: 0 30px;
    }

    .image-list{
        column-count: 2;
    }

    .img-box{
        width: 40vw;
        padding: 5vw;
    }

    .img-box img{
        width: 100%;
        height: auto;
    }


    .member-box{
        width: 100vw;
    }

        .member-page{
            width: 100%;
            max-width: 100vw;
        }

            .profile-box{
                width: 100%;
            }

                .profile-img-box{
                    width: 90%;
                    margin: 0 5%;
                }

                .profile-text-box{
                    width: 80%;
                    margin: 0 10%;
                }

                    .profile-text-box h5{
                        font-size: 2rem;
                    }

                    .profile-text-box h4{ 
                        font-size: 4rem;
                    }

                    .profile-text-box .year{
                        font-size: 0.8rem;
                    }

                    .profile-text-box p{ 
                        margin: 50px 0;
                        font-size: 1.3rem;
                        line-height: 3rem;
                    }

                        /* .more-info-btn{
                            margin: 0 auto;
                        }

                        .joined-icon{
                            display: flex;
                            gap: 20px;
                        }

                        .joined-icon ion-icon{
                            display: block;
                            margin: 5px 0;
                            padding: 5px;
                            background-color: var(--accent-color);
                            color: var(--main-color);
                            font-size: 2.5rem;
                            border-radius: 5px;
                            cursor: pointer;
                        }

                        .joined-icon a{
                            display: block;
                        } */

    .member-links{
        max-width: 90vw;
        margin: 100px 5vw 0 5vw;
    }

}


@media screen and (max-width: 600px) {

    .profile-img-box{
        width: 80%;
        margin: 0 10%;
    }

        .profile-text-box h5{
            font-size: 1.5rem;
        }

        .profile-text-box h4{ 
            font-size: 2.5rem;
        }

        .profile-text-box .year{
            font-size: 0.8rem;
        }

        .profile-text-box p{ 
            margin: 20px 0;
            font-size: 1rem;
            line-height: 2rem;
        }





        .member-select-list{
            width: 100vw;
            margin: 0;
            gap: 10px;
        }

            .member-views{
                width: 22vw;
                height: 22vw;
                position: relative;
                cursor: pointer;
            }

                .member-views p{
                    font-size: 1.5rem;
                }
                .member-views img{
                    width: 100%;
                    height: 100%;
                }

}

@media screen and (max-width: 400px) {
    .navbar{
        min-height: 60px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 30px;
    }


    .member-select-list{
        width: 90vw;
        margin: 0 5vw;
        gap: 10px;
    }

        .member-views{
            width: 40vw;
            height: 40vw;
            position: relative;
            cursor: pointer;
        }

            .member-views p{
                font-size: 1.3rem;
            }
            .member-views img{
                width: 100%;
                height: 100%;
            }
}