/*웹폰트*/
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

/*전체.. 큰 카테고리*/
html, body, p, section, div, h1, h2, h3, h4, h5, img, span{
    margin: 0;
    padding: 0;
    font-family: 'Pretendard Variable', sans-serif;
    
}

html, body, p, section, div, h1, h2, h3, h4, h5, img{
    font-weight:900;
}

body{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html{
    background-color: rgb(255, 255, 255);
    scroll-behavior: smooth;

}

/*변형*/
.rotate-90{
    transform: rotate(90deg) translate(0%, 0%);

}

/*정렬*/
.justify-space-between{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.justify-flex-end{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}


/*텍스트*/
p{
    word-break: keep-all;
}

.title1{
    bottom: 140px;
    transform: translate(-50%, 0%);
    font-size: 250px;
}

.title2{
    bottom: -75px;
    transform: translate(-50%, 0%);
    font-size: 269px;
}

.title1, .title2{
    letter-spacing: -5px;
    position: absolute;
    left: -10px;
    font-weight: 900;
    white-space: nowrap;
    -webkit-text-stroke: 8px black;
}

.no-wrap-text{
    white-space: nowrap;
}

h1{
    position: absolute;
    font-size: 128px;
    font-weight: 900;
    white-space: nowrap;
    overflow: visible;
    z-index: 100;
}

h2{
    position: absolute;
    left: -70px;
    line-height: 90%;
    font-size: 64px;
    font-weight: 700;
}

h3{
    font-size: 24px;
}

p{
    line-height: 150%;
    font-weight: 500;
}

a{
    text-decoration: none;
}

/*색상*/

.gray-40{
    color: #00000066;
}

.white{
    color: #ffffff;
}

/*내비게이션 바*/



.navbar {
    display: flex;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
    margin-top: 32px;
    width: 1216px;
    position: fixed;
    background-color: #ffffff;
    z-index: 1000;

    transform: translate(-50%,0%);
    left: 50%;
}

.nav-tab {
    appearance: none;
    border: none;
    outline: none;
    box-shadow: none;
    background: none;

    border-right: 2px solid black;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 20%;
    min-height: 64px;

    background-color: #ffffff;
    color: black;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.nav-tab:hover:not(.active) {
    background-color: #f0f0f0;
}

.nav-tab.active {
    background-color: black;
    color: white;
    border-right: 2px solid black;
}

.nav-tab a {
    color: inherit; 
    text-decoration: none; 
}
  
.nav-tab a:hover {
    color: inherit;
    text-decoration: none; 
}
  
.nav-tab a:visited {
    color: inherit;
}

.nav-tab a:active {
    color: inherit;
}
  
.nav-tab a:focus {
    color: inherit;
    outline: none; 
}

/*섹션별*/

.wrap{
    margin-left: 256px;
    margin-right: 256px;
}

header{
    height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
}

.video-section{
    height: 6000px;
    position: relative;
}
footer{
    height: 400px;
    padding-top: 48px;
    background-color: #000000;

}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 48px;
}

.flex-maker{
    display: flex;
    justify-content: space-between;

}
  
.item {
    position: relative;
    
    text-align: left;
    font-size: 16px;
    font-weight: 500;

    width: 265px;

}
  
/*이미지 & 비디오*/
.logo{
    position: absolute;
    top: 35%;
    left: 50%;
    height: 200px; width: 400px;
    transform: translate(-50%, -50%);
}

.main-intro-video{
    position: relative;
    width: 100%;
    height: auto;
}

.dot{
    position: absolute;
    border-radius: 500px;
    width: 64px; height: 64px;
    background-color: #000000;

    left: -73px;
}

.line{
    position: absolute;
    height: 346px; width: 10px;
    background-color: #000000;
    left: -77px;
}

.video{
    width: 100vw;
    height: auto;
    display: block;
    position: sticky;
    top: 200px

}

/*애니메이션*/
.fade-in {
    opacity: 0; /* 초기 투명 상태 */
    transition: opacity 1s ease; /* 투명도 변화에 애니메이션 적용 */
  }
  
  .fade-in.show {
    opacity: 1; /* 보여질 때의 투명 상태 */
  }
  
  .fade-up,
  .fade-up-left,
  .fade-up-right {
    opacity: 0;
    transition: all 1s ease;
  }
  
  .fade-up {
    transform: translateY(50px);
  }
  
  .fade-up-left {
    transform: translateX(-50px);
  }
  
  .fade-up-right {
    transform: translateX(50px);
  }
  
  /* 보여질 때 공통 */
  .fade-up.show,
  .fade-up-left.show,
  .fade-up-right.show,
  .fade-in.show { /* fade-in에도 .show 적용 */
    opacity: 1;
    transform: translate(0%, 0); /* fade-in은 transform 없음 */
  }