/*  ########################################
    INDEX.css
*/




@import url('https://fonts.googleapis.com/css2?family=Black+And+White+Picture&family=Black+Han+Sans&family=Do+Hyeon&family=Dongle&family=Gothic+A1&family=Gowun+Dodum&family=IBM+Plex+Sans+KR&family=Jua&family=Nanum+Gothic&family=Noto+Sans+KR&family=Stylish&family=Sunflower:wght@500&display=swap');





body {
    font-family: 'Noto Sans KR', sans-serif;
    -ms-overflow-style: none;
}


::-webkit-scrollbar {
    display: none;
}


/*  ########################################
    declaration colors
*/

:root {

    --image_back_color: #eaf6fd;

    --font_size_h1: 1.5em;
    --font_size_h2: 1.3em;
    --font_size_h3: 1.1em;
    --font_size_h4: 1.0em;
    --font_size_h5: 0.9em;
    --font_size_h6: 0.8em;

}






/*  ########################################
    body and headings
*/

* {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: var( --font_size_h4);
    font-weight: 100;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html, body {
    display: flex;
    flex-direction: column;
    width: 100dvw;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
}

h1 {
    font-size: var( --font_size_h1);
    font-weight: 200;
}

h2 {
    font-size: var( --font_size_h2);
    font-weight: 200;
}

h3 {
    font-size: var( --font_size_h3);
    font-weight: 150;
}

h4 {
    font-size: var( --font_size_h4);
    font-weight: 100;
}

h5 {
    font-size: var( --font_size_h5);
    font-weight: 100;
}

h6 {
    font-size: var( --font_size_h6);
    font-weight: 100;
}

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







/*  ########################################
    details of layout
*/

header {
    width: 100%;
    padding: 20px 5%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50; /* 모달보다 낮게 설정 */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: --font_size_h3;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ccc;
}

.open_login_button {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: --font_size_h4;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.open_login_button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


.page_body {
    flex: 1;
    z-index: 10;
    width: 100dvw;
    height: 100dvh;
    scroll-behavior: auto;
    display: flex;
    flex-direction: column;
}




.page_image {
    width: 100dvw;
}




.login_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* 가장 위에 표시 */
    visibility: hidden; /* 초기에는 숨김 */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.login_overlay.active {
    visibility: visible;
    opacity: 1;
}

.login_content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 40px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    text-align: center;
    color: #eee;
}

.login_content h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: 1px;
}



.close_button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #fff;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close_button:hover {
    opacity: 1;
}


.input_field {
    position: relative;
    margin-bottom: 25px;
}

.input_field input {
    width: 100%;
    padding: 12px 10px 12px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: --font_size_h4;
    outline: none;
    transition: border-color 0.3s ease;
}

.input_field input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input_field input:focus {
    border-color: rgba(255, 255, 255, 0.7);
}

.input_field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: font_size_h5;
}

.submit_button {
    width: 100%;
    padding: 12px;
    background-color: #a052e4;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: --font_size_h3;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 20px;
}

.submit_button:hover {
    background-color: #8c46cd;
    transform: translateY(-2px);
}


.login_message {
    font-size: font_size_h5;
    color: rgba(255, 255, 255, 0.8);
}




.checkbox_field {
    display: flex;
    align-items: left;
    justify-content: center; /* 체크박스 그룹 중앙 정렬 */
    margin-bottom: 30px;
    font-size: 0.9em;
}

.checkbox_field input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox_field input[type="checkbox"]:checked {
    background-color: #a052e4;
    border-color: #a052e4;
}

.checkbox_field input[type="checkbox"]:checked::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: #fff;
}

.checkbox_field label {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}