/* 로딩 최적화 */
.lazyload {
    opacity: 0;
    transition: opacity 300ms;
}
.lazyload.lazyloaded {
    opacity: 1;
}

/* 로딩 최적화 끝 */
main {
}

/* main */

#section1 {
    height: 950px;
}

#main-day, #main-night {
    /*width: 100%;*/
    /*height: 950px;*/
    /*position: relative;*/
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*display: none;*/
}

#main-day {
    background-image: url("../../images/main/main_day.webp");
}

#main-night {
    background-image: url("../../images/main/main_night.webp");
}

/* 낮/밤 테스트용 버튼 */
.hour-test-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hour-test-btn:hover {
    cursor: pointer;
}

.test-div {
    position: absolute;
    right: 1%;
    top: 1%;
}

.day-btn, .night-btn {
    width: 50px;
    padding: 5px;
    margin: 5px;
    border-style: none;
    border-radius: 15px;
    background: #f0f0f0;
}

.day-btn:hover, .night-btn:hover {
    cursor: pointer;
}
.on {
    background-color: #00AAFF;
    color: white;
}
/* 테스트 끝 */

.people-section {
    position: absolute;
    top: 2%;
    left: 18%;
}

.people-img {
    height: 28vw;
    width: 27.03vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 41vw 290vw;
    background-position: 3.793% 61.681%;
    background-repeat: no-repeat;
}

.people-img.night {
    background-position: 3.793% 72.316%;
}

.people-hover {
    position: absolute;
    height: 12.4vw;
    width: 13.85vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 28vw 195.3vw;
    background-repeat: no-repeat;
    background-position: 2.439% 27.542%;
    left: 30%;
    top: 37%;
}

.people-question {
    position: absolute;
    left: 25%;
    top: 24%;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 47vw 354.85vw;
    background-position: 1.335% 1.137%;
    background-repeat: no-repeat;
}

