@font-face {
    font-family: 'yg-jalnan';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OKGUNG';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/OKGUNG.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Shilla_CultureB-Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/Shilla_CultureB-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'TheJamsil5Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'TmoneyRoundWindExtraBold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-07@1.0/TmoneyRoundWindExtraBold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.header-font {
    font-family: 'yg-jalnan', sans-serif;
}
.okman-font {
    font-family: 'OKGUNG', sans-serif;
}
.shilla-font{
    font-family: 'Shilla_CultureB-Bold', sans-serif;
}
.jamsil-font{
    font-family:'TheJamsil5Bold', sans-serif;
}
.tmoney-font{
    font-family: 'TmoneyRoundWindExtraBold', sans-serif;
}

.display-container {
    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    max-width: 415px;   
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
    z-index: 0;
    background-color: #b2ccff;
    overflow-x: hidden;
}

/* nav section */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
    margin: auto;
}
.navbar .menu-items {
    display: flex;
}
.menu_list {
    margin-top: 20px;
}
.navbar .nav-container li {
    list-style: none;

}
.navbar .nav-container a {
    text-decoration: none;
    color: #0e2431;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
}
.navbar .nav-container a:hover{
    font-weight: bolder;
}
.nav-container {
    display: block;
    position: relative;
    height: 60px;
}
.nav_logo {
    position: absolute;
    top: 13px;
    left: 15px;
    font-size: 1.2rem;
    z-index:2;
}
.nav_logo img{
    width: 45px;
    height: auto;
}
.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    right: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}
.nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #ffffff;
}
.nav-container .hamburger-lines .line1 {
     transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}
.nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}
.nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

/* hamburger menu section */
.navbar .menu-items {
    margin-top: 55px;
    width: 100%;    /* 가로 길이 auto -> 100% */
    height: 650px;
    transform: translate(150%);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s ease-in-out;
    z-index: 100;   
    align-items: center;    /*align-items center 추가*/
}
.menu_durumari {
    width: 395px;
    height: 800px;
    background-image: url(../../static/images/durumari2.png);
    background-size: 395px 650px;
    z-index: 10000;
    letter-spacing: normal;
}
.menu-items .menu_logo{
    margin-top: 120px;
    margin-bottom: 10px;
}
.menu-items .menu_logo img {
    width: 65px;
    height: auto;
    border-radius: 20px;
}
.menu_durumari .tmoney {
    margin-bottom: 0;
    color: #758DBB;
    font-size: 13px;
}
.menu_line {
    border: 2px solid #758DBB;
    width: 170px;
    margin: 10px 114px;
}
.shilla {
    font-family: 'OKGUNG', sans-serif;
    margin-bottom: 1.2rem;
    font-size: 22px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.9);
}

.menu_footer svg {
    margin: 3px 2px;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}
.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}
.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}


/* header section */
.header-circle{
    background-color: rgba(255, 255, 255, 0.301);
    width:100px;
    height: 100px;
    position:absolute;
    margin-left: 160px;
    border-radius: 100px;
    box-shadow: 0px 0px 50px 30px rgba(255, 255, 255, 0.341);
}
.header_title{
    position:relative;
    text-align: center;
    z-index:1;
    margin-top:21px;
}
.header_name{
    font-size:50px;
    color:#ffffff;
    -webkit-text-stroke: 1px #000000;
    margin-bottom:-10px;
}
.header_sub{
    font-size:50px;
    color:#91AEE6;
    -webkit-text-stroke: 1px #000000;
    margin-bottom:0px;
}
.header_sub2{
    color:#576B94;
    margin-top: 10px;
    margin-bottom: 0px;
    font-size: 16px;
}


/* background img */
.background_img {
    position: relative;
}
/* 구름 애니메이션 넣기 */
@-webkit-keyframes cloud-ani {
    0% {
        -webkit-transform: translateX(170px) translateY(0px);
    }

    100% {
        -webkit-transform: translateX(-500px) translateY(0px);
    }
}
@-webkit-keyframes cloud-ani2 {
    100% {
        -webkit-transform: translateX(-170px) translateY(0px);
    }

    0% {
        -webkit-transform: translateX(700px) translateY(0px);
    }
}
.clover{
    position: absolute;
    margin-top: -220px;
    margin-left: 10px;
}
.cloud1 {
    z-index: 0;
    height: auto;
    position: absolute;
    width: 180px;
    right: -25px;
    margin-top: -30px;
    -webkit-animation-name: cloud-ani;
    -webkit-animation-duration: 15s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
}
.cloud2 {
    z-index: 0;
    height: auto;
    position: absolute;
    width: 180px;
    left: -25px;
    top: 120px;
    -webkit-animation-name: cloud-ani2;
    -webkit-animation-duration: 18s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
}
.cloud3 {
    z-index: 0;
    height: auto;
    position: absolute;
    width: 180px;
    right: -25px;
    top: 280px;
    -webkit-animation-name: cloud-ani;
    -webkit-animation-duration: 17s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-fill-mode: forwards;
    -webkit-animation-iteration-count: infinite;
}
/* durumari section */
.durumari{
    position:relative;
    display:block;
    margin:auto;
    margin-top:20px;
    z-index:1;
}
.explan{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance:none;
    position:relative;
    top:-150px;
    text-align: center;
    text-shadow: 0px 100px 70px #ffffffc9;    /* 두루마리 뒤 반짝이*/
    z-index:2;
    font-size: 16px;
}

