@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&display=swap');

@font-face {

    font-family: 'test5';
    src: url('../font/yun520.TTF')format('truetype');

}





/*css reset*/
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}


html,
body {
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'TEST';
}

/*ㄴ ★★★이것땜시 가로스크롤이 없어짐2 건들지말것★★★*/
/*ㄴ ★★★걍 공식으로 외우셔★★★*/

/*/..............................................*/

/*123123*/


/*===원본======================================*/

.box11 {
    width: 50%;
    height: 600px;
    padding-left: 10%;
    background-color: royalblue;
    background-image: url(../img/d1-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 74%;
    padding-top: 10%;

}


.box2 {
    width: 50%;
    height: 600px;
    background-color: royalblue;

}

.box33 {
    width: 100%;
    height: 50px;
    background-color: white;
    float: left;
}



.box11 {
    float: left;
}

.box11 p {
    font-size: 30px;

    font-family: 'Oswald';
    width: 42%;
    border-top: 1px solid white;
    height: auto;
    background-color: transparent;
    color: gainsboro;
    text-align: center;
    border-bottom: 1px solid white;
    margin-bottom: 5%;
}

.box1111 p {
    width: 36%;
    font-size: 30px;

}


.box1111 {
    width: 50%;
    height: 600px;
    padding-left: 10%;
    background-color: royalblue;
    background-image: url(../img/d1-2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 32%;
}

.box11 span {
    display: block;
    margin-top: 5%;
    margin-bottom: 12%;
    FONT-SIZE: 1.5EM;
    font-family: 'test5';
    color: white;
}



.won3 {
    width: 120px;
    height: 120px;
    background-color: white;
    display: inline-block;
    border-radius: 241px;
    margin-right: 20px;
    margin-bottom: 20px;


}

.won3:nth-of-type(1) {
    background-repeat: no-repeat;
    background-image: url(../img/ic1.png);
    background-position: -9%, 50%;
    background-size: 363%;


}

.won3:nth-of-type(2) {
    background-repeat: no-repeat;
    background-image: url(../img/ic1.png);
    background-position: 33%, 50%;
    background-size: 453%;

}

.won3:nth-of-type(3) {
    background-repeat: no-repeat;
    background-image: url(../img/ic1.png);
    background-position: 70%, 50%;
    background-size: 427%;

}

.won3:nth-of-type(4) {
    background-repeat: no-repeat;
    background-image: url(../img/ic1.png);
    background-position: 108%, 50%;
    background-size: 423%;

}



.box1111 > .won3:nth-of-type(1) {
    background-repeat: no-repeat;
    background-image: url(../img/ic2.png);
    background-position: -12%, 50%;
    background-size: 385%;
}



.box1111 > .won3:nth-of-type(2) {
    background-repeat: no-repeat;
    background-image: url(../img/ic2.png);
    background-position: 28%, 50%;
    background-size: 385%;
}



.box1111 > .won3:nth-of-type(3) {
    background-repeat: no-repeat;
    background-image: url(../img/ic2.png);
    background-position: 70%, 50%;
    background-size: 385%;
}



.box1111 > .won3:nth-of-type(4) {
    background-repeat: no-repeat;
    background-image: url(../img/ic2.png);
    background-position: 109%, 50%;
    background-size: 385%;
}










.barogagi {
    width: 120PX;
    height: 31px;
    background-color: white;
    border-radius: 1111px;
    text-align: center;
    line-height: 31px;
    overflow: hidden;
    position: relative;
}

.barogagi img {
    position: absolute;
    top: 10%;
    transform: translate(-50%, -50%);
    height: 80%;
    left: 3%;
    transform: rotate(180deg);
}

.barogagi a {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: block;
    font-family: 'test5';
    font-size: 16px;
    padding-left: 12%;
    line-height: 34px;
    color: royalblue;
}

.box2 {
    float: right;
    padding: 34px;
}

.box33 {
    width: 100%;
    height: auto;
    background-color: #e6e6e6;
    padding: 5% 10% 5% 10%;
}

.bxbx {
    width: 22.77vh;
    height: 33vh;
    background-color: #ababab;
    display: inline-block;
    margin: 1%;
    position: relative;
    overflow: hidden;
        box-shadow: 2px 6px 16px 0 rgb(17 42 128 / 8%);

}

.bxbx:hover {
    top: -4px;
}
.bxbx:nth-of-type(1) img {

    width: 151%;
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.bxbx:nth-of-type(2) img {

    width: 162%;
    height: 211px;
    position: absolute;
    top: 33%;
    left: 44%;
    transform: translate(-50%, -50%);

}

.bxbx:nth-of-type(3) img {

    width: 151%;
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.bxbx:nth-of-type(4) img {

    width: 151%;
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);

}


.bxbx1 {
    width: 100%;
    height: 40%;
    position: absolute;
    background-color: white;
    padding: 22% 6% 6% 6%;
    bottom: 0%;
}


.bxbxwon1:nth-of-type(1) {

    background-position: -5% 45%;

}


.bxbxwon2:nth-of-type(1) {

    background-position: 32% 45%;
}


.bxbxwon3:nth-of-type(1) {

    background-position: 70% 45%;
}


.bxbxwon4:nth-of-type(1) {

    background-position: 108% 45%;
}





.bxbx1 h2 {
    font-family: 'test5';
    font-size: 15px;
    color: gray;

}

.bxbx1 span {
    font-family: 'test5';
    font-size: 0.9em;
    color: #afafaf;
    display: block;
    margin-top: 6px;
    line-height: 2vh;
}

.bxbxbox {
    margin: auto;
    width: 100%;
    height: auto;
    background-color: transparent;




    text-align: center;
    padding-left: 5%;
    padding-right: 5%;



}

.bxbxwon {
    width: 70px;
    height: 70px;
    background-color: white;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: 445%;
    border-radius: 111px;

    background-repeat: no-repeat;
    background-image: url(../img/ic1.png);
}



.bxbxtwo {
    width: 70px;
    height: 70px;
    background-color: white;
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: 445%;
    border-radius: 111px;

    background-repeat: no-repeat;
    background-image: url(../img/ic2.png);
}



.bxbxtwo1:nth-of-type(1) {

    background-position: -9% 45%;

}


.bxbxtwo2:nth-of-type(1) {

    background-position: 30% 45%;
}


.bxbxtwo3:nth-of-type(1) {

    background-position: 69% 45%;
}


.bxbxtwo4:nth-of-type(1) {

    background-position: 107% 45%;
}



.box2 img {
    height: 100%;
}

.box2-2 img {
    float: right;
}

.box11 {
    padding-left: 20%;
    clear: left;
}




.box1111 {
    float: right;
    padding-top: 10%;
    padding-left: 10%;
}



/*=========================================*/
@media all and (max-width:850px) {
    .box33 {
        padding: 0% 0% 0% 0%;
    }

    .box11:nth-of-type(2) {
        padding-top: 10%;
    }

}






/*=========================================*/
@media all and (max-width:700px) {
    .box1212 {
        padding-top: 10%;
    }

    .bxbxbox {
        padding-top: 5%;
        padding-bottom: 5%;
        padding-left: 0%;
        padding-right: 0%;
    }

    .barogagi img {
        display: none;
    }

    .box0 {
        POSITION: relative;
    }

    .box11,
    .box2 {
        width: 100%;
        height: auto;
        text-align: center;
    }

    .box2-2 {
        float: left;
    }

    .box11 {
        padding-left: 0%;
        BACKGROUND-COLOR: #040f72;
        position: relative;
    }

    .box2 img {
        width: 100%;
        height: auto;
    }

    .box11 p {
        margin-top: 30px;
        margin-bottom: 30px;
        MARGIN-LEFT: 20%;
        width: 60%;
        height: auto;
        text-align: center;
        margin-right: 20%;
    }


    .box1 > .won:nth-of-type(4) {
        margin-right: 0px;
    }


    .box1111 {
        padding-top: 10%;
    }

    .box1111 p {
        margin-top: 30px;
        margin-bottom: 30px;
        MARGIN-LEFT: 20%;
        width: 60%;
        height: auto;
        text-align: center;
        margin-right: 20%;
    }

    .box1111 span {
        margin-left: 0%;
    }

    .won3 {
        width: 88px;
        height: 88px;
        margin-right: 8px;
        margin-bottom: 0px;
    }

    .barogagi {
        margin: auto;
        background-color: royalblue;

    }

    .barogagi img {
        height: 85%;
        position: absolute;
        transform: translate(-50%, -50%);
        top: 50%;
        left: 13%;
    }

    .box1 span {
        display: block;
        margin-top: 5%;
        margin-bottom: 5%;
        font-family: 'test5';
        font-size: 134%;
        color: white;
        letter-spacing: 2px;

    }

    .barogagi {

        margin: auto;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);



    }

    .barogagi a {

        color: white;
        padding-left: 0%;
    }

}