
@media (max-width: 768px) {
    .contact-section {
        flex: 1 1 100%; /* 한 줄에 하나씩 배치 */
    }
}

/* 상단 여백 생기는 개짜증나는 현상 해결 */
* {
    margin: 0;
    padding: 0;
}

/**** 헤더, 글씨 크게 ****/
header {
    color: #ffffff;
}
.container-header {
    color: #ffffff;
    text-align: center;
    padding-top: 30rem;
    padding-bottom: 30rem;
}

/**** 바디, 한글 폰트 어떻게 추가해야하나? ****/
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1c1c1c;
}


/* ─────────────────────────────────────────
   새 프로젝트 플레이 영역
───────────────────────────────────────── */

.featured-project {
    width: min(90%, 75rem);
    margin: 4rem auto 2rem;
    padding: 1.5rem;

    display: flex;
    align-items: stretch;
    gap: 2rem;

    color: #1c1c1c;
    background-color: rgba(255, 255, 255, 0.92);

    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);

    overflow: hidden;
}

/* GIF 영역 */
.featured-project-preview {
    flex: 2;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
}

.featured-project-preview img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 22rem;

    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-project:hover .featured-project-preview img {
    transform: scale(1.025);
}

/* 프로젝트 설명 및 버튼 영역 */
.featured-project-info {
    flex: 1;
    min-width: 16rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 2rem;
    text-align: center;
}

.featured-project-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.9rem;

    color: #ffffff;
    background-color: #ff4b67;

    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08rem;
}

.featured-project-info h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.featured-project-info p {
    margin-bottom: 2rem;
    color: #555555;
    line-height: 1.8;
}

/* 플레이 버튼 */
.featured-project-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 12rem;
    padding: 1rem 2rem;

    color: #ffffff;
    background-color: #222222;

    border-radius: 999px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.featured-project-play:hover {
    color: #ffffff;
    background-color: #ff4b67;

    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(255, 75, 103, 0.4);
}

.featured-project-play:active {
    transform: translateY(-1px);
}

.featured-project-play:focus-visible {
    outline: 4px solid rgba(255, 75, 103, 0.4);
    outline-offset: 4px;
}

/* 모바일 및 태블릿 */
@media (max-width: 900px) {
    .featured-project {
        width: calc(100% - 2rem);
        flex-direction: column;
        gap: 0;
    }

    .featured-project-preview img {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    .featured-project-info {
        min-width: 0;
        padding: 2rem 1rem;
    }

    .featured-project-info h2 {
        font-size: 1.8rem;
    }

    .featured-project-play {
        width: min(100%, 20rem);
    }
}


/**** 푸터, 추가 정보 기입 ****/
footer {
    background-color: #333333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    background-attachment: local;
}


/**** 네비게이션 ****/
/* 네비게이션에 스트키 효과 줌 */
.nav {
    top: 0%;
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #000000;
    padding: 2rem;
    position: fixed;
    z-index: 10;
}
.nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}
.nav a:hover {
    background-color: #cfe0ff;
}


/* 좌측 사이드바 고정 */
.sidebar {
    position: fixed;                /* 스크롤해도 고정 */
    top: 7rem;                      /* 네비게이션 높이만큼 내려줌 */
    left: 0;
    width: 6.5rem;                  /* 필요에 따라 조정 */
    height: calc(100% - 7rem);      /* 상단 공간을 제외하고 높이 설정 */
    background-color: rgba(255, 255, 255, 0.025); /* 약간 투명한 배경 */
    overflow-y: auto;               /* 세로 스크롤 허용 */
    padding: 1rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 1rem;
}

.sidebar a {
    display: block;
}

.sidebar img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    opacity: 0.5;                   /* 기본적으로 반투명 */
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sidebar img:hover {
    opacity: 1;                     /* hover 시 완전 불투명 */
    transform: scale(1.05);
}


/* ─── 스크롤바 커스터마이징 ─── */

/* 웹킷(Chrome, Safari, Edge) 스크롤바 */
.sidebar::-webkit-scrollbar {
    width: 14px;                     /* 스크롤바 너비 */
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);  /* 트랙 배경색 */
    border-radius: 4px;             /* 모서리 둥글게 */
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3); /* thumb 색상 */
    border-radius: 4px;                   /* thumb 모서리 둥글게 */
    border: 2px solid rgba(0, 0, 0, 0.1); /* thumb 테두리 */
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.5); /* hover 시 thumb 색상 */
}

