@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');


#mainV {
    width: 100%;
    height: 100%;
    margin-top: 0px;
    overflow: hidden;
    /*background-color: #5441ff; */
}

#mainV .vid {
    background-size: cover;
    width: 100%;
}


/* 컨텐츠 */
.contents {
    width: 100%;
    height: 1500px;
}

.contents .container {
    /* width: 65%; */
    width: 1280px;
    height: 100%;
}

.container .works {
    width: 100%;
    height: 700px;
    position: relative;
  
}





.container .works h1 {
    padding-top: 100px;
    margin-left: 100px;
    font-size: 50px;
    font-weight: bold;
    display: inline-block;
}

.container .works .img_box {
    width: 90%;
    height: 450px;
    display: flex;
    justify-content: space-between;
    margin-left: 125px;
    padding-top: 10px;
    margin: 0 auto;

}

.container .works .img_box li {
    width: 30%;
    height: 100%;
    background: rgb(66, 66, 66);
    transition: all 1s ease;
}

.container .works .img_box li:hover{
    transform: scale(1.1);
}

.container .works .img_box li a{
    display: block;
    width: 100%;
    height: 100%;
}

.container .works .img_box li:nth-child(1){
    background: #fff url(../img/web.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}


.container .works .img_box li:nth-child(2){
    background: #fff url(../img/ui_ux.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.container .works .img_box li:nth-child(3){
    background: #fff url(../img/design.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}



.container .works .arrow {
    position: absolute;
    top: 30%;
    right: 6%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-sizing: border-box;
    border: 2px solid #ccc;
    text-align: center;
    font-size: 35px;
    line-height: 52px;
    transform: rotate(-90deg);
    transition: all 0.8s;
}

.container .works .arrow a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: rgb(46, 46, 46);
}

.container .works .arrow:hover {
    background: rgb(74, 199, 141);
    transform: rotate(1deg);
    border: none;
}

.container .works .arrow:hover a {
    color: #fff;
}



.container .skill {
    width: 100%;
    height: 550px;
    margin-top: 200px;
   
}

.container .skill h1 {
    padding-top: 50px;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
}

.container .skill .view {
    width: 100px;
    height: 40px;
    border-radius: 30px;
    text-align: center;
    font-size: 24px;
    line-height: 40px;
    background: rgb(74, 199, 141);
    margin: 0 auto;
    margin-top: 22px;
    transition: all 0.6s;
    box-shadow: 2px 6px 10px rgba(114, 114, 114, 0.61);

    animation-name: scale;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }

    /* 25%  {background-color:yellow; left:200px; top:0px;} */
    50% {
        transform: scale(1.1);
    }

    /* 75%  {background-color:green; left:0px; top:200px;} */
    100% {
        transform: scale(1);
    }
}



.container .skill .view a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.container .skill .view:hover {
    transform: scale(0.9);
    background: rgb(40, 109, 77);
    box-shadow: none;
    animation-iteration-count: unset;
}

.container .skill .view:hover a {
    text-decoration: none;
    color: #ccc;
    font-size: 20px;
}

.container .skill .skill_box {
    width: 60%;
    height: 300px;
    margin: 0 auto;
    margin-top: 90px;
    display: flex;
    justify-content: space-between;
}

.container .skill .skill_box .skill_item {
    width: 20%;
    height: 60%;
    cursor: pointer;
    transition: all 0.7s;
}

.container .skill .skill_box .skill_item:nth-child(1) {
    background-image: url(../img/ps_logo.png);
    background-position: center center;
    background-size: cover;
}

.container .skill .skill_box .skill_item:nth-child(2) {
    background-image: url(../img/ai_logo.png);
    background-position: center center;
    background-size: cover;
}

.container .skill .skill_box .skill_item:nth-child(3) {
    background-image: url(../img/xd_logo.png);
    background-position: center center;
    background-size: cover;
}

.container .skill .skill_box .skill_item:nth-child(4) {
    background-image: url(../img/vs_logo.png);
    background-position: center center;
    background-size: cover;
}

.container .skill .skill_box .skill_item:nth-child(5) {
    background-image: url(../img/id_logo.png);
    background-position: center center;
    background-size: cover;
}

.container .skill .skill_box .skill_item:hover {
    transform: scale(1.1);
}






/*  */

