@charset "UTF-8";


* {margin: 0;padding: 0;box-sizing: border-box;}
html {font-size: 10px; scroll-behavior: smooth;}
body {
    font-family: 'NanumSquare', sans-serif !important;
    background-color: #F0F0F3;
}
.nanumsquare {
    font-family: 'NanumSquare', sans-serif !important;
}
img, svg {vertical-align: top;}
ul, li {list-style: none;}


.blind {
    position: absolute;
    left: -9999em;
    top: -9999em;
    overflow: hidden;
}



/* header - nav */
header {
    position: fixed;
    height: 8rem;
    width: 100%;
    z-index: 100;
    transition: all 0.3s;
}
header.active {
    background-color: #F0F0F3;
}
header nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0rem 5rem;
    transition: all 0.3s;
}
header nav h1 {
    width: 100px;
    height: 60px;
    background: url(./../img/logo.png) no-repeat 50% 50% / contain;
}
header nav h1 a{
    display: block;
    width: 100%;
    height: 100%;
}


header .btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: 0;
    outline: none;
    background: none;
    cursor: pointer;
    z-index: 100;
}
header .btn .box {
    position: absolute;
    left: 5px;
    width: 34px;
    height: 5px;
    background-color: #FF0000;
    transition: all 0.3s;
}
header .btn .box:nth-of-type(1) {transform: translateY(-12px);}
header .btn .box:nth-of-type(2) {transform: translateY(-2px);}
header .btn .box:nth-of-type(3) {transform: translateY(8px);}

header .btn.on .box:nth-of-type(1) {transform: rotate(45deg);}
header .btn.on .box:nth-of-type(2) {width: 0;}
header .btn.on .box:nth-of-type(3) {transform: rotate(-45deg);}

header nav .gnb {
    position: absolute;
    left: 0; right: 0;top: 0;bottom: 0;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    transition: all 0.3s;
    display: flex;
}
header .back {
    content: '';
    width: calc(100% - 800px);
    height: 100vh;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
}
header nav .gnb ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 800px;
    margin-left: auto;
    padding-left: 10rem;
    background-color: #F0F0F3;
}
header nav .gnb li {
    transition: all 0.3s;
    margin: 10px 0;
}
header nav .gnb li a {
    display: block;
    width: 500px;
    height: 120px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 55px;
    line-height: 120px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: #B5B5B5;
    background-color: #F0F0F3;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1), inset -10px -5px 4px rgba(201, 201, 201, 0.3), inset 15px 4px 10px rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    transition: all 0.3s;

}
header nav .gnb li:hover a {
    color: #434343;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1), inset -4px -4px 10px rgba(255, 255, 255, 0.72), inset 4px 4px 10px rgba(146, 146, 146, 0.4);
    transition: all 0.3s;
}





/* visual */

#visual {
    height: 100vh;
    padding: 13rem 5rem 10rem;
    position: relative;
    overflow: hidden;
    
}
#visual .item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#visual .item h2 {
    color: #434343;
    font-weight: bold;
    font-size: 80px;
}
#visual .item h2 br:nth-of-type(1) {
    display: none;
}
#visual .item h2 span {
    color: #DF3346;
}
#visual .item ul {
    align-self: flex-end;
    display: flex;
    color: #A2A2A2;
}
#visual .item ul li {
    margin-left: 20px;
}
#visual .item ul li p {
    width: 160px;
    height: 80px;
    border-radius: 30px;
    background-color: #F0F0F3;
    box-shadow: -4px -4px 4px rgba(255, 255, 255, 0.9), 4px 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 4rem;
    line-height: 4rem;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#visual .item ul li p span {
    font-family: 'Noto Sans KR', sans-serif !important;
}
#visual .item ul .number p small {
    display: block;
    font-size: 2rem;
    line-height: 2rem;
    font-weight: lighter;
    animation: pluse 1.5s alternate 1 forwards;
}
@keyframes pluse {
    0% {opacity: 0; transform: translateY(10px);}
    80% {opacity: 0; transform: translateY(10px);}
    90% {opacity: 1; transform: translateY(0px);}
    100% {opacity: 1; transform: translateY(0px);}
}

#visual .item ul li h3 {
    text-align: center;
    font-size: 2.4rem;
    line-height: 5rem;
    font-weight: bold;
}
#visual .pen {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-30%);
    z-index: -1;
}

/* visual you animation */
#visual .you {position: relative;}
#visual .you span {
    position: absolute;
    height: 40px;
}
#visual .you .y {
    left: 42px; top: 50%;
    transform: translateY(-50%);
    animation: y 1.5s alternate 1 forwards;
}
@keyframes y {
    0%,10% {opacity: 0; transform: translateY(0%);}
    30%,100% {opacity: 1; transform: translateY(-50%);}
}
#visual .you .o {
    left: 50%; top: 50%;
    animation: o 1.5s alternate 1 forwards;
}
@keyframes o {
    0%,30% {opacity: 0;}
    50%,100% {opacity: 1; transform: translate(-50%, -50%);}
}
#visual .you .u {
    right: 35px; top: 50%;
    transform: translateY(-50%);
    animation: u 1.5s alternate 1 forwards;
}
@keyframes u {
    0%,50% {opacity: 0; transform: translateY(0%);}
    70%,100% {opacity: 1; transform: translateY(-50%);}
}
#visual ul .txt small {
    display: block;
    font-size: 2rem;
    line-height: 2rem;
    font-weight: lighter;
    animation: txt_pluse 1.5s alternate 1 forwards;
}
@keyframes txt_pluse {
    0% {opacity: 0; transform: translateY(30px);}
    80% {opacity: 0; transform: translateY(30px);}
    90% {opacity: 1; transform: translateY(20px);}
    100% {opacity: 1; transform: translateY(20px);}
}





