@charset "utf-8";

*{margin: 0; padding: 0;}
ul{list-style: none;}
a{text-decoration: none; color: black;}

@font-face {
    font-family: 'Pretendard-Regular';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

body{
    width: 100%;
    background-color: #0A0400;
}
.wrap{
    width: 100%;
    margin: 0 auto;
}
.wrap img{
    width: 100%;
    max-width: 100%;
}
.wrap .header{
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    max-width: 100%;
    /* background-color: yellowgreen; */
}
.wrap .header img:first-child{
    width: 10%;
    position: absolute;
    left: 13%;
    top: 50%;
}

.language-default{
    width: 10%;
    position: absolute;
    right: 13%;
    margin-top: 15px;
    cursor: pointer;
    /* display: none; */
}
.selected{
    width: 100%;
    max-width: 100%;
    height: 60px;
    border: 1px solid #d6a1ff75 ;
    border-radius: 15px;
    background: linear-gradient(to bottom, #2d0043, #070007, #460066);
    box-shadow: 0px 4px 4px #000000;
    box-shadow: 0px 0px 10px #b700ff85;
    color: #fff;
    font-size: 26px;
    text-align: center;
    line-height: 55px;
    position: relative;
}
.selected::before{
    content: "";
    background: url("img/earth.png") no-repeat center center;
    position: absolute;
    background-size: 90% 90%;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
}
.selected::after{
    content: "";
    background: url("img/arrow.png") no-repeat center center;
    position: absolute;
    background-size: 90% 90%;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
}

.language{
    width: 10%;
    position: absolute;
    right: 13%;
    margin-top: 15px;
    cursor: pointer;
    display: none;
}
.language.on{
    display: block;
}
.select{
    width: 100%;
    max-width: 100%;
    height: 60px;
    border: 1px solid #d6a1ff75 ;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(to bottom, #2d0043, #070007, #460066);
    box-shadow: 0px 4px 4px #000000;
    box-shadow: 0px 0px 10px #b700ff85;
    color: #fff;
    font-size: 26px;
    text-align: center;
    line-height: 55px;
    /* padding-left: 40%; */
    position: relative;
    z-index: 999;
    /* display: none; */
}
.select li{
    height: 60px;
    width: 100%;
    border: 1px solid #d6a1ff75 ;
    border-radius: 15px;
    background: linear-gradient(to bottom, #2d0043d2, #070007d4, #460066d7);
    box-shadow: 0px 4px 4px #000000;
    box-shadow: 0px 0px 10px #b700ff85;
    color: #fff;
    font-size: 26px;
}
.select li:hover{
    background: linear-gradient(to bottom, #1f002f, #430343, #15001f);
    transition: 2s 0.5s;
}

.select a:first-child li{
    border-radius: 0;
    margin-top: 6px;
    margin-left: -1px;
}
.select a:last-child li{
    border-radius: 0 0 15px 15px;
    margin-left: -1px;
}
.select::before{
    content: "";
    background: url("img/earth.png") no-repeat center center;
    position: absolute;
    background-size: 90% 90%;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
}

.select::after{
    content: "";
    background: url("img/arrow_up.png") no-repeat center center;
    position: absolute;
    background-size: 90% 90%;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
}

.m-content{
    display:none;
}
.wrap .m-header{
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    max-width: 100%;
}
.wrap .m-header img{
    width: 15%;
    position: absolute;
    left: 10%;
    top: 40%;
}
.wrap .m-header .m-custom-select{
    width: 12%;
    position: absolute;
    right: 10%;
    margin-top: 5px;
}

.m-custom-select::before{
    content: "";
    background: url("img/earth.png") no-repeat center center;
    position: absolute;
    background-size: 40% 40%;
    left: 0%;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
}
.m-custom-select::after{
    content: "";
    background: url("img/arrow.png") no-repeat center center;
    position: absolute;
    background-size: 50% 50%;
    right: 0%;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    pointer-events: none;
}


/* 웹 드롭박스 반응형 */
@media (max-width: 1700px){
    
    .select, .selected{
        height: 45px;
        font-size: 22px;
        line-height: 40px;
    }
    .select::before, .selected::before{
        background-size: 70% 70%;
        left: 5%;
    }
    .select::after, .selected::after{
        background-size: 80% 80%;
        right: 5%;

    }
    .select li{
        height: 45px;
        font-size: 22px;
    }

}
@media (max-width: 1300px){
    .language, .language-default{
        margin-top: 10px;
    }
    .select, .selected{
        height: 35px;
        font-size: 18px;
        border-radius: 10px;
        line-height: 32px;
    }
    .select{
        border-radius: 10px 10px 0 0;
    }
    .select a:first-child li{
        margin-top: 4px;
    }
    .select a:last-child li{
        border-radius: 0 0 10px 10px;
    }
    .select::before, .selected::before{
        background-size: 50% 50%;
        left: 1%;
        width: 34px;
        height: 34px;
    }
    .select::after, .selected::after{
        background-size: 70% 70%;
        right: 2%;
        width: 34px;
        height: 34px;
    }
    .select li{
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 1100px){
    .wrap .header{
        top: 4%;
    }
    .language, .language-default{
        margin-top: 0px;
    }
    .select, .selected{
        height: 30px;
        font-size: 14px;
        line-height: 27px;
    }
    .select::before, .selected::before{
        background-size: 50% 50%;
        left: 0%;
        width: 28px;
        height: 28px;
        top: 48%;
    }
    .select::after, .selected::after{
        background-size: 60% 60%;
        right: 0%;
        width: 28px;
        height: 28px;
        top: 45%;
    }
    .select li{
        height: 30px;
        font-size: 14px;
    }

}



/* 모바일 */
@media (max-width: 840px){
    .wrap .m-header{
        top: 3%;
    }
    .m-content{
        display:inline-block;
    }
    .content{
        display:none;
    }
    .language, .language-default{
        width: 12%;
        right: 12%;
    }

}

/* 모바일 언어선택기 반응형 */
@media (max-width: 650px){
    .wrap .m-header{
        top: 3%;
    }
    .wrap .m-header img{
        top: 30%;
    }
    .language, .language-default{
        width: 15%;
        right: 12%;
    }
    .selected, .select{
        height: 25px;
        line-height: 22px;
    }
    .select li{
        height: 25px;
    }
    .select::before, .selected::before{
        width: 25px;
        height: 25px;
        top: 47%;
    }

}

@media (max-width: 530px){
    .wrap .m-header{
        top: 2.5%;
    }

    .selected, .select{
        height: 20px;
        line-height: 18px;
        font-size: 12px;
        border-radius: 5px;
    }
    .select{
        border-radius: 5px 5px 0 0;
    }
    .select li{
        height: 20px;
    }
    .select::before, .selected::before{
        background-size: 50% 50%;
        left: 0%;
        width: 20px;
        height: 20px;
        top: 45%;
    }
    .select::after, .selected::after{
        background-size: 65% 65%;
        right: 0%;
        width: 20px;
        height: 20px;
        top: 45%;
    }
    .select li{
        height: 20px;
        border-radius: 5px;
        font-size: 12px;
    }
    .select a:first-child li{
        margin-top: 3px;
    }
    .select a:last-child li{
        border-radius: 0 0 5px 5px;
        margin-left: -1px;
    }


}

@media (max-width: 450px){
    .wrap .m-header{
        top: 2%;
    }
    .selected, .select{
        height: 15px;
        line-height: 13px;
        font-size: 10px;
    }
    .language, .language-default{
        width: 16%;
        right: 12%;
    }
    .select::before, .selected::before{
        width: 15px;
        height: 15px;
        top: 50%;
    }
    .select::after, .selected::after{
        width: 15px;
        height: 15px;
        background-size: 70% 70%;
    }
    .select li{
        height: 15px;
        font-size: 10px;
    }
    .select a:first-child li{
        margin-top:3px;
    }


}
@media (max-width: 350px){
    select{
        font-size: 8px;
    }
    select option{
        font-size: 8px;
    }
}
