@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');



.navber__menu li{
    margin-top: 6px;
}

.contents {
    width: 100%;
    margin-top: -30px;
}

.contents .container {
    width: 1280px;
    margin: 0 auto;
}


/* 선택버튼 */
.container .selection {
    padding-top: 80px;
    padding-left: 30px;
    padding-bottom: 80px;
    width: 200px;
    height: 45px;
}

.container .selection select {
    cursor: pointer;
    width: 100%;
    border: none;
    background: rgb(74, 199, 141);
    text-align: left;
    font-size: 18px;
    color: #fff;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 4px 4px 12px #ccc;
    transition: all 0.5s;
}

.container .selection select:hover {
    opacity: 0.7;
}

.container .selection select option {
    background: #ddd;
}


/* work */
.contents .container ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contents .container ul li {
    width: 25%;
    height: 300px;
    background: #ddd;
    margin-bottom: 30px;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    transition: all 0.7s;
}

.contents .container ul li:hover {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% ; 
   transform: scale(1.1); 
    box-shadow: 6px 6px 15px #999;
   /* border-radius: 200px; */
    background-size: 120%;
}

/*.contents .container ul li:nth-child(1) {
    background-image: url(../img/메이크업_타이틀.png);
}*/

.contents .container ul li:nth-child(1) {
    background-image: url(../img/NIKE_AI.png);
}

.contents .container ul li:nth-child(2) {
    background-image: url(../img/GUCCI_TITLE.png);
}

.contents .container ul li:nth-child(3) {
    background-image: url(../img/스노우_인턴_타이틀.jpg);
}

.contents .container ul li:nth-child(4) {
    background-image: url(../img/work_Jongro-ro_title.png);
}

.contents .container ul li:nth-child(5) {
    background-image: url(../img/horror_main_title.png);
}

.contents .container ul li:nth-child(6) {
    background-image: url(../img/work_puzzle_title.png);
}

.contents .container ul li:nth-child(7) {
    background-image: url(../img/work_wave_title.png);
}

.contents .container ul li:nth-child(8) {
    background-image: url(../img/little\ prince_title.jpg);
}

.contents .container ul li:nth-child(9) {
    background-image: url(../img/bm_title2.png);
}

.contents .container ul li:nth-child(10) {
    background-image: url(../img/ris_title.png);
}

.contents .container ul li:nth-child(11) {
    background-image: url(../img/work_영은.png);
}

.contents .container ul li:nth-child(12) {
    background-image: url(../img/설봉문화단지_타이틀.jpg);
}

.contents .container ul li:nth-child(13) {
    background-image: url(../img/work_1.jpg);
}

.contents .container ul li:nth-child(14) {
    background-image: url(../img/mbti.png);
}

.contents .container ul li:nth-child(15) {
    background-image: url(../img/manggo_title.png);
}

.contents .container ul li:nth-child(16) {
    background-image: url(../img/work_mori_title.png);
}

.contents .container ul li:nth-child(17) {
    background-image: url(../img/work_logainforam.png);
}

.contents .container ul li:nth-child(18) {
    background-image: url(../img/work_i\ love\ my\ body_다시.jpg);
}

.contents .container ul li:nth-child(19) {
    background-image: url(../img/pobuki_title.png);
}

.contents .container ul li:nth-child(20) {
    background-image: url(../img/고민_타이틀.png);
}

/*
.contents .container ul li:nth-child(11) {
    background-image: url(../img/다보탑_title.png);
}

.contents .container ul li:nth-child(12) {
    background-image: url(../img/news_title.png);
}
    */


/* overlay */
.contents .container ul li:hover .overlay {
    width: 100%;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.629);
    width: 0;
    height: 100%;
    transition: all 0.7s;
    overflow: hidden;
}

.overlay .txt {
    color: #fff;
    font-size: 23px;
    position: absolute;
    top: 30%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-family: 'Noto Sans KR', sans-serif;
}

.overlay .txt2 {
    text-align: center;
    color: #fff;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
}


/* 푸터 사이즈 안맞아서 수정함 */
footer .f_container .copy{
    width: 20%;
    margin-left: 150px;
}



@media screen and (max-width:1280px) {
    .contents .container {
        width: 95%;
    }

}

@media screen and (min-width:1024px) and (max-width:1279px) {
    .contents .container {
        width: 100%;
    }
    .contents .container ul {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .contents .container ul li {
        width: 40%;
        margin-bottom: 30px;
    }
}



@media screen and (min-width:768px) and (max-width:1023px) {
    .contents .container {
        width: 100%;
    }

    .contents .container ul li {
        width: 40%;
        margin-bottom: 50px;
        margin: 20px;
        padding: 15px;
    }

    .overlay .txt {
        font-size: 20px;
        top: 40%;
    }

    .overlay .txt2 {
        font-size: 18px;
        top: 60%;
    }

    .container .selection {
        padding-top: 50px;
        padding-bottom: 20px;
        width: 180px;
        height: 45px;
        margin-left: 0;
    }

}



@media screen and (min-width:480px) and (max-width:767px) {
    .contents .container {
        width: 100%;
    }

    .contents .container ul li {
        width: 60%;
        height: 270px;
        margin-left: 25%;
        margin-bottom: 65px;
    }

    .overlay .txt {
        font-size: 20px;
        top: 40%;
    }

    .overlay .txt2 {
        font-size: 18px;
        top: 60%;
    }

    .container .selection {
        padding-top: 50px;
        padding-bottom: 50px;
        width: 180px;
        height: 45px;
        margin-left: 10%;
        font-size: 50px;
        margin: 0 auto;
    }
  /*   footer .f_container .f_nav {
        width: 25%;
        height: 30px;
        margin-top: 2%;
    }
    
    footer .f_container .f_nav span {
        width: 35%;
        height: 100%;
        font-size: 14px;
        margin-left: 80px;
    } */
}



@media screen and (max-width:479px) {
    .contents .container {
        width: 100%;
    }

    .contents .container ul li {
        width: 70%;
        height: 220px;
        margin-left: 15%;
        border-radius: 30px;
    }

    .overlay .txt {
        font-size: 17px;
        top: 40%;
    }

    .overlay .txt2 {
        font-size: 14px;
        top: 60%;
    }

    .container .selection {
        padding-top: 50px;
        padding-bottom: 50px;
        width: 180px;
        height: 45px;
        margin: 0 auto;
    }
}