/* 기본 스타일 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden; /* 스크롤바를 숨기기 위해 */
    font-family: Helvetica, sans-serif; /* 기본 폰트 설정 */
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* 비디오가 뒤로 가도록 설정 */
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header {
    position: relative;
    z-index: 1; /* 헤더가 비디오 위에 오도록 설정 */
}

.logo-marquee {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 0, 20, 0.8); /* 반투명한 배경 */
}

.logo-container {
    display: flex;
    animation: scroll 40s linear infinite;
}

.logo {
    width: 400px; /* 로고의 너비 */
    height: auto; /* 로고의 높이를 자동으로 */
}

/* 애니메이션 효과 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* 컨테이너의 절반만큼 이동 */
    }
}

.text-links {
    position: absolute;
    top: 60%;           /* 상위 위치를 화면 세로 중앙에서 아래로 조정 */
    right: 5%;          /* 오른쪽 위치를 화면 오른쪽에서 5%로 설정 */
    transform: translateY(-50%);  /* 요소를 수직으로 중앙 정렬 */
    z-index: 5;
    text-align: left;   /* 텍스트를 왼쪽 정렬 */

    /* 추가 스타일 */
    display: flex;
    flex-direction: column; /* 세로 방향으로 요소들을 배치 */
    align-items: flex-start; /* 요소들을 왼쪽으로 정렬 */
}


.text-links a {
    color: #fff;
    text-decoration: none;
    font-size: 80px;
    margin: 10px;
    padding: 10px 20px;
    line-height: 0.7; 
    transition: color 0.3s, transform 0.3s;  /* 텍스트 색상과 크기 변화에 대한 전환 효과 설정 */
}

.text-links a:hover {
    color: #3e87f3;     /* 호버 시 텍스트 색상을 파란색으로 변경 */
    transform: scale(1.3);  /* 호버 시 텍스트 크기를 1.1배로 확대 */
}

 /* 미디어 쿼리 */
 @media screen and (max-width: 600px) {
    .logo {
        width: 70px; /* 작은 화면에서 로고 크기 줄이기 */
    }

    .text-links {
        bottom: 20px; /* 작은 화면에서 텍스트 링크 위치 조정 */
        right: 10px;
    }

    .text-links a {
        font-size: 45px; /* 작은 화면에서 링크 폰트 크기 줄이기 */
        padding: 8px 16px; /* 링크 패딩 조정 */
    }
}