@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c&family=Nanum+Gothic+Coding&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
body{font-family: 'Roboto Condensed','M PLUS Rounded 1c','Nanum Gothic Coding', sans-serif;}

.container{
    width: 100%; 
    height: 100vh; 
    display: flex; 
    background: url(../imgs/bg.png);
    background-size: cover;
    color: #dddddd;
    position: fixed;
}

.header{
    color: #fff; 
    width: 20%; 
    box-sizing: border-box; 
    padding: 12vh 0 5vw 4vw; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    position: relative; 
    z-index: 15;
}


.logo>img{
    width: 150px; 
    height: 150px;
    border-radius: 50%;
    position: relative;
}
.logo>p{
    font-size: 1.6svw; 
    margin-top: 25px; 
    margin-left: 14px; 
    font-weight: 200;
    position: absolute;  
    left: 82px;
}

.copyright{
    font-size: 1vw;
}

.main{
    width: 80%; 
    height: 85vh; 
    position: relative; 
    padding-top: 15vh;
}

.icons{
    display: flex; 
    position: absolute; 
    right: 7vw; top: 10vh; 
    color: #bbb; 
    width: 60px; 
    justify-content: space-between; 
    font-size: 18px; 
    z-index: 10;
}

.contents{
    display: flex; 
    height: 100%;
}

.box{
    flex: 1; 
    height: 100%; 
    padding: 50px 30px 100px; 
    box-sizing: border-box; 
    cursor: pointer; 
    transition: all 0.8s;
}

.box img{
    width: 320px;
    height: 170px;
    filter: grayscale(100%); 
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2); 
    transition: all 1s;
}

.inner{
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    height: 100%;
}

.title>p:nth-child(1){
    font-size: 1.5vw; 
    font-weight: 300; 
    padding-top: 50px; 
    transition: all 1s;
}

.line{
    border-top: 2px solid #999; 
    width: 45px; 
    margin: 1.4vw 0; 
    transition: all 1s;
}

.title>p:nth-child(3){
    margin-top: 65px; 
    font-weight: 300; 
    font-size: 13px; 
    line-height: 170%; 
    width: 87%;
}

.box:hover{
    flex: 1.3; 
    z-index: 5;
}

.box:hover img{
    transform: scale(1.05); 
    filter: none;
}

.box:hover p:nth-child(1){
    font-size: 2vw; 
    padding-top: 0px;
}

.box:hover .line{
    width: 120px; 
    border-top: 3px solid rgb(255, 189, 24);
}

/* 배경 박스 구현 */
.box{
    position: relative;
}

.box::before{
    content:""; 
    position: absolute; 
    left: -35%; 
    top: 0; 
    width: 85%; 
    height: 92%; 
    background-color: rgba(255, 255, 255, 0.1); 
    transition: all 1s; 
    opacity: 0;
}

.box:hover::before{
    opacity: 1; 
    left: 0;
}

/*pages*/
.page{
    position: absolute; 
    top: 0; 
    right: 120%; 
    height: 100vh; 
    width: 100%; 
    display: flex; 
    background-color: #111; 
    z-index: 9; 
    box-sizing: border-box; 
    padding: 20vh 7vw 15vh 1vw; 
    justify-content: space-between; 
    transition: all 0.8s; 
    opacity: 0;
}

.page_title{
    width: 25%;
    overflow-y: auto;
}

.page_title>h1{
    font-size: 4.5vw; 
    font-weight: 300; 
    color: #bbb
}

.page_title>p{
    text-align: center;
    font-size: 0.6vw; 
    line-height: 200%; 
    margin: 25px 0;
}

.close{
    color: rgb(255, 189, 24); 
    background: none; 
    margin-top: 40px; 
    font-size: 0.8vw; 
    font-weight: 500;
}

.page>iframe{
    width: 75%; 
    height: 100%; 
    object-fit: cover;
}

.active{
    right: 0; 
    opacity: 1;
}