.people-msg {
    height: 9.6vw;
    width: 20.68vw;
    background-image: url(../../images/main/img_msg_social.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.satellite-section {
    position: absolute;
    top: 0%;
    right: 35%;
}

.satellite-img {
    height: 14vw;
    width: 20.26vw;
    background-position: 2.387% 21.652%;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 39vw 316vw;
    background-repeat: no-repeat;
}

.satellite-hover {
    position: absolute;
    height: 12vw;
    width: 12.64vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 38vw 295.79vw;
    background-position: 3.431% 10.967%;
    background-repeat: no-repeat;
    right: -23%;
    top: 51%;
}

.satellite-question {
    position: absolute;
    right: 0%;
    top: 21%;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 47vw 354.85vw;
    background-position: 1.335% 2.405%;
    background-repeat: no-repeat;
}

.satellite-msg {
    height: 9.6vw;
    width: 21.18vw;
    background-image: url(../../images/main/img_msg_dust.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.trash-section {
    position: absolute;
    bottom: 0%;
    left: 0%;
}

.trash-img {
    height: 23.4vw;
    width: 41vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 42.6vw 287.7vw;
    background-position: 52.381% 43.241%;
    background-repeat: no-repeat;
}

.trash-img.night {
    background-position: 52.381% 51.994%;
}

.trash-hover {
    position: absolute;
    height: 22vw;
    width: 29.89vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 43vw 278.7vw;
    background-position: 3.953% 34.753%;
    background-repeat: no-repeat;
    left: 11.7%;
    bottom: 1.6%;
}

.trash-question {
    position: absolute;
    left: 58%;
    bottom: 64%;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 47vw 354.85vw;
    background-position: 1.335% 2.405%;
    background-repeat: no-repeat;
}

.trash-msg {
    height: 9.7vw;
    width: 17.4vw;
    background-image: url(../../images/main/img_msg_debris.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.ship-section {
    position: absolute;
    bottom: 10%;
    right: 36%;
}

.ship-img {
    height: 8.7vw;
    width: 15.76vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 46vw 329.1vw;
    background-position: 5.556% 3.739%;
    background-repeat: no-repeat;
}

.ship-hover {
    position: absolute;
    bottom: 73%;
    height: 10vw;
    width: 7.55vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 31vw 322.85vw;
    background-position: 1.508% 7.258%;
    left: 31%;
}

.ship-question {
    position: absolute;
    left: 5%;
    bottom: 74%;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 47vw 354.85vw;
    background-position: 1.335% 1.137%;
    background-repeat: no-repeat;
}

.ship-msg {
    height: 9vw;
    width: 16.68vw;
    background-image: url(../../images/main/img_msg_ship.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.mountain-section {
    position: absolute;
    bottom: 0%;
    right: 0%;
}

.mountain-img {
    height: 41vw;
    width: 37.39vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 41vw 330.48vw;
    background-position: 12.088% 85.712%;
    background-repeat: no-repeat;
}

.mountain-img.night {
    background-position: 11.111% 99.974%;
}

.mountain-hover {
    position: absolute;
    right: 3%;
    height: 17vw;
    width: 25.95vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 42vw 308.79vw;
    background-position: 3.236% 15.257%;
    background-repeat: no-repeat;
    top: -2.5%;
}

.mountain-question {
    position: absolute;
    right: 59%;
    top: 28%;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 47vw 354.85vw;
    background-position: 1.335% 1.137%;
    background-repeat: no-repeat;
}

.mountain-msg {
    height: 9.3vw;
    width: 17.1vw;
    background-image: url(../../images/main/img_msg_galmaetgil.webp);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.question-mark {
    height: 3vw;

    width: 3vw;
}

.question-mark:hover {
    cursor: pointer;
}
/* common */
.hide{
    display: none;
}
.show{
    display: block;
}
/* common 끝 */
.hidden {
    visibility: hidden;
}

.click-content {
    /*width: 18vw;*/
    /*height: 22vh;*/
}

.trash-content {
    position: absolute;
    left: 25%;
    top: 45.5%;
}

.people-content {
    position: absolute;
    left: 28%;
    top: 13.5%;
}

.satellite-content {
    position: absolute;
    /*right: 16%;*/
    top: 4%;
    right: 13%;
}

.ship-content {
    position: absolute;
    left: 34.5%;
    bottom: 28%;
}

.mountain-content {
    position: absolute;
    right: 23%;
    top: 22.7%;
}

.blur {
    filter: blur(3px);
    opacity: 0.5;
}

.background-blur::before {
    content: "";
    position: absolute;;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
}


/* 팝업 */
.close-popup {
    width: 2vw;
    height: 2vw;
    background-image: url(../../images/main/main_collection.webp);
    background-size: 40vw 304.76vw;
    background-position: 1.304% 0.162%;
    background-repeat: no-repeat;
}

.close-popup:hover {
    cursor: pointer;
}

#people-close {
    right: -4%;
    top: -12%;
    position: absolute;
}

#trash-close {
    right: -5%;
    top: -12%;
    position: absolute;
}

#satellite-close {
    position: absolute;
    top: -12%;
    right: -4%;
}

#ship-close {
    right: -5%;
    top: -14%;
    position: absolute;
}

#mountain-close {
    right: -6%;
    top: -12%;
    position: absolute;
}

/* main 끝 */

/* section 2 3 4 */
#section2, #section3, #section4 {
    /*width: 100vw;*/
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*position: relative;*/
}

/* section 2 */
#section2 {
    background-image: url("../../images/main/section02/section02_main.webp");
    width: 100%;
    aspect-ratio: 1920 / 1091;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
}

#section2 .left-line {
    position: absolute;
    top: -0.8%;
    left: 8.5%;
}

#section2 .right-line {
    position: absolute;
    right: 10%;
    top: 10.5%;
}

#section2 .left-line img,
#section2 .right-line img {
    width: 21vw;
    height: 0.1vw;
}

#section2 .cctv01 {
    position: absolute;
    left: 23.5%;
    top: 53.5%;
}

#section2 .cctv02 {
    position: absolute;
    left: 23.5%;
    top: 67%;
}

