/*popup*/
.popup_layer {
    position: fixed;
    top: 30%;
    left: 65%;
    z-index: 10000;
    /*width: 100%;*/
    /*height: 100%;*/
    background-color: rgba(0, 0, 0, 0);
}

/*팝업 박스*/
.popup_box {
    position: relative;
    /*top: 40%;*/
    /*left: 78%;*/
    height: 220px;
    width: 400px;
    /*transform: translate(-50%, -50%);*/
    z-index: 1002;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
}

/*popup*/
.authentication_popup_layer {
    position: fixed;
    top: 30%;
    left: 65%;
    z-index: 10000;
    /*width: 100%;*/
    /*height: 100%;*/
    background-color: rgba(0, 0, 0, 0);
}

/*본인인증 팝업 박스*/
.authentication_popup_box {
    position: relative;
    /*top: 40%;*/
    /*left: 78%;*/
    height: 260px;
    width: 400px;
    /*transform: translate(-50%, -50%);*/
    z-index: 1002;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 2px 5px 10px 0px rgba(0, 0, 0, 0.35);
}

/*컨텐츠 영역*/
.authentication_popup_box .popup_cont {
    padding: 25px;
    line-height: 1.4rem;
    font-size: 14px;
}

.authentication_custom-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-right: 5px;
}

.authentication_custom-button:hover {
    background-color: #45a049;
}




/*컨텐츠 영역*/
.popup_box .popup_cont {
    padding: 25px;
    line-height: 1.4rem;
    font-size: 14px;
}

/*.popup_box .popup_cont h2 {padding:15px 0;color:#333;margin:0;}*/
/*.popup_box .popup_cont p{ border-top: 1px solid #666;padding-top: 30px;}*/
/*오버레이 뒷배경*/
.popup_overlay {
    position: fixed;
    top: 0px;
    right: 0;
    left: 0;
    bottom: 0;
    /*z-index: 1001;;*/
    background: rgba(0, 0, 0, 0.5);
}

.custom-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    margin-right: 5px;
}

.custom-button:hover {
    background-color: #45a049;
}


.birthday_custom_button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #FFC107;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    border-radius: 5px;
    border: white 1px solid;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.3s ease; /* 배경색 전환 효과 */
}

.birthday_custom_button:hover {
    background-color: #E6A900;
}


/* 팝업 배경 */
.birthday_popup_background {
    /*display: none;*/
    position: fixed; /* 스크롤과 관계없이 화면에 고정 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 반투명 검정 배경 */
    justify-content: center; /* 가로축 중앙 정렬 */
    align-items: center; /* 세로축 중앙 정렬 */
    z-index: 1000; /* 다른 요소들 위에 표시 */
    display: flex;
}
.birthday_popup_wrap {
    /*display: none; !* Initially hide the popup *!*/
    /*background:rgb(000,000,000, 0.6);*/
    width: 100%;
    height: 100%;
    position: relative;
}

.birthday_popup_wrap * {
    color: white;
    text-align: center;
    font-size: 16px;
    letter-spacing: -0.05em;
}

.birthday_popup_box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: url(https://www.akbobada.com/home/akbobada/archive/popup/20240729173954.png) no-repeat;
    padding-top: 135px;
    border-radius: 12px;
}

.birthday_pop_btn {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.birthday_pop_btn_element{
    width: 170px;
    height: 40px;
    background-color: #FBF7F6;
    display: flex;
    justify-content: center; /* 가로 방향 가운데 정렬 */
    align-items: center; /* 세로 방향 가운데 정렬 */
    border-radius: 20px;
}

.birthday_pop_btn_element_text{
    margin-top: 3px;
    font-size: 13px;
    color: #8B1228;
    font-weight: bold;
}
.birthday_pop_btn_element_go_object{
    margin-left: 5px;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8B1228;
    border-radius: 50%;
}

.birthday_pop_btn_element_triangle_object{
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    transform: rotate(90deg);
    border-bottom: 6px solid #FBF7F6;
    margin-left: 1px;
}

.birthday_pop_bottom {
    background: rgb(000, 000, 000, 0.15);
    border-radius: 8px;
    width: 90%;
    margin: 20px auto;
    padding: 10px;
}

.birthday_pop_bottom p {
    text-align: left;
    font-size: 14px;
    line-height: 18px;
}

.birthday_pop_bt_1 {
    margin-bottom: 10px;
}

.birthday_pop_bt_2 {
    font-size: 14px;
}

.birthday_x_btn {
    display: flex;
    bottom: 0;
    position: absolute;
    width: 100%;
    height: 32px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.birthday_x_btn a {
    color: #353535;
    font-size: 12px;
    text-decoration: none;
}


.video {
    position: relative;
    display: inline-block;
}

.video:hover .preview-video {
    display: block;
}


.preview-video {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.mute-button {
    position: absolute;
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.5); /* 검정색 투명 */
    border: none;
    border-radius: 50%; /* 원형으로 만듦 */
    padding: 0;
    cursor: pointer;
    z-index: 20;
    display: none; /* 기본적으로 보이지 않게 설정 */
    align-items: center;
    justify-content: center;
    transition: top 0.3s ease, right 0.3s ease; /* 위치 변경에 대한 애니메이션 */
}

.mute-button img {
    width: 17px;
    height: 17px;
    display: none; /* 기본적으로 이미지 숨기기 */
}

.mute-button .unmute-icon {
    display: block; /* 초기 상태에서 unmute 아이콘 보이기 */
}

.mute-button.muted .mute-icon {
    display: block; /* muted 클래스가 있을 때 mute 아이콘 보이기 */
}

.mute-button.muted .unmute-icon {
    display: none; /* muted 클래스가 있을 때 unmute 아이콘 숨기기 */
}

.video:hover .mute-button {
    display: flex; /* 마우스를 올렸을 때 버튼을 보이게 설정 */
    top: 10px;
    right: 10px;
}

.video .mute-button.hidden {
    top: -40px;
    right: -40px;
}
