a,div,span,ul,li,button{padding: 0;margin: 0;}
body {
    font-family: "SF Pro Display";
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

.container {
    align-items: center; /* 가로 방향 가운데 정렬합니다. */
    flex-direction: column; /* 아이템을 세로 방향으로 정렬합니다. */
    display: flex;
    width: 100%;
    background-color: #ffffff;
}

/*언어 변경*/
.btn-layer{
    position: relative;
    height: 0px;
}
.lang-button{
    position: absolute;
    top:35px;
    left:calc(50% + 78px);
    width: 80px;
    height: 41px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    border-radius: 8px;
    border: solid 1px rgba(23, 24, 28, 0.5);
    cursor: pointer;
}
.lang-button-text{
    display: block;
}
.button-arrow{
    margin-right: 16px;
    margin-left: 8px;
    width: 15.5px; /* 로고 이미지의 너비 */
    height: 9px; /* 로고 이미지의 높이 */
    background-image: url('../images/lang-button-arrow.png'); /* 배경 이미지 경로 */
    background-size: cover; /* 배경 이미지를 화면에 꽉 채움 */
    background-repeat: no-repeat; /* 배경 이미지 반복 안 함 */
}

.lang-layer {
    position: fixed;
    bottom: -100%; /* 하단에서 시작 */
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* 투명한 배경 */
    transition: bottom 0.3s ease; /* 애니메이션을 통해 움직임 부드럽게 설정 */
    pointer-events: none; /* 이벤트 전파 차단 */
    opacity: 0;
    visibility: hidden;
    z-index: 999; /* 레이어를 다른 요소 위에 표시 */
}

.lang-layer.active {
    bottom: 0; /* 활성화되었을 때 레이어를 보여줌 */
    pointer-events: auto; /* 이벤트 전파 허용 */
    opacity: 1;
    visibility: visible;
}

.lang-layer.active .background {
    background-color: rgba(0, 0, 0, 0.5); /* 불투명한 배경 */
}

.lang-content {
    width: 100%;
    padding: 0 0 52px;
    background-color: #fff;
    position: absolute;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px 5px 0 0;
    transition: transform 0.3s ease; /* 애니메이션을 통해 부드러운 효과 적용 */
}

.lang-title {
    font-size: 15px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.3px;
    text-align: center;
    color: #000;
    margin: 20px 0 18px 0;
}

.lang-list {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 32px;
    border: solid 1px #eeeef2;
}
.lang-list.active{
    background-color: #000;
}

.lang-list-text {
    width: 25px;
    flex-grow: 0;
    font-size: 17px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #000;
}

.lang-list.active > .lang-list-text{
    color: #fff;
}


.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 999;
}


/* 콘텐츠 영역  */
.content{
    margin: 100px 0 0 0;
    width: 100%;
    align-items: center; /* 가로 방향 가운데 정렬합니다. */
    flex-direction: column; /* 아이템을 세로 방향으로 정렬합니다. */
    display: flex;
    background-color: #ffffff;
}
.foto-title{
    font-family: 'Apple SD Gothic Neo';
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: -0.06px;
    text-align: center;
    color: #2a2b32;
}
.foto-artist-group{
    margin-top: 4px;
    width: 180px;
    height: 140px;
    background-image: url('../images/fotox-ateez-logo-img@2x.png'); /* 배경 이미지 경로 */
    background-size: cover; /* 배경 이미지를 화면에 꽉 채움 */
    background-repeat: no-repeat; /* 배경 이미지 반복 안 함 */
}

.foto-artist-photo{
    width: 360px;
    height: 475px;
    position: relative;
}
.foto-artist-photo-1{
    position: absolute;
    top:6px;
    width: 360px;
    height: 366px;

    background-image: url('../images/Ateez_dday_img1@2x.png'); /* 배경 이미지 경로 */
    background-size: cover; /* 배경 이미지를 화면에 꽉 채움 */
    background-repeat: no-repeat; /* 배경 이미지 반복 안 함 */
}

.foto-artist-photo-2{
    position: absolute;
    width: 360px;
    height: 173px;

    background-image: url('../images/Ateez_dday_img2@2x.png'); /* 배경 이미지 경로 */
    background-size: cover; /* 배경 이미지를 화면에 꽉 채움 */
    background-repeat: no-repeat; /* 배경 이미지 반복 안 함 */
}

.foto-artist-photo-3{
    position: absolute;
    top:182px;
    width: 360px;
    height: 242px;

    background-image: url('../images/Ateez_dday_img3@2x.png'); /* 배경 이미지 경로 */
    background-size: cover; /* 배경 이미지를 화면에 꽉 채움 */
    background-repeat: no-repeat; /* 배경 이미지 반복 안 함 */
}
.image-wrapper{
    opacity: 0; /* 초기에 투명도를 0으로 설정하여 숨김 */
}

.image-wrapper.show {
    animation: slideFromBottom 1.5s ease forwards; /* 아래서 위로 등장하는 애니메이션 적용 */
    opacity: 1; /* 스크롤 위치에 도달하면 이미지를 보이게 합니다. */
}
.d-day-alert-deco{
    position: absolute;
    top:412px;
    left: 159px;
    width: 41.6px;
    height: 31px;

    background-image: url('../images/dday_deco_img@2x.png'); /* 배경 이미지 경로 */
    background-size: cover; /* 배경 이미지를 화면에 꽉 채움 */
    background-repeat: no-repeat; /* 배경 이미지 반복 안 함 */

}
.d-day-alert-text{
    position: relative;
    top:436px;
    font-size: 26px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.16px;
    text-align: center;
    color: #FF6666;

}
.d-day-welcome{
    font-family: 'Apple SD Gothic Neo';
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: -0.06px;
    text-align: center;
    color: #2a2b32;

}
.d-day-welcome-text{
    margin-top: 16px;
    font-family: "Apple SD Gothic Neo";
    font-size: 14px;
    font-weight: 500;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: -0.05px;
    text-align: center;
    color: #8791a1;
}
.d-day-welcome-text-red{
    color: #FF6666;
    font-weight: bold;
}
.d-day-photowidget-link{
    margin-top: 40px;
    width: 240px;
    height: 56px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 12px;
    background-color: #f66;

    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: -0.06px;
    text-align: center;
    color: #fff;
}

.d-day-photowidget-link, .d-day-photowidget-link:visited {
    text-decoration: none; /* 클릭 전과 클릭 후에 모두 밑줄을 없앱니다. */
    color: #fff;
}

.d-day-photowidget-link:hover {
    text-decoration: none; /* 마우스 호버 시에도 밑줄을 없앱니다. */
    color: #fff;
}


.d-day-layer-line{
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(237, 239, 242, 0.4));
    width: 100%;
    height: 48px;
}
.d-day-layer{
    width: 100%;
    height: 100%;
    padding: 0 0 45px 0;
    background:linear-gradient(to bottom, rgba(237, 239, 242, 0.4), rgba(237, 239, 242, 1));
    display: flex;
    flex-direction: column;
    justify-content: center; /* 가로 방향 가운데 정렬합니다. */
    align-items: center; /* 세로 방향 가운데 정렬합니다. */
}



@keyframes slideFromBottom {
    from {
        transform: translateY(100%); /* 아래로 100% 이동 */
        opacity: 0; /* 초기에 투명도를 0으로 설정하여 숨김 */
    }
    to {
        transform: translateY(0); /* 이동하지 않음 */
        opacity: 1; /* 최종적으로 투명도를 1로 설정하여 나타남 */
    }
}