html {
    font-size: 62.5%;
}
*{
    font-family: "Pretendard", sans-serif !important;
}

@media (min-width: 1024px) {
    .container {
      max-width: 950px;
    }
}
@media (min-width: 1280px) {
    .container {
        max-width: 950px;
    }
}
@media (min-width: 1536px) {
    .container {
        max-width: 950px;
    }
  }

nav a{
    text-decoration: none;
    color: black;
}

.menu-container li{
    font-size: 2rem;
    font-weight: 300;
}

.menu-container a {
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.1s ease;
}

.menu-container a:hover {
    transform: translateY(-2px);
}

.menu-container a:hover::after {
    width: 100%;
}

.menu-container a:active {
    transform: translateY(0);
}

.nav-active{
    font-weight: 500 !important;
    color: black !important;
    cursor: default;
}


section{
    margin-bottom: 0 !important;
}

.container-tb-padding{
    padding-top: 11rem;
    padding-bottom: 8rem;
}

.title-container{
    /* padding-left: 5%; */
    /* padding-right: 5%; */
    /* padding-bottom: 5%; */
}
.title-container h1{
    margin-bottom: 2rem; 
    font-weight: 600;
    font-size: 4.2rem;
}
.title-container p:first-of-type{
    margin-bottom: .9rem;
}
.title-container p{
    font-size: 2.1rem;
    color: #636363;
}
.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3% auto;
    padding: 0 5%;
}

/* 다운로드 버튼 스타일 */
.download-button {
    width: auto;
    max-width: 240px;
    cursor: pointer;
    display: inline-block;
    transition: all 0.1s ease;
    border:none;
}

.download-button:hover {
    transform: translateY(-5px);
}

.download-button:active {
    transform: translateY(-2px);
}

.down-image {
    transition: all 0.1s ease;
    display: block;
}

.down-image:hover{
    transform: scale(1.05);
}

.footer-content{
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
}
.footer-content a{
    text-decoration: none;
    color: #ffffff;
}
.footer-content p{
    margin-bottom: .5rem;
    font-size: 1.4rem;
    color: #ffffff;
}

.title-container-section2{
    position: absolute; 
    bottom: -55px; 
    right: 0;
}

.loginBtn {
    border-style: none;
    border: 1.5px solid #bbbbbb;
    background-color: #ffffff;
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    color: black;
    box-shadow: none;
}
.loginBtn:hover {
    border: 1.5px solid #bbbbbb;
    transform: translateY(-2px);
    box-shadow: none;
}
.loginBtn:active {
    border: 1.5px solid #bbbbbb;
    transform: translateY(0px);
    box-shadow: none;
}
.loginBtn:focus{
    border: 1.5px solid #bbbbbb;
    box-shadow: none;
}
.df{
    display: flex;
}
.df-fc-jc{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mb-0{
    margin-bottom: 0 !important;
}
.mt-0{
    margin-top: 0 !important;
}

/* 캐러셀 스타일 */
.carouselArea {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    
}

.carousel-container {
    display: flex;
    width: max-content;
    animation: carousel-scroll 10s linear infinite;
    justify-content: center;
}



/* 캐러셀 호버 시 애니메이션 일시정지 */
.carouselArea:hover .carousel-container {
    animation-play-state: paused;
}

.sampleItem {
    width: 140px;
    height: auto;
    margin-right: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.sampleItem:hover {
    transform: translateY(-10px);
}

/* 이미지 팝업 모달 스타일 */
.image-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
}

.image-modal article {
    max-width: 90vw;
    width: auto;
    padding: 2rem;
    background-color: white;
    border-radius: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.image-modal header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.image-modal .close {
    background-color: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.image-modal .close:hover {
    background-color: #e0e0e0;
    transform: scale(1.1);
}

.image-modal .close::before,
.image-modal .close::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 2px;
    background-color: #333;
    transform: rotate(45deg);
}

.image-modal .close::after {
    transform: rotate(-45deg);
}

.image-popup-trigger {
    cursor: zoom-in;
}

.btn-interaction {
    transition: all 0.1s ease;
    cursor: pointer;
}

.btn-interaction:hover {
    transform: translateY(-2px);
}

.btn-interaction:active {
    transform: translateY(0px);
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* 첫 번째 세트의 너비만큼만 이동 */
        transform: translateX(calc(-140px * 14 - 20px * 14));
    }
}

@media screen and (max-width: 1023px) {
    .md-d-none{
        display: none;
    }
    .md-d-show{
        display: flex !important;
    }
}

@media screen and (max-width: 767px) {
    html {
        font-size: 56.25%; /* 9px 기준 (16px의 56.25%) */
    }
    .container-tb-padding{
        padding-top: 9rem;
        padding-bottom: 6rem;
    }
    .sm-tb-padding{
        padding-top: 0rem;
        padding-bottom: 3rem;
    }
    .md-h-580{
        height: 580px !important;
    }
    .menu-container li{
        font-size: 1.7rem;
        font-weight: 300;
    }
}

@media screen and (max-width: 575px) {
    html {
        font-size: 50%; /* 9px 기준 (16px의 56.25%) */
    }
}

@media screen and (max-width: 321px) {
    html {
        font-size: 50%;
    }
}

.footer-content{
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
}
.footer-content a{
    text-decoration: none;
    color: #ffffff;
}
.footer-content p{
    margin-bottom: .5rem;
    font-size: 1.4rem;
    color: #ffffff;
}