@media screen and (max-width:1280px) {
    .contents .container {
        width: 100%;
    }
}

@media screen and (min-width:1024px) and (max-width:1279px) {
    .contents .container {
        width: 100%;
    }

    .contents .container {
        width: 100%;
    }

    .container .works h1 {
        font-size: 42px;
        padding-top: 120px;
        margin-left: 95px;
    }

    .container .works .img_box {
        width: 80%;
        height: 350px;
    }

    .container .works .arrow {
        top: 27%;
        right: 10%;
        width: 49px;
        height: 49px;
        font-size: 30px;
        line-height: 49px;
    }

    .container .skill {
        margin-top: 100px;
    }

    .container .skill h1 {
        font-size: 50px;
    }

    .container .skill .view {
        font-size: 22px;
    }

    .container .skill .skill_box {
        width: 75%;
        height: 270px;
        margin-top: 60px;
    }
}



@media all and (min-width:768px) and (max-width:1023px) {
    .contents{
        height: 1000px;
    }
    .contents .container {
        width: 100%;
        height: 100%;
    }
    .contents .container {
        width: 100%;
    }
    .container .works {
        height: 30%;
    }
    .container .works h1 {
        font-size: 35px;
        padding-top: 90px;
        margin-left: 95px;
    }

    .container .works .img_box {
        width: 80%;
        height: 250px;
        padding-top: 40px;
    }
    
    .container .works .arrow {
        top: 35%;
        right: 10%;
        width: 49px;
        height: 49px;
        font-size: 30px;
        line-height: 49px;
    }

    .container .skill {
        margin-top: 200px;
    }  

    .container .skill h1 {
        font-size: 35px;
    }
    .container .skill .view {
        width: 95px;
        height: 40px;
        font-size: 22px;
        line-height: 40px;
    }

    .container .skill .skill_box {
        width: 80%;
        height: 220px;
        margin-top: 50px;
    }
}




@media all and (min-width:480px) and (max-width:767px) {
    .contents{
        height: 1000px;
    }
    .contents .container {
        width: 100%;
    }

    .contents .container {
        width: 100%;
    }
    .container .works {
        height: 20%;
    }
    .container .works h1 {
        font-size: 35px;
        padding-top: 90px;
        margin-left: 95px;
    }

    .container .works .img_box {
        width: 80%;
        height: 240px;
        padding-top: 40px;
        display: flex;
        justify-content: space-between;
    }
    .container .works .img_box li{
        width: 45%;
    }

    .container .works .img_box li:nth-child(3){
        display: none;
    }

    .container .works .arrow {
        top: 55%;
        right: 10%;
        width: 42px;
        height: 42px;
        font-size: 25px;
        line-height: 42px;
    }

    .container .skill {
        margin-top: 300px;
        border-radius: 50px;
    }  

    .container .skill h1 {
        font-size: 35px;
    }
    .container .skill .view {
        width: 95px;
        height: 40px;
        font-size: 22px;
        line-height: 40px;
    }

    .container .skill .skill_box {
        width: 80%;
        height: 140px;
        margin-top: 50px;
    }
}



@media all and (max-width:479px) {
    .contents{
        height: 900px;
    }
    .contents .container {
        width: 100%;
    }
    .contents .container {
        width: 100%;
    }
    .container .works {
        height: 20%;
    }
    .container .works h1 {
        font-size: 25px;
        padding-top: 90px;
        margin-left: 55px;
    }

    .container .works .img_box {
        width: 80%;
        height: 240px;
        padding-top: 40px;
        display: flex;
        justify-content: space-between;
    }
    .container .works .img_box li{
        width: 100%;
    }
    .container .works .img_box li:nth-child(2){
        display: none;
    }
    .container .works .img_box li:nth-child(3){
        display: none;
    }

    .container .works .arrow {
        top: 55%;
        right: 10%;
        width: 42px;
        height: 42px;
        font-size: 25px;
        line-height: 42px;
    }

    .container .skill {
        margin-top: 300px;
        border-radius: 50px;
    }  

    .container .skill h1 {
        font-size: 25px;
        margin-bottom: 15px;
    }
    .container .skill .view {
        width: 85px;
        height: 40px;
        font-size: 22px;
        line-height: 40px;
    }

    .container .skill .skill_box {
        width: 70%;
        height: 100px;
        margin-top: 50px;
    }
}