.sidebar::-webkit-scrollbar-track:hover {
    background: rgba(0, 0, 0, 0.15);      /* hover 시 트랙 색상 */
}

/* Firefox용 스크롤바 */
.sidebar {
    scrollbar-width: thin;                /* “thin” 또는 “auto” */
    scrollbar-color: rgba(0, 0, 0, 0.3)   /* thumb 색상 */
                     rgba(0, 0, 0, 0.1); /* track 색상 */
}






/**** 아이프레임 배경 비디오-1 ****/
.video_header {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
}

.video_header iframe {
    position: absolute;
    top: -60px;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: calc(100% + 120px);
    border: none;
}

.video_header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* "아래로 스크롤 하세요" 문구 스타일 */
.scroll_hint {
    position: absolute;
    top: 50%; /* 중앙 배치 */
    left: 50%;
    transform: translate(-50%, -50%); /* 완전 중앙 정렬 */
    z-index: 2;
    text-align: center;
    font-size: 4rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.scroll_hint_animation {
    animation: blink 2s infinite;
}

/* 화살표 스타일 */
.arrow {
    z-index: 2;
    text-align: center;
    font-size: 4rem;
    border-left: 0px solid #fff;
    border-bottom: 0px solid #fff;
    transform: rotate(90deg); /* 아래 방향 화살표 */
    animation: bounce 3.5s infinite;
}

/* 깜빡임 효과 */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* 화살표 바운스 효과 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(90deg); /* 아래 방향 유지 */
    }
    40% {
        transform: translateY(10px) rotate(90deg);
    }
    60% {
        transform: translateY(5px) rotate(90deg);
    }
}



/**** 아이프레임 배경 비디오-2 ****/
.video-container {
    text-align: center;
    margin: 0 0;
    background: #000;
}
.video-bg {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100rem; /* 비디오 최대 너비 설정 */
    height: 100%;
    max-height: 50rem;
    margin: 0 auto;
    padding-bottom: 43.75%;/*43.75%; = 4:3, 56.25%; = 16:9 비율 유지 */
}
.video-bg iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
/* 클릭 방지 코드 */
.video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 0%;
    z-index: 1; /* z축 높여서 영상 클릭되는 거 방지 */
}
.video-caption { /* 비디오 아래 텍스트 넣을 거 */
    font-size: 1rem;
    color: #a7a7a7;
    margin-top: 1rem;
    padding-bottom: 5rem;
    line-height: 1.5;
}
/**** 아이프레임 배경 비디오-3 ****/
















