*{padding: 0; margin: 0;}

body::-webkit-scrollbar{width: 16px;}
body::-webkit-scrollbar-track {background-color:#eeeeee;}
body::-webkit-scrollbar-thumb {
    background-color:#3d3d3d;
    border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {background: #555;}
body::-webkit-scrollbar-button:start:decrement,body::-webkit-scrollbar-button:end:increment {
width:16px;
height:16px;
background:#a7a7a7;} 

.wrap_box{
    width: 1920px;
    background-color: #141414;
    color: #fff;
    overflow: hidden;
}

header{
    background: url(../img/tesla_main_bg.jpg) no-repeat 0 0/contain;
    width: 100%;
    height: 1044px;
}

.nav_bar{
    position: fixed;
    width: 100%;
    height: 80px;
    background-color: black;
}
.nav_bar::after{content: ''; display: block; clear: both;}
.logo{
    float: left;
    background: url(../img/logo.png) no-repeat 0 0/contain;
    width: 197px;
    height: 28px;
    margin: 25px;
    margin-left: 260px;
}

.lnb{position: relative;}
.lnb ul{
    position: absolute;
    top: 0;
    left: 550px;
}
.lnb ul li{float: left;}
.lnb ul li a{
    display: block;
    color: #fff;
    font-size: 16px;
    font-family: 'Futura Lt BT';
    padding: 25px;
}
.lnb ul li a:hover{
   font-family: 'Futura Hv BT';
   font-weight: bolder;
   color: #d71730;
}


.gnb{}
.gnb ul{}
.gnb ul li{float: left;}
.gnb ul li a{
    display: block;
}
.gnb ul li:nth-child(1) a{
    background: url(../img/sch_btn.png) no-repeat 0 0;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 30px;
    right: 650px;
    font-size: 16px;
    padding-left: 30px;
    font-family: 'Futura Lt BT';
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
}
.gnb ul li:nth-child(2) a:nth-child(1){
    font-size: 16px;
    font-family: 'Futura Lt BT';    
    color: #fff;
    font-weight: bolder;
    position: absolute;
    top: 30px;
    right: 450px;
}
.gnb ul li:nth-child(2) a:nth-child(2){
    background: url(../img/arrow.png) no-repeat 0 0;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 30px;
    right: 415px;
}
.gnb ul li:nth-child(3) a{
    font-size: 16px;
    padding-left: 10px;
    font-family: 'NanumSquare';
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 30px;
    right: 310px;
}
.gnb ul li:nth-child(3) a:nth-child(2){
    background: url(../img/arrow.png) no-repeat 0 0;
    width: 24px;
    height: 24px;
    position: absolute;
    top: 30px;
    right: 268px;
}

.pc_gnb{}
#gnb{width: 100%;}
#gnb .depth1{}
#gnb .depth1::after{content: ''; display: block; clear: both;}
#gnb .depth1 > li{
    width: 5%;
    display: inline-block;
    margin: 0 1%;
    position: relative;
    vertical-align: top;
}
/* display: inline-block; 속성을 사용하면 세로 정렬을 위해 vertical-align: middle; 속성을 함께 써준다. */
#gnb .depth1 > li a{
    display: block;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Futura Lt BT';
    padding: 30px 0;
    color: #fff;
    text-align: center;
}

#gnb .depth1 > li ul.depth2{
    position: absolute;
    top: 63px;
    left: 0;
    width: 100%;
    background-color: #000;
    font-size: 14px;
    text-align: left;
    padding: 10px 0px;

    /* 애니메이션 */
    transition: all 0.3s, opacity 0s;
    min-height: 0px;
    opacity: 0;
    visibility: hidden;
}
/* transition: all 0.3s, opacity 0s;를 주면 새로고침을 해도 투명도로 조절을 했기 때문에 효과가 0.3초동안 사라지지 않고 바로 사라짐 */

#gnb .depth1 > li:hover ul.depth2{
    visibility: visible;
    opacity: 1;
    min-height: 200px;
}
/* min-height는 최소 이 높이까지만 보여주세요. 라고 요청하는 것
    height는 고정값이기때문에. */

#gnb .depth1 > li:hover::after{
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    position: absolute;
    left: 50%;
    margin-left: -40px;
    bottom: 15px;
    background-color: #fff;
    }

#gnb .depth1 > li ul.depth2 > li{
    text-align: center;
    padding: 15px;
    cursor: pointer;
    color: #ddd;
}
#gnb .depth1 > li ul.depth2 > li:hover{
    color: #fff;
    font-weight: 900;
}

.buy_btn{
    font-family: 'NanumSquare';
    font-size: 24px;
    font-weight: bolder;
    color: #000;
    background-color: #fff;
    border-radius: 100px;
    width: 238px;
    text-align: center;
    position: absolute;
    bottom: -90px;
    left: 50%;
    margin-left: -150px;
    padding: 10px 0;
}

.footer_wrap{}
.footer_wrap footer{}
.footer_wrap footer h4{
    font-size: 18px;
    font-family: 'Noto Sans CJK KR';
    text-align: center;
    padding: 80px 0;
}