/* portfolio */
#portfolio {
    width: calc(100% - 100px);
    margin: 100px 50px;
    height: auto;
    background-color: #F0F0F3;
    border-radius: 50px;
    box-shadow: inset -10px -10px 10px rgba(255, 255, 255, 0.72), inset 10px 10px 10px rgba(0, 0, 0, 0.1);
}
#portfolio ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    height: 600px;
}
#portfolio ul.on {
    background-color: rgba(77, 77, 77, 0.6);
    border-radius: 50px;
}
#portfolio ul li {
    height: 120px;
    margin: auto;

    transition: all 0.3s;
    cursor: pointer;
    border-radius: 50px;
    box-shadow: -4px -4px 4px rgba(255, 255, 255, 0.9), 4px 4px 10px rgba(0, 0, 0, 0.2);
}
#portfolio ul li.on {opacity: 1; transition: all 0.3s; box-shadow: none;}
#portfolio ul li.hide {opacity: 0; transition: all 0.3s;}


#portfolio ul li.hyundai {
    width: 400px; 
    background: url(./../img/portfolio_hyundai_off.png) no-repeat 50% 50% / cover;
}
#portfolio ul li.hyundai.on {
    width: 400px; 
    background: url(./../img/portfolio_hyundai_on.png) no-repeat 50% 50% / cover;
}
#portfolio ul li.gangnam {
    width: 400px; 
    background: url(./../img/portfolio_gangnam_off.png) no-repeat 50% 50% / cover;
}
#portfolio ul li.gangnam.on {
    width: 400px; 
    background: url(./../img/portfolio_gangnam_on.png) no-repeat 50% 50% / cover;
}
#portfolio ul li.kyochon {
    width: 262px; 
    background: url(./../img/portfolio_kyochon_off.png) no-repeat 50% 50% / cover;
}
#portfolio ul li.kyochon.on {
    width: 262px; 
    background: url(./../img/portfolio_kyochon_on.png) no-repeat 50% 50% / cover;
}
#portfolio ul li.crazy {
    width: 262px; 
    background: url(./../img/portfolio_crazy_off.png) no-repeat 50% 50% / cover;
}
#portfolio ul li.crazy.on {
    width: 262px; 
    background: url(./../img/portfolio_crazy_on.png) no-repeat 50% 50% / cover;
}





/* history */
#history {
    height: auto;
    width: 100%;
}
#history .item {
    padding: 5rem 10rem 10rem 10rem;
    overflow: hidden;
}
#history .item .slide_m {
    display: none;
}
#history .item .slide img {
    animation: slide 60s infinite;
    animation-timing-function: cubic-bezier(0.8, 0.5, 0.3, 0.3);

}
#history .item .slide:hover img {
    animation-play-state: paused;
}
@keyframes slide {
    0% {transform: translateX(0%);}
    /* 90% {transform: translateX(-100%);} */
    100% {transform: translateX(-100%);}
}




/* philosophy */
#philosophy .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 100px 0 150px;
}
#philosophy .item .title {
    text-align: center;
    font-weight: Bold;
    color: #505050;
}
#philosophy .item .title h4 {
    font-size: 80px;
}
#philosophy .item .title small {
    display: block;
    font-size: 40px;
    margin: 40px 0;
}
#philosophy .item .title p {
    font-size: 30px;
    line-height: 50px;
    margin-top: 60px;
    margin-bottom: 100px;
}
#philosophy .item ul li {
    display: flex;
    align-items: center;
    padding: 30px 50px 30px 30px;
    margin: 50px;
    background-color: #F0F0F3;
    border-radius: 300px;
    box-shadow: -4px -4px 4px rgba(255, 255, 255, 0.9), 4px 4px 10px rgba(0, 0, 0, 0.2);
}
#philosophy .item ul li img {
    width: 234px;
    height: 234px;
}
#philosophy .item ul p {
    color: #505050;
    font-size: 30px;
    line-height: 50px;
    font-weight: bold;
    padding-left: 50px;
}










/* footer */


footer {
    box-shadow: inset 0px 4px 4px rgba(159, 159, 159, 0.25);
    width: 100%;
    color: #434343;
}
footer p {
    font-size: 1.2rem;
    font-weight: 200;
    text-align: center;
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

footer p img {
    height: 24px;
}
footer p span {
    padding: 0 10px;
}
footer p br {
    display: none;
}