/* login section  */
.login{
    margin-top:-95px;
    display:flex;
    flex-direction:column;
    align-items:center;
}
.selectBox {
    display: flex;
    justify-content: center; /* 텍스트를 수평으로 중앙 정렬 */
    align-items: center; /* 텍스트를 수직으로 중앙 정렬 */
    width: 180px;
    text-align: center;
}
.custom-select {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance:none;
    width: 100%;
    height: 52px;
    border-color: #91AEE6;
    border-radius: 30px;
    text-align: center;
    text-align-last: center;
    -webkit-align-last: center;
    -ms-text-align-last: center;
    -moz-text-align-last: center;
    color: #758DBB;
    font-weight: bold;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
    font-size: 16px;
    outline: none;
    padding: 0; /* 패딩 제거 */
    background-color: #ffffff;
    background-image: url('/static/images/downarrow.png');
    background-repeat: no-repeat;
    background-position: right 10px center; /* 오른쪽 여백을 10px로 조절 */
    /* 추가된 스타일 */
}

.custom-select:focus {
    border-color: #2a4884;
}
.custom-select option {
    font-size: 16px;
    color: #758DBB;
}

.id{
    margin-top:24px;
    width:180px;
    height:52px;
    border:1px solid #91AEE6;
    border-radius: 30px;
    background-color: white;
    text-align:center;
    box-shadow: 3px 3px 5px  rgba(0, 0, 0, 0.2);
    z-index:2;
    padding: 11px 0;
}
.id input{
    width:140px;
    height:30px;
    background: none;
    border:none;
    text-align: center;
    outline:none; /* input 눌렀을 때 테두리 제거 */
    border-bottom: 2px solid #758DBB;
    color: #758DBB;
}
.id input::placeholder {
    color: #758DBB;
    font-size: 16px;
}
.submit{
    margin-top:24px;
    background-color: white;
    border:1px solid #91AEE6;
    border-radius: 30px;
    width:109px;
    height:29px;
    color:#758DBB;
    font-size:13px;
    font-weight: bold;
    box-shadow: 3px 3px 5px  rgba(0, 0, 0, 0.2);
    z-index:2;
    padding-top: 2px;
}

/* modal section */
.modal {
    display: none; 
    z-index: 3 !important;
}


/* 모달 콘텐츠 스타일 */
.modal_content {
    width: 339px !important;
    height: 744px; /* 모달 창의 높이 설정 */
    margin-left: auto;
    margin-right: auto;
    margin-top:30px;
    border-radius: 43px !important;
    border:2px solid #5876B0;
    background-color:#fff;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
.agree_header{
    text-align: center;
    border-top-left-radius: 43px;
    border-top-right-radius: 43px;
    background-color:#BBDAFF;
    width:100%;
    font-size:18px;
    color:#2A4884;
    font-weight: bold;
    padding-top:10px;
    padding-bottom:5px;
    border-bottom:2px solid #5876B0;
}
.agree_content{
    padding-left:20px;
    padding-right:20px;
}
.black{
    padding-top:11px;
    font-size:15px;
    margin-bottom:7px;
}
.blue{
    color:#2A4884;
    font-size:15px;
    font-weight:bold;
}
.list{
    text-align: center;
    border:2px solid #758DBB;
    border-radius: 25px;
    margin-bottom:15px;
}
.list .name{
    border-bottom: 2px solid #758DBB;
    background-color:#DCECFF;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    font-size:16px;
    font-weight: bold;
    color:#2A4884;
    margin-bottom:5px;
}
.list p{
    margin-bottom:5px;
    font-size:15px;
}
.red{
    font-size:15px;
    color:#C55D5D;
}
.remind{
    text-align: center;
    font-size:16px;
    color:#2A4884;
    font-weight:bold;
}
.button{
    text-align: center;
}
.agree #agree_Btn {
    width:82px;
    height: 34px;
    border:1px solid #91AEE6;
    border-radius: 5px;
    background-color: #91AEE6;
    color:#ffffff;
    margin-right:15px;
}
.close button{
    width:82px;
    height:34px;
    border:2px solid #91AEE6;
    border-radius: 5px;
    background-color:#ffffff;
    color:#91AEE6;
}
.modal_footer{
    text-align: center;
    margin-top:10px;
    font-size:15px;
    color:#758DBB;
}


/* 블러 효과 설정, js에서 값을 넣어줌 */
.blur-effect {
    filter: blur(5px); 
}

/* footer section */
.footer-section {
    margin: 50px 0 40px 0;
}
.footer-section p{
    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    color: rgba(97, 97, 97, 0.5);
}
.footer-section svg {
    z-index: 2;
    color: rgba(97,97, 97, 0.5);
    margin: 3px 2px;
}

/* 블러 효과 */
.blur-effect {
    filter: blur(3px); /* 흐림 효과 크기 지정 (px 단위) */
}

/* 아이폰 SE 또는 375px 미만의 화면 너비에서 스타일을 적용 */
@media (max-width: 376px) {
    
    /* .navbar .menu-items {
        margin-left:-23px;
    } */
    /* 언덕 위치 조정 */
    /* .hill{
        position: absolute;
        bottom:0;
    } */
}