#section2 .dron {
    position: absolute;
    top: 57%;
    right: 25%;
}

#section2 .cctv01 img{
    height: 8vw;
}

#section2 .cctv02 img{
    height: 7vw;
}

#section2 .dron img{
    height: 8vw;
}

/* section 2 끝 */

/* section 3 */
#section3 {
    background-image: url("../../images/main/section03/section03_main.webp");
    width: 100%;
    aspect-ratio: 465 / 361;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0px;
}

#section3 .left-line {
    position: absolute;
    top: -0.7%;
    left: 7%;
}

#section3 .right-line {
    position: absolute;
    top: 8%;
    right: 10%;
}

#section3 .left-line img,
#section3 .right-line img {
    width: 32vw;
    height: 0.1vw;
}

#section3 .satellite {
    position: absolute;
    top: 24%;
    left: 19%;
}

#section3 .magnifier {
    position: absolute;
    top: 31%;
    left: 38%;
}

#section3 .message {
    position: absolute;
    right: 20%;
    top: 64%;
}

#section3 .satellite img {
    height: 12vw
}

#section3 .magnifier img {
    height: 8vw
}

#section3 .message img {
    height: 8vw
}
/* section 3 끝 */

/* section 4 */
#section4 {
    background-image: url("../../images/main/section04/section04_main.webp");
    width: 100%;
    aspect-ratio: 1901 / 916;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0;
}

#section4 .left-line {
    position: absolute;
    top: -1.2%;
    left: 6%;
}

#section4 .right-line {
    position: absolute;
    top: 12.5%;
    right: 7%;
}

#section4 .left-line img,
#section4 .right-line img{
    width: 21vw;
    height: 0.1vw;
}

#section4 .satellite {
    position: absolute;
    left: 16%;
    top: 12%;
}

#section4 .cctv {
    position: absolute;
    right: 16%;
    top: 18%;
}

#section4 .busan {
    position: absolute;
    bottom: 0%;
    right: 9%;
}

#section4 .satellite img{
    height: 5.5vw;
}

#section4 .cctv img{
    height: 6vw;
}

#section4 .busan img{
    height: 15.5vw;
}
/* section 4 끝 */

.line-content {
    display: flex;
    flex-direction: column;
    height: 18em;
    justify-content: center;
}

.line-left {
    display: flex;
    justify-content: flex-start;
    padding: 50px 0 50px 20px;
    margin-left: 120px;

}

.line-right {
    display: flex;
    justify-content: flex-end;
    padding: 50px 0 50px 20px;
    margin-right: 120px;
}

/* section 2 3 4 끝 */