/**** 글자 강조 및 효과 등등 ****/
.big_accent {
    font-size: 250%;
    font-weight: 1000;
}
.mid_accent {
    font-size: 200%;
    font-weight: 1000;
}
.accent {
    font-size: 150%;
    font-weight: 800;
}
.semi_accent {
    font-size: 120%;
    font-weight: 600;
}
.text_shadow {
    text-shadow: #000000 1px 1px 4px;
}
.text_huge_shadow {
    font-size: 300%;
    font-weight: 1000;
    text-shadow: #000000 1px 1px 4px;
}
.text_center {
    text-align: center;
    line-height: 3;
}
.text_white {
    color: #faf9f9;
}
.text_whiteGray {
    color: #afafaf;
}
.text_black {
    color: #000000;
}
.padding_5 {
    padding: 5rem;
}
.icon {
    width: 20px;
    height: 20px;
    vertical-align: middle; /* 이미지를 텍스트와 같은 높이로 정렬 */
}
@keyframes neon-flicker {
    0% {
        text-shadow: 
        0 0 10px #ffffff,
        0 0 20px #ffffff, 
        0 0 30px #ffffff;
    }
    100% {
        text-shadow: 
        0 0 20px #ffffff, 
        0 0 30px #ffffff, 
        0 0 40px #ffffff;
    }
}
.neon { 
    font-size: 60px; 
    font-weight: 700; 
    color: #fff;
    animation: neon-flicker 0.75s infinite alternate;
}
/*.neon_sub {
    animation: neon-flicker 0.75s infinite alternate;
}*/
.highlight {
    background: linear-gradient(#ffea0073 0 100%);
    background-position: 0 calc(100% - 2px);
    background-size: 100% 14px;
    background-repeat: no-repeat;
}



/**** 배경 고정 css 및 배경 이미지 사이즈 ****/
/* 아래 bg로 스타일리쉬하게 */
.bg {
    background-position: center top;
    background-size: cover;
    background-repeat: repeat;
    background-attachment: fixed;
}
.bg_black2 {
    background-color: #000000;
    padding: 5rem;
}
.bg_header {
    height: 90rem; /* 100vh 또는 100vw 가 현재 스크린 사이즈 임 */
    /*background-image: url("../images/sky_moon.jpg");*/
    background-image: url("../images/Mint2Orange.png");
    line-height: 5rem;
    text-shadow: #000000 1px 1px 4px;
}
.bg_contact {
    /*background-image: url('../images/snowgirl.jpg');*/
    background-image: url("../images/Navy2Purple.png");
    margin: auto;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    padding: 5rem;
}
.bg_projects {
    /*background-image: url('../images/snow_light.jpg');*/
    background-image: url("../images/Pink2Lavender.png");
    margin: auto;
    overflow: auto;
    text-align: center;
    color: #ffffff;
    padding: 5rem;
}
.bg_black {
    background: #000;
    padding-top: 10rem;
}
.bg_type3 {
    background-image: url('https://picsum.photos/id/81/2000/2000');
    background-attachment: local;
}

/* 컨테이너 */
.container {
    background-color: #faf9f9;
    margin: auto;
    overflow: hidden;
    text-align: center;
    padding: 0rem;
}

/**** 동근's 갤러리 ****/
/* 갤러리는 내 작품 이미지 넣을 */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .contact-section {
        flex: 1 1 100%;
    }
}
/* 섹션 스타일 */
#gallery {
    padding: 10rem;
    background-image: url("../images/darkSpotlight.jpg");
    /*background: #000000;*/
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
}
.gallery {
    padding-bottom: 10rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2열 */
    grid-template-rows: repeat(2, 1fr); /* 2행 */
    gap: 0;
    width: 100%;
    max-width: 100rem;
    box-sizing: border-box; /* 크기 계산에 패딩 포함 */
}
/* 갤러리 아이템 스타일 */
.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* 4:3 래티오 */
    overflow: hidden;
}
/* 정적인 이미지 */
.static-image, .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 비율 유지하며 채움 */
    transition: opacity 0.3s ease; /* 부드러운 전환 */
}
/* GIF는 기본적으로 숨김 */
.hover-image {
    opacity: 0;
}
.gallery-item:hover .hover-image {
    animation: none; /* 자동 애니메이션 제거 */
    opacity: 1 !important; /* 강제로 보이게 설정 */
}
.gallery-item:hover .static-image {
    opacity: 0 !important;
}


/* 자동 애니메이션 적용 */
.gallery-item .hover-image {
    /* 기본 opacity는 애니메이션으로 제어 */
    animation: autoGif 18s infinite;
}

/* 각 갤러리 아이템마다 3초씩 딜레이 (총 6개 아이템 기준) */
.gallery-item:nth-child(1) .hover-image {
    animation-delay: 0s;
}
.gallery-item:nth-child(2) .hover-image {
    animation-delay: 3s;
}
.gallery-item:nth-child(3) .hover-image {
    animation-delay: 6s;
}
.gallery-item:nth-child(4) .hover-image {
    animation-delay: 9s;
}
.gallery-item:nth-child(5) .hover-image {
    animation-delay: 12s;
}
.gallery-item:nth-child(6) .hover-image {
    animation-delay: 15s;
}

/* keyframes: 18초 주기, 약 3초 동안 gif 표시 (fade in/out 효과 포함) */
@keyframes autoGif {
  0% { opacity: 0; }
  8% { opacity: 1; }    /* 0.08*18s ≈ 1.44초에 fade in 완료 */
  25% { opacity: 1; }   /* 25% of 18s = 4.5초 → gif가 보이는 시간 약 3.06초 (4.5-1.44) */
  33% { opacity: 0; }   /* fade out */
  100% { opacity: 0; }
}




