/* style.css */

body,
html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    /* Prevent scrollbars */
}

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    transition: opacity 1s ease-in-out;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the entire screen */
}

.content-container {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* Dark overlay */
    position: relative;
    z-index: 1;
}

/* --- 수정된 부분 --- */

/* 콘텐츠를 감싸는 부모 div에 relative 속성 부여 */
.content-container>.text-center {
    position: relative;
    width: 100%;
    /* 너비를 100%로 설정하여 자식 요소의 기준을 명확히 함 */
}

.phase {
    padding: 20px;
    /* 모든 phase를 같은 위치에 겹치도록 설정 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 정확한 중앙 정렬 */
    width: 90%;
    /* 너비 지정 */
}

/* --- 여기까지 --- */


.question {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
}

.form-check-label {
    padding-left: 10px;
}

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-top: 0.4em;
}

.form-select,
.btn {
    font-size: 1.2rem;
}

#country_select {
    /* 예시: 드롭다운 상단에 여백을 주어 아래로 뜰 공간 확보 */
    margin-top: 50px;
    /* 필요한 만큼 조정 */
    /* 또는 절대 위치를 사용하여 강제로 위치 지정 (신중하게 사용) */
    /* position: relative; */
    /* z-index: 10; */
}

/* 부모 요소에 overflow: hidden; 이 있다면 해제 고려 */
.col-md-6.mx-auto {
    overflow: visible !important;
    /* 부모 요소의 overflow 속성을 확인하고 필요시 변경 */
}

.select2-results__option--selectable {
    cursor: pointer;
    color: black;
}

.select2-container .select2-selection--single {
    height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 40px;
}