/* section 2 */
.num {
    font-weight: bold;
    display: inline-block;
    font-size: 3vw;
    background-image: linear-gradient(to right, #ff5101, #ffc565);
    -webkit-background-clip: text;
    color: transparent;
}

.count {
    top: 31.4%;
    left: 22.8%;
    position: absolute;
}

.main-section {
    height: 50vw;
    margin: 90px 2.2vw 0 2.2vw;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* busan split */
/*
.main-busan-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 5;
    background: rgba(211,211,211,0.83);
}

.main-busan-container-before{
    width: 30%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.main-busan-container-before-01{
    transform: rotate(-10deg);
    left: 23%;
    top: 5%;
}

.main-busan-container-before-02{
    z-index: 10;
    transform: rotate(-10deg);
}

.main-busan-container-before-03{
    transform : translate(-37%, -44%) rotate(-10deg);
}

.main-busan-container-after{
    position: absolute;
    z-index: 11;
    width: 30%;
    height: 100%;
    left: 0;
    top: 0;
}

.main-busan-container-after-01{
    transform: rotate(54deg) skew(24deg, -9deg);
    left: 7%;
    top: 28%;
}

.main-busan-container-after-02{
    transform: rotate(55deg);
    left: 17%;
    top: -16%;
}
.main-busan-container-after-03{
    transform: rotate(-19deg);
    left: 66%;
    top : 1%;
}

.main-busan-container-after .main-busan-img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
*/


/* 반응형 */

@media screen and (min-width:600px) and (max-width:1400px) {

    .main-section {
        margin-top: 70px;
    }
}


@media screen and (max-width:600px) and (orientation: portrait){

    .main-section {
        margin-top: 70px;
    }

    .people-content,
    .satellite-content,
    .ship-content,
    .mountain-content,
    .trash-content
    {
        top: 50%;
        right: 50%;
        left: 0;
        bottom: 0;
        transform: translate(42%, -50%);
    }

    .people-msg {
        height: 30vw;
        width: 60vw;
        background-image: url(../../images/main/img_msg_social_mobile.webp);
        background-repeat: no-repeat;
        background-size: 100% 100%;

    }
    .satellite-msg {
        height: 30vw;
        width: 60vw;
        background-image: url(../../images/main/img_msg_dust_mobile.webp);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .ship-msg {
        height: 30vw;
        width: 60vw;
        background-image: url(../../images/main/img_msg_ship_mobile.webp);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .mountain-msg {
        height: 30vw;
        width: 60vw;
        background-image: url(../../images/main/img_msg_galmaetgil_mobile.webp);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .trash-msg {
        height: 30vw;
        width: 60vw;
        background-image: url(../../images/main/img_msg_debris_mobile.webp);
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    .close-popup {
        width: 5vw;
        height: 5vw;
        background-size: 102vw 604.76vw;
    }

    #people-close {
        right: -28%;
        top: -9%;
    }

    #satellite-close {
        top: -10%;
        right: -28%;
    }

    #mountain-close {
        right: -25%;
        top: -7%;
    }

    #ship-close {
        right: -29%;
        top: -8%;
    }

    #trash-close {
        right: -28%;
        top: -8%;
        position: absolute;
    }

    /* section2 */
    #section2 {
        background-image: url("../../images/main/section02/section02_main_mobile.webp");
        height: 127.5vw;
        margin-top: 15px;
    }

    .num {
        font-size: 5.5vw;
    }

    .count {
        top: 28.23%;
        left: 12%;
    }

    #section2 .left-line {
        top: -1.4%;
        left: 0%;
    }

    #section2 .right-line {
        right: -1%;
        top: 12%;
    }

    #section2 .cctv01 {
        left: 10.5%;
        top: 70.5%;
    }

    #section2 .cctv02 {
        left: 10.5%;
        top: 80%;
    }

    #section2 .dron {
        top: 74%;
        right: 14%;
    }

    /* section2 끝*/

    /* section3 */
    #section3 {
        background-image: url("../../images/main/section03/section03_main_mobile.webp");
        height: 123.5vw;
        margin-top: 15px;
    }

    #section3 .left-line {
        top: -1%;
        left: 0%;
    }

    #section3 .right-line {
        top: 11.5%;
        right: 0%;
    }

    #section3 .left-line img,
    #section3 .right-line img {
        width: 21vw;
    }

    #section3 .satellite {
        top: 29%;
        left: 12%;
    }

    #section3 .magnifier {
        top: 35%;
        left: 39%;
    }

    #section3 .message {
        right: 12%;
        top: 76%;
    }
    /* section3 끝 */

    /* section4 */
    #section4 {
        background-image: url("../../images/main/section04/section04_main_mobile.webp");
        height: 123vw;
        margin-top: 15px;
    }

    #section4 .left-line {
        top: -1.4%;
        left: 0%;
    }

    #section4 .right-line {
        right: 0%;
        top: 12%;
    }

    #section4 .left-line img,
    #section4 .right-line img {
        width: 21vw;
    }

    #section4 .satellite {
        left: 3%;
        top: 16%;
    }

    #section4 .cctv {
        right: 0%;
        top: 16%;
    }

    #section4 .busan {
        bottom: 4%;
        right: 4%;
    }

    #section4 .satellite img {
        height: 8.5vw;
    }
    #section4 .cctv img {
        height: 10vw;
    }
    #section4 .busan img {
        height: 17.5vw;
    }

    /* section4 끝 */
}
/* 반응형 끝*/