/**** 컨택트 ****/
.contact-list {
    list-style-type: none;
    text-align: center;
    padding: 0;
}
.contact-list li {
    margin-bottom: 10px;
}
.contact-list a {
    color: #0066cc;
    text-decoration: none;
}
.contact-list a:hover {
    text-decoration: underline;
}
.about-content {
    display: flex; /* 이미지랑 텍스트를 같은 수준? 배치 */
    flex-direction: column;
    text-align: left;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    display: block; /* 블록 요소로 */
    object-fit: cover;
}


/**** 컨택트 섹션 분할 ****/
.contact-section {
    flex: 1 1 calc(33.33% - 1rem);
    background-color: #ffffff;
    transition: opacity 0.3s ease; /* 부드러운 전환 효과 */
    color: #1c1c1c;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
}
.contact-sections {
    display: flex;
    flex-wrap: wrap; /* 화면 크기에 따라 줄바꿈 가능 */
    justify-content: space-between; /* 섹션 간 간격 조정 */
    gap: 1rem; /* 섹션 간 여백 */
    margin: 2rem 0; /* 상하 간격 */
}
.contact-section:hover {
    opacity: 0.6125;
}
.contact-section h3 {
    height: 5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #1e1e1e;
}
.contact-list {
    list-style: none;
    padding: 0;
}
.contact-list li {
    margin-bottom: 0.5rem;
}
.contact-list a { /* 링크 바로가기 색깔 */
    color: #00bfff;
    text-decoration: none;
}
.contact-list a:hover {
    text-decoration: underline;
}


/**** 프로젝트 ****/
.projects {
    display: grid;
    color: #000;
    grid-template-columns: repeat(3, 1fr); /* 한 줄에 3개 */
    gap: 2rem;
    padding: 5rem 2rem;
    justify-items: center; /* 수평 가운데 정렬 */
    background-color: #ffffff24; /* 배경색 추가 */
    border-radius: 10px;
    box-shadow: 0 4px 8px #00000044;
}
@media (max-width: 768px) {
    .projects {
        grid-template-columns: 1fr; /* 화면이 좁아지면 한 줄에 1개 */
    }
}
.projects img:hover {
    transform: scale(1.05); /* 이미지 확대 */
}
.projects a {
    text-decoration: none; /* 링크 밑줄 제거 */
    color: inherit; /* 부모 색상 상속 */
}
.projects img {
    width: 100%; /* 카드 크기에 맞게 조정 */
    height: 180px; /* 고정 높이 */
    border-radius: 5px; /* 이미지 모서리 둥글게 */
    margin-bottom: 1rem;
    object-fit: cover; /* 이미지 비율 유지 */
    transition: transform 0.2s ease; /* 이미지 확대 효과 */
}

/* RZ 프로젝트 카드 */
.project_RZ {
    width: 20rem; /*320px*/
    height: 26rem; /*400px*/
    padding: 1rem;
    text-align: center;
    background-color: #ffeebe; /* 카드 배경색 */
    border-radius: 8px;
    box-shadow: 0 16px 24px #ffdc91; /* 카드 그림자 */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* 호버 효과 */
}
.project_RZ:hover {
    transform: translateY(-7px); /* 살짝 위로 올라오는 효과 */
    box-shadow: 0 32px 48px #ffeebe; /* 더 강한 그림자 */
}
/* FOAS 프로젝트 카드 */
.project_FOAS {
    width: 20rem;
    height: 26rem;
    padding: 1rem;
    text-align: center;
    background-color: #b5e9ff; /* 카드 배경색 */
    border-radius: 8px;
    box-shadow: 0 16px 24px #6fe5ff; /* 카드 그림자 */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* 호버 효과 */
}
.project_FOAS:hover {
    transform: translateY(-7px); /* 살짝 위로 올라오는 효과 */
    box-shadow: 0 43px 48px #97ecff; /* 더 강한 그림자 */
}
/* Astro 프로젝트 카드 */
.project_Astro {
    width: 20rem;
    height: 26rem;
    padding: 1rem;
    text-align: center;
    background-color: #fefefe; /* 카드 배경색 */
    border-radius: 8px;
    box-shadow: 0 16px 24px #e0e0e0; /* 카드 그림자 */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* 호버 효과 */
}
.project_Astro:hover {
    transform: translateY(-7px); /* 살짝 위로 올라오는 효과 */
    box-shadow: 0 32px 48px #fefefe; /* 더 강한 그림자 */
}
/* SMWYCD 프로젝트 카드 */
.project_SMWYCD {
    width: 20rem;
    height: 26rem;
    padding: 1rem;
    text-align: center;
    background-color: #ffbebe; /* 카드 배경색 */
    border-radius: 8px; 
    box-shadow: 0 16px 24px #ff9191; /* 카드 그림자 */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* 호버 효과 */
}
.project_SMWYCD:hover {
    transform: translateY(-7px); /* 살짝 위로 올라오는 효과 */
    box-shadow: 0 32px 48px #ffa8a8; /* 더 강한 그림자 */
}
/* Green 프로젝트 카드 */
.project_Green {
    width: 20rem;
    height: 26rem;
    padding: 1rem;
    text-align: center;
    background-color: #d6ffbe; /* 카드 배경색 */
    border-radius: 8px;
    box-shadow: 0 16px 24px #c3ff91; /* 카드 그림자 */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* 호버 효과 */
}
.project_Green:hover {
    transform: translateY(-7px); /* 살짝 위로 올라오는 효과 */
    box-shadow: 0 32px 48px #d6ffbe; /* 더 강한 그림자 */
}
/* John 프로젝트 카드 */
.project_John {
    width: 20rem;
    height: 26rem;
    padding: 1rem;
    text-align: center;
    background-color: #f3cfff; /* 카드 배경색 */
    border-radius: 8px;
    box-shadow: 0 16px 24px #d596ff; /* 카드 그림자 */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* 호버 효과 */
}
.project_John:hover {
    transform: translateY(-7px); /* 살짝 위로 올라오는 효과 */
    box-shadow: 0 32px 48px #f3cfff; /* 더 강한 그림자 */
}
/* Gun 프로젝트 카드 */
.project_Gun {
    width: 20rem;
    height: 26rem;
    padding: 1rem;
    text-align: center;
    background-color: #ffebcf; /* 카드 배경색 */
    border-radius: 8px;
    box-shadow: 0 16px 24px #ffcd82; /* 카드 그림자 */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* 호버 효과 */
}
.project_Gun:hover {
    transform: translateY(-7px); /* 살짝 위로 올라오는 효과 */
    box-shadow: 0 32px 48px #ffebcf; /* 더 강한 그림자 */
}



/* 유튜브 링크 및 링크 */

/* 전체 컨테이너: 좌측 버튼과 우측 슬라이더를 가로로 배치 */
.containerYT {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
  }
  
  /* 좌측 영역: 고정 너비 */
  .left {
    flex: 1;
    text-align: center;
  }
  
  /* 펄스 효과 버튼 */
  .pulse-button {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    background-color: #FF0000;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    animation: pulse 6s infinite;
  }
  
  /* 펄스 애니메이션 */
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  /* 우측 영역: 슬라이더 영역 */
  .right {
    flex: 1;
    overflow: hidden;
  }
  
  /* 슬라이더 컨테이너 */
  .slider {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  /* 슬라이드 트랙: 가로로 아이템들을 나열하고 애니메이션 */
  .slide-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    width: calc(200%); /* 아이템들을 복제해서 연속 슬라이드를 만듦 */
    animation: scroll 15s linear infinite;
  }
  
  /* 각 슬라이드 아이템 */
  .slide {
    flex: 0 0 auto;
    width: 200px; /* 각 슬라이드 고정 너비 */
    margin-right: 1rem;
    text-align: center;
  }
  
  .slide img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
  
  .slide p {
    font-size: 0.9rem;
    color: #333;
  }
  
  /* 슬라이드 자동 스크롤 애니메이션 */
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* 반응형: 화면이 작으면 슬라이드 아이템 너비 조정 */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
    }
    .left {
      margin-bottom: 1rem;
    }
    .slide {
      width: 150px;
    }
  }
  
